Pull request #23 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from a60205c1414bd738c90ceed11e54cc6d1209846c+868ae31176ae2f0602366e773f44808ef6650730 (39ccb499060be2545021d8b859b301e03728102a) 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-ssh7013011374133386072.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-ssh5778721096428750806.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-23/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-23/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13341368944341478274.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-23/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2288215125480178163.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13779321521355099943.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-23/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-23/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4251090394783772241.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-19011 in /w/workspace/xfoundry_app-record-replay_PR-23 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-23 # 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 868ae31176ae2f0602366e773f44808ef6650730 into PR head commit a60205c1414bd738c90ceed11e54cc6d1209846c Merge succeeded, producing a60205c1414bd738c90ceed11e54cc6d1209846c Checking out Revision a60205c1414bd738c90ceed11e54cc6d1209846c (PR-23) > 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/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a60205c1414bd738c90ceed11e54cc6d1209846c # 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 868ae31176ae2f0602366e773f44808ef6650730 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a60205c1414bd738c90ceed11e54cc6d1209846c # timeout=10 Commit message: "feat: Implement Data Manager interface, stubs and mocks" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:04:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:04:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:04:25 ========================================================= 21:04:25 EdgeX Global Pipelines Version Info 21:04:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:04:26 ------------------- 21:04:26 stable info: 21:04:26 ------------------- 21:04:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:04:26 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:04:26 Message: update stable to v1.0.250 21:04:26 ------------------- 21:04:26 experimental info: 21:04:26 ------------------- 21:04:26 Commited By: **** collab-it+edgex@linuxfoundation.org 21:04:26 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:04:26 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:04:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-23 [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-23 [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-23 [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a60205c1414bd738c90ceed11e54cc6d1209846c [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a60205c [Pipeline] echo 21:04:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:28 provisioning config files... 21:04:28 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-23@tmp/config2292245925458743877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:29 ---> docker-login.sh 21:04:29 nexus3.edgexfoundry.org:10001 21:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:29 Configure a credential helper to remove this warning. See 21:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:29 21:04:29 Login Succeeded 21:04:29 nexus3.edgexfoundry.org:10002 21:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:29 Configure a credential helper to remove this warning. See 21:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:29 21:04:29 Login Succeeded 21:04:29 nexus3.edgexfoundry.org:10003 21:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:29 Configure a credential helper to remove this warning. See 21:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:29 21:04:29 Login Succeeded 21:04:29 nexus3.edgexfoundry.org:10004 21:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:29 Configure a credential helper to remove this warning. See 21:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:29 21:04:29 Login Succeeded 21:04:29 docker.io 21:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:30 Configure a credential helper to remove this warning. See 21:04:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:30 21:04:30 Login Succeeded 21:04:30 ---> docker-login.sh ends [Pipeline] } 21:04:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:04:30 + git rev-list -1 --merges a60205c1414bd738c90ceed11e54cc6d1209846c~1..a60205c1414bd738c90ceed11e54cc6d1209846c [Pipeline] echo 21:04:31 -----------> git rev-list -1 --merges a60205c1414bd738c90ceed11e54cc6d1209846c~1..a60205c1414bd738c90ceed11e54cc6d1209846c a60205c1414bd738c90ceed11e54cc6d1209846c [false] [Pipeline] sh 21:04:31 + git log --format=format:%s -1 a60205c1414bd738c90ceed11e54cc6d1209846c [Pipeline] echo 21:04:31 ========================================================= 21:04:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:04:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:31 + git log --format=format:%s -1 a60205c1414bd738c90ceed11e54cc6d1209846c [Pipeline] echo 21:04:31 [semverPrep] GIT_COMMIT: a60205c1414bd738c90ceed11e54cc6d1209846c, Commit Message: feat: Implement Data Manager interface, stubs and mocks [Pipeline] echo 21:04:31 [semverPrep] This is not a build commit. [Pipeline] sh 21:04:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:32 + grep -v github /etc/ssh/ssh_known_hosts 21:04:32 + [ -e /tmp/ssh_known_hosts ] 21:04:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:04:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:04:32 + sudo tee -a /etc/ssh/ssh_known_hosts 21:04:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:32 21:04:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:33 0.1.4: Pulling from edgex-devops/py-git-semver 21:04:33 b85a868b505f: Pulling fs layer 21:04:33 e2be974225ed: Pulling fs layer 21:04:33 339a4e72a1f5: Pulling fs layer 21:04:33 988bab9f4d93: Pulling fs layer 21:04:33 1469e6f7b9e6: Pulling fs layer 21:04:33 eaf3925da568: Pulling fs layer 21:04:33 bab4dde63d76: Pulling fs layer 21:04:33 bde34c3a00c8: Pulling fs layer 21:04:33 b352a97aabf1: Pulling fs layer 21:04:33 4872d77fe225: Pulling fs layer 21:04:33 5851b861e8e6: Pulling fs layer 21:04:33 bab4dde63d76: Waiting 21:04:33 bde34c3a00c8: Waiting 21:04:33 eaf3925da568: Waiting 21:04:33 b352a97aabf1: Waiting 21:04:33 4872d77fe225: Waiting 21:04:33 5851b861e8e6: Waiting 21:04:33 988bab9f4d93: Waiting 21:04:33 1469e6f7b9e6: Waiting 21:04:33 e2be974225ed: Download complete 21:04:33 988bab9f4d93: Download complete 21:04:33 339a4e72a1f5: Verifying Checksum 21:04:33 339a4e72a1f5: Download complete 21:04:33 1469e6f7b9e6: Verifying Checksum 21:04:33 1469e6f7b9e6: Download complete 21:04:33 eaf3925da568: Download complete 21:04:33 bde34c3a00c8: Download complete 21:04:33 b352a97aabf1: Verifying Checksum 21:04:33 b352a97aabf1: Download complete 21:04:33 4872d77fe225: Verifying Checksum 21:04:33 4872d77fe225: Download complete 21:04:33 5851b861e8e6: Download complete 21:04:33 b85a868b505f: Verifying Checksum 21:04:33 b85a868b505f: Download complete 21:04:33 bab4dde63d76: Verifying Checksum 21:04:33 bab4dde63d76: Download complete 21:04:34 b85a868b505f: Pull complete 21:04:34 e2be974225ed: Pull complete 21:04:35 339a4e72a1f5: Pull complete 21:04:35 988bab9f4d93: Pull complete 21:04:35 1469e6f7b9e6: Pull complete 21:04:35 eaf3925da568: Pull complete 21:04:37 bab4dde63d76: Pull complete 21:04:37 bde34c3a00c8: Pull complete 21:04:37 b352a97aabf1: Pull complete 21:04:37 4872d77fe225: Pull complete 21:04:37 5851b861e8e6: Pull complete 21:04:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:37 prd-ubuntu20.04-docker-8c-8g-19011 does not seem to be running inside a container 21:04:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-23 -v /w/workspace/xfoundry_app-record-replay_PR-23:/w/workspace/xfoundry_app-record-replay_PR-23:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-23@tmp:/w/workspace/xfoundry_app-record-replay_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:04:40 $ docker top 001bbf412c22f4361aac9c955d98e74d815086de8f961ece4db22e74c1e3e4fd -eo pid,comm 21:04:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:04:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:40 [ssh-agent] Looking for ssh-agent implementation... 21:04:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:40 $ docker exec 001bbf412c22f4361aac9c955d98e74d815086de8f961ece4db22e74c1e3e4fd ssh-agent 21:04:40 SSH_AUTH_SOCK=/tmp/ssh-bBPcst893sUI/agent.31 21:04:40 SSH_AGENT_PID=37 21:04:40 Running ssh-add (command line suppressed) 21:04:41 Identity added: /w/workspace/xfoundry_app-record-replay_PR-23@tmp/private_key_3379300815103656706.key (/w/workspace/xfoundry_app-record-replay_PR-23@tmp/private_key_3379300815103656706.key) 21:04:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:41 + git tag --points-at HEAD [Pipeline] } 21:04:41 $ docker exec --env ******** --env ******** 001bbf412c22f4361aac9c955d98e74d815086de8f961ece4db22e74c1e3e4fd ssh-agent -k 21:04:41 unset SSH_AUTH_SOCK; 21:04:41 unset SSH_AGENT_PID; 21:04:41 echo Agent pid 37 killed; 21:04:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:04:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:41 [ssh-agent] Looking for ssh-agent implementation... 21:04:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:41 $ docker exec 001bbf412c22f4361aac9c955d98e74d815086de8f961ece4db22e74c1e3e4fd ssh-agent 21:04:41 SSH_AUTH_SOCK=/tmp/ssh-UV2MKOc4kXnP/agent.69 21:04:41 SSH_AGENT_PID=75 21:04:41 Running ssh-add (command line suppressed) 21:04:41 Identity added: /w/workspace/xfoundry_app-record-replay_PR-23@tmp/private_key_13229201843468396039.key (/w/workspace/xfoundry_app-record-replay_PR-23@tmp/private_key_13229201843468396039.key) 21:04:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:42 + git semver init 21:04:42 2023-06-21 21:04:42,483 [run_init] DEBUG init version:0.0.0 force:False 21:04:42 2023-06-21 21:04:42,484 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-23/.semver 21:04:42 2023-06-21 21:04:42,484 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-23/.semver 21:04:42 2023-06-21 21:04:42,484 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-23/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-23, universal_newlines=False, shell=None, istream=None) 21:04:43 2023-06-21 21:04:43,067 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-23/.git/info/exclude 21:04:43 2023-06-21 21:04:43,068 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-23/.semver/PR-23 with force:False 21:04:43 2023-06-21 21:04:43,068 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-23/.semver/PR-23 21:04:43 2023-06-21 21:04:43,071 [execute] INFO git cat-file --batch-check 21:04:43 2023-06-21 21:04:43,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-23/.semver, universal_newlines=False, shell=None, istream=) 21:04:43 2023-06-21 21:04:43,078 [execute] INFO git cat-file --batch 21:04:43 2023-06-21 21:04:43,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-23/.semver, universal_newlines=False, shell=None, istream=) 21:04:43 2023-06-21 21:04:43,082 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-23/.semver/PR-23 21:04:43 0.0.0 [Pipeline] } 21:04:43 $ docker exec --env ******** --env ******** 001bbf412c22f4361aac9c955d98e74d815086de8f961ece4db22e74c1e3e4fd ssh-agent -k 21:04:43 unset SSH_AUTH_SOCK; 21:04:43 unset SSH_AGENT_PID; 21:04:43 echo Agent pid 75 killed; 21:04:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:43 + git semver [Pipeline] } 21:04:43 $ docker stop --time=1 001bbf412c22f4361aac9c955d98e74d815086de8f961ece4db22e74c1e3e4fd 21:04:45 $ docker rm -f --volumes 001bbf412c22f4361aac9c955d98e74d815086de8f961ece4db22e74c1e3e4fd [Pipeline] // withDockerContainer [Pipeline] sh 21:04:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:04:47 Stashed 1 file(s) [Pipeline] echo 21:04:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:47 provisioning config files... 21:04:47 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-23@tmp/config13610700714446966679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:48 ---> docker-login.sh 21:04:48 nexus3.edgexfoundry.org:10001 21:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:48 Configure a credential helper to remove this warning. See 21:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:48 21:04:48 Login Succeeded 21:04:48 nexus3.edgexfoundry.org:10002 21:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:50 Configure a credential helper to remove this warning. See 21:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:50 21:04:50 Login Succeeded 21:04:50 nexus3.edgexfoundry.org:10003 21:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:50 Configure a credential helper to remove this warning. See 21:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:50 21:04:50 Login Succeeded 21:04:50 nexus3.edgexfoundry.org:10004 21:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:50 Configure a credential helper to remove this warning. See 21:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:50 21:04:50 Login Succeeded 21:04:50 docker.io 21:04:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:50 Configure a credential helper to remove this warning. See 21:04:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:50 21:04:50 Login Succeeded 21:04:50 ---> docker-login.sh ends [Pipeline] } 21:04:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:04:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:51 ========================================================= 21:04:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:04:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:04:51 Sending build context to Docker daemon 209.9kB 21:04:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:04:51 Step 2/12 : FROM ${BASE} AS builder 21:04:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:04:51 f56be85fc22e: Pulling fs layer 21:04:51 85791d961cd3: Pulling fs layer 21:04:51 d694b5ae8c79: Pulling fs layer 21:04:51 9f32a84ed3da: Pulling fs layer 21:04:51 4d19c01a9841: Pulling fs layer 21:04:51 9325e15d5711: Pulling fs layer 21:04:51 556b6ee489ea: Pulling fs layer 21:04:51 c5a4b2cf53e6: Pulling fs layer 21:04:51 556b6ee489ea: Waiting 21:04:51 9325e15d5711: Waiting 21:04:51 c5a4b2cf53e6: Waiting 21:04:51 9f32a84ed3da: Waiting 21:04:51 4d19c01a9841: Waiting 21:04:51 85791d961cd3: Verifying Checksum 21:04:51 85791d961cd3: Download complete 21:04:51 9f32a84ed3da: Verifying Checksum 21:04:51 9f32a84ed3da: Download complete 21:04:51 4d19c01a9841: Download complete 21:04:51 f56be85fc22e: Verifying Checksum 21:04:51 f56be85fc22e: Download complete 21:04:51 9325e15d5711: Verifying Checksum 21:04:51 9325e15d5711: Download complete 21:04:51 f56be85fc22e: Pull complete 21:04:52 85791d961cd3: Pull complete 21:04:52 c5a4b2cf53e6: Download complete 21:04:52 d694b5ae8c79: Verifying Checksum 21:04:52 d694b5ae8c79: Download complete 21:04:52 556b6ee489ea: Download complete 21:04:55 d694b5ae8c79: Pull complete 21:04:55 9f32a84ed3da: Pull complete 21:04:55 4d19c01a9841: Pull complete 21:04:55 9325e15d5711: Pull complete 21:04:58 556b6ee489ea: Pull complete 21:04:59 c5a4b2cf53e6: Pull complete 21:04:59 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:04:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:04:59 ---> c4be618373d6 21:04:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:05:02 Still waiting to schedule task 21:05:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:05:04 ---> Running in 3e2ee0fd5015 21:05:04 Removing intermediate container 3e2ee0fd5015 21:05:04 ---> c8ab2287c154 21:05:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:05:04 ---> Running in 2f3b093d71e0 21:05:04 Removing intermediate container 2f3b093d71e0 21:05:04 ---> 2f1b5a1c7ec1 21:05:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:05:04 ---> Running in 819550b2928b 21:05:04 Removing intermediate container 819550b2928b 21:05:04 ---> 24ec4e2bc5ac 21:05:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:04 ---> Running in 2f0a69e21965 21:05:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:05:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:05:04 OK: 265 MiB in 53 packages 21:05:05 Removing intermediate container 2f0a69e21965 21:05:05 ---> 780cb85f82f5 21:05:05 Step 7/12 : WORKDIR /app 21:05:05 ---> Running in b6ef1c0d7444 21:05:05 Removing intermediate container b6ef1c0d7444 21:05:05 ---> d6705debba48 21:05:05 Step 8/12 : COPY go.mod vendor* ./ 21:05:05 ---> f8aba3614038 21:05:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:05 ---> Running in d277c8f02574 21:05:52 Removing intermediate container d277c8f02574 21:05:52 ---> 6851799995d5 21:05:52 Step 10/12 : COPY . . 21:05:52 ---> e0451b0906cc 21:05:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:52 ---> Running in bfa622cffb88 21:05:52 Removing intermediate container bfa622cffb88 21:05:52 ---> 6c35cc9a4118 21:05:52 Step 12/12 : RUN $MAKE 21:05:52 ---> Running in 863a9a0bc170 21:05:52 noop 21:05:52 Removing intermediate container 863a9a0bc170 21:05:52 ---> cc3c40bcb57e 21:05:52 Successfully built cc3c40bcb57e 21:05:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:52 + docker inspect -f . ci-base-image-x86_64 21:05:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:52 prd-ubuntu20.04-docker-8c-8g-19011 does not seem to be running inside a container 21:05:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-23 -v /w/workspace/xfoundry_app-record-replay_PR-23:/w/workspace/xfoundry_app-record-replay_PR-23:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-23@tmp:/w/workspace/xfoundry_app-record-replay_PR-23@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 ******** ci-base-image-x86_64 cat 21:05:53 $ docker top 311374b1cbba49ba1cba4ed7ca07b19865a86af271df177d79a2a90467dcf3ac -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:53 + go version 21:05:53 go version go1.20.2 linux/amd64 [Pipeline] } 21:05:53 $ docker stop --time=1 311374b1cbba49ba1cba4ed7ca07b19865a86af271df177d79a2a90467dcf3ac 21:05:54 $ docker rm -f --volumes 311374b1cbba49ba1cba4ed7ca07b19865a86af271df177d79a2a90467dcf3ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:55 + docker inspect -f . ci-base-image-x86_64 21:05:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:55 prd-ubuntu20.04-docker-8c-8g-19011 does not seem to be running inside a container 21:05:55 $ 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-23 -v /w/workspace/xfoundry_app-record-replay_PR-23:/w/workspace/xfoundry_app-record-replay_PR-23:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-23@tmp:/w/workspace/xfoundry_app-record-replay_PR-23@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 ******** ci-base-image-x86_64 cat 21:05:56 $ docker top b2d47f26b349818db82a96a9a8767a51d9940d56656317c1ecb8e4143aaf1024 -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:56 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-23 [Pipeline] fileExists [Pipeline] sh 21:05:56 + make test 21:05:56 go test -race -coverprofile=coverage.out ./... 21:06:04 ? github.com/edgexfoundry/app-record-replay [no test files] 21:06:14 ? github.com/edgexfoundry/app-record-replay/internal/data/mocks [no test files] 21:06:14 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:06:14 ok github.com/edgexfoundry/app-record-replay/internal/data 0.060s coverage: 27.3% of statements 21:06:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19012 in /w/workspace/xfoundry_app-record-replay_PR-23 [Pipeline] { [Pipeline] ws 21:06:29 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 21:06:29 The recommended git tool is: NONE 21:06:33 using credential edgex-jenkins-ssh 21:06:33 Cloning the remote Git repository 21:06:34 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 21:06:34 > git init /w/workspace/app-record-replay/1 # timeout=10 21:06:34 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:06:34 > git --version # timeout=10 21:06:34 > git --version # 'git version 2.25.1' 21:06:34 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:34 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:06:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:36 Merging remotes/origin/main commit 868ae31176ae2f0602366e773f44808ef6650730 into PR head commit a60205c1414bd738c90ceed11e54cc6d1209846c 21:06:35 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:06:35 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:06:35 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/23/head:refs/remotes/origin/PR-23 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:06:36 > git config core.sparsecheckout # timeout=10 21:06:36 > git checkout -f a60205c1414bd738c90ceed11e54cc6d1209846c # timeout=10 21:06:36 > git remote # timeout=10 21:06:36 > git config --get remote.origin.url # timeout=10 21:06:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:36 Merge succeeded, producing a60205c1414bd738c90ceed11e54cc6d1209846c 21:06:36 Checking out Revision a60205c1414bd738c90ceed11e54cc6d1209846c (PR-23) 21:06:36 go vet ./... 21:06:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:06:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:06:37 ./bin/test-attribution-txt.sh [Pipeline] echo 21:06:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:37 $ docker stop --time=1 b2d47f26b349818db82a96a9a8767a51d9940d56656317c1ecb8e4143aaf1024 21:06:36 > git merge 868ae31176ae2f0602366e773f44808ef6650730 # timeout=10 21:06:36 > git rev-parse HEAD^{commit} # timeout=10 21:06:36 > git config core.sparsecheckout # timeout=10 21:06:36 > git checkout -f a60205c1414bd738c90ceed11e54cc6d1209846c # timeout=10 21:06:39 Commit message: "feat: Implement Data Manager interface, stubs and mocks" 21:06:40 > git --version # timeout=10 21:06:40 > git --version # 'git version 2.25.1' 21:06:40 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:06:42 $ docker rm -f --volumes b2d47f26b349818db82a96a9a8767a51d9940d56656317c1ecb8e4143aaf1024 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 21:06:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:06:43 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:43 Dload Upload Total Spent Left Speed 21:06:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 54259 0 --:--:-- --:--:-- --:--:-- 54259 [Pipeline] sh [Pipeline] sh 21:06:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:06:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:06:44 + ls -al . 21:06:44 total 148 21:06:44 drwxrwxr-x 9 jenkins jenkins 4096 Jun 21 21:05 . 21:06:44 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:04 .. 21:06:44 -rw-rw-r-- 1 jenkins jenkins 119 Jun 21 21:04 .dockerignore 21:06:44 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:04 .git 21:06:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:04 .github 21:06:44 -rw-rw-r-- 1 jenkins jenkins 164 Jun 21 21:04 .gitignore 21:06:44 -rw-rw-r-- 1 jenkins jenkins 41 Jun 21 21:04 .golangci.yml 21:06:44 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 21:04 .semver 21:06:44 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 21 21:04 Attribution.txt 21:06:44 -rw-rw-r-- 1 jenkins jenkins 258 Jun 21 21:04 CHANGELOG.md 21:06:44 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 21 21:04 Dockerfile 21:06:44 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 21:04 GOVERNANCE.md 21:06:44 -rw-rw-r-- 1 jenkins jenkins 681 Jun 21 21:04 Jenkinsfile 21:06:44 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 21:04 LICENSE 21:06:44 -rw-rw-r-- 1 jenkins jenkins 611 Jun 21 21:04 OWNERS.md 21:06:44 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 21 21:04 README.md 21:06:44 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 21:04 VERSION 21:06:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:04 bin 21:06:44 -rw-r--r-- 1 jenkins jenkins 929 Jun 21 21:06 coverage.out 21:06:44 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 21 21:04 go.mod 21:06:44 -rw-rw-r-- 1 jenkins jenkins 30578 Jun 21 21:04 go.sum 21:06:44 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:04 internal 21:06:44 -rw-rw-r-- 1 jenkins jenkins 693 Jun 21 21:04 main.go 21:06:44 -rw-rw-r-- 1 jenkins jenkins 2547 Jun 21 21:04 makefile 21:06:44 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:04 pkg 21:06:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:04 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:44 + sudo tee /etc/docker/daemon.new 21:06:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:06:44 { 21:06:44 "registry-mirrors": [ 21:06:44 "https://nexus3.edgexfoundry.org:10001" 21:06:44 ], 21:06:44 "bip": "10.250.0.254/24", 21:06:44 "hosts": [ 21:06:44 "tcp://0.0.0.0:5555", 21:06:44 "unix:///var/run/docker.sock" 21:06:44 ], 21:06:44 "mtu": 1458, 21:06:44 "selinux-enabled": true, 21:06:44 "seccomp-profile": "/etc/docker/seccomp.json" 21:06:44 } [Pipeline] sh 21:06:44 + 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=a60205c1414bd738c90ceed11e54cc6d1209846c --label arch=amd64 --label version=0.0.0 . 21:06:44 Sending build context to Docker daemon 211.5kB 21:06:44 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:06:44 Step 2/26 : FROM ${BASE} AS builder 21:06:44 ---> cc3c40bcb57e 21:06:44 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:06:44 ---> Running in 5d2df6ba1b0c 21:06:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:06:44 Removing intermediate container 5d2df6ba1b0c 21:06:44 ---> cf9874d56619 21:06:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:06:44 ---> Running in 64fefa44e17d 21:06:44 Removing intermediate container 64fefa44e17d 21:06:44 ---> e0d918280ee2 21:06:44 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:06:44 ---> Running in 1df1175a4559 21:06:45 Removing intermediate container 1df1175a4559 21:06:45 ---> 1ab703dad0e9 21:06:45 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:45 ---> Running in 1f8ea4a77d7a 21:06:45 + sudo service docker restart 21:06:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:06:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:06:45 OK: 265 MiB in 53 packages 21:06:46 Removing intermediate container 1f8ea4a77d7a 21:06:46 ---> 80eb5b7e03e6 21:06:46 Step 7/26 : WORKDIR /app 21:06:46 ---> Running in 033c965664cb 21:06:46 Removing intermediate container 033c965664cb 21:06:46 ---> 61bbdfae14ea 21:06:46 Step 8/26 : COPY go.mod vendor* ./ 21:06:46 ---> 06fc047e8e8b 21:06:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:46 ---> Running in 955147370f19 21:06:47 Removing intermediate container 955147370f19 21:06:47 ---> f9ee9cecd8b2 21:06:47 Step 10/26 : COPY . . 21:06:47 ---> 0ad43dfeb359 21:06:47 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:47 ---> Running in c5620de48406 21:06:47 Removing intermediate container c5620de48406 21:06:47 ---> e6a5b4ee960a 21:06:47 Step 12/26 : RUN $MAKE 21:06:47 ---> Running in 4ccc10984d54 21:06:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 21:06:52 Removing intermediate container 4ccc10984d54 21:06:52 ---> ac64e36875d3 21:06:52 Step 13/26 : FROM alpine:3.17 21:06:53 3.17: Pulling from library/alpine 21:06:53 4db1b89c0bd1: Pulling fs layer 21:06:53 4db1b89c0bd1: Download complete 21:06:53 4db1b89c0bd1: Pull complete 21:06:53 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:06:53 Status: Downloaded newer image for alpine:3.17 21:06:53 ---> 1f73a9d63274 21:06:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:06:54 ---> Running in feaccd9f7bb5 21:06:54 Removing intermediate container feaccd9f7bb5 21:06:54 ---> 725c8d4b2b60 21:06:54 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:06:55 ---> Running in 41347dd1f2d5 21:06:55 Removing intermediate container 41347dd1f2d5 21:06:55 ---> 1fd8265ac490 21:06:55 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:06:55 ---> Running in fccad2c2e382 21:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:06:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:06:55 (1/2) Installing ca-certificates (20230506-r0) 21:06:55 (2/2) Installing dumb-init (1.2.5-r2) 21:06:55 Executing busybox-1.35.0-r29.trigger 21:06:55 Executing ca-certificates-20230506-r0.trigger 21:06:55 OK: 8 MiB in 17 packages 21:06:56 Removing intermediate container fccad2c2e382 21:06:56 ---> 5d9f4eb51376 21:06:56 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:06:56 ---> f74f63b20d80 21:06:56 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:06:56 ---> 1947efa1ea47 21:06:56 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:06:56 ---> f151b48ea664 21:06:56 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:06:56 ---> df4465fe7fb9 21:06:56 Step 21/26 : EXPOSE 59712 21:06:56 ---> Running in a2d3c573a4c4 21:06:56 Removing intermediate container a2d3c573a4c4 21:06:56 ---> f73b78606e4a 21:06:56 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:06:56 ---> Running in b0bb6f98428e 21:06:56 Removing intermediate container b0bb6f98428e 21:06:56 ---> 17660d0a4671 21:06:56 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:06:56 ---> Running in f6581d609acf 21:06:57 Removing intermediate container f6581d609acf 21:06:57 ---> e566a245e47c 21:06:57 Step 24/26 : LABEL arch=amd64 21:06:57 ---> Running in bc28c8de34f0 21:06:57 Removing intermediate container bc28c8de34f0 21:06:57 ---> b3fb62a4d54d 21:06:57 Step 25/26 : LABEL git_sha=a60205c1414bd738c90ceed11e54cc6d1209846c 21:06:57 ---> Running in ca2741576b9e 21:06:57 Removing intermediate container ca2741576b9e 21:06:57 ---> 53d206e966ea 21:06:57 Step 26/26 : LABEL version=0.0.0 21:06:57 ---> Running in 547775d68a62 21:06:57 Removing intermediate container 547775d68a62 21:06:57 ---> f5016ab7c472 21:06:57 [Warning] One or more build-args [ARCH] were not consumed 21:06:57 Successfully built f5016ab7c472 21:06:57 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:58 21:06:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:58 latest: Pulling from edgex-lftools-log-publisher 21:06:58 5eb5b503b376: Pulling fs layer 21:06:58 5c69ac0246d0: Pulling fs layer 21:06:58 ec43610c2a17: Pulling fs layer 21:06:58 3a2ae6a8a46f: Pulling fs layer 21:06:58 33b1e0a273af: Pulling fs layer 21:06:58 5d3b04190fa2: Pulling fs layer 21:06:58 2f39f015ded8: Pulling fs layer 21:06:58 5d3b04190fa2: Waiting 21:06:58 33b1e0a273af: Waiting 21:06:58 3a2ae6a8a46f: Waiting 21:06:58 2f39f015ded8: Waiting 21:06:58 5c69ac0246d0: Verifying Checksum 21:06:58 5c69ac0246d0: Download complete 21:06:58 3a2ae6a8a46f: Verifying Checksum 21:06:58 3a2ae6a8a46f: Download complete 21:06:58 33b1e0a273af: Verifying Checksum 21:06:58 33b1e0a273af: Download complete 21:06:58 ec43610c2a17: Verifying Checksum 21:06:58 ec43610c2a17: Download complete 21:06:58 5d3b04190fa2: Verifying Checksum 21:06:58 5d3b04190fa2: Download complete 21:06:58 5eb5b503b376: Verifying Checksum 21:06:58 5eb5b503b376: Download complete 21:06:59 2f39f015ded8: Download complete 21:07:00 5eb5b503b376: Pull complete 21:07:00 5c69ac0246d0: Pull complete 21:07:00 ec43610c2a17: Pull complete 21:07:00 3a2ae6a8a46f: Pull complete 21:07:00 33b1e0a273af: Pull complete 21:07:01 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:03 provisioning config files... 21:07:03 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config16665209862829091342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:03 ---> docker-login.sh 21:07:03 nexus3.edgexfoundry.org:10001 21:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:04 Configure a credential helper to remove this warning. See 21:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:04 21:07:04 Login Succeeded 21:07:04 nexus3.edgexfoundry.org:10002 21:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:04 Configure a credential helper to remove this warning. See 21:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:04 21:07:04 Login Succeeded 21:07:04 nexus3.edgexfoundry.org:10003 21:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:04 Configure a credential helper to remove this warning. See 21:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:04 21:07:04 Login Succeeded 21:07:04 nexus3.edgexfoundry.org:10004 21:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:05 Configure a credential helper to remove this warning. See 21:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:05 21:07:05 Login Succeeded 21:07:05 docker.io 21:07:05 2f39f015ded8: Pull complete 21:07:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:07:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:07:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:05 prd-ubuntu20.04-docker-8c-8g-19011 does not seem to be running inside a container 21:07:05 $ 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-23 -v /w/workspace/xfoundry_app-record-replay_PR-23:/w/workspace/xfoundry_app-record-replay_PR-23:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-23@tmp:/w/workspace/xfoundry_app-record-replay_PR-23@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-lftools-log-publisher:latest cat 21:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:05 Configure a credential helper to remove this warning. See 21:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:05 21:07:05 Login Succeeded 21:07:05 ---> docker-login.sh ends 21:07:10 $ docker top a0c1bdf946a33727257459e694ef4f6effd7afb588ee69f761477d268af8a0e8 -eo pid,comm [Pipeline] { [Pipeline] } 21:07:10 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 21:07:11 ---> job-cost.sh 21:07:11 lf-activate-venv: SKIPPING 21:07:11 INFO: No Stack... [Pipeline] echo 21:07:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:11 ========================================================= 21:07:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:07:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 21:07:11 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:11 INFO: Archiving Costs [Pipeline] sh 21:07:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:07:12 Sending build context to Docker daemon 108.5kB 21:07:12 + cat /w/workspace/xfoundry_app-record-replay_PR-23/archives/cost.csv 21:07:12 + cut -d, -f6 [Pipeline] lock 21:07:12 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-23-1-stack-cost] 21:07:12 Resource [jenkins-edgexfoundry-app-record-replay-PR-23-1-stack-cost] did not exist. Created. 21:07:12 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-23-1-stack-cost] [Pipeline] { 21:07:12 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:07:12 Step 2/12 : FROM ${BASE} AS builder 21:07:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:07:12 c41833b44d91: Pulling fs layer 21:07:12 ed15518f5707: Pulling fs layer 21:07:12 feae8fd75edb: Pulling fs layer 21:07:12 242c74f7c9fa: Pulling fs layer 21:07:12 3cdef696dda3: Pulling fs layer 21:07:12 2ced38df9373: Pulling fs layer 21:07:12 58f1dce35555: Pulling fs layer 21:07:12 3cdef696dda3: Waiting 21:07:12 2ced38df9373: Waiting 21:07:12 242c74f7c9fa: Waiting 21:07:12 ed15518f5707: Verifying Checksum 21:07:12 ed15518f5707: Download complete 21:07:12 242c74f7c9fa: Verifying Checksum 21:07:12 242c74f7c9fa: Download complete 21:07:12 3cdef696dda3: Verifying Checksum 21:07:12 3cdef696dda3: Download complete 21:07:12 c41833b44d91: Verifying Checksum [Pipeline] unstash [Pipeline] sh 21:07:12 + echo total: 0.2199999988079071 [Pipeline] stash 21:07:12 Stashed 1 file(s) [Pipeline] } 21:07:12 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-23-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:07:12 $ docker stop --time=1 a0c1bdf946a33727257459e694ef4f6effd7afb588ee69f761477d268af8a0e8 21:07:13 c41833b44d91: Pull complete 21:07:13 58f1dce35555: Verifying Checksum 21:07:13 58f1dce35555: Download complete 21:07:13 ed15518f5707: Pull complete 21:07:13 $ docker rm -f --volumes a0c1bdf946a33727257459e694ef4f6effd7afb588ee69f761477d268af8a0e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:07:14 feae8fd75edb: Verifying Checksum 21:07:14 feae8fd75edb: Download complete 21:07:14 2ced38df9373: Verifying Checksum 21:07:14 2ced38df9373: Download complete 21:07:27 feae8fd75edb: Pull complete 21:07:27 242c74f7c9fa: Pull complete 21:07:27 3cdef696dda3: Pull complete 21:07:32 2ced38df9373: Pull complete 21:07:35 58f1dce35555: Pull complete 21:07:35 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:07:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:07:35 ---> fadd8f120f05 21:07:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:07:37 ---> Running in 13ff12c072b4 21:07:37 Removing intermediate container 13ff12c072b4 21:07:37 ---> bb5c335b5c0e 21:07:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:07:37 ---> Running in e5d062af4d04 21:07:37 Removing intermediate container e5d062af4d04 21:07:37 ---> 4eb645fe221a 21:07:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:07:37 ---> Running in cbeef890245a 21:07:37 Removing intermediate container cbeef890245a 21:07:37 ---> aad1c63b2568 21:07:37 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:07:37 ---> Running in f0a81175f4fc 21:07:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:07:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:07:40 OK: 263 MiB in 53 packages 21:07:41 Removing intermediate container f0a81175f4fc 21:07:41 ---> 34e36e8dc81d 21:07:41 Step 7/12 : WORKDIR /app 21:07:41 ---> Running in 724d275a1827 21:07:41 Removing intermediate container 724d275a1827 21:07:41 ---> 0f484c06cfff 21:07:41 Step 8/12 : COPY go.mod vendor* ./ 21:07:41 ---> 981514f54437 21:07:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:41 ---> Running in 2310bc6ea82b 21:08:38 Removing intermediate container 2310bc6ea82b 21:08:38 ---> 8522db8cdbe5 21:08:38 Step 10/12 : COPY . . 21:08:38 ---> 7af352319f21 21:08:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:38 ---> Running in 19cb311b4866 21:08:39 Removing intermediate container 19cb311b4866 21:08:39 ---> 262a4f2948ac 21:08:39 Step 12/12 : RUN $MAKE 21:08:39 ---> Running in 1c98065843d6 21:08:40 noop 21:08:41 Removing intermediate container 1c98065843d6 21:08:41 ---> e43c318fcf4b 21:08:41 Successfully built e43c318fcf4b 21:08:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:41 + docker inspect -f . ci-base-image-arm64 21:08:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:41 prd-ubuntu20.04-docker-arm64-4c-16g-19012 does not seem to be running inside a container 21:08:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:08:42 $ docker top a96375d8112349f2b38aad1b0363ecd4afcdee09cd8415e30eb520bfe2d80313 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:43 + go version 21:08:43 go version go1.20.2 linux/arm64 [Pipeline] } 21:08:43 $ docker stop --time=1 a96375d8112349f2b38aad1b0363ecd4afcdee09cd8415e30eb520bfe2d80313 21:08:47 $ docker rm -f --volumes a96375d8112349f2b38aad1b0363ecd4afcdee09cd8415e30eb520bfe2d80313 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:48 + docker inspect -f . ci-base-image-arm64 21:08:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:48 prd-ubuntu20.04-docker-arm64-4c-16g-19012 does not seem to be running inside a container 21:08:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:08:50 $ docker top e1cfcfe2a416de64be4db2c6a27491acb791bec28d0b0312bfb3980038a3e5af -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:50 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 21:08:51 + make test 21:08:51 go test -race -coverprofile=coverage.out ./... 21:09:38 ? github.com/edgexfoundry/app-record-replay [no test files] 21:11:14 ? github.com/edgexfoundry/app-record-replay/internal/data/mocks [no test files] 21:11:14 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:11:14 ok github.com/edgexfoundry/app-record-replay/internal/data 0.229s coverage: 27.3% of statements 21:11:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:11:14 go vet ./... 21:13:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:36 ./bin/test-attribution-txt.sh [Pipeline] echo 21:13:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:36 $ docker stop --time=1 e1cfcfe2a416de64be4db2c6a27491acb791bec28d0b0312bfb3980038a3e5af 21:13:38 $ docker rm -f --volumes e1cfcfe2a416de64be4db2c6a27491acb791bec28d0b0312bfb3980038a3e5af [Pipeline] // withDockerContainer [Pipeline] sh 21:13:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:39 Warning: overwriting stash ‘coverage-report’ 21:13:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:41 + ls -al . 21:13:41 total 144 21:13:41 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:08 . 21:13:41 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:06 .. 21:13:41 -rw-rw-r-- 1 jenkins jenkins 119 Jun 21 21:06 .dockerignore 21:13:41 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:06 .git 21:13:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:06 .github 21:13:41 -rw-rw-r-- 1 jenkins jenkins 164 Jun 21 21:06 .gitignore 21:13:41 -rw-rw-r-- 1 jenkins jenkins 41 Jun 21 21:06 .golangci.yml 21:13:41 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 21 21:06 Attribution.txt 21:13:41 -rw-rw-r-- 1 jenkins jenkins 258 Jun 21 21:06 CHANGELOG.md 21:13:41 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 21 21:06 Dockerfile 21:13:41 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 21:06 GOVERNANCE.md 21:13:41 -rw-rw-r-- 1 jenkins jenkins 681 Jun 21 21:06 Jenkinsfile 21:13:41 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 21:06 LICENSE 21:13:41 -rw-rw-r-- 1 jenkins jenkins 611 Jun 21 21:06 OWNERS.md 21:13:41 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 21 21:06 README.md 21:13:41 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 21:04 VERSION 21:13:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:06 bin 21:13:41 -rw-r--r-- 1 jenkins jenkins 929 Jun 21 21:11 coverage.out 21:13:41 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 21 21:06 go.mod 21:13:41 -rw-rw-r-- 1 jenkins jenkins 30578 Jun 21 21:06 go.sum 21:13:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:06 internal 21:13:41 -rw-rw-r-- 1 jenkins jenkins 693 Jun 21 21:06 main.go 21:13:41 -rw-rw-r-- 1 jenkins jenkins 2547 Jun 21 21:06 makefile 21:13:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:06 pkg 21:13:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:06 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:41 + 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=a60205c1414bd738c90ceed11e54cc6d1209846c --label arch=arm64 --label version=0.0.0 . 21:13:41 Sending build context to Docker daemon 110.1kB 21:13:42 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:13:42 Step 2/26 : FROM ${BASE} AS builder 21:13:42 ---> e43c318fcf4b 21:13:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:13:42 ---> Running in 62f892f425a7 21:13:42 Removing intermediate container 62f892f425a7 21:13:42 ---> 4df67e0c4af4 21:13:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:13:42 ---> Running in 186acba1e735 21:13:42 Removing intermediate container 186acba1e735 21:13:42 ---> 28791b6bac51 21:13:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:13:42 ---> Running in 82f89414df6c 21:13:43 Removing intermediate container 82f89414df6c 21:13:43 ---> ef8a59970175 21:13:43 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:43 ---> Running in 9f93fb633fd8 21:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:13:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:13:45 OK: 263 MiB in 53 packages 21:13:47 Removing intermediate container 9f93fb633fd8 21:13:47 ---> 06cfa9e2b61e 21:13:47 Step 7/26 : WORKDIR /app 21:13:47 ---> Running in aa4b19d934b1 21:13:47 Removing intermediate container aa4b19d934b1 21:13:47 ---> 6614a2cb6224 21:13:47 Step 8/26 : COPY go.mod vendor* ./ 21:13:48 ---> d2b5da9be8a2 21:13:48 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:48 ---> Running in 5edbe502356f 21:13:50 Removing intermediate container 5edbe502356f 21:13:50 ---> 059b08a3e707 21:13:50 Step 10/26 : COPY . . 21:13:50 ---> 3660e6752a08 21:13:50 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:50 ---> Running in 9476ab705327 21:13:51 Removing intermediate container 9476ab705327 21:13:51 ---> cf0d7c2feeb3 21:13:51 Step 12/26 : RUN $MAKE 21:13:51 ---> Running in 8e2c8e371cea 21:13:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 21:14:18 Removing intermediate container 8e2c8e371cea 21:14:18 ---> ef2b940c3da2 21:14:18 Step 13/26 : FROM alpine:3.17 21:14:18 3.17: Pulling from library/alpine 21:14:18 edb6bdbacee9: Pulling fs layer 21:14:18 edb6bdbacee9: Verifying Checksum 21:14:18 edb6bdbacee9: Download complete 21:14:18 edb6bdbacee9: Pull complete 21:14:18 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:14:18 Status: Downloaded newer image for alpine:3.17 21:14:18 ---> 779605e5fbc0 21:14:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:14:18 ---> Running in 6beb4f88c5a7 21:14:18 Removing intermediate container 6beb4f88c5a7 21:14:18 ---> cd8868fb4d29 21:14:18 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:14:18 ---> Running in b9583f86605f 21:14:18 Removing intermediate container b9583f86605f 21:14:18 ---> d305cd8e7ea4 21:14:18 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:14:18 ---> Running in d50d2a690104 21:14:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:14:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:14:20 (1/2) Installing ca-certificates (20230506-r0) 21:14:20 (2/2) Installing dumb-init (1.2.5-r2) 21:14:20 Executing busybox-1.35.0-r29.trigger 21:14:20 Executing ca-certificates-20230506-r0.trigger 21:14:20 OK: 8 MiB in 17 packages 21:14:21 Removing intermediate container d50d2a690104 21:14:21 ---> 61995986dd48 21:14:21 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:14:22 ---> 28bbcea1d0f7 21:14:22 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:14:22 ---> f4ab2b43362e 21:14:22 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:14:23 ---> 642ed98b172a 21:14:23 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:14:23 ---> 86fc61ad3e5b 21:14:23 Step 21/26 : EXPOSE 59712 21:14:23 ---> Running in b38a96cb710b 21:14:23 Removing intermediate container b38a96cb710b 21:14:23 ---> 533fcddc99c2 21:14:23 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:14:24 ---> Running in 96beab6270af 21:14:24 Removing intermediate container 96beab6270af 21:14:24 ---> 64548d6a8402 21:14:24 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:14:24 ---> Running in 988cbc634b1e 21:14:24 Removing intermediate container 988cbc634b1e 21:14:24 ---> 95d6e5882c05 21:14:24 Step 24/26 : LABEL arch=arm64 21:14:24 ---> Running in 2877fb0ffa2d 21:14:25 Removing intermediate container 2877fb0ffa2d 21:14:25 ---> 3bc42b219d67 21:14:25 Step 25/26 : LABEL git_sha=a60205c1414bd738c90ceed11e54cc6d1209846c 21:14:25 ---> Running in 5feb8ce9ac3f 21:14:25 Removing intermediate container 5feb8ce9ac3f 21:14:25 ---> d151435ce970 21:14:25 Step 26/26 : LABEL version=0.0.0 21:14:25 ---> Running in 94875b12c060 21:14:25 Removing intermediate container 94875b12c060 21:14:25 ---> 76e496e8e019 21:14:25 [Warning] One or more build-args [ARCH] were not consumed 21:14:25 Successfully built 76e496e8e019 21:14:25 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:26 21:14:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:27 arm64: Pulling from edgex-lftools-log-publisher 21:14:27 8998bd30e6a1: Pulling fs layer 21:14:27 04944245beec: Pulling fs layer 21:14:27 699f458cf7ca: Pulling fs layer 21:14:27 765212b225bb: Pulling fs layer 21:14:27 f23df028b6ca: Pulling fs layer 21:14:27 d65c8cfc05b1: Pulling fs layer 21:14:27 2437ff75d9bd: Pulling fs layer 21:14:27 765212b225bb: Waiting 21:14:27 f23df028b6ca: Waiting 21:14:27 d65c8cfc05b1: Waiting 21:14:27 2437ff75d9bd: Waiting 21:14:27 04944245beec: Verifying Checksum 21:14:27 04944245beec: Download complete 21:14:27 765212b225bb: Verifying Checksum 21:14:27 765212b225bb: Download complete 21:14:27 f23df028b6ca: Verifying Checksum 21:14:27 f23df028b6ca: Download complete 21:14:27 d65c8cfc05b1: Verifying Checksum 21:14:27 d65c8cfc05b1: Download complete 21:14:27 699f458cf7ca: Verifying Checksum 21:14:27 699f458cf7ca: Download complete 21:14:27 8998bd30e6a1: Verifying Checksum 21:14:27 8998bd30e6a1: Download complete 21:14:29 2437ff75d9bd: Verifying Checksum 21:14:29 2437ff75d9bd: Download complete 21:14:31 8998bd30e6a1: Pull complete 21:14:32 04944245beec: Pull complete 21:14:33 699f458cf7ca: Pull complete 21:14:33 765212b225bb: Pull complete 21:14:34 f23df028b6ca: Pull complete 21:14:34 d65c8cfc05b1: Pull complete 21:14:49 2437ff75d9bd: Pull complete 21:14:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:49 prd-ubuntu20.04-docker-arm64-4c-16g-19012 does not seem to be running inside a container 21:14:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:14:52 $ docker top 273c0343ef5bf9efbafcc8818f4ded18a433937627872248af0ac2ce0cd661dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:53 ---> job-cost.sh 21:14:53 lf-activate-venv: SKIPPING 21:14:53 INFO: No Stack... 21:14:53 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:54 INFO: Archiving Costs [Pipeline] sh 21:14:54 + + cutcat -d, /w/workspace/app-record-replay/1/archives/cost.csv -f6 21:14:54 [Pipeline] lock 21:14:55 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-23-1-stack-cost] 21:14:55 Resource [jenkins-edgexfoundry-app-record-replay-PR-23-1-stack-cost] did not exist. Created. 21:14:55 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-23-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:55 /w/workspace/app-record-replay/1@tmp/durable-6410ed27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:55 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:55 Warning: overwriting stash ‘stack-cost’ 21:14:55 Stashed 1 file(s) [Pipeline] } 21:14:55 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-23-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:55 $ docker stop --time=1 273c0343ef5bf9efbafcc8818f4ded18a433937627872248af0ac2ce0cd661dd 21:14:57 $ docker rm -f --volumes 273c0343ef5bf9efbafcc8818f4ded18a433937627872248af0ac2ce0cd661dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:14:58 provisioning config files... 21:14:58 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-23 #1 21:14:58 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-23@tmp/config2507184931398013835tmp [Pipeline] { [Pipeline] sh 21:14:58 + set +x 21:14:58 + curl -s https://codecov.io/bash 21:14:58 + bash -s -- 21:14:58 21:14:58 _____ _ 21:14:58 / ____| | | 21:14:58 | | ___ __| | ___ ___ _____ __ 21:14:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:58 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:58 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:58 Bash-1.0.6 21:14:58 21:14:58 21:14:58 ==> git version 2.25.1 found 21:14:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:14:58 Release-Date: 2020-01-08 21:14:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:14:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:58 ==> Jenkins CI detected. 21:14:58 current dir:  /w/workspace/xfoundry_app-record-replay_PR-23 21:14:58 project root: . 21:14:58 --> token set from env 21:14:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:59 ==> Running gcov in . (disable via -X gcov) 21:14:59 ==> Python coveragepy not found 21:14:59 ==> Searching for coverage reports in: 21:14:59 + . 21:14:59 -> Found 1 reports 21:14:59 ==> Detecting git/mercurial file structure 21:14:59 ==> Reading reports 21:14:59 + ./coverage.out bytes=929 21:14:59 ==> Appending adjustments 21:14:59 https://docs.codecov.io/docs/fixing-reports 21:14:59 + Found adjustments 21:14:59 ==> Gzipping contents 21:14:59 4.0K /tmp/codecov.ohh443.gz 21:14:59 ==> Uploading reports 21:14:59 url: https://codecov.io 21:14:59 query: branch=PR-23&commit=a60205c1414bd738c90ceed11e54cc6d1209846c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-23%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=23&job=&cmd_args= 21:14:59 -> Pinging Codecov 21:14:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-23&commit=a60205c1414bd738c90ceed11e54cc6d1209846c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-23%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=23&job=&cmd_args= 21:14:59 Invalid request parameters 21:14:59 400 [Pipeline] } 21:14:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:15:01 + [ -d /w/workspace/xfoundry_app-record-replay_PR-23/archives ] 21:15:01 + ls -al /w/workspace/xfoundry_app-record-replay_PR-23/archives 21:15:01 total 16 21:15:01 drwxr-xr-x 3 root root 4096 Jun 21 21:07 . 21:15:01 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 21:07 .. 21:15:01 drwxr-xr-x 2 root root 4096 Jun 21 21:07 cost 21:15:01 -rw-r--r-- 1 root root 88 Jun 21 21:07 cost.csv 21:15:01 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-23/archives 21:15:01 + ls -al /w/workspace/xfoundry_app-record-replay_PR-23/archives 21:15:01 total 16 21:15:01 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 21:07 . 21:15:01 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 21:07 .. 21:15:01 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 21:07 cost 21:15:01 -rw-r--r-- 1 jenkins jenkins 88 Jun 21 21:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:15:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:15:02 ---> package-listing.sh 21:15:02 ++ facter osfamily 21:15:02 ++ tr '[:upper:]' '[:lower:]' 21:15:02 + OS_FAMILY=debian 21:15:02 + workspace=/w/workspace/xfoundry_app-record-replay_PR-23 21:15:02 + START_PACKAGES=/tmp/packages_start.txt 21:15:02 + END_PACKAGES=/tmp/packages_end.txt 21:15:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:15:02 + PACKAGES=/tmp/packages_start.txt 21:15:02 + '[' /w/workspace/xfoundry_app-record-replay_PR-23 ']' 21:15:02 + PACKAGES=/tmp/packages_end.txt 21:15:02 + case "${OS_FAMILY}" in 21:15:02 + dpkg -l 21:15:02 + grep '^ii' 21:15:02 + '[' -f /tmp/packages_start.txt ']' 21:15:02 + '[' -f /tmp/packages_end.txt ']' 21:15:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:15:02 + '[' /w/workspace/xfoundry_app-record-replay_PR-23 ']' 21:15:02 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-23/archives/ 21:15:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-23/archives/ [Pipeline] echo 21:15:02 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-23/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:15:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:03 prd-ubuntu20.04-docker-8c-8g-19011 does not seem to be running inside a container 21:15:03 $ 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-23/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-23 -v /w/workspace/xfoundry_app-record-replay_PR-23:/w/workspace/xfoundry_app-record-replay_PR-23:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-23@tmp:/w/workspace/xfoundry_app-record-replay_PR-23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:15:03 $ docker top ab72db569e91c1e4804fecacd30c4eb357d33cfde8d7ac592511bd461edd610a -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:04 + touch /tmp/pre-build-complete [Pipeline] sh 21:15:04 + mkdir -p /var/log/sysstat [Pipeline] sh 21:15:04 + ls /var/log/sa-host 21:15:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:05 provisioning config files... 21:15:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-23@tmp/config9718939210521280320tmp [Pipeline] { [Pipeline] echo 21:15:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:15:05 ---> create-netrc.sh [Pipeline] } 21:15:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:15:05 ---> python-tools-install.sh [Pipeline] echo 21:15:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:15:06 ---> sudo-logs.sh 21:15:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:15:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:15:06 ---> job-cost.sh 21:15:06 lf-activate-venv: SKIPPING 21:15:06 DEBUG: total: 0.2199999988079071 21:15:06 INFO: Retrieving Stack Cost... 21:15:07 INFO: Retrieving Pricing Info for: v3-standard-8 21:15:07 INFO: Archiving Costs [Pipeline] echo 21:15:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:15:07 ---> logs-deploy.sh 21:15:07 lf-activate-venv: SKIPPING 21:15:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-23/1 21:15:07 INFO: archiving workspace using pattern(s): 21:15:08 Archives upload complete. 21:15:08 INFO: archiving logs to Nexus