Pull request #57 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 jackchenjc for edgexfoundry/app-record-replay Loading trusted files from base branch main at 53d214d660c211fabaeb1f0df01625a9dcc42235 rather than 004c2bc30afc74426a986b3c6e91067a9902c834 Obtained Jenkinsfile from 53d214d660c211fabaeb1f0df01625a9dcc42235 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11530921551285987180.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-ssh12366469277128905079.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-57/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-57/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh620639337073151725.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-57/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14024424767721944538.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-ssh12749689523398123577.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-57/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-57/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1343109650329049906.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3213 in /w/workspace/xfoundry_app-record-replay_PR-57 [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-57 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit 004c2bc30afc74426a986b3c6e91067a9902c834 Merge succeeded, producing 004c2bc30afc74426a986b3c6e91067a9902c834 Checking out Revision 004c2bc30afc74426a986b3c6e91067a9902c834 (PR-57) > 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/57/head:refs/remotes/origin/PR-57 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 004c2bc30afc74426a986b3c6e91067a9902c834 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 004c2bc30afc74426a986b3c6e91067a9902c834 # timeout=10 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" 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 10:17:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:17:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:17:55 ========================================================= 10:17:55 EdgeX Global Pipelines Version Info 10:17:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:17:55 ------------------- 10:17:55 stable info: 10:17:55 ------------------- 10:17:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:17:55 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:17:55 Message: update stable to v1.0.250 10:17:56 ------------------- 10:17:56 experimental info: 10:17:56 ------------------- 10:17:56 Commited By: **** collab-it+edgex@linuxfoundation.org 10:17:56 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 10:17:56 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:17:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 10:17:56 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 10:17:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:17:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:17:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:17:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:17:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:17:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-57 [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-57 [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-57 [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 004c2bc30afc74426a986b3c6e91067a9902c834 [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 004c2bc [Pipeline] echo 10:17:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:17:58 provisioning config files... 10:17:58 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-57@tmp/config11434874173112957761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:17:58 ---> docker-login.sh 10:17:58 nexus3.edgexfoundry.org:10001 10:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:59 Configure a credential helper to remove this warning. See 10:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:59 10:17:59 Login Succeeded 10:17:59 nexus3.edgexfoundry.org:10002 10:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:59 Configure a credential helper to remove this warning. See 10:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:59 10:17:59 Login Succeeded 10:17:59 nexus3.edgexfoundry.org:10003 10:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:59 Configure a credential helper to remove this warning. See 10:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:59 10:17:59 Login Succeeded 10:17:59 nexus3.edgexfoundry.org:10004 10:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:59 Configure a credential helper to remove this warning. See 10:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:59 10:17:59 Login Succeeded 10:17:59 docker.io 10:17:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:59 Configure a credential helper to remove this warning. See 10:17:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:59 10:17:59 Login Succeeded 10:17:59 ---> docker-login.sh ends [Pipeline] } 10:17:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:18:00 + git rev-list -1 --merges 004c2bc30afc74426a986b3c6e91067a9902c834~1..004c2bc30afc74426a986b3c6e91067a9902c834 [Pipeline] echo 10:18:00 -----------> git rev-list -1 --merges 004c2bc30afc74426a986b3c6e91067a9902c834~1..004c2bc30afc74426a986b3c6e91067a9902c834 004c2bc30afc74426a986b3c6e91067a9902c834 [false] [Pipeline] sh 10:18:00 + git log --format=format:%s -1 004c2bc30afc74426a986b3c6e91067a9902c834 [Pipeline] echo 10:18:00 ========================================================= 10:18:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:18:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:18:01 + git log --format=format:%s -1 004c2bc30afc74426a986b3c6e91067a9902c834 [Pipeline] echo 10:18:01 [semverPrep] GIT_COMMIT: 004c2bc30afc74426a986b3c6e91067a9902c834, Commit Message: refactor: Remove github.com/pkg/errors from Attribution.txt [Pipeline] echo 10:18:01 [semverPrep] This is not a build commit. [Pipeline] sh 10:18:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:18:01 + grep -v github /etc/ssh/ssh_known_hosts 10:18:01 + [ -e /tmp/ssh_known_hosts ] 10:18:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:18:01 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:18:01 sudo tee -a /etc/ssh/ssh_known_hosts 10:18:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:18:02 10:18:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:18:02 0.1.4: Pulling from edgex-devops/py-git-semver 10:18:02 b85a868b505f: Pulling fs layer 10:18:02 e2be974225ed: Pulling fs layer 10:18:02 339a4e72a1f5: Pulling fs layer 10:18:02 988bab9f4d93: Pulling fs layer 10:18:02 1469e6f7b9e6: Pulling fs layer 10:18:02 eaf3925da568: Pulling fs layer 10:18:02 bab4dde63d76: Pulling fs layer 10:18:02 bde34c3a00c8: Pulling fs layer 10:18:02 b352a97aabf1: Pulling fs layer 10:18:02 4872d77fe225: Pulling fs layer 10:18:02 5851b861e8e6: Pulling fs layer 10:18:02 b352a97aabf1: Waiting 10:18:02 988bab9f4d93: Waiting 10:18:02 4872d77fe225: Waiting 10:18:02 bab4dde63d76: Waiting 10:18:02 eaf3925da568: Waiting 10:18:02 bde34c3a00c8: Waiting 10:18:02 e2be974225ed: Verifying Checksum 10:18:02 e2be974225ed: Download complete 10:18:02 988bab9f4d93: Download complete 10:18:02 339a4e72a1f5: Verifying Checksum 10:18:02 339a4e72a1f5: Download complete 10:18:02 1469e6f7b9e6: Verifying Checksum 10:18:02 1469e6f7b9e6: Download complete 10:18:02 eaf3925da568: Download complete 10:18:02 bde34c3a00c8: Download complete 10:18:02 b352a97aabf1: Download complete 10:18:02 4872d77fe225: Verifying Checksum 10:18:02 4872d77fe225: Download complete 10:18:02 5851b861e8e6: Download complete 10:18:02 b85a868b505f: Download complete 10:18:03 bab4dde63d76: Verifying Checksum 10:18:03 bab4dde63d76: Download complete 10:18:04 b85a868b505f: Pull complete 10:18:04 e2be974225ed: Pull complete 10:18:04 339a4e72a1f5: Pull complete 10:18:04 988bab9f4d93: Pull complete 10:18:04 1469e6f7b9e6: Pull complete 10:18:04 eaf3925da568: Pull complete 10:18:06 bab4dde63d76: Pull complete 10:18:06 bde34c3a00c8: Pull complete 10:18:06 b352a97aabf1: Pull complete 10:18:06 4872d77fe225: Pull complete 10:18:06 5851b861e8e6: Pull complete 10:18:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:18:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:18:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:18:07 prd-ubuntu20.04-docker-8c-8g-3213 does not seem to be running inside a container 10:18:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-57 -v /w/workspace/xfoundry_app-record-replay_PR-57:/w/workspace/xfoundry_app-record-replay_PR-57:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-57@tmp:/w/workspace/xfoundry_app-record-replay_PR-57@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:18:10 $ docker top 511a71bf4da5205083cee41c5051736ecb77b118ab15984e5cf7a57423ebe81e -eo pid,comm 10:18:10 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). 10:18:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:18:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:10 [ssh-agent] Looking for ssh-agent implementation... 10:18:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:10 $ docker exec 511a71bf4da5205083cee41c5051736ecb77b118ab15984e5cf7a57423ebe81e ssh-agent 10:18:10 SSH_AUTH_SOCK=/tmp/ssh-w8OarDOuRWxx/agent.34 10:18:10 SSH_AGENT_PID=40 10:18:10 Running ssh-add (command line suppressed) 10:18:11 Identity added: /w/workspace/xfoundry_app-record-replay_PR-57@tmp/private_key_12015709277978840033.key (/w/workspace/xfoundry_app-record-replay_PR-57@tmp/private_key_12015709277978840033.key) 10:18:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:11 + git tag --points-at HEAD [Pipeline] } 10:18:11 $ docker exec --env ******** --env ******** 511a71bf4da5205083cee41c5051736ecb77b118ab15984e5cf7a57423ebe81e ssh-agent -k 10:18:11 unset SSH_AUTH_SOCK; 10:18:11 unset SSH_AGENT_PID; 10:18:11 echo Agent pid 40 killed; 10:18:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:18:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:18:11 [ssh-agent] Looking for ssh-agent implementation... 10:18:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:18:11 $ docker exec 511a71bf4da5205083cee41c5051736ecb77b118ab15984e5cf7a57423ebe81e ssh-agent 10:18:11 SSH_AUTH_SOCK=/tmp/ssh-9vLjXFnuq28X/agent.72 10:18:11 SSH_AGENT_PID=78 10:18:11 Running ssh-add (command line suppressed) 10:18:11 Identity added: /w/workspace/xfoundry_app-record-replay_PR-57@tmp/private_key_12208415687221129213.key (/w/workspace/xfoundry_app-record-replay_PR-57@tmp/private_key_12208415687221129213.key) 10:18:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:18:12 + git semver init 10:18:12 2023-08-09 10:18:12,491 [run_init] DEBUG init version:0.0.0 force:False 10:18:12 2023-08-09 10:18:12,492 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-57/.semver 10:18:12 2023-08-09 10:18:12,492 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-57/.semver 10:18:12 2023-08-09 10:18:12,492 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-57/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-57, universal_newlines=False, shell=None, istream=None) 10:18:13 2023-08-09 10:18:13,236 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-57/.git/info/exclude 10:18:13 2023-08-09 10:18:13,237 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-57/.semver/PR-57 with force:False 10:18:13 2023-08-09 10:18:13,237 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-57/.semver/PR-57 10:18:13 2023-08-09 10:18:13,242 [execute] INFO git cat-file --batch-check 10:18:13 2023-08-09 10:18:13,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-57/.semver, universal_newlines=False, shell=None, istream=) 10:18:13 2023-08-09 10:18:13,251 [execute] INFO git cat-file --batch 10:18:13 2023-08-09 10:18:13,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-57/.semver, universal_newlines=False, shell=None, istream=) 10:18:13 2023-08-09 10:18:13,256 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-57/.semver/PR-57 10:18:13 0.0.0 [Pipeline] } 10:18:13 $ docker exec --env ******** --env ******** 511a71bf4da5205083cee41c5051736ecb77b118ab15984e5cf7a57423ebe81e ssh-agent -k 10:18:13 unset SSH_AUTH_SOCK; 10:18:13 unset SSH_AGENT_PID; 10:18:13 echo Agent pid 78 killed; 10:18:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:18:14 + git semver [Pipeline] } 10:18:14 $ docker stop --time=1 511a71bf4da5205083cee41c5051736ecb77b118ab15984e5cf7a57423ebe81e 10:18:15 $ docker rm -f --volumes 511a71bf4da5205083cee41c5051736ecb77b118ab15984e5cf7a57423ebe81e [Pipeline] // withDockerContainer [Pipeline] sh 10:18:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:18:16 Stashed 1 file(s) [Pipeline] echo 10:18:16 [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 10:18:17 provisioning config files... 10:18:17 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-57@tmp/config7299125631092421851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:17 ---> docker-login.sh 10:18:17 nexus3.edgexfoundry.org:10001 10:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:17 Configure a credential helper to remove this warning. See 10:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:17 10:18:17 Login Succeeded 10:18:17 nexus3.edgexfoundry.org:10002 10:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:17 Configure a credential helper to remove this warning. See 10:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:17 10:18:17 Login Succeeded 10:18:17 nexus3.edgexfoundry.org:10003 10:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:17 Configure a credential helper to remove this warning. See 10:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:17 10:18:17 Login Succeeded 10:18:17 nexus3.edgexfoundry.org:10004 10:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:17 Configure a credential helper to remove this warning. See 10:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:17 10:18:17 Login Succeeded 10:18:17 docker.io 10:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:17 Configure a credential helper to remove this warning. See 10:18:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:17 10:18:17 Login Succeeded 10:18:17 ---> docker-login.sh ends [Pipeline] } 10:18:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:18:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:18 ========================================================= 10:18:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:18:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:18 + 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 . 10:18:18 Sending build context to Docker daemon 435.7kB 10:18:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:18:18 Step 2/12 : FROM ${BASE} AS builder 10:18:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:18:18 4db1b89c0bd1: Pulling fs layer 10:18:18 6911f1a30b25: Pulling fs layer 10:18:18 e194b8c5c2a9: Pulling fs layer 10:18:18 6863d3e3a2b1: Pulling fs layer 10:18:18 ec0bb842ea78: Pulling fs layer 10:18:18 40a00589a448: Pulling fs layer 10:18:18 6c08303d61cc: Pulling fs layer 10:18:18 798269fcf238: Pulling fs layer 10:18:18 40a00589a448: Waiting 10:18:18 6c08303d61cc: Waiting 10:18:18 6863d3e3a2b1: Waiting 10:18:18 ec0bb842ea78: Waiting 10:18:18 798269fcf238: Waiting 10:18:18 6911f1a30b25: Download complete 10:18:18 6863d3e3a2b1: Verifying Checksum 10:18:18 6863d3e3a2b1: Download complete 10:18:18 ec0bb842ea78: Verifying Checksum 10:18:18 ec0bb842ea78: Download complete 10:18:18 4db1b89c0bd1: Verifying Checksum 10:18:18 4db1b89c0bd1: Download complete 10:18:18 40a00589a448: Verifying Checksum 10:18:18 40a00589a448: Download complete 10:18:18 4db1b89c0bd1: Pull complete 10:18:18 6911f1a30b25: Pull complete 10:18:19 798269fcf238: Verifying Checksum 10:18:19 798269fcf238: Download complete 10:18:19 e194b8c5c2a9: Verifying Checksum 10:18:19 e194b8c5c2a9: Download complete 10:18:19 6c08303d61cc: Verifying Checksum 10:18:19 6c08303d61cc: Download complete 10:18:22 e194b8c5c2a9: Pull complete 10:18:22 6863d3e3a2b1: Pull complete 10:18:22 ec0bb842ea78: Pull complete 10:18:22 40a00589a448: Pull complete 10:18:24 6c08303d61cc: Pull complete 10:18:25 798269fcf238: Pull complete 10:18:25 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 10:18:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:18:25 ---> ec979cd7f677 10:18:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 10:18:30 ---> Running in 1a3ecb27946c 10:18:30 Removing intermediate container 1a3ecb27946c 10:18:30 ---> c0b9d6cbef51 10:18:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:18:30 ---> Running in 4213c249eb2d 10:18:30 Removing intermediate container 4213c249eb2d 10:18:30 ---> d574cd233b57 10:18:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:18:30 ---> Running in b0430971fe4d 10:18:30 Removing intermediate container b0430971fe4d 10:18:30 ---> a14982af693e 10:18:30 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:18:30 ---> Running in d7e7b2094719 10:18:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:18:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:18:31 OK: 265 MiB in 53 packages 10:18:31 Removing intermediate container d7e7b2094719 10:18:31 ---> 872bb933d154 10:18:31 Step 7/12 : WORKDIR /app 10:18:31 ---> Running in b6d13863f771 10:18:31 Still waiting to schedule task 10:18:31 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 10:18:31 Removing intermediate container b6d13863f771 10:18:31 ---> 777365a7134c 10:18:31 Step 8/12 : COPY go.mod vendor* ./ 10:18:31 ---> 0541b80b5bcd 10:18:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:18:31 ---> Running in 5be9efcc7ae5 10:18:58 Removing intermediate container 5be9efcc7ae5 10:18:58 ---> 52049af05559 10:18:58 Step 10/12 : COPY . . 10:18:58 ---> d077c4ab1d9f 10:18:58 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:18:58 ---> Running in 6cd986025628 10:18:58 Removing intermediate container 6cd986025628 10:18:58 ---> 68cc901c5a9b 10:18:58 Step 12/12 : RUN $MAKE 10:18:58 ---> Running in 8f28f164c863 10:18:58 noop 10:18:58 Removing intermediate container 8f28f164c863 10:18:58 ---> 534d5f5948a4 10:18:58 Successfully built 534d5f5948a4 10:18:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:59 + docker inspect -f . ci-base-image-x86_64 10:18:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:18:59 prd-ubuntu20.04-docker-8c-8g-3213 does not seem to be running inside a container 10:18:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-57 -v /w/workspace/xfoundry_app-record-replay_PR-57:/w/workspace/xfoundry_app-record-replay_PR-57:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-57@tmp:/w/workspace/xfoundry_app-record-replay_PR-57@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 ******** ci-base-image-x86_64 cat 10:18:59 $ docker top 6396541b26ca7ccffb9d17ab4c5986578a2b2d6a5ebddfbfd3442ef3517e9e00 -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:00 + go version 10:19:00 go version go1.20.6 linux/amd64 [Pipeline] } 10:19:00 $ docker stop --time=1 6396541b26ca7ccffb9d17ab4c5986578a2b2d6a5ebddfbfd3442ef3517e9e00 10:19:01 $ docker rm -f --volumes 6396541b26ca7ccffb9d17ab4c5986578a2b2d6a5ebddfbfd3442ef3517e9e00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:02 + docker inspect -f . ci-base-image-x86_64 10:19:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:02 prd-ubuntu20.04-docker-8c-8g-3213 does not seem to be running inside a container 10:19:02 $ 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-57 -v /w/workspace/xfoundry_app-record-replay_PR-57:/w/workspace/xfoundry_app-record-replay_PR-57:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-57@tmp:/w/workspace/xfoundry_app-record-replay_PR-57@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 ******** ci-base-image-x86_64 cat 10:19:02 $ docker top fc4a953373106f4d9aa64779b254418e2d71be5935e9d0c1682163aac28118d9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:19:02 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-57 [Pipeline] fileExists [Pipeline] sh 10:19:03 + make test 10:19:03 go test -race -coverprofile=coverage.out ./... 10:19:25 ? github.com/edgexfoundry/app-record-replay [no test files] 10:19:25 ok github.com/edgexfoundry/app-record-replay/internal/app 0.062s coverage: 88.0% of statements 10:19:25 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 10:19:25 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 10:19:25 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 10:19:33 ok github.com/edgexfoundry/app-record-replay/internal/application 8.584s coverage: 97.5% of statements 10:19:33 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.081s coverage: 85.2% of statements 10:19:55 go vet ./... 10:19:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:19:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:19:57 ./bin/test-attribution-txt.sh [Pipeline] echo 10:19:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:19:57 $ docker stop --time=1 fc4a953373106f4d9aa64779b254418e2d71be5935e9d0c1682163aac28118d9 10:20:02 $ docker rm -f --volumes fc4a953373106f4d9aa64779b254418e2d71be5935e9d0c1682163aac28118d9 [Pipeline] // withDockerContainer [Pipeline] sh 10:20:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:20:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:20:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:20:04 + ls -al . 10:20:04 total 172 10:20:04 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:19 . 10:20:04 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:17 .. 10:20:04 -rw-rw-r-- 1 jenkins jenkins 119 Aug 9 10:17 .dockerignore 10:20:04 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:18 .git 10:20:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:17 .github 10:20:04 -rw-rw-r-- 1 jenkins jenkins 164 Aug 9 10:17 .gitignore 10:20:04 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:17 .golangci.yml 10:20:04 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:18 .semver 10:20:04 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 9 10:17 Attribution.txt 10:20:04 -rw-rw-r-- 1 jenkins jenkins 258 Aug 9 10:17 CHANGELOG.md 10:20:04 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 9 10:17 Dockerfile 10:20:04 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:17 GOVERNANCE.md 10:20:04 -rw-rw-r-- 1 jenkins jenkins 681 Aug 9 10:17 Jenkinsfile 10:20:04 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 9 10:17 LICENSE 10:20:04 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 9 10:17 Makefile 10:20:04 -rw-rw-r-- 1 jenkins jenkins 611 Aug 9 10:17 OWNERS.md 10:20:04 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 9 10:17 README.md 10:20:04 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 9 10:17 Record and Reply.postman_collection.json 10:20:04 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:18 VERSION 10:20:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:17 bin 10:20:04 -rw-r--r-- 1 jenkins jenkins 16060 Aug 9 10:19 coverage.out 10:20:04 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 9 10:17 go.mod 10:20:04 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 9 10:17 go.sum 10:20:04 drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 10:17 internal 10:20:04 -rw-rw-r-- 1 jenkins jenkins 913 Aug 9 10:17 main.go 10:20:04 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:17 pkg 10:20:04 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:17 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:04 + 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=004c2bc30afc74426a986b3c6e91067a9902c834 --label arch=amd64 --label version=0.0.0 . 10:20:04 Sending build context to Docker daemon 452.6kB 10:20:04 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:20:04 Step 2/26 : FROM ${BASE} AS builder 10:20:04 ---> 534d5f5948a4 10:20:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 10:20:04 ---> Running in 57a2a96fbcec 10:20:04 Removing intermediate container 57a2a96fbcec 10:20:04 ---> 61ac1263bdf4 10:20:04 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:20:04 ---> Running in f8622807d606 10:20:04 Removing intermediate container f8622807d606 10:20:04 ---> bed7608bf3cc 10:20:04 Step 5/26 : ARG ADD_BUILD_TAGS="" 10:20:04 ---> Running in 20e809b93ab3 10:20:04 Removing intermediate container 20e809b93ab3 10:20:04 ---> 97d792f38a87 10:20:04 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:20:04 ---> Running in 9dbd08987993 10:20:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:20:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:20:05 OK: 265 MiB in 53 packages 10:20:05 Removing intermediate container 9dbd08987993 10:20:05 ---> 06e954d5af38 10:20:05 Step 7/26 : WORKDIR /app 10:20:05 ---> Running in 9f5bd6aef837 10:20:05 Removing intermediate container 9f5bd6aef837 10:20:05 ---> 3e532987b951 10:20:05 Step 8/26 : COPY go.mod vendor* ./ 10:20:05 ---> 2f52bea4396f 10:20:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:20:05 ---> Running in 49cfb1dd7b11 10:20:06 Removing intermediate container 49cfb1dd7b11 10:20:06 ---> 8e4da6e3fe33 10:20:06 Step 10/26 : COPY . . 10:20:06 ---> d3023aeb943a 10:20:06 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:20:06 ---> Running in ad7133d4ae50 10:20:07 Removing intermediate container ad7133d4ae50 10:20:07 ---> 11929bfd7f27 10:20:07 Step 12/26 : RUN $MAKE 10:20:07 ---> Running in 3ceed44d4c63 10:20:07 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 10:20:30 Removing intermediate container 3ceed44d4c63 10:20:30 ---> dd5d5b83313f 10:20:30 Step 13/26 : FROM alpine:3.17 10:20:30 3.17: Pulling from library/alpine 10:20:30 9398808236ff: Pulling fs layer 10:20:30 9398808236ff: Verifying Checksum 10:20:30 9398808236ff: Download complete 10:20:31 9398808236ff: Pull complete 10:20:31 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:20:31 Status: Downloaded newer image for alpine:3.17 10:20:31 ---> 1e0b8b5322fc 10:20:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:20:31 ---> Running in 71ae112cf998 10:20:31 Removing intermediate container 71ae112cf998 10:20:31 ---> 0350191d056e 10:20:31 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 10:20:31 ---> Running in 506afafc84e0 10:20:31 Removing intermediate container 506afafc84e0 10:20:31 ---> 748afd3cd5d0 10:20:31 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 10:20:31 ---> Running in 793d71a0759e 10:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:20:32 (1/2) Installing ca-certificates (20230506-r0) 10:20:32 (2/2) Installing dumb-init (1.2.5-r2) 10:20:32 Executing busybox-1.35.0-r29.trigger 10:20:32 Executing ca-certificates-20230506-r0.trigger 10:20:32 OK: 8 MiB in 17 packages 10:20:32 Removing intermediate container 793d71a0759e 10:20:32 ---> 94839780a976 10:20:32 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 10:20:32 ---> 03fd94daa9ab 10:20:32 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 10:20:33 ---> 2d13d3fcbd7c 10:20:33 Step 19/26 : COPY --from=builder /app/res/ /res/ 10:20:33 ---> ed273b64419a 10:20:33 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 10:20:34 ---> 96fb07f71216 10:20:34 Step 21/26 : EXPOSE 59712 10:20:34 ---> Running in 156c24c99d35 10:20:34 Removing intermediate container 156c24c99d35 10:20:34 ---> 450aad879e7b 10:20:34 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 10:20:34 ---> Running in 708749ee0daf 10:20:34 Removing intermediate container 708749ee0daf 10:20:34 ---> 608274a9d902 10:20:34 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:20:34 ---> Running in d7dd463c7fdb 10:20:34 Removing intermediate container d7dd463c7fdb 10:20:34 ---> 729541043688 10:20:34 Step 24/26 : LABEL arch=amd64 10:20:34 ---> Running in 7d2f736f7ce8 10:20:34 Removing intermediate container 7d2f736f7ce8 10:20:34 ---> c5d467ef771f 10:20:34 Step 25/26 : LABEL git_sha=004c2bc30afc74426a986b3c6e91067a9902c834 10:20:34 ---> Running in e0cbbb553624 10:20:34 Removing intermediate container e0cbbb553624 10:20:34 ---> 01bf0067ae83 10:20:34 Step 26/26 : LABEL version=0.0.0 10:20:34 ---> Running in 87f5fb78ecc5 10:20:34 Removing intermediate container 87f5fb78ecc5 10:20:34 ---> 12ebd3614445 10:20:34 [Warning] One or more build-args [ARCH] were not consumed 10:20:34 Successfully built 12ebd3614445 10:20:34 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 10:20:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:35 10:20:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:35 latest: Pulling from edgex-lftools-log-publisher 10:20:35 5eb5b503b376: Pulling fs layer 10:20:35 5c69ac0246d0: Pulling fs layer 10:20:35 ec43610c2a17: Pulling fs layer 10:20:35 3a2ae6a8a46f: Pulling fs layer 10:20:35 33b1e0a273af: Pulling fs layer 10:20:35 5d3b04190fa2: Pulling fs layer 10:20:35 2f39f015ded8: Pulling fs layer 10:20:35 33b1e0a273af: Waiting 10:20:35 5d3b04190fa2: Waiting 10:20:35 2f39f015ded8: Waiting 10:20:35 3a2ae6a8a46f: Waiting 10:20:35 5c69ac0246d0: Download complete 10:20:35 3a2ae6a8a46f: Verifying Checksum 10:20:35 3a2ae6a8a46f: Download complete 10:20:35 33b1e0a273af: Verifying Checksum 10:20:35 33b1e0a273af: Download complete 10:20:35 5d3b04190fa2: Download complete 10:20:36 ec43610c2a17: Verifying Checksum 10:20:36 ec43610c2a17: Download complete 10:20:36 5eb5b503b376: Verifying Checksum 10:20:36 5eb5b503b376: Download complete 10:20:36 2f39f015ded8: Download complete 10:20:37 5eb5b503b376: Pull complete 10:20:37 5c69ac0246d0: Pull complete 10:20:37 ec43610c2a17: Pull complete 10:20:37 3a2ae6a8a46f: Pull complete 10:20:38 33b1e0a273af: Pull complete 10:20:38 5d3b04190fa2: Pull complete 10:20:42 2f39f015ded8: Pull complete 10:20:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:20:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:42 prd-ubuntu20.04-docker-8c-8g-3213 does not seem to be running inside a container 10:20:42 $ 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-57 -v /w/workspace/xfoundry_app-record-replay_PR-57:/w/workspace/xfoundry_app-record-replay_PR-57:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-57@tmp:/w/workspace/xfoundry_app-record-replay_PR-57@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 10:20:46 $ docker top dd0832610597931443652c89409b881e65195dd8ee656c7b31857c27af78a61e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:46 ---> job-cost.sh 10:20:46 lf-activate-venv: SKIPPING 10:20:46 INFO: No Stack... 10:20:47 INFO: Retrieving Pricing Info for: v3-standard-8 10:20:47 INFO: Archiving Costs [Pipeline] sh 10:20:48 + cat /w/workspace/xfoundry_app-record-replay_PR-57/archives/cost.csv 10:20:48 + cut -d, -f6 [Pipeline] lock 10:20:48 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-57-1-stack-cost] 10:20:48 Resource [jenkins-edgexfoundry-app-record-replay-PR-57-1-stack-cost] did not exist. Created. 10:20:48 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-57-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:20:48 + echo total: 0.2199999988079071 [Pipeline] stash 10:20:48 Stashed 1 file(s) [Pipeline] } 10:20:48 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-57-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:20:48 $ docker stop --time=1 dd0832610597931443652c89409b881e65195dd8ee656c7b31857c27af78a61e 10:20:49 $ docker rm -f --volumes dd0832610597931443652c89409b881e65195dd8ee656c7b31857c27af78a61e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:20:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3215 in /w/workspace/xfoundry_app-record-replay_PR-57 [Pipeline] { [Pipeline] ws 10:20:52 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 10:20:52 Selected Git installation does not exist. Using Default 10:20:52 The recommended git tool is: NONE 10:20:59 using credential edgex-jenkins-ssh 10:20:59 Cloning the remote Git repository 10:20:59 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 10:20:59 > git init /w/workspace/app-record-replay/1 # timeout=10 10:20:59 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 10:20:59 > git --version # timeout=10 10:20:59 > git --version # 'git version 2.25.1' 10:20:59 using GIT_SSH to set credentials SSH Credentials for GitHub 10:20:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:21:00 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 10:21:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:21:01 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 10:21:01 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 10:21:01 using GIT_SSH to set credentials SSH Credentials for GitHub 10:21:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/57/head:refs/remotes/origin/PR-57 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:21:01 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit 004c2bc30afc74426a986b3c6e91067a9902c834 10:21:02 Merge succeeded, producing 004c2bc30afc74426a986b3c6e91067a9902c834 10:21:02 Checking out Revision 004c2bc30afc74426a986b3c6e91067a9902c834 (PR-57) 10:21:01 > git config core.sparsecheckout # timeout=10 10:21:02 > git checkout -f 004c2bc30afc74426a986b3c6e91067a9902c834 # timeout=10 10:21:02 > git remote # timeout=10 10:21:02 > git config --get remote.origin.url # timeout=10 10:21:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:21:02 > git merge 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 10:21:02 > git rev-parse HEAD^{commit} # timeout=10 10:21:02 > git config core.sparsecheckout # timeout=10 10:21:02 > git checkout -f 004c2bc30afc74426a986b3c6e91067a9902c834 # timeout=10 10:21:05 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" 10:21:05 > git --version # timeout=10 10:21:05 > git --version # 'git version 2.25.1' 10:21:05 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:21:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:21:06 % Total % Received % Xferd Average Speed Time Time Time Current 10:21:06 Dload Upload Total Spent Left Speed 10:21:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72039 0 --:--:-- --:--:-- --:--:-- 72039 [Pipeline] sh 10:21:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:21:08 + sudo tee /etc/docker/daemon.new 10:21:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:21:08 { 10:21:08 "registry-mirrors": [ 10:21:08 "https://nexus3.edgexfoundry.org:10001" 10:21:08 ], 10:21:08 "bip": "10.250.0.254/24", 10:21:08 "hosts": [ 10:21:08 "tcp://0.0.0.0:5555", 10:21:08 "unix:///var/run/docker.sock" 10:21:08 ], 10:21:08 "mtu": 1458, 10:21:08 "selinux-enabled": true, 10:21:08 "seccomp-profile": "/etc/docker/seccomp.json" 10:21:08 } [Pipeline] sh 10:21:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:21:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:27 provisioning config files... 10:21:27 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config785632116495330529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:27 ---> docker-login.sh 10:21:27 nexus3.edgexfoundry.org:10001 10:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:28 Configure a credential helper to remove this warning. See 10:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:28 10:21:28 Login Succeeded 10:21:28 nexus3.edgexfoundry.org:10002 10:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:28 Configure a credential helper to remove this warning. See 10:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:28 10:21:28 Login Succeeded 10:21:28 nexus3.edgexfoundry.org:10003 10:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:29 Configure a credential helper to remove this warning. See 10:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:29 10:21:29 Login Succeeded 10:21:29 nexus3.edgexfoundry.org:10004 10:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:29 Configure a credential helper to remove this warning. See 10:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:29 10:21:29 Login Succeeded 10:21:29 docker.io 10:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:21:30 Configure a credential helper to remove this warning. See 10:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:21:30 10:21:30 Login Succeeded 10:21:30 ---> docker-login.sh ends [Pipeline] } 10:21:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:21:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:21:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:21:30 ========================================================= 10:21:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:21:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:31 + 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 . 10:21:31 Sending build context to Docker daemon 197.1kB 10:21:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:21:34 Step 2/12 : FROM ${BASE} AS builder 10:21:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:21:34 edb6bdbacee9: Pulling fs layer 10:21:34 5f9638ab2659: Pulling fs layer 10:21:34 8d51d6327a98: Pulling fs layer 10:21:34 8b374f2dd631: Pulling fs layer 10:21:34 ec14aa9079de: Pulling fs layer 10:21:34 2f466654f4bb: Pulling fs layer 10:21:34 554e91adad29: Pulling fs layer 10:21:34 8b374f2dd631: Waiting 10:21:34 ec14aa9079de: Waiting 10:21:34 2f466654f4bb: Waiting 10:21:34 554e91adad29: Waiting 10:21:34 5f9638ab2659: Verifying Checksum 10:21:34 5f9638ab2659: Download complete 10:21:34 8b374f2dd631: Download complete 10:21:34 ec14aa9079de: Verifying Checksum 10:21:34 ec14aa9079de: Download complete 10:21:34 edb6bdbacee9: Verifying Checksum 10:21:35 edb6bdbacee9: Pull complete 10:21:35 554e91adad29: Verifying Checksum 10:21:35 554e91adad29: Download complete 10:21:36 5f9638ab2659: Pull complete 10:21:37 8d51d6327a98: Verifying Checksum 10:21:37 8d51d6327a98: Download complete 10:21:37 2f466654f4bb: Verifying Checksum 10:21:37 2f466654f4bb: Download complete 10:21:49 8d51d6327a98: Pull complete 10:21:49 8b374f2dd631: Pull complete 10:21:49 ec14aa9079de: Pull complete 10:21:56 2f466654f4bb: Pull complete 10:21:58 554e91adad29: Pull complete 10:21:58 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 10:21:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:21:58 ---> 1e15ea492957 10:21:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 10:21:59 ---> Running in 3c920e4e73cb 10:21:59 Removing intermediate container 3c920e4e73cb 10:21:59 ---> 48544ae6eae9 10:21:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:21:59 ---> Running in f4afb784419b 10:21:59 Removing intermediate container f4afb784419b 10:21:59 ---> 8b9c05f6cd1d 10:21:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:22:00 ---> Running in 3ac128d39a35 10:22:00 Removing intermediate container 3ac128d39a35 10:22:00 ---> bfdf01f4554d 10:22:00 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:22:00 ---> Running in 877ed4242ff9 10:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:22:03 OK: 263 MiB in 53 packages 10:22:04 Removing intermediate container 877ed4242ff9 10:22:04 ---> ff868a9fb051 10:22:04 Step 7/12 : WORKDIR /app 10:22:04 ---> Running in 9db82ca6688d 10:22:04 Removing intermediate container 9db82ca6688d 10:22:04 ---> 6bb497e6663b 10:22:04 Step 8/12 : COPY go.mod vendor* ./ 10:22:05 ---> 1aba3de71afa 10:22:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:22:05 ---> Running in 4eafa0e0fe27 10:23:13 Removing intermediate container 4eafa0e0fe27 10:23:13 ---> 010f9a0565e7 10:23:13 Step 10/12 : COPY . . 10:23:13 ---> f0252630f8a7 10:23:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:23:13 ---> Running in 14dd6b5cf340 10:23:13 Removing intermediate container 14dd6b5cf340 10:23:13 ---> f9f54573b36d 10:23:13 Step 12/12 : RUN $MAKE 10:23:13 ---> Running in 592c0e9804f9 10:23:13 noop 10:23:13 Removing intermediate container 592c0e9804f9 10:23:13 ---> 298adc427125 10:23:13 Successfully built 298adc427125 10:23:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:13 + docker inspect -f . ci-base-image-arm64 10:23:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:23:14 prd-ubuntu20.04-docker-arm64-4c-16g-3215 does not seem to be running inside a container 10:23:14 $ 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 ******** ci-base-image-arm64 cat 10:23:15 $ docker top 0fe28b684d6bfb83096b0defe77db67105734aa465b7e9099f096850629b872f -eo pid,comm [Pipeline] { [Pipeline] sh 10:23:16 + go version 10:23:16 go version go1.20.6 linux/arm64 [Pipeline] } 10:23:16 $ docker stop --time=1 0fe28b684d6bfb83096b0defe77db67105734aa465b7e9099f096850629b872f 10:23:18 $ docker rm -f --volumes 0fe28b684d6bfb83096b0defe77db67105734aa465b7e9099f096850629b872f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:18 + docker inspect -f . ci-base-image-arm64 10:23:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:23:19 prd-ubuntu20.04-docker-arm64-4c-16g-3215 does not seem to be running inside a container 10:23:19 $ 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 ******** ci-base-image-arm64 cat 10:23:21 $ docker top 707b803d532ccd4310b9d78d5a8d6322efab1d00f700a5c70298d0121510a64c -eo pid,comm [Pipeline] { [Pipeline] sh 10:23:22 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 10:23:22 + make test 10:23:22 go test -race -coverprofile=coverage.out ./... 10:26:29 ? github.com/edgexfoundry/app-record-replay [no test files] 10:26:29 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 10:26:29 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 10:26:29 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 10:26:30 ok github.com/edgexfoundry/app-record-replay/internal/app 0.290s coverage: 88.0% of statements 10:26:40 ok github.com/edgexfoundry/app-record-replay/internal/application 8.905s coverage: 97.5% of statements 10:26:40 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.639s coverage: 85.2% of statements 10:26:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:26:40 go vet ./... 10:29:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:29:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:29:16 ./bin/test-attribution-txt.sh [Pipeline] echo 10:29:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:29:17 $ docker stop --time=1 707b803d532ccd4310b9d78d5a8d6322efab1d00f700a5c70298d0121510a64c 10:29:18 $ docker rm -f --volumes 707b803d532ccd4310b9d78d5a8d6322efab1d00f700a5c70298d0121510a64c [Pipeline] // withDockerContainer [Pipeline] sh 10:29:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:29:20 Warning: overwriting stash ‘coverage-report’ 10:29:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:29:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:29:22 + ls -al . 10:29:22 total 168 10:29:22 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:23 . 10:29:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:20 .. 10:29:22 -rw-rw-r-- 1 jenkins jenkins 119 Aug 9 10:21 .dockerignore 10:29:22 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:21 .git 10:29:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:21 .github 10:29:22 -rw-rw-r-- 1 jenkins jenkins 164 Aug 9 10:21 .gitignore 10:29:22 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:21 .golangci.yml 10:29:22 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 9 10:21 Attribution.txt 10:29:22 -rw-rw-r-- 1 jenkins jenkins 258 Aug 9 10:21 CHANGELOG.md 10:29:22 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 9 10:21 Dockerfile 10:29:22 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:21 GOVERNANCE.md 10:29:22 -rw-rw-r-- 1 jenkins jenkins 681 Aug 9 10:21 Jenkinsfile 10:29:22 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 9 10:21 LICENSE 10:29:22 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 9 10:21 Makefile 10:29:22 -rw-rw-r-- 1 jenkins jenkins 611 Aug 9 10:21 OWNERS.md 10:29:22 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 9 10:21 README.md 10:29:22 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 9 10:21 Record and Reply.postman_collection.json 10:29:22 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:18 VERSION 10:29:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:21 bin 10:29:22 -rw-r--r-- 1 jenkins jenkins 16060 Aug 9 10:26 coverage.out 10:29:22 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 9 10:21 go.mod 10:29:22 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 9 10:21 go.sum 10:29:22 drwxrwxr-x 6 jenkins jenkins 4096 Aug 9 10:21 internal 10:29:22 -rw-rw-r-- 1 jenkins jenkins 913 Aug 9 10:21 main.go 10:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:21 pkg 10:29:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:21 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:22 + 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=004c2bc30afc74426a986b3c6e91067a9902c834 --label arch=arm64 --label version=0.0.0 . 10:29:22 Sending build context to Docker daemon 214kB 10:29:22 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:29:22 Step 2/26 : FROM ${BASE} AS builder 10:29:22 ---> 298adc427125 10:29:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 10:29:22 ---> Running in fb99d95f75db 10:29:23 Removing intermediate container fb99d95f75db 10:29:23 ---> 10af0570f2ae 10:29:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:29:23 ---> Running in 21c67acbc032 10:29:23 Removing intermediate container 21c67acbc032 10:29:23 ---> eddc464ae88c 10:29:23 Step 5/26 : ARG ADD_BUILD_TAGS="" 10:29:23 ---> Running in 8a1ea0a5bfae 10:29:23 Removing intermediate container 8a1ea0a5bfae 10:29:23 ---> 164269b53565 10:29:23 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:29:23 ---> Running in 6877842ea07f 10:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:29:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:29:26 OK: 263 MiB in 53 packages 10:29:27 Removing intermediate container 6877842ea07f 10:29:27 ---> 4b7e439fb276 10:29:27 Step 7/26 : WORKDIR /app 10:29:27 ---> Running in 49d52cc0b1be 10:29:27 Removing intermediate container 49d52cc0b1be 10:29:27 ---> ca992337bc06 10:29:27 Step 8/26 : COPY go.mod vendor* ./ 10:29:28 ---> 282362a44e6e 10:29:28 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:29:28 ---> Running in 7bc7ce699c0d 10:29:30 Removing intermediate container 7bc7ce699c0d 10:29:30 ---> 49b77d35959b 10:29:30 Step 10/26 : COPY . . 10:29:31 ---> 00822f12c034 10:29:31 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:29:31 ---> Running in b0ba4d0b9b74 10:29:31 Removing intermediate container b0ba4d0b9b74 10:29:31 ---> fcac042e8e3c 10:29:31 Step 12/26 : RUN $MAKE 10:29:31 ---> Running in 6c62f8d5fa43 10:29:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 10:31:54 Removing intermediate container 6c62f8d5fa43 10:31:54 ---> 95659431bbf8 10:31:54 Step 13/26 : FROM alpine:3.17 10:31:54 3.17: Pulling from library/alpine 10:31:54 4060ece20d7a: Pulling fs layer 10:31:54 4060ece20d7a: Verifying Checksum 10:31:54 4060ece20d7a: Download complete 10:31:54 4060ece20d7a: Pull complete 10:31:54 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:31:54 Status: Downloaded newer image for alpine:3.17 10:31:54 ---> 8650cd65339b 10:31:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:31:54 ---> Running in ded5ff017abd 10:31:54 Removing intermediate container ded5ff017abd 10:31:54 ---> e9d8f0ba7a11 10:31:54 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 10:31:54 ---> Running in bfa2f1fb9c00 10:31:54 Removing intermediate container bfa2f1fb9c00 10:31:54 ---> fa1e2aa43006 10:31:54 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 10:31:54 ---> Running in ba0fe80958a2 10:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:31:54 (1/2) Installing ca-certificates (20230506-r0) 10:31:54 (2/2) Installing dumb-init (1.2.5-r2) 10:31:54 Executing busybox-1.35.0-r29.trigger 10:31:54 Executing ca-certificates-20230506-r0.trigger 10:31:54 OK: 8 MiB in 17 packages 10:31:54 Removing intermediate container ba0fe80958a2 10:31:54 ---> 1721c0bb4160 10:31:54 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 10:31:54 ---> 70cd05f731da 10:31:54 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 10:31:54 ---> 21834d1b8e8a 10:31:54 Step 19/26 : COPY --from=builder /app/res/ /res/ 10:31:54 ---> 7559b9c2c5d7 10:31:54 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 10:31:54 ---> 4db7a099a2eb 10:31:54 Step 21/26 : EXPOSE 59712 10:31:54 ---> Running in 058ed8b40b61 10:31:54 Removing intermediate container 058ed8b40b61 10:31:54 ---> 31c4c411d33b 10:31:54 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 10:31:54 ---> Running in d48c89f0188c 10:31:54 Removing intermediate container d48c89f0188c 10:31:54 ---> be895b3ff744 10:31:54 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:31:54 ---> Running in 08aae313cfa3 10:31:54 Removing intermediate container 08aae313cfa3 10:31:54 ---> 7aeb26ab82ea 10:31:54 Step 24/26 : LABEL arch=arm64 10:31:54 ---> Running in 29a1feb40956 10:31:54 Removing intermediate container 29a1feb40956 10:31:54 ---> 7da4e3bb5ba8 10:31:54 Step 25/26 : LABEL git_sha=004c2bc30afc74426a986b3c6e91067a9902c834 10:31:54 ---> Running in 06c56ad2a66b 10:31:54 Removing intermediate container 06c56ad2a66b 10:31:54 ---> 078f665ad0b1 10:31:54 Step 26/26 : LABEL version=0.0.0 10:31:54 ---> Running in d50f8a2dd26d 10:31:54 Removing intermediate container d50f8a2dd26d 10:31:54 ---> f01e61e7cbd6 10:31:54 [Warning] One or more build-args [ARCH] were not consumed 10:31:54 Successfully built f01e61e7cbd6 10:31:54 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 10:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:31:54 10:31:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:31:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:31:55 arm64: Pulling from edgex-lftools-log-publisher 10:31:55 8998bd30e6a1: Pulling fs layer 10:31:55 04944245beec: Pulling fs layer 10:31:55 699f458cf7ca: Pulling fs layer 10:31:55 765212b225bb: Pulling fs layer 10:31:55 f23df028b6ca: Pulling fs layer 10:31:55 d65c8cfc05b1: Pulling fs layer 10:31:55 2437ff75d9bd: Pulling fs layer 10:31:55 765212b225bb: Waiting 10:31:55 d65c8cfc05b1: Waiting 10:31:55 f23df028b6ca: Waiting 10:31:55 2437ff75d9bd: Waiting 10:31:55 04944245beec: Verifying Checksum 10:31:55 04944245beec: Download complete 10:31:55 765212b225bb: Verifying Checksum 10:31:55 765212b225bb: Download complete 10:31:55 f23df028b6ca: Verifying Checksum 10:31:55 f23df028b6ca: Download complete 10:31:55 d65c8cfc05b1: Verifying Checksum 10:31:55 d65c8cfc05b1: Download complete 10:31:55 699f458cf7ca: Verifying Checksum 10:31:55 699f458cf7ca: Download complete 10:31:56 8998bd30e6a1: Download complete 10:31:58 2437ff75d9bd: Verifying Checksum 10:31:58 2437ff75d9bd: Download complete 10:32:00 8998bd30e6a1: Pull complete 10:32:00 04944245beec: Pull complete 10:32:01 699f458cf7ca: Pull complete 10:32:01 765212b225bb: Pull complete 10:32:04 f23df028b6ca: Pull complete 10:32:04 d65c8cfc05b1: Pull complete 10:32:19 2437ff75d9bd: Pull complete 10:32:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:32:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:32:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:32:19 prd-ubuntu20.04-docker-arm64-4c-16g-3215 does not seem to be running inside a container 10:32:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:32:22 $ docker top f4781c490444042fe121d86de299fbfa5fb97064ed3b9e021b91143c4d0ea9f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:32:22 ---> job-cost.sh 10:32:23 lf-activate-venv: SKIPPING 10:32:23 INFO: No Stack... 10:32:23 INFO: Retrieving Pricing Info for: v3-standard-4 10:32:24 INFO: Archiving Costs [Pipeline] sh 10:32:24 + cat /w/workspace/app-record-replay/1/archives/cost.csv 10:32:24 + cut -d, -f6 [Pipeline] lock 10:32:24 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-57-1-stack-cost] 10:32:24 Resource [jenkins-edgexfoundry-app-record-replay-PR-57-1-stack-cost] did not exist. Created. 10:32:24 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-57-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:32:25 /w/workspace/app-record-replay/1@tmp/durable-134ad059/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:32:25 + echo total: 0.10999999940395355 [Pipeline] stash 10:32:25 Warning: overwriting stash ‘stack-cost’ 10:32:25 Stashed 1 file(s) [Pipeline] } 10:32:25 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-57-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:32:25 $ docker stop --time=1 f4781c490444042fe121d86de299fbfa5fb97064ed3b9e021b91143c4d0ea9f0 10:32:27 $ docker rm -f --volumes f4781c490444042fe121d86de299fbfa5fb97064ed3b9e021b91143c4d0ea9f0 [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 10:32:28 provisioning config files... 10:32:28 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-57 #1 10:32:28 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-57@tmp/config1634142233405023396tmp [Pipeline] { [Pipeline] sh 10:32:28 + set +x 10:32:28 + curl -s https://codecov.io/bash 10:32:28 + bash -s -- 10:32:28 10:32:28 _____ _ 10:32:28 / ____| | | 10:32:28 | | ___ __| | ___ ___ _____ __ 10:32:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:32:28 | |___| (_) | (_| | __/ (_| (_) \ V / 10:32:28 \_____\___/ \__,_|\___|\___\___/ \_/ 10:32:28 Bash-1.0.6 10:32:28 10:32:28 10:32:28 ==> git version 2.25.1 found 10:32:28 ==> 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 10:32:28 Release-Date: 2020-01-08 10:32:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:32:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:32:28 ==> Jenkins CI detected. 10:32:28 current dir:  /w/workspace/xfoundry_app-record-replay_PR-57 10:32:28 project root: . 10:32:28 --> token set from env 10:32:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:32:28 ==> Running gcov in . (disable via -X gcov) 10:32:28 ==> Python coveragepy not found 10:32:28 ==> Searching for coverage reports in: 10:32:28 + . 10:32:28 -> Found 1 reports 10:32:28 ==> Detecting git/mercurial file structure 10:32:28 ==> Reading reports 10:32:28 + ./coverage.out bytes=16060 10:32:28 ==> Appending adjustments 10:32:28 https://docs.codecov.io/docs/fixing-reports 10:32:28 + Found adjustments 10:32:28 ==> Gzipping contents 10:32:28 4.0K /tmp/codecov.Sog61o.gz 10:32:28 ==> Uploading reports 10:32:28 url: https://codecov.io 10:32:28 query: branch=PR-57&commit=004c2bc30afc74426a986b3c6e91067a9902c834&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-57%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=57&job=&cmd_args= 10:32:28 -> Pinging Codecov 10:32:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-57&commit=004c2bc30afc74426a986b3c6e91067a9902c834&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-57%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=57&job=&cmd_args= 10:32:28 Invalid request parameters 10:32:28 400 [Pipeline] } 10:32:28 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 10:32:30 + [ -d /w/workspace/xfoundry_app-record-replay_PR-57/archives ] 10:32:30 + ls -al /w/workspace/xfoundry_app-record-replay_PR-57/archives 10:32:30 total 16 10:32:30 drwxr-xr-x 3 root root 4096 Aug 9 10:20 . 10:32:30 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:20 .. 10:32:30 drwxr-xr-x 2 root root 4096 Aug 9 10:20 cost 10:32:30 -rw-r--r-- 1 root root 88 Aug 9 10:20 cost.csv 10:32:30 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-57/archives 10:32:30 + ls -al /w/workspace/xfoundry_app-record-replay_PR-57/archives 10:32:30 total 16 10:32:30 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:20 . 10:32:30 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:20 .. 10:32:30 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:20 cost 10:32:30 -rw-r--r-- 1 jenkins jenkins 88 Aug 9 10:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:32:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:32:31 ---> package-listing.sh 10:32:31 ++ tr '[:upper:]' '[:lower:]' 10:32:31 ++ facter osfamily 10:32:32 + OS_FAMILY=debian 10:32:32 + workspace=/w/workspace/xfoundry_app-record-replay_PR-57 10:32:32 + START_PACKAGES=/tmp/packages_start.txt 10:32:32 + END_PACKAGES=/tmp/packages_end.txt 10:32:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:32:32 + PACKAGES=/tmp/packages_start.txt 10:32:32 + '[' /w/workspace/xfoundry_app-record-replay_PR-57 ']' 10:32:32 + PACKAGES=/tmp/packages_end.txt 10:32:32 + case "${OS_FAMILY}" in 10:32:32 + dpkg -l 10:32:32 + grep '^ii' 10:32:32 + '[' -f /tmp/packages_start.txt ']' 10:32:32 + '[' -f /tmp/packages_end.txt ']' 10:32:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:32:32 + '[' /w/workspace/xfoundry_app-record-replay_PR-57 ']' 10:32:32 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-57/archives/ 10:32:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-57/archives/ [Pipeline] echo 10:32:32 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-57/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:32:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:32:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:32:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:32:33 prd-ubuntu20.04-docker-8c-8g-3213 does not seem to be running inside a container 10:32:33 $ 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-57/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-57 -v /w/workspace/xfoundry_app-record-replay_PR-57:/w/workspace/xfoundry_app-record-replay_PR-57:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-57@tmp:/w/workspace/xfoundry_app-record-replay_PR-57@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:32:33 $ docker top 5dacf5f127044ec06e0157c847ef29a018b71ca113a24f86ffa889826cff8d87 -eo pid,comm [Pipeline] { [Pipeline] sh 10:32:33 + touch /tmp/pre-build-complete [Pipeline] sh 10:32:34 + mkdir -p /var/log/sysstat [Pipeline] sh 10:32:34 + ls /var/log/sa-host 10:32:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:32:34 provisioning config files... 10:32:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-57@tmp/config4592440500633996728tmp [Pipeline] { [Pipeline] echo 10:32:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:32:34 ---> create-netrc.sh [Pipeline] } 10:32:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:32:35 ---> python-tools-install.sh [Pipeline] echo 10:32:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:32:35 ---> sudo-logs.sh 10:32:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:32:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:32:36 ---> job-cost.sh 10:32:36 lf-activate-venv: SKIPPING 10:32:36 DEBUG: total: 0.2199999988079071 10:32:36 INFO: Retrieving Stack Cost... 10:32:36 INFO: Retrieving Pricing Info for: v3-standard-8 10:32:36 INFO: Archiving Costs [Pipeline] echo 10:32:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:32:37 ---> logs-deploy.sh 10:32:37 lf-activate-venv: SKIPPING 10:32:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-57/1 10:32:37 INFO: archiving workspace using pattern(s): 10:32:38 Archives upload complete. 10:32:38 INFO: archiving logs to Nexus