Pull request #54 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 751f12f8aab323d0650418d4aaec0daf782ba786+10bf0fbf43323ed7c8c32153c2c071b1ed0aa677 (0e2acc95386acf9d9aa5bfd8295cc1fadfd24fc2) 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-ssh717989522075530892.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-ssh15625667665544992782.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-54/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-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8848853881932664948.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-54/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2033675576347813947.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-ssh9917718140010559430.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-54/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-54/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6629151788522075505.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2777 in /w/workspace/xfoundry_app-record-replay_PR-54 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/xfoundry_app-record-replay_PR-54 # 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 10bf0fbf43323ed7c8c32153c2c071b1ed0aa677 into PR head commit 751f12f8aab323d0650418d4aaec0daf782ba786 > 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/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 751f12f8aab323d0650418d4aaec0daf782ba786 Checking out Revision 751f12f8aab323d0650418d4aaec0daf782ba786 (PR-54) > git config core.sparsecheckout # timeout=10 > git checkout -f 751f12f8aab323d0650418d4aaec0daf782ba786 # 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 10bf0fbf43323ed7c8c32153c2c071b1ed0aa677 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 751f12f8aab323d0650418d4aaec0daf782ba786 # timeout=10 Commit message: "feat: Add app level Replay Status" 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:29:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:29:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:29:56 ========================================================= 21:29:56 EdgeX Global Pipelines Version Info 21:29:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:29:57 ------------------- 21:29:57 stable info: 21:29:57 ------------------- 21:29:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:29:57 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:29:57 Message: update stable to v1.0.250 21:29:58 ------------------- 21:29:58 experimental info: 21:29:58 ------------------- 21:29:58 Commited By: **** collab-it+edgex@linuxfoundation.org 21:29:58 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:29:58 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:29:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-54 [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-54 [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-54 [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 751f12f8aab323d0650418d4aaec0daf782ba786 [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 751f12f [Pipeline] echo 21:29:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:29:59 provisioning config files... 21:29:59 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-54@tmp/config2532654543845260488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:00 ---> docker-login.sh 21:30:00 nexus3.edgexfoundry.org:10001 21:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:00 Configure a credential helper to remove this warning. See 21:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:00 21:30:00 Login Succeeded 21:30:00 nexus3.edgexfoundry.org:10002 21:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:00 Configure a credential helper to remove this warning. See 21:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:00 21:30:00 Login Succeeded 21:30:00 nexus3.edgexfoundry.org:10003 21:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:00 Configure a credential helper to remove this warning. See 21:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:00 21:30:00 Login Succeeded 21:30:00 nexus3.edgexfoundry.org:10004 21:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:00 Configure a credential helper to remove this warning. See 21:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:00 21:30:00 Login Succeeded 21:30:00 docker.io 21:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:01 Configure a credential helper to remove this warning. See 21:30:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:01 21:30:01 Login Succeeded 21:30:01 ---> docker-login.sh ends [Pipeline] } 21:30:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:30:01 + git rev-list -1 --merges 751f12f8aab323d0650418d4aaec0daf782ba786~1..751f12f8aab323d0650418d4aaec0daf782ba786 [Pipeline] echo 21:30:01 -----------> git rev-list -1 --merges 751f12f8aab323d0650418d4aaec0daf782ba786~1..751f12f8aab323d0650418d4aaec0daf782ba786 751f12f8aab323d0650418d4aaec0daf782ba786 [false] [Pipeline] sh 21:30:02 + git log --format=format:%s -1 751f12f8aab323d0650418d4aaec0daf782ba786 [Pipeline] echo 21:30:02 ========================================================= 21:30:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:30:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:30:02 + git log --format=format:%s -1 751f12f8aab323d0650418d4aaec0daf782ba786 [Pipeline] echo 21:30:02 [semverPrep] GIT_COMMIT: 751f12f8aab323d0650418d4aaec0daf782ba786, Commit Message: feat: Add app level Replay Status [Pipeline] echo 21:30:02 [semverPrep] This is not a build commit. [Pipeline] sh 21:30:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:30:03 + grep -v github /etc/ssh/ssh_known_hosts 21:30:03 + [ -e /tmp/ssh_known_hosts ] 21:30:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:30:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:30:03 + sudo tee -a /etc/ssh/ssh_known_hosts 21:30:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:03 21:30:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:03 0.1.4: Pulling from edgex-devops/py-git-semver 21:30:03 b85a868b505f: Pulling fs layer 21:30:03 e2be974225ed: Pulling fs layer 21:30:03 339a4e72a1f5: Pulling fs layer 21:30:03 988bab9f4d93: Pulling fs layer 21:30:03 1469e6f7b9e6: Pulling fs layer 21:30:03 eaf3925da568: Pulling fs layer 21:30:03 bab4dde63d76: Pulling fs layer 21:30:03 bde34c3a00c8: Pulling fs layer 21:30:03 b352a97aabf1: Pulling fs layer 21:30:03 4872d77fe225: Pulling fs layer 21:30:03 5851b861e8e6: Pulling fs layer 21:30:03 bab4dde63d76: Waiting 21:30:03 bde34c3a00c8: Waiting 21:30:03 4872d77fe225: Waiting 21:30:03 988bab9f4d93: Waiting 21:30:03 b352a97aabf1: Waiting 21:30:03 1469e6f7b9e6: Waiting 21:30:03 eaf3925da568: Waiting 21:30:03 5851b861e8e6: Waiting 21:30:03 e2be974225ed: Download complete 21:30:03 988bab9f4d93: Verifying Checksum 21:30:03 988bab9f4d93: Download complete 21:30:03 1469e6f7b9e6: Verifying Checksum 21:30:03 1469e6f7b9e6: Download complete 21:30:03 339a4e72a1f5: Verifying Checksum 21:30:03 339a4e72a1f5: Download complete 21:30:04 eaf3925da568: Verifying Checksum 21:30:04 eaf3925da568: Download complete 21:30:04 bde34c3a00c8: Verifying Checksum 21:30:04 bde34c3a00c8: Download complete 21:30:04 b352a97aabf1: Download complete 21:30:04 4872d77fe225: Download complete 21:30:04 5851b861e8e6: Download complete 21:30:04 b85a868b505f: Verifying Checksum 21:30:04 b85a868b505f: Download complete 21:30:04 bab4dde63d76: Verifying Checksum 21:30:04 bab4dde63d76: Download complete 21:30:05 b85a868b505f: Pull complete 21:30:05 e2be974225ed: Pull complete 21:30:05 339a4e72a1f5: Pull complete 21:30:06 988bab9f4d93: Pull complete 21:30:06 1469e6f7b9e6: Pull complete 21:30:06 eaf3925da568: Pull complete 21:30:08 bab4dde63d76: Pull complete 21:30:08 bde34c3a00c8: Pull complete 21:30:08 b352a97aabf1: Pull complete 21:30:08 4872d77fe225: Pull complete 21:30:08 5851b861e8e6: Pull complete 21:30:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:30:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:09 prd-ubuntu20.04-docker-8c-8g-2777 does not seem to be running inside a container 21:30:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-54 -v /w/workspace/xfoundry_app-record-replay_PR-54:/w/workspace/xfoundry_app-record-replay_PR-54:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-54@tmp:/w/workspace/xfoundry_app-record-replay_PR-54@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:30:13 $ docker top 1e3464be80f0efdef043260360872e628aa018e104dbf09bb8aa067f08604acc -eo pid,comm 21:30:13 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:30:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:30:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:13 [ssh-agent] Looking for ssh-agent implementation... 21:30:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:13 $ docker exec 1e3464be80f0efdef043260360872e628aa018e104dbf09bb8aa067f08604acc ssh-agent 21:30:13 SSH_AUTH_SOCK=/tmp/ssh-r7kaepDt0CRW/agent.32 21:30:13 SSH_AGENT_PID=38 21:30:13 Running ssh-add (command line suppressed) 21:30:13 Identity added: /w/workspace/xfoundry_app-record-replay_PR-54@tmp/private_key_11506526198632893851.key (/w/workspace/xfoundry_app-record-replay_PR-54@tmp/private_key_11506526198632893851.key) 21:30:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:13 + git tag --points-at HEAD [Pipeline] } 21:30:13 $ docker exec --env ******** --env ******** 1e3464be80f0efdef043260360872e628aa018e104dbf09bb8aa067f08604acc ssh-agent -k 21:30:14 unset SSH_AUTH_SOCK; 21:30:14 unset SSH_AGENT_PID; 21:30:14 echo Agent pid 38 killed; 21:30:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:30:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:30:14 [ssh-agent] Looking for ssh-agent implementation... 21:30:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:30:14 $ docker exec 1e3464be80f0efdef043260360872e628aa018e104dbf09bb8aa067f08604acc ssh-agent 21:30:14 SSH_AUTH_SOCK=/tmp/ssh-1pjksCrFIRa4/agent.70 21:30:14 SSH_AGENT_PID=76 21:30:14 Running ssh-add (command line suppressed) 21:30:14 Identity added: /w/workspace/xfoundry_app-record-replay_PR-54@tmp/private_key_13659762377186108077.key (/w/workspace/xfoundry_app-record-replay_PR-54@tmp/private_key_13659762377186108077.key) 21:30:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:30:14 + git semver init 21:30:15 2023-08-02 21:30:15,020 [run_init] DEBUG init version:0.0.0 force:False 21:30:15 2023-08-02 21:30:15,021 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-54/.semver 21:30:15 2023-08-02 21:30:15,021 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-54/.semver 21:30:15 2023-08-02 21:30:15,022 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-54/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-54, universal_newlines=False, shell=None, istream=None) 21:30:16 2023-08-02 21:30:15,732 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-54/.git/info/exclude 21:30:16 2023-08-02 21:30:15,732 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-54/.semver/PR-54 with force:False 21:30:16 2023-08-02 21:30:15,733 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-54/.semver/PR-54 21:30:16 2023-08-02 21:30:15,737 [execute] INFO git cat-file --batch-check 21:30:16 2023-08-02 21:30:15,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-54/.semver, universal_newlines=False, shell=None, istream=) 21:30:16 2023-08-02 21:30:15,743 [execute] INFO git cat-file --batch 21:30:16 2023-08-02 21:30:15,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-54/.semver, universal_newlines=False, shell=None, istream=) 21:30:16 2023-08-02 21:30:15,748 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-54/.semver/PR-54 21:30:16 0.0.0 [Pipeline] } 21:30:16 $ docker exec --env ******** --env ******** 1e3464be80f0efdef043260360872e628aa018e104dbf09bb8aa067f08604acc ssh-agent -k 21:30:16 unset SSH_AUTH_SOCK; 21:30:16 unset SSH_AGENT_PID; 21:30:16 echo Agent pid 76 killed; 21:30:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:30:16 + git semver [Pipeline] } 21:30:16 $ docker stop --time=1 1e3464be80f0efdef043260360872e628aa018e104dbf09bb8aa067f08604acc 21:30:18 $ docker rm -f --volumes 1e3464be80f0efdef043260360872e628aa018e104dbf09bb8aa067f08604acc [Pipeline] // withDockerContainer [Pipeline] sh 21:30:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:30:18 Stashed 1 file(s) [Pipeline] echo 21:30:18 [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:30:19 provisioning config files... 21:30:19 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-54@tmp/config15147206789628942098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:19 ---> docker-login.sh 21:30:19 nexus3.edgexfoundry.org:10001 21:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:19 Configure a credential helper to remove this warning. See 21:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:19 21:30:19 Login Succeeded 21:30:19 nexus3.edgexfoundry.org:10002 21:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:19 Configure a credential helper to remove this warning. See 21:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:19 21:30:19 Login Succeeded 21:30:19 nexus3.edgexfoundry.org:10003 21:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:20 Configure a credential helper to remove this warning. See 21:30:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:20 21:30:20 Login Succeeded 21:30:20 nexus3.edgexfoundry.org:10004 21:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:20 Configure a credential helper to remove this warning. See 21:30:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:20 21:30:20 Login Succeeded 21:30:20 docker.io 21:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:20 Configure a credential helper to remove this warning. See 21:30:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:20 21:30:20 Login Succeeded 21:30:20 ---> docker-login.sh ends [Pipeline] } 21:30:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:30:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:30:20 ========================================================= 21:30:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:30:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:21 + 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:30:21 Sending build context to Docker daemon 415.7kB 21:30:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:30:21 Step 2/12 : FROM ${BASE} AS builder 21:30:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:30:21 4db1b89c0bd1: Pulling fs layer 21:30:21 6911f1a30b25: Pulling fs layer 21:30:21 e194b8c5c2a9: Pulling fs layer 21:30:21 6863d3e3a2b1: Pulling fs layer 21:30:21 ec0bb842ea78: Pulling fs layer 21:30:21 40a00589a448: Pulling fs layer 21:30:21 6c08303d61cc: Pulling fs layer 21:30:21 798269fcf238: Pulling fs layer 21:30:21 ec0bb842ea78: Waiting 21:30:21 40a00589a448: Waiting 21:30:21 6c08303d61cc: Waiting 21:30:21 6911f1a30b25: Download complete 21:30:21 6863d3e3a2b1: Download complete 21:30:21 ec0bb842ea78: Verifying Checksum 21:30:21 ec0bb842ea78: Download complete 21:30:21 4db1b89c0bd1: Download complete 21:30:21 40a00589a448: Verifying Checksum 21:30:21 40a00589a448: Download complete 21:30:21 4db1b89c0bd1: Pull complete 21:30:21 6911f1a30b25: Pull complete 21:30:21 798269fcf238: Verifying Checksum 21:30:21 798269fcf238: Download complete 21:30:21 e194b8c5c2a9: Verifying Checksum 21:30:21 e194b8c5c2a9: Download complete 21:30:22 6c08303d61cc: Verifying Checksum 21:30:22 6c08303d61cc: Download complete 21:30:25 e194b8c5c2a9: Pull complete 21:30:25 6863d3e3a2b1: Pull complete 21:30:25 ec0bb842ea78: Pull complete 21:30:25 40a00589a448: Pull complete 21:30:27 6c08303d61cc: Pull complete 21:30:28 798269fcf238: Pull complete 21:30:28 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:30:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:30:28 ---> ec979cd7f677 21:30:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:30:34 Still waiting to schedule task 21:30:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:30:35 ---> Running in 76a77e8619e5 21:30:35 Removing intermediate container 76a77e8619e5 21:30:35 ---> 93bb738aa886 21:30:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:30:35 ---> Running in ab281770371b 21:30:35 Removing intermediate container ab281770371b 21:30:35 ---> 468aa44868fe 21:30:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:30:35 ---> Running in f27eb3e4893a 21:30:35 Removing intermediate container f27eb3e4893a 21:30:35 ---> 457a9ff912f5 21:30:35 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:35 ---> Running in 7adaf474d851 21:30:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:30:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:30:35 OK: 265 MiB in 53 packages 21:30:36 Removing intermediate container 7adaf474d851 21:30:36 ---> ee7fb3e80278 21:30:36 Step 7/12 : WORKDIR /app 21:30:36 ---> Running in a4197ce5a739 21:30:36 Removing intermediate container a4197ce5a739 21:30:36 ---> 101b36aa6dfe 21:30:36 Step 8/12 : COPY go.mod vendor* ./ 21:30:36 ---> 96a13bde8750 21:30:36 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:36 ---> Running in 372f0c4e0d28 21:31:23 Removing intermediate container 372f0c4e0d28 21:31:23 ---> 3a1a56bcd250 21:31:23 Step 10/12 : COPY . . 21:31:23 ---> 7bd83ca1b7b3 21:31:23 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:31:23 ---> Running in 5484d2f499e0 21:31:23 Removing intermediate container 5484d2f499e0 21:31:23 ---> a110b3238a1d 21:31:23 Step 12/12 : RUN $MAKE 21:31:23 ---> Running in a1cbfe895204 21:31:23 noop 21:31:24 Removing intermediate container a1cbfe895204 21:31:24 ---> 80f366ad5044 21:31:24 Successfully built 80f366ad5044 21:31:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:24 + docker inspect -f . ci-base-image-x86_64 21:31:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:24 prd-ubuntu20.04-docker-8c-8g-2777 does not seem to be running inside a container 21:31:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-54 -v /w/workspace/xfoundry_app-record-replay_PR-54:/w/workspace/xfoundry_app-record-replay_PR-54:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-54@tmp:/w/workspace/xfoundry_app-record-replay_PR-54@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:31:25 $ docker top 40a8ef9855b898971b9ae5b9d79c02c8611c6891c124a514c534803ad407151e -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:25 + go version 21:31:25 go version go1.20.6 linux/amd64 [Pipeline] } 21:31:25 $ docker stop --time=1 40a8ef9855b898971b9ae5b9d79c02c8611c6891c124a514c534803ad407151e 21:31:26 $ docker rm -f --volumes 40a8ef9855b898971b9ae5b9d79c02c8611c6891c124a514c534803ad407151e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:27 + docker inspect -f . ci-base-image-x86_64 21:31:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:27 prd-ubuntu20.04-docker-8c-8g-2777 does not seem to be running inside a container 21:31:27 $ 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-54 -v /w/workspace/xfoundry_app-record-replay_PR-54:/w/workspace/xfoundry_app-record-replay_PR-54:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-54@tmp:/w/workspace/xfoundry_app-record-replay_PR-54@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:31:28 $ docker top a7f558fcff5a6a5f22bedda9a0314a716c2968a7a883d59c3752a427dc09254b -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:28 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-54 [Pipeline] fileExists [Pipeline] sh 21:31:28 + make test 21:31:28 go test -race -coverprofile=coverage.out ./... 21:31:50 ? github.com/edgexfoundry/app-record-replay [no test files] 21:31:50 ok github.com/edgexfoundry/app-record-replay/internal/app 0.056s coverage: 88.0% of statements 21:31:50 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:31:50 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:31:50 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:31:57 ok github.com/edgexfoundry/app-record-replay/internal/application 8.122s coverage: 97.5% of statements 21:31:57 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.091s coverage: 85.2% of statements 21:32:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2778 in /w/workspace/xfoundry_app-record-replay_PR-54 [Pipeline] { [Pipeline] ws 21:32:04 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 21:32:04 Selected Git installation does not exist. Using Default 21:32:04 The recommended git tool is: NONE 21:32:09 using credential edgex-jenkins-ssh 21:32:09 Cloning the remote Git repository 21:32:09 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 21:32:09 > git init /w/workspace/app-record-replay/1 # timeout=10 21:32:09 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:32:09 > git --version # timeout=10 21:32:09 > git --version # 'git version 2.25.1' 21:32:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:32:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:32:10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:32:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:32:11 Merging remotes/origin/main commit 10bf0fbf43323ed7c8c32153c2c071b1ed0aa677 into PR head commit 751f12f8aab323d0650418d4aaec0daf782ba786 21:32:10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:32:11 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:32:11 using GIT_SSH to set credentials SSH Credentials for GitHub 21:32:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:32:11 > git config core.sparsecheckout # timeout=10 21:32:11 > git checkout -f 751f12f8aab323d0650418d4aaec0daf782ba786 # timeout=10 21:32:11 Merge succeeded, producing 751f12f8aab323d0650418d4aaec0daf782ba786 21:32:11 Checking out Revision 751f12f8aab323d0650418d4aaec0daf782ba786 (PR-54) 21:32:11 > git remote # timeout=10 21:32:11 > git config --get remote.origin.url # timeout=10 21:32:11 using GIT_SSH to set credentials SSH Credentials for GitHub 21:32:11 > git merge 10bf0fbf43323ed7c8c32153c2c071b1ed0aa677 # timeout=10 21:32:11 > git rev-parse HEAD^{commit} # timeout=10 21:32:11 > git config core.sparsecheckout # timeout=10 21:32:11 > git checkout -f 751f12f8aab323d0650418d4aaec0daf782ba786 # timeout=10 21:32:15 Commit message: "feat: Add app level Replay Status" 21:32:15 > git --version # timeout=10 21:32:15 > git --version # 'git version 2.25.1' 21:32:15 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:32:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:32:16 % Total % Received % Xferd Average Speed Time Time Time Current 21:32:16 Dload Upload Total Spent Left Speed 21:32:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 21:32:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:32:17 + sudo tee /etc/docker/daemon.new 21:32:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:32:17 { 21:32:17 "registry-mirrors": [ 21:32:17 "https://nexus3.edgexfoundry.org:10001" 21:32:17 ], 21:32:17 "bip": "10.250.0.254/24", 21:32:17 "hosts": [ 21:32:17 "tcp://0.0.0.0:5555", 21:32:17 "unix:///var/run/docker.sock" 21:32:17 ], 21:32:17 "mtu": 1458, 21:32:17 "selinux-enabled": true, 21:32:17 "seccomp-profile": "/etc/docker/seccomp.json" 21:32:17 } [Pipeline] sh 21:32:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:32:18 + sudo service docker restart 21:32:19 go vet ./... 21:32:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:32:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:32:21 ./bin/test-attribution-txt.sh [Pipeline] echo 21:32:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:32:22 $ docker stop --time=1 a7f558fcff5a6a5f22bedda9a0314a716c2968a7a883d59c3752a427dc09254b 21:32:25 $ docker rm -f --volumes a7f558fcff5a6a5f22bedda9a0314a716c2968a7a883d59c3752a427dc09254b [Pipeline] // withDockerContainer [Pipeline] sh 21:32:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:32:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:32:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:32:27 + ls -al . 21:32:27 total 172 21:32:27 drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 21:31 . 21:32:27 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 21:29 .. 21:32:27 -rw-rw-r-- 1 jenkins jenkins 119 Aug 2 21:29 .dockerignore 21:32:27 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 21:30 .git 21:32:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 21:29 .github 21:32:27 -rw-rw-r-- 1 jenkins jenkins 164 Aug 2 21:29 .gitignore 21:32:27 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 21:29 .golangci.yml 21:32:27 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 21:30 .semver 21:32:27 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 2 21:29 Attribution.txt 21:32:27 -rw-rw-r-- 1 jenkins jenkins 258 Aug 2 21:29 CHANGELOG.md 21:32:27 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 2 21:29 Dockerfile 21:32:27 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 21:29 GOVERNANCE.md 21:32:27 -rw-rw-r-- 1 jenkins jenkins 681 Aug 2 21:29 Jenkinsfile 21:32:27 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 2 21:29 LICENSE 21:32:27 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 2 21:29 Makefile 21:32:27 -rw-rw-r-- 1 jenkins jenkins 611 Aug 2 21:29 OWNERS.md 21:32:27 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 2 21:29 README.md 21:32:27 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 2 21:29 Record and Reply.postman_collection.json 21:32:27 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 21:30 VERSION 21:32:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 21:29 bin 21:32:27 -rw-r--r-- 1 jenkins jenkins 16060 Aug 2 21:31 coverage.out 21:32:27 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 2 21:29 go.mod 21:32:27 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 2 21:29 go.sum 21:32:27 drwxrwxr-x 6 jenkins jenkins 4096 Aug 2 21:29 internal 21:32:27 -rw-rw-r-- 1 jenkins jenkins 913 Aug 2 21:29 main.go 21:32:27 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 21:29 pkg 21:32:27 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 21:29 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:28 + 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=751f12f8aab323d0650418d4aaec0daf782ba786 --label arch=amd64 --label version=0.0.0 . 21:32:28 Sending build context to Docker daemon 432.6kB 21:32:28 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:32:28 Step 2/26 : FROM ${BASE} AS builder 21:32:28 ---> 80f366ad5044 21:32:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:32:28 ---> Running in 05529672115a 21:32:28 Removing intermediate container 05529672115a 21:32:28 ---> b0a4cb30aa3d 21:32:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:32:28 ---> Running in 5a1c8e2b37ff 21:32:28 Removing intermediate container 5a1c8e2b37ff 21:32:28 ---> 0bd1828a9fcd 21:32:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:32:28 ---> Running in 648929cd62e3 21:32:28 Removing intermediate container 648929cd62e3 21:32:28 ---> e91adcc9c9b0 21:32:28 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:32:28 ---> Running in f68b02044fa1 21:32:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:32:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:32:29 OK: 265 MiB in 53 packages 21:32:29 Removing intermediate container f68b02044fa1 21:32:29 ---> e34151e937a2 21:32:29 Step 7/26 : WORKDIR /app 21:32:29 ---> Running in f73127fec19b 21:32:29 Removing intermediate container f73127fec19b 21:32:29 ---> 01bf94ace7a4 21:32:29 Step 8/26 : COPY go.mod vendor* ./ 21:32:29 ---> ddb341aae81a 21:32:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:32:29 ---> Running in 0c8283d4febd 21:32:30 Removing intermediate container 0c8283d4febd 21:32:30 ---> 210bc98a510d 21:32:30 Step 10/26 : COPY . . 21:32:30 ---> 82cbace9d570 21:32:30 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:32:30 ---> Running in 9edc9795ba8b 21:32:30 Removing intermediate container 9edc9795ba8b 21:32:30 ---> f34e5289bd1e 21:32:30 Step 12/26 : RUN $MAKE 21:32:31 ---> Running in e3a05cbb0f02 21:32:31 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:36 provisioning config files... 21:32:36 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config12311876109506564454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:36 ---> docker-login.sh 21:32:36 nexus3.edgexfoundry.org:10001 21:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:37 Configure a credential helper to remove this warning. See 21:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:37 21:32:37 Login Succeeded 21:32:37 nexus3.edgexfoundry.org:10002 21:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:37 Configure a credential helper to remove this warning. See 21:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:37 21:32:37 Login Succeeded 21:32:37 nexus3.edgexfoundry.org:10003 21:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:38 Configure a credential helper to remove this warning. See 21:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:38 21:32:38 Login Succeeded 21:32:38 nexus3.edgexfoundry.org:10004 21:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:38 Configure a credential helper to remove this warning. See 21:32:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:38 21:32:38 Login Succeeded 21:32:38 docker.io 21:32:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:39 Configure a credential helper to remove this warning. See 21:32:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:39 21:32:39 Login Succeeded 21:32:39 ---> docker-login.sh ends [Pipeline] } 21:32:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:32:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:39 ========================================================= 21:32:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:32:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:40 + 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:32:40 Sending build context to Docker daemon 197.1kB 21:32:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:32:40 Step 2/12 : FROM ${BASE} AS builder 21:32:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:32:40 edb6bdbacee9: Pulling fs layer 21:32:40 5f9638ab2659: Pulling fs layer 21:32:40 8d51d6327a98: Pulling fs layer 21:32:40 8b374f2dd631: Pulling fs layer 21:32:40 ec14aa9079de: Pulling fs layer 21:32:40 2f466654f4bb: Pulling fs layer 21:32:40 554e91adad29: Pulling fs layer 21:32:40 ec14aa9079de: Waiting 21:32:40 2f466654f4bb: Waiting 21:32:40 554e91adad29: Waiting 21:32:40 8b374f2dd631: Waiting 21:32:40 5f9638ab2659: Verifying Checksum 21:32:40 5f9638ab2659: Download complete 21:32:40 8b374f2dd631: Verifying Checksum 21:32:40 8b374f2dd631: Download complete 21:32:40 edb6bdbacee9: Verifying Checksum 21:32:40 ec14aa9079de: Verifying Checksum 21:32:40 ec14aa9079de: Download complete 21:32:40 edb6bdbacee9: Download complete 21:32:41 edb6bdbacee9: Pull complete 21:32:41 554e91adad29: Verifying Checksum 21:32:41 554e91adad29: Download complete 21:32:42 8d51d6327a98: Download complete 21:32:43 2f466654f4bb: Verifying Checksum 21:32:43 2f466654f4bb: Download complete 21:32:43 5f9638ab2659: Pull complete 21:32:53 Removing intermediate container e3a05cbb0f02 21:32:53 ---> f0f875e2f73f 21:32:53 Step 13/26 : FROM alpine:3.17 21:32:53 3.17: Pulling from library/alpine 21:32:53 4db1b89c0bd1: Already exists 21:32:53 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:32:53 Status: Downloaded newer image for alpine:3.17 21:32:53 ---> 1f73a9d63274 21:32:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:32:53 ---> Running in b782bb62e473 21:32:53 Removing intermediate container b782bb62e473 21:32:53 ---> 817527b19086 21:32:53 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:32:53 ---> Running in 2d9cd428dbe6 21:32:53 Removing intermediate container 2d9cd428dbe6 21:32:53 ---> 4b34a2a94470 21:32:53 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:32:53 ---> Running in dde3fe9d6d7f 21:32:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:32:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:32:53 (1/2) Installing ca-certificates (20230506-r0) 21:32:53 (2/2) Installing dumb-init (1.2.5-r2) 21:32:53 Executing busybox-1.35.0-r29.trigger 21:32:53 Executing ca-certificates-20230506-r0.trigger 21:32:53 OK: 8 MiB in 17 packages 21:32:53 Removing intermediate container dde3fe9d6d7f 21:32:53 ---> 6c9b87e9c715 21:32:53 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:32:53 ---> ffca0493d9f8 21:32:53 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:32:53 ---> 0b4d74a37362 21:32:53 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:32:53 ---> f4e01c0dcbf7 21:32:53 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:32:53 ---> 795ae5945d4f 21:32:53 Step 21/26 : EXPOSE 59712 21:32:53 ---> Running in ab2676d59a39 21:32:53 Removing intermediate container ab2676d59a39 21:32:53 ---> 42cf53e6d62c 21:32:53 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:32:53 ---> Running in 17a24e61e48f 21:32:53 Removing intermediate container 17a24e61e48f 21:32:53 ---> 181279b5f452 21:32:53 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:32:53 ---> Running in 6b3a82966e22 21:32:53 Removing intermediate container 6b3a82966e22 21:32:53 ---> 0ed822b2ac63 21:32:53 Step 24/26 : LABEL arch=amd64 21:32:53 ---> Running in 0101163e89fc 21:32:53 Removing intermediate container 0101163e89fc 21:32:53 ---> 220d21899c77 21:32:53 Step 25/26 : LABEL git_sha=751f12f8aab323d0650418d4aaec0daf782ba786 21:32:53 ---> Running in d018d97b4889 21:32:53 Removing intermediate container d018d97b4889 21:32:53 ---> 8aa1ad939fc5 21:32:53 Step 26/26 : LABEL version=0.0.0 21:32:53 ---> Running in 69a49ca2e13c 21:32:53 Removing intermediate container 69a49ca2e13c 21:32:53 ---> fb4dec1dc117 21:32:53 [Warning] One or more build-args [ARCH] were not consumed 21:32:53 Successfully built fb4dec1dc117 21:32:53 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:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:54 21:32:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:55 latest: Pulling from edgex-lftools-log-publisher 21:32:55 5eb5b503b376: Pulling fs layer 21:32:55 5c69ac0246d0: Pulling fs layer 21:32:55 ec43610c2a17: Pulling fs layer 21:32:55 3a2ae6a8a46f: Pulling fs layer 21:32:55 33b1e0a273af: Pulling fs layer 21:32:55 5d3b04190fa2: Pulling fs layer 21:32:55 2f39f015ded8: Pulling fs layer 21:32:55 3a2ae6a8a46f: Waiting 21:32:55 33b1e0a273af: Waiting 21:32:55 5d3b04190fa2: Waiting 21:32:55 2f39f015ded8: Waiting 21:32:55 5c69ac0246d0: Verifying Checksum 21:32:55 5c69ac0246d0: Download complete 21:32:55 3a2ae6a8a46f: Verifying Checksum 21:32:55 3a2ae6a8a46f: Download complete 21:32:55 ec43610c2a17: Verifying Checksum 21:32:55 ec43610c2a17: Download complete 21:32:55 33b1e0a273af: Verifying Checksum 21:32:55 33b1e0a273af: Download complete 21:32:55 5d3b04190fa2: Verifying Checksum 21:32:55 5d3b04190fa2: Download complete 21:32:55 5eb5b503b376: Verifying Checksum 21:32:55 5eb5b503b376: Download complete 21:32:55 2f39f015ded8: Download complete 21:32:56 5eb5b503b376: Pull complete 21:32:56 5c69ac0246d0: Pull complete 21:32:57 ec43610c2a17: Pull complete 21:32:57 3a2ae6a8a46f: Pull complete 21:32:57 33b1e0a273af: Pull complete 21:32:57 5d3b04190fa2: Pull complete 21:32:58 8d51d6327a98: Pull complete 21:32:58 8b374f2dd631: Pull complete 21:32:58 ec14aa9079de: Pull complete 21:33:01 2f39f015ded8: Pull complete 21:33:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:33:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:33:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:01 prd-ubuntu20.04-docker-8c-8g-2777 does not seem to be running inside a container 21:33:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-54 -v /w/workspace/xfoundry_app-record-replay_PR-54:/w/workspace/xfoundry_app-record-replay_PR-54:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-54@tmp:/w/workspace/xfoundry_app-record-replay_PR-54@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:33:05 2f466654f4bb: Pull complete 21:33:06 $ docker top ba2a6541d8da7ca7c9d98db787bc2e8a971dc9e00b32f1ae3b0ffc2a18ea2a88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:07 ---> job-cost.sh 21:33:07 lf-activate-venv: SKIPPING 21:33:07 INFO: No Stack... 21:33:07 554e91adad29: Pull complete 21:33:07 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:33:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:33:07 ---> 1e15ea492957 21:33:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:33:07 INFO: Retrieving Pricing Info for: v3-standard-8 21:33:07 INFO: Archiving Costs [Pipeline] sh 21:33:08 + cat /w/workspace/xfoundry_app-record-replay_PR-54/archives/cost.csv 21:33:08 + cut -d, -f6 [Pipeline] lock 21:33:08 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-54-1-stack-cost] 21:33:08 Resource [jenkins-edgexfoundry-app-record-replay-PR-54-1-stack-cost] did not exist. Created. 21:33:08 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-54-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:33:08 + echo total: 0.2199999988079071 [Pipeline] stash 21:33:08 Stashed 1 file(s) [Pipeline] } 21:33:08 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-54-1-stack-cost] 21:33:08 ---> Running in c0543d637d44 [Pipeline] // lock [Pipeline] } 21:33:08 $ docker stop --time=1 ba2a6541d8da7ca7c9d98db787bc2e8a971dc9e00b32f1ae3b0ffc2a18ea2a88 21:33:08 Removing intermediate container c0543d637d44 21:33:08 ---> 12a7952a0ddb 21:33:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:33:08 ---> Running in 7da874e8c6c9 21:33:09 Removing intermediate container 7da874e8c6c9 21:33:09 ---> f5cc6a6d2eb5 21:33:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:33:09 ---> Running in d3f13c6f8a95 21:33:09 Removing intermediate container d3f13c6f8a95 21:33:09 ---> 081150cbe70f 21:33:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:33:09 ---> Running in a28c215a37e6 21:33:09 $ docker rm -f --volumes ba2a6541d8da7ca7c9d98db787bc2e8a971dc9e00b32f1ae3b0ffc2a18ea2a88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:33:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:33:12 OK: 263 MiB in 53 packages 21:33:12 Removing intermediate container a28c215a37e6 21:33:12 ---> 0491a008a627 21:33:12 Step 7/12 : WORKDIR /app 21:33:13 ---> Running in a425d28baf50 21:33:13 Removing intermediate container a425d28baf50 21:33:13 ---> 188c0592cc7c 21:33:13 Step 8/12 : COPY go.mod vendor* ./ 21:33:13 ---> 69f05f637ff2 21:33:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:13 ---> Running in 57a670849cec 21:34:21 Removing intermediate container 57a670849cec 21:34:21 ---> c7443187bbe3 21:34:21 Step 10/12 : COPY . . 21:34:21 ---> c78fc780c960 21:34:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:21 ---> Running in 4a1e381a09dd 21:34:21 Removing intermediate container 4a1e381a09dd 21:34:21 ---> e3da3aaf04bb 21:34:21 Step 12/12 : RUN $MAKE 21:34:21 ---> Running in 10608b23c948 21:34:21 noop 21:34:21 Removing intermediate container 10608b23c948 21:34:21 ---> 88afd17973c8 21:34:21 Successfully built 88afd17973c8 21:34:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:22 + docker inspect -f . ci-base-image-arm64 21:34:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:22 prd-ubuntu20.04-docker-arm64-4c-16g-2778 does not seem to be running inside a container 21:34:22 $ 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:34:23 $ docker top 417a1a933c4305a0f89fe1d6a7670a86c01837ce725fe9c330753624fdb3d8aa -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:24 + go version 21:34:24 go version go1.20.6 linux/arm64 [Pipeline] } 21:34:24 $ docker stop --time=1 417a1a933c4305a0f89fe1d6a7670a86c01837ce725fe9c330753624fdb3d8aa 21:34:26 $ docker rm -f --volumes 417a1a933c4305a0f89fe1d6a7670a86c01837ce725fe9c330753624fdb3d8aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:27 + docker inspect -f . ci-base-image-arm64 21:34:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:27 prd-ubuntu20.04-docker-arm64-4c-16g-2778 does not seem to be running inside a container 21:34:27 $ 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:34:28 $ docker top 714c75529600a6568ce8adb5b5f619f68cf1f731c5fef4faa194efcd19b244c8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:29 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 21:34:29 + make test 21:34:29 go test -race -coverprofile=coverage.out ./... 21:37:06 ? github.com/edgexfoundry/app-record-replay [no test files] 21:37:18 ok github.com/edgexfoundry/app-record-replay/internal/app 0.279s coverage: 88.0% of statements 21:37:24 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:37:24 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:37:24 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:37:27 ok github.com/edgexfoundry/app-record-replay/internal/application 8.860s coverage: 97.5% of statements 21:37:27 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.408s coverage: 85.2% of statements 21:37:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:37:27 go vet ./... 21:39:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:39:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:39:49 ./bin/test-attribution-txt.sh [Pipeline] echo 21:39:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:39:49 $ docker stop --time=1 714c75529600a6568ce8adb5b5f619f68cf1f731c5fef4faa194efcd19b244c8 21:39:51 $ docker rm -f --volumes 714c75529600a6568ce8adb5b5f619f68cf1f731c5fef4faa194efcd19b244c8 [Pipeline] // withDockerContainer [Pipeline] sh 21:39:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:39:53 Warning: overwriting stash ‘coverage-report’ 21:39:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:39:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:39:54 + ls -al . 21:39:54 total 168 21:39:54 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 21:34 . 21:39:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 21:32 .. 21:39:54 -rw-rw-r-- 1 jenkins jenkins 119 Aug 2 21:32 .dockerignore 21:39:54 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 21:32 .git 21:39:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 21:32 .github 21:39:54 -rw-rw-r-- 1 jenkins jenkins 164 Aug 2 21:32 .gitignore 21:39:54 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 21:32 .golangci.yml 21:39:54 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 2 21:32 Attribution.txt 21:39:54 -rw-rw-r-- 1 jenkins jenkins 258 Aug 2 21:32 CHANGELOG.md 21:39:54 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 2 21:32 Dockerfile 21:39:54 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 21:32 GOVERNANCE.md 21:39:54 -rw-rw-r-- 1 jenkins jenkins 681 Aug 2 21:32 Jenkinsfile 21:39:54 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 2 21:32 LICENSE 21:39:54 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 2 21:32 Makefile 21:39:54 -rw-rw-r-- 1 jenkins jenkins 611 Aug 2 21:32 OWNERS.md 21:39:54 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 2 21:32 README.md 21:39:54 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 2 21:32 Record and Reply.postman_collection.json 21:39:54 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 21:30 VERSION 21:39:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 21:32 bin 21:39:54 -rw-r--r-- 1 jenkins jenkins 16060 Aug 2 21:37 coverage.out 21:39:54 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 2 21:32 go.mod 21:39:54 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 2 21:32 go.sum 21:39:54 drwxrwxr-x 6 jenkins jenkins 4096 Aug 2 21:32 internal 21:39:54 -rw-rw-r-- 1 jenkins jenkins 913 Aug 2 21:32 main.go 21:39:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 21:32 pkg 21:39:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 21:32 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:55 + 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=751f12f8aab323d0650418d4aaec0daf782ba786 --label arch=arm64 --label version=0.0.0 . 21:39:55 Sending build context to Docker daemon 214kB 21:39:55 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:39:55 Step 2/26 : FROM ${BASE} AS builder 21:39:55 ---> 88afd17973c8 21:39:55 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:39:55 ---> Running in 6ba5e57ca597 21:39:55 Removing intermediate container 6ba5e57ca597 21:39:55 ---> 239f0c142b42 21:39:55 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:39:55 ---> Running in 689913c45101 21:39:55 Removing intermediate container 689913c45101 21:39:55 ---> 9ce96af49dae 21:39:55 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:39:56 ---> Running in dd595954fe33 21:39:56 Removing intermediate container dd595954fe33 21:39:56 ---> 62ec90a1a9f7 21:39:56 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:39:56 ---> Running in 06c07c63fbf0 21:39:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:39:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:39:58 OK: 263 MiB in 53 packages 21:39:59 Removing intermediate container 06c07c63fbf0 21:39:59 ---> f1251b7579e5 21:39:59 Step 7/26 : WORKDIR /app 21:39:59 ---> Running in e7b325d74f8b 21:40:00 Removing intermediate container e7b325d74f8b 21:40:00 ---> ea213a654d46 21:40:00 Step 8/26 : COPY go.mod vendor* ./ 21:40:04 ---> 6da9a54ccdd7 21:40:04 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:40:04 ---> Running in 8b6eab2f6890 21:40:06 Removing intermediate container 8b6eab2f6890 21:40:06 ---> 615ef4170a07 21:40:06 Step 10/26 : COPY . . 21:40:06 ---> 3fd788946e1d 21:40:06 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:40:07 ---> Running in 6b58158da6d6 21:40:07 Removing intermediate container 6b58158da6d6 21:40:07 ---> d02f294a7d08 21:40:07 Step 12/26 : RUN $MAKE 21:40:07 ---> Running in 1ef491c7ef79 21:40:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 21:42:15 Removing intermediate container 1ef491c7ef79 21:42:15 ---> 30b87062f073 21:42:15 Step 13/26 : FROM alpine:3.17 21:42:15 3.17: Pulling from library/alpine 21:42:15 edb6bdbacee9: Already exists 21:42:15 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:42:15 Status: Downloaded newer image for alpine:3.17 21:42:15 ---> 779605e5fbc0 21:42:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:42:15 ---> Running in b8ae627475a4 21:42:15 Removing intermediate container b8ae627475a4 21:42:15 ---> 771fcaa8ac9b 21:42:15 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:42:15 ---> Running in d716148a9969 21:42:15 Removing intermediate container d716148a9969 21:42:15 ---> 8a9bdd1546af 21:42:15 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:42:15 ---> Running in e93a424c0d42 21:42:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:42:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:42:16 (1/2) Installing ca-certificates (20230506-r0) 21:42:16 (2/2) Installing dumb-init (1.2.5-r2) 21:42:16 Executing busybox-1.35.0-r29.trigger 21:42:16 Executing ca-certificates-20230506-r0.trigger 21:42:16 OK: 8 MiB in 17 packages 21:42:18 Removing intermediate container e93a424c0d42 21:42:18 ---> d7c673dfcd1f 21:42:18 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:42:18 ---> e9a33d58963c 21:42:18 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:42:19 ---> 913bbeb1e17b 21:42:19 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:42:19 ---> 261373189247 21:42:19 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:42:20 ---> 504ff2986177 21:42:20 Step 21/26 : EXPOSE 59712 21:42:20 ---> Running in 261951111fab 21:42:21 Removing intermediate container 261951111fab 21:42:21 ---> 8d4e37b49c80 21:42:21 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:42:21 ---> Running in 4f596e33e00b 21:42:21 Removing intermediate container 4f596e33e00b 21:42:21 ---> a4613bb6c433 21:42:21 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:42:21 ---> Running in 92a54cc9c9be 21:42:21 Removing intermediate container 92a54cc9c9be 21:42:21 ---> 343b508cbc82 21:42:21 Step 24/26 : LABEL arch=arm64 21:42:21 ---> Running in d7c181124068 21:42:22 Removing intermediate container d7c181124068 21:42:22 ---> eb23dd203c68 21:42:22 Step 25/26 : LABEL git_sha=751f12f8aab323d0650418d4aaec0daf782ba786 21:42:22 ---> Running in 1ecf96b0240a 21:42:22 Removing intermediate container 1ecf96b0240a 21:42:22 ---> 88d0e34405c5 21:42:22 Step 26/26 : LABEL version=0.0.0 21:42:22 ---> Running in 6ad1b4b3509f 21:42:22 Removing intermediate container 6ad1b4b3509f 21:42:22 ---> 79cb40d141af 21:42:22 [Warning] One or more build-args [ARCH] were not consumed 21:42:22 Successfully built 79cb40d141af 21:42:22 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:42:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:23 21:42:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:23 arm64: Pulling from edgex-lftools-log-publisher 21:42:23 8998bd30e6a1: Pulling fs layer 21:42:23 04944245beec: Pulling fs layer 21:42:23 699f458cf7ca: Pulling fs layer 21:42:23 765212b225bb: Pulling fs layer 21:42:23 f23df028b6ca: Pulling fs layer 21:42:23 d65c8cfc05b1: Pulling fs layer 21:42:23 2437ff75d9bd: Pulling fs layer 21:42:23 765212b225bb: Waiting 21:42:23 f23df028b6ca: Waiting 21:42:23 d65c8cfc05b1: Waiting 21:42:23 2437ff75d9bd: Waiting 21:42:24 04944245beec: Verifying Checksum 21:42:24 04944245beec: Download complete 21:42:24 765212b225bb: Verifying Checksum 21:42:24 765212b225bb: Download complete 21:42:24 f23df028b6ca: Verifying Checksum 21:42:24 f23df028b6ca: Download complete 21:42:24 d65c8cfc05b1: Verifying Checksum 21:42:24 d65c8cfc05b1: Download complete 21:42:24 699f458cf7ca: Verifying Checksum 21:42:24 699f458cf7ca: Download complete 21:42:24 8998bd30e6a1: Verifying Checksum 21:42:24 8998bd30e6a1: Download complete 21:42:26 2437ff75d9bd: Verifying Checksum 21:42:26 2437ff75d9bd: Download complete 21:42:28 8998bd30e6a1: Pull complete 21:42:29 04944245beec: Pull complete 21:42:33 699f458cf7ca: Pull complete 21:42:33 765212b225bb: Pull complete 21:42:33 f23df028b6ca: Pull complete 21:42:33 d65c8cfc05b1: Pull complete 21:42:48 2437ff75d9bd: Pull complete 21:42:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:42:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:49 prd-ubuntu20.04-docker-arm64-4c-16g-2778 does not seem to be running inside a container 21:42: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:42:51 $ docker top 657102d12b33b9353dc43b568134f221c16843878fd754ba01fd55c960c4399b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:42:52 ---> job-cost.sh 21:42:52 lf-activate-venv: SKIPPING 21:42:52 INFO: No Stack... 21:42:52 INFO: Retrieving Pricing Info for: v3-standard-4 21:42:53 INFO: Archiving Costs [Pipeline] sh 21:42:54 + cat /w/workspace/app-record-replay/1/archives/cost.csv 21:42:54 + cut -d, -f6 [Pipeline] lock 21:42:54 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-54-1-stack-cost] 21:42:54 Resource [jenkins-edgexfoundry-app-record-replay-PR-54-1-stack-cost] did not exist. Created. 21:42:54 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-54-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:42:54 /w/workspace/app-record-replay/1@tmp/durable-c8a90c80/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:42:55 + echo total: 0.10999999940395355 [Pipeline] stash 21:42:55 Warning: overwriting stash ‘stack-cost’ 21:42:55 Stashed 1 file(s) [Pipeline] } 21:42:55 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-54-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:42:55 $ docker stop --time=1 657102d12b33b9353dc43b568134f221c16843878fd754ba01fd55c960c4399b 21:42:56 $ docker rm -f --volumes 657102d12b33b9353dc43b568134f221c16843878fd754ba01fd55c960c4399b [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:42:57 provisioning config files... 21:42:57 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-54 #1 21:42:57 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-54@tmp/config15286381305535356256tmp [Pipeline] { [Pipeline] sh 21:42:58 + set +x 21:42:58 + curl -s https://codecov.io/bash 21:42:58 + bash -s -- 21:42:58 21:42:58 _____ _ 21:42:58 / ____| | | 21:42:58 | | ___ __| | ___ ___ _____ __ 21:42:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:42:58 | |___| (_) | (_| | __/ (_| (_) \ V / 21:42:58 \_____\___/ \__,_|\___|\___\___/ \_/ 21:42:58 Bash-1.0.6 21:42:58 21:42:58 21:42:58 ==> git version 2.25.1 found 21:42: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:42:58 Release-Date: 2020-01-08 21:42: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:42:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:42:58 ==> Jenkins CI detected. 21:42:58 current dir:  /w/workspace/xfoundry_app-record-replay_PR-54 21:42:58 project root: . 21:42:58 --> token set from env 21:42:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:42:58 ==> Running gcov in . (disable via -X gcov) 21:42:58 ==> Python coveragepy not found 21:42:58 ==> Searching for coverage reports in: 21:42:58 + . 21:42:58 -> Found 1 reports 21:42:58 ==> Detecting git/mercurial file structure 21:42:58 ==> Reading reports 21:42:58 + ./coverage.out bytes=16060 21:42:58 ==> Appending adjustments 21:42:58 https://docs.codecov.io/docs/fixing-reports 21:42:58 + Found adjustments 21:42:58 ==> Gzipping contents 21:42:58 4.0K /tmp/codecov.LqsttS.gz 21:42:58 ==> Uploading reports 21:42:58 url: https://codecov.io 21:42:58 query: branch=PR-54&commit=751f12f8aab323d0650418d4aaec0daf782ba786&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-54%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=54&job=&cmd_args= 21:42:58 -> Pinging Codecov 21:42:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-54&commit=751f12f8aab323d0650418d4aaec0daf782ba786&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-54%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=54&job=&cmd_args= 21:42:58 Invalid request parameters 21:42:58 400 [Pipeline] } 21:42:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:43:00 + [ -d /w/workspace/xfoundry_app-record-replay_PR-54/archives ] 21:43:00 + ls -al /w/workspace/xfoundry_app-record-replay_PR-54/archives 21:43:00 total 16 21:43:00 drwxr-xr-x 3 root root 4096 Aug 2 21:33 . 21:43:00 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 21:33 .. 21:43:00 drwxr-xr-x 2 root root 4096 Aug 2 21:33 cost 21:43:00 -rw-r--r-- 1 root root 88 Aug 2 21:33 cost.csv 21:43:00 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-54/archives 21:43:00 + ls -al /w/workspace/xfoundry_app-record-replay_PR-54/archives 21:43:00 total 16 21:43:00 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 21:33 . 21:43:00 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 21:33 .. 21:43:00 drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 21:33 cost 21:43:00 -rw-r--r-- 1 jenkins jenkins 88 Aug 2 21:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:43:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:43:01 ---> package-listing.sh 21:43:01 ++ tr '[:upper:]' '[:lower:]' 21:43:01 ++ facter osfamily 21:43:01 + OS_FAMILY=debian 21:43:01 + workspace=/w/workspace/xfoundry_app-record-replay_PR-54 21:43:01 + START_PACKAGES=/tmp/packages_start.txt 21:43:01 + END_PACKAGES=/tmp/packages_end.txt 21:43:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:43:01 + PACKAGES=/tmp/packages_start.txt 21:43:01 + '[' /w/workspace/xfoundry_app-record-replay_PR-54 ']' 21:43:01 + PACKAGES=/tmp/packages_end.txt 21:43:01 + case "${OS_FAMILY}" in 21:43:01 + dpkg -l 21:43:01 + grep '^ii' 21:43:01 + '[' -f /tmp/packages_start.txt ']' 21:43:01 + '[' -f /tmp/packages_end.txt ']' 21:43:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:43:01 + '[' /w/workspace/xfoundry_app-record-replay_PR-54 ']' 21:43:01 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-54/archives/ 21:43:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-54/archives/ [Pipeline] echo 21:43:01 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-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:43:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:43:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:02 prd-ubuntu20.04-docker-8c-8g-2777 does not seem to be running inside a container 21:43:02 $ 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-54/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-54 -v /w/workspace/xfoundry_app-record-replay_PR-54:/w/workspace/xfoundry_app-record-replay_PR-54:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-54@tmp:/w/workspace/xfoundry_app-record-replay_PR-54@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:43:03 $ docker top 42c07662f6d55e93e71452616fe66e8e1cbbcee57572adc4661209b17dca23b8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:03 + touch /tmp/pre-build-complete [Pipeline] sh 21:43:03 + mkdir -p /var/log/sysstat [Pipeline] sh 21:43:04 + ls /var/log/sa-host 21:43:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:43:04 provisioning config files... 21:43:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-54@tmp/config18354814770341459325tmp [Pipeline] { [Pipeline] echo 21:43:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:43:04 ---> create-netrc.sh [Pipeline] } 21:43:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:43:05 ---> python-tools-install.sh [Pipeline] echo 21:43:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:43:05 ---> sudo-logs.sh 21:43:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:43:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:43:05 ---> job-cost.sh 21:43:05 lf-activate-venv: SKIPPING 21:43:05 DEBUG: total: 0.2199999988079071 21:43:05 INFO: Retrieving Stack Cost... 21:43:06 INFO: Retrieving Pricing Info for: v3-standard-8 21:43:06 INFO: Archiving Costs [Pipeline] echo 21:43:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:43:07 ---> logs-deploy.sh 21:43:07 lf-activate-venv: SKIPPING 21:43:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-54/1 21:43:07 INFO: archiving workspace using pattern(s): 21:43:07 Archives upload complete. 21:43:07 INFO: archiving logs to Nexus