Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cf2b27898899a203f9eb6ebf67b2fde31c12ce22 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-ssh17009022802114858289.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh18132696553812330903.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5687253699830320602.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10008829623204343604.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13987722186055916406.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 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 ‘prd-ubuntu20.04-docker-8c-8g-16395’ Running on prd-ubuntu20.04-docker-8c-8g-16398 in /w/workspace/exfoundry_app-record-replay_main [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/exfoundry_app-record-replay_main # 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 Avoid second fetch Checking out Revision cf2b27898899a203f9eb6ebf67b2fde31c12ce22 (main) Commit message: "Merge pull request #102 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/app-functions-sdk-go/v3-3.1.0-dev.51" > 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 core.sparsecheckout # timeout=10 > git checkout -f cf2b27898899a203f9eb6ebf67b2fde31c12ce22 # timeout=10 > git rev-list --no-walk 0e3d41eb9650f15297245de427bbe3a0939e088d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:51:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:51:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:51:54 ========================================================= 14:51:54 EdgeX Global Pipelines Version Info 14:51:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:51:56 ------------------- 14:51:56 stable info: 14:51:56 ------------------- 14:51:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:51:56 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 14:51:56 Message: update stable to v1.0.255 14:51:56 ------------------- 14:51:56 experimental info: 14:51:56 ------------------- 14:51:56 Commited By: **** collab-it+edgex@linuxfoundation.org 14:51:56 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 14:51:56 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:51:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 14:51:56 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 14:51:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:51:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf2b27898899a203f9eb6ebf67b2fde31c12ce22 [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf2b278 [Pipeline] echo 14:51:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:51:57 provisioning config files... 14:51:57 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config15789472491315001698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:51:57 ---> docker-login.sh 14:51:57 nexus3.edgexfoundry.org:10001 14:51:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:58 Configure a credential helper to remove this warning. See 14:51:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:58 14:51:58 Login Succeeded 14:51:58 nexus3.edgexfoundry.org:10002 14:51:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:58 Configure a credential helper to remove this warning. See 14:51:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:58 14:51:58 Login Succeeded 14:51:58 nexus3.edgexfoundry.org:10003 14:51:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:59 Configure a credential helper to remove this warning. See 14:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:59 14:51:59 Login Succeeded 14:51:59 nexus3.edgexfoundry.org:10004 14:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:59 Configure a credential helper to remove this warning. See 14:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:59 14:51:59 Login Succeeded 14:51:59 docker.io 14:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:51:59 Configure a credential helper to remove this warning. See 14:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:51:59 14:51:59 Login Succeeded 14:51:59 ---> docker-login.sh ends [Pipeline] } 14:51:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:52:00 + git rev-list -1 --merges cf2b27898899a203f9eb6ebf67b2fde31c12ce22~1..cf2b27898899a203f9eb6ebf67b2fde31c12ce22 [Pipeline] echo 14:52:00 -----------> git rev-list -1 --merges cf2b27898899a203f9eb6ebf67b2fde31c12ce22~1..cf2b27898899a203f9eb6ebf67b2fde31c12ce22 cf2b27898899a203f9eb6ebf67b2fde31c12ce22 14:52:00 cf2b27898899a203f9eb6ebf67b2fde31c12ce22 [false] [Pipeline] sh 14:52:00 + git log --format=format:%s -1 cf2b27898899a203f9eb6ebf67b2fde31c12ce22 [Pipeline] echo 14:52:00 ========================================================= 14:52:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:52:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:52:00 + git log --format=format:%s -1 cf2b27898899a203f9eb6ebf67b2fde31c12ce22 [Pipeline] echo 14:52:00 [semverPrep] GIT_COMMIT: cf2b27898899a203f9eb6ebf67b2fde31c12ce22, Commit Message: Merge pull request #102 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/app-functions-sdk-go/v3-3.1.0-dev.51 [Pipeline] echo 14:52:00 [semverPrep] This is not a build commit. [Pipeline] sh 14:52:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:52:01 + grep -v github /etc/ssh/ssh_known_hosts 14:52:01 + [ -e /tmp/ssh_known_hosts ] 14:52:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:52:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:52:01 + sudo tee -a /etc/ssh/ssh_known_hosts 14:52:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:52:01 14:52:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:52:03 0.1.4: Pulling from edgex-devops/py-git-semver 14:52:03 b85a868b505f: Pulling fs layer 14:52:03 e2be974225ed: Pulling fs layer 14:52:03 339a4e72a1f5: Pulling fs layer 14:52:03 988bab9f4d93: Pulling fs layer 14:52:03 1469e6f7b9e6: Pulling fs layer 14:52:03 eaf3925da568: Pulling fs layer 14:52:03 bab4dde63d76: Pulling fs layer 14:52:03 bde34c3a00c8: Pulling fs layer 14:52:03 b352a97aabf1: Pulling fs layer 14:52:03 4872d77fe225: Pulling fs layer 14:52:03 5851b861e8e6: Pulling fs layer 14:52:03 eaf3925da568: Waiting 14:52:03 bab4dde63d76: Waiting 14:52:03 bde34c3a00c8: Waiting 14:52:03 5851b861e8e6: Waiting 14:52:03 b352a97aabf1: Waiting 14:52:03 e2be974225ed: Verifying Checksum 14:52:03 e2be974225ed: Download complete 14:52:03 988bab9f4d93: Verifying Checksum 14:52:03 988bab9f4d93: Download complete 14:52:03 339a4e72a1f5: Verifying Checksum 14:52:03 339a4e72a1f5: Download complete 14:52:03 1469e6f7b9e6: Verifying Checksum 14:52:03 1469e6f7b9e6: Download complete 14:52:03 eaf3925da568: Verifying Checksum 14:52:03 eaf3925da568: Download complete 14:52:03 bde34c3a00c8: Verifying Checksum 14:52:03 bde34c3a00c8: Download complete 14:52:03 b352a97aabf1: Verifying Checksum 14:52:03 b352a97aabf1: Download complete 14:52:03 4872d77fe225: Download complete 14:52:03 5851b861e8e6: Verifying Checksum 14:52:03 5851b861e8e6: Download complete 14:52:03 b85a868b505f: Download complete 14:52:03 bab4dde63d76: Verifying Checksum 14:52:03 bab4dde63d76: Download complete 14:52:05 b85a868b505f: Pull complete 14:52:05 e2be974225ed: Pull complete 14:52:06 339a4e72a1f5: Pull complete 14:52:06 988bab9f4d93: Pull complete 14:52:07 1469e6f7b9e6: Pull complete 14:52:07 eaf3925da568: Pull complete 14:52:09 bab4dde63d76: Pull complete 14:52:09 bde34c3a00c8: Pull complete 14:52:09 b352a97aabf1: Pull complete 14:52:10 4872d77fe225: Pull complete 14:52:10 5851b861e8e6: Pull complete 14:52:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:52:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:52:10 prd-ubuntu20.04-docker-8c-8g-16398 does not seem to be running inside a container 14:52:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:52:18 $ docker top eb6b3c8881742344006f44bc64bd79a3bebb2e7eba558534735885f861fb9067 -eo pid,comm 14:52:18 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). 14:52:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:52:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:52:18 [ssh-agent] Looking for ssh-agent implementation... 14:52:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:52:18 $ docker exec eb6b3c8881742344006f44bc64bd79a3bebb2e7eba558534735885f861fb9067 ssh-agent 14:52:19 SSH_AUTH_SOCK=/tmp/ssh-lnKmMb04RRye/agent.14 14:52:19 SSH_AGENT_PID=20 14:52:19 Running ssh-add (command line suppressed) 14:52:19 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_8121863825324722627.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_8121863825324722627.key) 14:52:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:52:19 + git tag --points-at HEAD [Pipeline] } 14:52:19 $ docker exec --env ******** --env ******** eb6b3c8881742344006f44bc64bd79a3bebb2e7eba558534735885f861fb9067 ssh-agent -k 14:52:19 unset SSH_AUTH_SOCK; 14:52:19 unset SSH_AGENT_PID; 14:52:19 echo Agent pid 20 killed; 14:52:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:52:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:52:19 [ssh-agent] Looking for ssh-agent implementation... 14:52:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:52:19 $ docker exec eb6b3c8881742344006f44bc64bd79a3bebb2e7eba558534735885f861fb9067 ssh-agent 14:52:19 SSH_AUTH_SOCK=/tmp/ssh-nlxtxmu1sV5L/agent.70 14:52:19 SSH_AGENT_PID=76 14:52:19 Running ssh-add (command line suppressed) 14:52:20 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_8344649327800608087.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_8344649327800608087.key) 14:52:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:52:20 + git semver init 14:52:20 2023-11-02 14:52:20,669 [run_init] DEBUG init version:0.0.0 force:False 14:52:20 2023-11-02 14:52:20,670 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_app-record-replay_main/.semver 14:52:20 2023-11-02 14:52:20,670 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/exfoundry_app-record-replay_main/.semver 14:52:20 2023-11-02 14:52:20,670 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/exfoundry_app-record-replay_main/.semver'], cwd=/w/workspace/exfoundry_app-record-replay_main, universal_newlines=False, shell=None, istream=None) 14:52:21 2023-11-02 14:52:21,642 [append_file] DEBUG append to file:/w/workspace/exfoundry_app-record-replay_main/.git/info/exclude 14:52:21 2023-11-02 14:52:21,643 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_app-record-replay_main/.semver/main with force:False 14:52:21 2023-11-02 14:52:21,643 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 14:52:21 2023-11-02 14:52:21,643 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 14:52:21 3.1.0-dev.66 [Pipeline] } 14:52:21 $ docker exec --env ******** --env ******** eb6b3c8881742344006f44bc64bd79a3bebb2e7eba558534735885f861fb9067 ssh-agent -k 14:52:22 unset SSH_AUTH_SOCK; 14:52:22 unset SSH_AGENT_PID; 14:52:22 echo Agent pid 76 killed; 14:52:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:52:22 + git semver [Pipeline] } 14:52:22 $ docker stop --time=1 eb6b3c8881742344006f44bc64bd79a3bebb2e7eba558534735885f861fb9067 14:52:24 $ docker rm -f --volumes eb6b3c8881742344006f44bc64bd79a3bebb2e7eba558534735885f861fb9067 [Pipeline] // withDockerContainer [Pipeline] sh 14:52:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:52:25 Stashed 1 file(s) [Pipeline] echo 14:52:25 [edgeXSemver]: initialized semver on version 3.1.0-dev.66 [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 14:52:25 provisioning config files... 14:52:25 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config16686709613240939181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:52:25 ---> docker-login.sh 14:52:25 nexus3.edgexfoundry.org:10001 14:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:25 Configure a credential helper to remove this warning. See 14:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:25 14:52:25 Login Succeeded 14:52:25 nexus3.edgexfoundry.org:10002 14:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:25 Configure a credential helper to remove this warning. See 14:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:25 14:52:26 Login Succeeded 14:52:26 nexus3.edgexfoundry.org:10003 14:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:26 Configure a credential helper to remove this warning. See 14:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:26 14:52:26 Login Succeeded 14:52:26 nexus3.edgexfoundry.org:10004 14:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:26 Configure a credential helper to remove this warning. See 14:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:26 14:52:26 Login Succeeded 14:52:26 docker.io 14:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:52:26 Configure a credential helper to remove this warning. See 14:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:52:26 14:52:26 Login Succeeded 14:52:26 ---> docker-login.sh ends [Pipeline] } 14:52:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:52:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:52:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:52:26 ========================================================= 14:52:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 14:52:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:52:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 14:52:27 Sending build context to Docker daemon 641.5kB 14:52:27 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:52:27 Step 2/12 : FROM ${BASE} AS builder 14:52:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 14:52:27 7264a8db6415: Pulling fs layer 14:52:27 c4d48a809fc2: Pulling fs layer 14:52:27 4f1c88b9dad5: Pulling fs layer 14:52:27 ad3a456e5733: Pulling fs layer 14:52:27 33e27b845d1e: Pulling fs layer 14:52:27 c68163c4e522: Pulling fs layer 14:52:27 50da416c3ac9: Pulling fs layer 14:52:27 23d2d4c4bb30: Pulling fs layer 14:52:27 ad3a456e5733: Waiting 14:52:27 23d2d4c4bb30: Waiting 14:52:27 33e27b845d1e: Waiting 14:52:27 50da416c3ac9: Waiting 14:52:27 c4d48a809fc2: Verifying Checksum 14:52:27 c4d48a809fc2: Download complete 14:52:27 ad3a456e5733: Verifying Checksum 14:52:27 ad3a456e5733: Download complete 14:52:27 33e27b845d1e: Verifying Checksum 14:52:27 33e27b845d1e: Download complete 14:52:27 7264a8db6415: Verifying Checksum 14:52:27 7264a8db6415: Download complete 14:52:27 c68163c4e522: Verifying Checksum 14:52:27 c68163c4e522: Download complete 14:52:27 23d2d4c4bb30: Verifying Checksum 14:52:27 23d2d4c4bb30: Download complete 14:52:27 7264a8db6415: Pull complete 14:52:28 4f1c88b9dad5: Verifying Checksum 14:52:28 4f1c88b9dad5: Download complete 14:52:28 c4d48a809fc2: Pull complete 14:52:28 50da416c3ac9: Verifying Checksum 14:52:28 50da416c3ac9: Download complete 14:52:31 4f1c88b9dad5: Pull complete 14:52:31 ad3a456e5733: Pull complete 14:52:31 33e27b845d1e: Pull complete 14:52:32 c68163c4e522: Pull complete 14:52:34 50da416c3ac9: Pull complete 14:52:35 23d2d4c4bb30: Pull complete 14:52:35 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 14:52:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 14:52:35 ---> 0786185ac409 14:52:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 14:52:40 Still waiting to schedule task 14:52:40 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16397’ 14:52:47 ---> Running in 512f644791f9 14:52:47 Removing intermediate container 512f644791f9 14:52:47 ---> a43180c2de48 14:52:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:52:47 ---> Running in be9b19c36784 14:52:47 Removing intermediate container be9b19c36784 14:52:47 ---> cb08692abc54 14:52:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:52:47 ---> Running in 4128583cde58 14:52:48 Removing intermediate container 4128583cde58 14:52:48 ---> 3a84fd3099f9 14:52:48 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:52:48 ---> Running in 0df1b3640655 14:52:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:52:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:52:49 OK: 264 MiB in 52 packages 14:52:49 Removing intermediate container 0df1b3640655 14:52:49 ---> 38923e1dc8b4 14:52:49 Step 7/12 : WORKDIR /app 14:52:50 ---> Running in b74c5ec9f641 14:52:50 Removing intermediate container b74c5ec9f641 14:52:50 ---> 1cb790bd3253 14:52:50 Step 8/12 : COPY go.mod vendor* ./ 14:52:50 ---> cfd1198f882d 14:52:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:52:51 ---> Running in 95c754414f92 14:53:59 Removing intermediate container 95c754414f92 14:53:59 ---> d8ae88381290 14:53:59 Step 10/12 : COPY . . 14:53:59 ---> f8e446df0013 14:53:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:53:59 ---> Running in 3e9c6cbf698c 14:53:59 Removing intermediate container 3e9c6cbf698c 14:53:59 ---> 3da65fec9b18 14:53:59 Step 12/12 : RUN $MAKE 14:53:59 ---> Running in e2801525adfd 14:53:59 noop 14:53:59 Removing intermediate container e2801525adfd 14:53:59 ---> 7a52c685bf8c 14:53:59 Successfully built 7a52c685bf8c 14:53:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:59 + docker inspect -f . ci-base-image-x86_64 14:53:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:53:59 prd-ubuntu20.04-docker-8c-8g-16398 does not seem to be running inside a container 14:53:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** ci-base-image-x86_64 cat 14:54:01 $ docker top e50b1d32b8ecc6316921a5f1318eb21060adda7f7bd0dab888b9fbca97a586d0 -eo pid,comm [Pipeline] { [Pipeline] sh 14:54:01 + go version 14:54:01 go version go1.21.0 linux/amd64 [Pipeline] } 14:54:01 $ docker stop --time=1 e50b1d32b8ecc6316921a5f1318eb21060adda7f7bd0dab888b9fbca97a586d0 14:54:02 $ docker rm -f --volumes e50b1d32b8ecc6316921a5f1318eb21060adda7f7bd0dab888b9fbca97a586d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:54:03 + docker inspect -f . ci-base-image-x86_64 14:54:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:54:03 prd-ubuntu20.04-docker-8c-8g-16398 does not seem to be running inside a container 14:54:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** ci-base-image-x86_64 cat 14:54:04 $ docker top e3841978da44b9b4e030ba3f4d0eb0306ec619892facb1489f83968a46714197 -eo pid,comm [Pipeline] { [Pipeline] sh 14:54:04 + git config --global --add safe.directory /w/workspace/exfoundry_app-record-replay_main [Pipeline] fileExists [Pipeline] sh 14:54:04 + make test 14:54:04 go test -race -coverprofile=coverage.out ./... 14:54:26 ? github.com/edgexfoundry/app-record-replay [no test files] 14:54:26 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 14:54:26 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 14:54:26 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 14:54:27 ok github.com/edgexfoundry/app-record-replay/internal/app 1.048s coverage: 88.0% of statements 14:54:37 ok github.com/edgexfoundry/app-record-replay/internal/application 9.132s coverage: 98.7% of statements 14:54:37 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.098s coverage: 89.7% of statements 14:54:37 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.040s coverage: 100.0% of statements 14:55:04 go vet ./... 14:55:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:55:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:55:04 ./bin/test-attribution-txt.sh [Pipeline] echo 14:55:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:55:04 $ docker stop --time=1 e3841978da44b9b4e030ba3f4d0eb0306ec619892facb1489f83968a46714197 14:55:10 $ docker rm -f --volumes e3841978da44b9b4e030ba3f4d0eb0306ec619892facb1489f83968a46714197 [Pipeline] // withDockerContainer [Pipeline] sh 14:55:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:55:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:55:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:55:12 + ls -al . 14:55:12 total 192 14:55:12 drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 14:54 . 14:55:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 14:51 .. 14:55:12 -rw-rw-r-- 1 jenkins jenkins 119 Nov 2 14:51 .dockerignore 14:55:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 14:54 .git 14:55:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 14:51 .github 14:55:12 -rw-rw-r-- 1 jenkins jenkins 164 Nov 2 14:51 .gitignore 14:55:12 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 14:51 .golangci.yml 14:55:12 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 14:52 .semver 14:55:12 -rw-rw-r-- 1 jenkins jenkins 11301 Nov 2 14:51 Attribution.txt 14:55:12 -rw-rw-r-- 1 jenkins jenkins 458 Nov 2 14:51 CHANGELOG.md 14:55:12 -rw-rw-r-- 1 jenkins jenkins 1616 Nov 2 14:51 Dockerfile 14:55:12 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 14:51 GOVERNANCE.md 14:55:12 -rw-rw-r-- 1 jenkins jenkins 681 Nov 2 14:51 Jenkinsfile 14:55:12 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 2 14:51 LICENSE 14:55:12 -rw-rw-r-- 1 jenkins jenkins 3139 Nov 2 14:51 Makefile 14:55:12 -rw-rw-r-- 1 jenkins jenkins 611 Nov 2 14:51 OWNERS.md 14:55:12 -rw-rw-r-- 1 jenkins jenkins 4107 Nov 2 14:51 README.md 14:55:12 -rw-rw-r-- 1 jenkins jenkins 7789 Nov 2 14:51 Record and Reply.postman_collection.json 14:55:12 -rw-rw-r-- 1 jenkins jenkins 12 Nov 2 14:52 VERSION 14:55:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 14:51 bin 14:55:12 -rw-r--r-- 1 jenkins jenkins 24666 Nov 2 14:54 coverage.out 14:55:12 -rw-rw-r-- 1 jenkins jenkins 3906 Nov 2 14:51 go.mod 14:55:12 -rw-rw-r-- 1 jenkins jenkins 34891 Nov 2 14:51 go.sum 14:55:12 drwxrwxr-x 7 jenkins jenkins 4096 Nov 2 14:51 internal 14:55:12 -rw-rw-r-- 1 jenkins jenkins 913 Nov 2 14:51 main.go 14:55:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 14:51 openapi 14:55:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 14:51 pkg 14:55:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 14:51 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:12 + 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=cf2b27898899a203f9eb6ebf67b2fde31c12ce22 --label arch=amd64 --label version=3.1.0-dev.66 . 14:55:12 Sending build context to Docker daemon 667.1kB 14:55:12 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 14:55:12 Step 2/26 : FROM ${BASE} AS builder 14:55:12 ---> 7a52c685bf8c 14:55:12 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 14:55:12 ---> Running in 972223ea6e27 14:55:12 Removing intermediate container 972223ea6e27 14:55:12 ---> 46d748f8b53c 14:55:12 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 14:55:12 ---> Running in a36a424cb2b2 14:55:13 Removing intermediate container a36a424cb2b2 14:55:13 ---> e273fe322c97 14:55:13 Step 5/26 : ARG ADD_BUILD_TAGS="" 14:55:13 ---> Running in 303fc7e3e6c3 14:55:13 Removing intermediate container 303fc7e3e6c3 14:55:13 ---> d95c5ab83d22 14:55:13 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:55:13 ---> Running in c0511c63d022 14:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:55:14 OK: 264 MiB in 52 packages 14:55:14 Removing intermediate container c0511c63d022 14:55:14 ---> 961e443bb153 14:55:14 Step 7/26 : WORKDIR /app 14:55:14 ---> Running in 38c190b5918f 14:55:14 Removing intermediate container 38c190b5918f 14:55:14 ---> 0c42a49ee315 14:55:14 Step 8/26 : COPY go.mod vendor* ./ 14:55:15 ---> 59f5a6739230 14:55:15 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:55:15 ---> Running in 611a0e6cd5ca 14:55:16 Removing intermediate container 611a0e6cd5ca 14:55:16 ---> c45e798f637a 14:55:16 Step 10/26 : COPY . . 14:55:16 ---> 6c31c36f22eb 14:55:16 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:55:16 ---> Running in cb83110995e1 14:55:16 Removing intermediate container cb83110995e1 14:55:16 ---> 85813232b9ff 14:55:16 Step 12/26 : RUN $MAKE 14:55:16 ---> Running in 0f29ac17d17e 14:55:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.51 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.1.0-dev.66" -trimpath -mod=readonly -o app-record-replay 14:55:44 Removing intermediate container 0f29ac17d17e 14:55:44 ---> 30ed946626f2 14:55:44 Step 13/26 : FROM alpine:3.18 14:55:44 3.18: Pulling from library/alpine 14:55:44 96526aa774ef: Pulling fs layer 14:55:44 96526aa774ef: Verifying Checksum 14:55:44 96526aa774ef: Download complete 14:55:44 96526aa774ef: Pull complete 14:55:44 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 14:55:44 Status: Downloaded newer image for alpine:3.18 14:55:44 ---> 8ca4688f4f35 14:55:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:55:44 ---> Running in 4eeeff94b167 14:55:44 Removing intermediate container 4eeeff94b167 14:55:44 ---> d69fdcc8109b 14:55:44 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 14:55:44 ---> Running in 82a11dfd45fa 14:55:44 Removing intermediate container 82a11dfd45fa 14:55:44 ---> c8703331070b 14:55:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 14:55:44 ---> Running in 3a21e502422c 14:55:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:55:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:55:45 (1/2) Installing ca-certificates (20230506-r0) 14:55:45 (2/2) Installing dumb-init (1.2.5-r2) 14:55:45 Executing busybox-1.36.1-r2.trigger 14:55:45 Executing ca-certificates-20230506-r0.trigger 14:55:45 OK: 8 MiB in 17 packages 14:55:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16407 in /w/workspace/exfoundry_app-record-replay_main [Pipeline] { [Pipeline] ws 14:55:45 Running in /w/workspace/app-record-replay/71 [Pipeline] { [Pipeline] checkout 14:55:45 Selected Git installation does not exist. Using Default 14:55:45 The recommended git tool is: NONE 14:55:46 Removing intermediate container 3a21e502422c 14:55:46 ---> 96ed1f714b2d 14:55:46 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 14:55:47 ---> ff8714458072 14:55:47 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 14:55:47 ---> fcb776ea7543 14:55:47 Step 19/26 : COPY --from=builder /app/res/ /res/ 14:55:47 ---> f839102b177e 14:55:47 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 14:55:49 ---> 36b6793bd77a 14:55:49 Step 21/26 : EXPOSE 59712 14:55:49 ---> Running in 5b15493ca88e 14:55:49 Removing intermediate container 5b15493ca88e 14:55:49 ---> fed57a0225c3 14:55:49 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 14:55:49 ---> Running in b4d0c449821f 14:55:49 Removing intermediate container b4d0c449821f 14:55:49 ---> 25655f8e03f2 14:55:49 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:55:49 ---> Running in 32190d575550 14:55:49 Removing intermediate container 32190d575550 14:55:49 ---> 01c8dc73a01d 14:55:49 Step 24/26 : LABEL arch=amd64 14:55:50 ---> Running in e5f7aa0719f2 14:55:50 Removing intermediate container e5f7aa0719f2 14:55:50 ---> 4044e6e0795c 14:55:50 Step 25/26 : LABEL git_sha=cf2b27898899a203f9eb6ebf67b2fde31c12ce22 14:55:50 ---> Running in ca248ca7ef61 14:55:50 Removing intermediate container ca248ca7ef61 14:55:50 ---> 68acb5d49b7e 14:55:50 Step 26/26 : LABEL version=3.1.0-dev.66 14:55:51 ---> Running in cac425f2559d 14:55:51 Removing intermediate container cac425f2559d 14:55:51 ---> 727423cd9dbb 14:55:51 [Warning] One or more build-args [ARCH] were not consumed 14:55:51 Successfully built 727423cd9dbb 14:55:51 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:55:51 provisioning config files... 14:55:51 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config2242899386800104699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:55:51 ---> docker-login.sh 14:55:51 nexus3.edgexfoundry.org:10001 14:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:51 Configure a credential helper to remove this warning. See 14:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:51 14:55:51 Login Succeeded 14:55:51 nexus3.edgexfoundry.org:10002 14:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:51 Configure a credential helper to remove this warning. See 14:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:51 14:55:51 Login Succeeded 14:55:51 nexus3.edgexfoundry.org:10003 14:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:51 Configure a credential helper to remove this warning. See 14:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:51 14:55:51 Login Succeeded 14:55:51 nexus3.edgexfoundry.org:10004 14:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:51 Configure a credential helper to remove this warning. See 14:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:51 14:55:51 Login Succeeded 14:55:51 docker.io 14:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:52 Configure a credential helper to remove this warning. See 14:55:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:52 14:55:52 Login Succeeded 14:55:52 ---> docker-login.sh ends [Pipeline] } 14:55:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:55:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:55:52 [edgeXDocker.push] Tagging docker image app-record-replay with the following tags: 14:55:52 cf2b27898899a203f9eb6ebf67b2fde31c12ce22 14:55:52 latest 14:55:52 3.1.0-dev.66 14:55:52 cf2b27898899a203f9eb6ebf67b2fde31c12ce22-3.1.0-dev.66 14:55:52 main 14:55:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:54 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:cf2b27898899a203f9eb6ebf67b2fde31c12ce22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:55 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:cf2b27898899a203f9eb6ebf67b2fde31c12ce22 14:55:55 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 14:55:55 5acbd8c60f96: Preparing 14:55:55 0146bfd4b64e: Preparing 14:55:55 4cf5d74b5216: Preparing 14:55:55 07b6f523e0e8: Preparing 14:55:55 e927fdf15b2d: Preparing 14:55:55 cc2447e1835a: Preparing 14:55:55 cc2447e1835a: Waiting 14:55:55 07b6f523e0e8: Pushed 14:55:55 4cf5d74b5216: Pushed 14:55:55 0146bfd4b64e: Pushed 14:55:55 e927fdf15b2d: Pushed 14:55:55 cc2447e1835a: Layer already exists 14:55:55 using credential edgex-jenkins-ssh 14:55:55 Cloning the remote Git repository 14:55:55 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 14:55:56 > git init /w/workspace/app-record-replay/71 # timeout=10 14:55:56 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 14:55:56 > git --version # timeout=10 14:55:56 > git --version # 'git version 2.25.1' 14:55:56 using GIT_SSH to set credentials SSH Credentials for GitHub 14:55:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:55:57 5acbd8c60f96: Pushed 14:55:57 cf2b27898899a203f9eb6ebf67b2fde31c12ce22: digest: sha256:db42b89d68673033ae603ef540fba83036687829e1d453dd0083c368e36eabfa size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:58 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:58 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:latest 14:55:58 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 14:55:58 5acbd8c60f96: Preparing 14:55:58 0146bfd4b64e: Preparing 14:55:58 4cf5d74b5216: Preparing 14:55:58 07b6f523e0e8: Preparing 14:55:58 e927fdf15b2d: Preparing 14:55:58 cc2447e1835a: Preparing 14:55:58 cc2447e1835a: Waiting 14:55:58 0146bfd4b64e: Layer already exists 14:55:58 07b6f523e0e8: Layer already exists 14:55:58 4cf5d74b5216: Layer already exists 14:55:58 e927fdf15b2d: Layer already exists 14:55:58 5acbd8c60f96: Layer already exists 14:55:58 cc2447e1835a: Layer already exists 14:55:58 latest: digest: sha256:db42b89d68673033ae603ef540fba83036687829e1d453dd0083c368e36eabfa size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:58 Avoid second fetch 14:55:58 Checking out Revision cf2b27898899a203f9eb6ebf67b2fde31c12ce22 (main) 14:55:58 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.66 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:57 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 14:55:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:55:58 > git config core.sparsecheckout # timeout=10 14:55:58 > git checkout -f cf2b27898899a203f9eb6ebf67b2fde31c12ce22 # timeout=10 14:55:59 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.66 14:55:59 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 14:55:59 5acbd8c60f96: Preparing 14:55:59 0146bfd4b64e: Preparing 14:55:59 4cf5d74b5216: Preparing 14:55:59 07b6f523e0e8: Preparing 14:55:59 e927fdf15b2d: Preparing 14:55:59 cc2447e1835a: Preparing 14:55:59 cc2447e1835a: Waiting 14:55:59 4cf5d74b5216: Layer already exists 14:55:59 5acbd8c60f96: Layer already exists 14:55:59 07b6f523e0e8: Layer already exists 14:55:59 e927fdf15b2d: Layer already exists 14:55:59 0146bfd4b64e: Layer already exists 14:55:59 cc2447e1835a: Layer already exists 14:55:59 3.1.0-dev.66: digest: sha256:db42b89d68673033ae603ef540fba83036687829e1d453dd0083c368e36eabfa size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:59 Commit message: "Merge pull request #102 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/app-functions-sdk-go/v3-3.1.0-dev.51" 14:55:59 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:cf2b27898899a203f9eb6ebf67b2fde31c12ce22-3.1.0-dev.66 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:59 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:cf2b27898899a203f9eb6ebf67b2fde31c12ce22-3.1.0-dev.66 14:55:59 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 14:55:59 5acbd8c60f96: Preparing 14:55:59 0146bfd4b64e: Preparing 14:55:59 4cf5d74b5216: Preparing 14:55:59 07b6f523e0e8: Preparing 14:55:59 e927fdf15b2d: Preparing 14:55:59 cc2447e1835a: Preparing 14:55:59 cc2447e1835a: Waiting 14:55:59 07b6f523e0e8: Layer already exists 14:55:59 0146bfd4b64e: Layer already exists 14:55:59 5acbd8c60f96: Layer already exists 14:55:59 e927fdf15b2d: Layer already exists 14:55:59 4cf5d74b5216: Layer already exists 14:55:59 cc2447e1835a: Layer already exists 14:55:59 cf2b27898899a203f9eb6ebf67b2fde31c12ce22-3.1.0-dev.66: digest: sha256:db42b89d68673033ae603ef540fba83036687829e1d453dd0083c368e36eabfa size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:56:00 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:00 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:main 14:56:00 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 14:56:00 5acbd8c60f96: Preparing 14:56:00 0146bfd4b64e: Preparing 14:56:00 4cf5d74b5216: Preparing 14:56:00 07b6f523e0e8: Preparing 14:56:00 e927fdf15b2d: Preparing 14:56:00 cc2447e1835a: Preparing 14:56:00 cc2447e1835a: Waiting 14:56:00 0146bfd4b64e: Layer already exists 14:56:00 4cf5d74b5216: Layer already exists 14:56:00 07b6f523e0e8: Layer already exists 14:56:00 e927fdf15b2d: Layer already exists 14:56:00 5acbd8c60f96: Layer already exists 14:56:00 cc2447e1835a: Layer already exists 14:56:00 main: digest: sha256:db42b89d68673033ae603ef540fba83036687829e1d453dd0083c368e36eabfa size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry 14:56:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:56:00 % Total % Received % Xferd Average Speed Time Time Time Current 14:56:00 Dload Upload Total Spent Left Speed 14:56:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:56:00 ===================================================== [Pipeline] echo 14:56:00 taggedImages: 14:56:00 - nexus3.edgexfoundry.org:10004/app-record-replay:cf2b27898899a203f9eb6ebf67b2fde31c12ce22 14:56:00 - nexus3.edgexfoundry.org:10004/app-record-replay:latest 14:56:00 - nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.66 14:56:00 - nexus3.edgexfoundry.org:10004/app-record-replay:cf2b27898899a203f9eb6ebf67b2fde31c12ce22-3.1.0-dev.66 14:56:00 - nexus3.edgexfoundry.org:10004/app-record-replay:main [Pipeline] } [Pipeline] // script [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 14:56:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:00 14:56:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:56:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:01 latest: Pulling from edgex-lftools-log-publisher 14:56:01 5eb5b503b376: Pulling fs layer 14:56:01 5c69ac0246d0: Pulling fs layer 14:56:01 ec43610c2a17: Pulling fs layer 14:56:01 3a2ae6a8a46f: Pulling fs layer 14:56:01 33b1e0a273af: Pulling fs layer 14:56:01 5d3b04190fa2: Pulling fs layer 14:56:01 2f39f015ded8: Pulling fs layer 14:56:01 3a2ae6a8a46f: Waiting 14:56:01 33b1e0a273af: Waiting 14:56:01 5d3b04190fa2: Waiting 14:56:01 2f39f015ded8: Waiting 14:56:01 5c69ac0246d0: Verifying Checksum 14:56:01 5c69ac0246d0: Download complete 14:56:01 3a2ae6a8a46f: Download complete 14:56:01 ec43610c2a17: Verifying Checksum 14:56:01 ec43610c2a17: Download complete 14:56:01 33b1e0a273af: Download complete 14:56:01 5d3b04190fa2: Verifying Checksum 14:56:01 5d3b04190fa2: Download complete 14:56:01 5eb5b503b376: Verifying Checksum 14:56:01 5eb5b503b376: Download complete 14:56:01 + sudo tee /etc/docker/daemon.new 14:56:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:56:01 { 14:56:01 "registry-mirrors": [ 14:56:01 "https://nexus3.edgexfoundry.org:10001" 14:56:01 ], 14:56:01 "bip": "10.250.0.254/24", 14:56:01 "hosts": [ 14:56:01 "tcp://0.0.0.0:5555", 14:56:01 "unix:///var/run/docker.sock" 14:56:01 ], 14:56:01 "mtu": 1458, 14:56:01 "selinux-enabled": true, 14:56:01 "seccomp-profile": "/etc/docker/seccomp.json" 14:56:01 } [Pipeline] sh 14:56:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:56:02 + sudo service docker restart 14:56:02 2f39f015ded8: Verifying Checksum 14:56:02 2f39f015ded8: Download complete 14:56:03 5eb5b503b376: Pull complete 14:56:03 5c69ac0246d0: Pull complete 14:56:03 ec43610c2a17: Pull complete 14:56:03 3a2ae6a8a46f: Pull complete 14:56:04 33b1e0a273af: Pull complete 14:56:04 5d3b04190fa2: Pull complete 14:56:08 2f39f015ded8: Pull complete 14:56:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:56:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:56:08 prd-ubuntu20.04-docker-8c-8g-16398 does not seem to be running inside a container 14:56:08 $ 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/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:56:16 $ docker top 64ff67f4584fd5255f29e6e4b94d14c28621c9745c6250d686f0694b1f2d40fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:56:16 ---> job-cost.sh 14:56:16 lf-activate-venv: SKIPPING 14:56:16 INFO: No Stack... 14:56:17 INFO: Retrieving Pricing Info for: v3-standard-8 14:56:17 INFO: Archiving Costs [Pipeline] sh 14:56:18 + cat /w/workspace/exfoundry_app-record-replay_main/archives/cost.csv 14:56:18 + cut -d, -f6 [Pipeline] lock 14:56:18 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-main-71-stack-cost] 14:56:18 Resource [jenkins-edgexfoundry-app-record-replay-main-71-stack-cost] did not exist. Created. 14:56:18 Lock acquired on [jenkins-edgexfoundry-app-record-replay-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:56:18 + echo total: 0.2199999988079071 [Pipeline] stash 14:56:18 Stashed 1 file(s) [Pipeline] } 14:56:18 Lock released on resource [jenkins-edgexfoundry-app-record-replay-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 14:56:18 $ docker stop --time=1 64ff67f4584fd5255f29e6e4b94d14c28621c9745c6250d686f0694b1f2d40fb 14:56:20 $ docker rm -f --volumes 64ff67f4584fd5255f29e6e4b94d14c28621c9745c6250d686f0694b1f2d40fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:56:20 provisioning config files... 14:56:20 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/71@tmp/config11635205168838034114tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:56:21 ---> docker-login.sh 14:56:21 nexus3.edgexfoundry.org:10001 14:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:21 Configure a credential helper to remove this warning. See 14:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:21 14:56:21 Login Succeeded 14:56:21 nexus3.edgexfoundry.org:10002 14:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:22 Configure a credential helper to remove this warning. See 14:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:22 14:56:22 Login Succeeded 14:56:22 nexus3.edgexfoundry.org:10003 14:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:22 Configure a credential helper to remove this warning. See 14:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:22 14:56:22 Login Succeeded 14:56:22 nexus3.edgexfoundry.org:10004 14:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:23 Configure a credential helper to remove this warning. See 14:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:23 14:56:23 Login Succeeded 14:56:23 docker.io 14:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:23 Configure a credential helper to remove this warning. See 14:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:23 14:56:23 Login Succeeded 14:56:23 ---> docker-login.sh ends [Pipeline] } 14:56:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:56:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:56:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:56:24 ========================================================= 14:56:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 14:56:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:24 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 14:56:24 Sending build context to Docker daemon 259.1kB 14:56:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 14:56:25 Step 2/12 : FROM ${BASE} AS builder 14:56:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:56:27 9fda8d8052c6: Pulling fs layer 14:56:27 5d54e960e981: Pulling fs layer 14:56:27 c4a7e357bf2a: Pulling fs layer 14:56:27 f0e02332f6b5: Pulling fs layer 14:56:27 cefa15bbcfad: Pulling fs layer 14:56:27 17808c966233: Pulling fs layer 14:56:27 f4c1fc716caa: Pulling fs layer 14:56:27 f0e02332f6b5: Waiting 14:56:27 cefa15bbcfad: Waiting 14:56:27 f4c1fc716caa: Waiting 14:56:27 17808c966233: Waiting 14:56:27 5d54e960e981: Download complete 14:56:27 f0e02332f6b5: Verifying Checksum 14:56:27 f0e02332f6b5: Download complete 14:56:27 cefa15bbcfad: Verifying Checksum 14:56:27 cefa15bbcfad: Download complete 14:56:27 9fda8d8052c6: Verifying Checksum 14:56:27 9fda8d8052c6: Download complete 14:56:27 f4c1fc716caa: Verifying Checksum 14:56:27 f4c1fc716caa: Download complete 14:56:27 9fda8d8052c6: Pull complete 14:56:28 5d54e960e981: Pull complete 14:56:28 c4a7e357bf2a: Verifying Checksum 14:56:28 c4a7e357bf2a: Download complete 14:56:29 17808c966233: Download complete 14:56:42 c4a7e357bf2a: Pull complete 14:56:42 f0e02332f6b5: Pull complete 14:56:42 cefa15bbcfad: Pull complete 14:56:54 17808c966233: Pull complete 14:56:56 f4c1fc716caa: Pull complete 14:56:56 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 14:56:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 14:56:56 ---> ea914061e18c 14:56:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 14:56:57 ---> Running in 2142c5ba7359 14:56:58 Removing intermediate container 2142c5ba7359 14:56:58 ---> 45d4854e8e56 14:56:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:56:58 ---> Running in 02ff4a5e19b8 14:56:58 Removing intermediate container 02ff4a5e19b8 14:56:58 ---> 8cd26c765401 14:56:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:56:58 ---> Running in 458a1c3d2244 14:56:59 Removing intermediate container 458a1c3d2244 14:56:59 ---> 80af51b84bab 14:56:59 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:56:59 ---> Running in 2a20afd5d028 14:57:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 14:57:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 14:57:02 OK: 266 MiB in 52 packages 14:57:04 Removing intermediate container 2a20afd5d028 14:57:04 ---> 7d895e801bfb 14:57:04 Step 7/12 : WORKDIR /app 14:57:04 ---> Running in 082dcd8e8e1c 14:57:05 Removing intermediate container 082dcd8e8e1c 14:57:05 ---> f47fe2714c05 14:57:05 Step 8/12 : COPY go.mod vendor* ./ 14:57:06 ---> e6adb2dfbcf0 14:57:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:57:06 ---> Running in dc6a7a94ad6d 14:58:27 Removing intermediate container dc6a7a94ad6d 14:58:27 ---> d915231e8191 14:58:27 Step 10/12 : COPY . . 14:58:27 ---> 886a8804a715 14:58:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:58:27 ---> Running in 43cea7285808 14:58:27 Removing intermediate container 43cea7285808 14:58:27 ---> 5a3b3ce6a18c 14:58:27 Step 12/12 : RUN $MAKE 14:58:27 ---> Running in 122b3a3faece 14:58:27 noop 14:58:27 Removing intermediate container 122b3a3faece 14:58:27 ---> ed3ceaf100ce 14:58:27 Successfully built ed3ceaf100ce 14:58:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:28 + docker inspect -f . ci-base-image-arm64 14:58:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:28 prd-ubuntu20.04-docker-arm64-4c-16g-16407 does not seem to be running inside a container 14:58:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/71 -v /w/workspace/app-record-replay/71:/w/workspace/app-record-replay/71:rw,z -v /w/workspace/app-record-replay/71@tmp:/w/workspace/app-record-replay/71@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 ******** ci-base-image-arm64 cat 14:58:29 $ docker top 64d656cbb807a3320ca76020deda807b2043b50dea868b6dd95bc6f36406baa3 -eo pid,comm [Pipeline] { [Pipeline] sh 14:58:30 + go version 14:58:30 go version go1.21.0 linux/arm64 [Pipeline] } 14:58:30 $ docker stop --time=1 64d656cbb807a3320ca76020deda807b2043b50dea868b6dd95bc6f36406baa3 14:58:32 $ docker rm -f --volumes 64d656cbb807a3320ca76020deda807b2043b50dea868b6dd95bc6f36406baa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:32 + docker inspect -f . ci-base-image-arm64 14:58:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:33 prd-ubuntu20.04-docker-arm64-4c-16g-16407 does not seem to be running inside a container 14:58:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/71 -v /w/workspace/app-record-replay/71:/w/workspace/app-record-replay/71:rw,z -v /w/workspace/app-record-replay/71@tmp:/w/workspace/app-record-replay/71@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 ******** ci-base-image-arm64 cat 14:58:34 $ docker top 80cd96d1bf19cba5271719dc38cf50ff2149fde143aa8057ca3c882ac3a67091 -eo pid,comm [Pipeline] { [Pipeline] sh 14:58:35 + git config --global --add safe.directory /w/workspace/app-record-replay/71 [Pipeline] fileExists [Pipeline] sh 14:58:36 + make test 14:58:36 go test -race -coverprofile=coverage.out ./... 15:02:13 ? github.com/edgexfoundry/app-record-replay [no test files] 15:02:13 ok github.com/edgexfoundry/app-record-replay/internal/app 2.304s coverage: 88.0% of statements 15:02:15 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 15:02:15 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 15:02:16 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 15:02:25 --- FAIL: TestDataManager_StartReplay (5.54s) 15:02:25 --- FAIL: TestDataManager_StartReplay/Happy_Path (4.52s) 15:02:25 manager_test.go:495: 15:02:25 Error Trace: /w/workspace/app-record-replay/71/internal/application/manager_test.go:495 15:02:25 Error: Should be zero, but was 1 15:02:25 Test: TestDataManager_StartReplay/Happy_Path 15:02:25 FAIL 15:02:25 coverage: 98.7% of statements 15:02:25 FAIL github.com/edgexfoundry/app-record-replay/internal/application 9.075s 15:02:25 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.591s coverage: 89.7% of statements 15:02:25 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.204s coverage: 100.0% of statements 15:02:25 FAIL 15:02:26 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 15:02:26 $ docker stop --time=1 80cd96d1bf19cba5271719dc38cf50ff2149fde143aa8057ca3c882ac3a67091 15:02:28 $ docker rm -f --volumes 80cd96d1bf19cba5271719dc38cf50ff2149fde143aa8057ca3c882ac3a67091 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:02:30 15:02:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:02:31 arm64: Pulling from edgex-lftools-log-publisher 15:02:31 8998bd30e6a1: Pulling fs layer 15:02:31 04944245beec: Pulling fs layer 15:02:31 699f458cf7ca: Pulling fs layer 15:02:31 765212b225bb: Pulling fs layer 15:02:31 f23df028b6ca: Pulling fs layer 15:02:31 d65c8cfc05b1: Pulling fs layer 15:02:31 2437ff75d9bd: Pulling fs layer 15:02:31 765212b225bb: Waiting 15:02:31 f23df028b6ca: Waiting 15:02:31 d65c8cfc05b1: Waiting 15:02:31 2437ff75d9bd: Waiting 15:02:31 04944245beec: Verifying Checksum 15:02:31 04944245beec: Download complete 15:02:31 765212b225bb: Verifying Checksum 15:02:31 765212b225bb: Download complete 15:02:31 f23df028b6ca: Verifying Checksum 15:02:31 f23df028b6ca: Download complete 15:02:31 d65c8cfc05b1: Verifying Checksum 15:02:31 d65c8cfc05b1: Download complete 15:02:31 699f458cf7ca: Verifying Checksum 15:02:31 699f458cf7ca: Download complete 15:02:31 8998bd30e6a1: Verifying Checksum 15:02:31 8998bd30e6a1: Download complete 15:02:34 2437ff75d9bd: Verifying Checksum 15:02:34 2437ff75d9bd: Download complete 15:02:36 8998bd30e6a1: Pull complete 15:02:37 04944245beec: Pull complete 15:02:40 699f458cf7ca: Pull complete 15:02:40 765212b225bb: Pull complete 15:02:41 f23df028b6ca: Pull complete 15:02:41 d65c8cfc05b1: Pull complete 15:02:59 2437ff75d9bd: Pull complete 15:02:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:02:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:02:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:00 prd-ubuntu20.04-docker-arm64-4c-16g-16407 does not seem to be running inside a container 15:03:00 $ 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/71 -v /w/workspace/app-record-replay/71:/w/workspace/app-record-replay/71:rw,z -v /w/workspace/app-record-replay/71@tmp:/w/workspace/app-record-replay/71@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:03:03 $ docker top 945dc61549bc1c1ff691e73b3cb0eb66a99c8806b4c32369ef213a6debee2a1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:03:04 ---> job-cost.sh 15:03:04 lf-activate-venv: SKIPPING 15:03:04 INFO: No Stack... 15:03:04 INFO: Retrieving Pricing Info for: v3-standard-4 15:03:05 INFO: Archiving Costs [Pipeline] sh 15:03:06 + cat /w/workspace/app-record-replay/71/archives/cost.csv 15:03:06 + cut -d, -f6 [Pipeline] lock 15:03:06 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-main-71-stack-cost] 15:03:06 Resource [jenkins-edgexfoundry-app-record-replay-main-71-stack-cost] did not exist. Created. 15:03:06 Lock acquired on [jenkins-edgexfoundry-app-record-replay-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:03:07 /w/workspace/app-record-replay/71@tmp/durable-a0e666e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:03:07 + echo total: 0.10999999940395355 [Pipeline] stash 15:03:07 Warning: overwriting stash ‘stack-cost’ 15:03:08 Stashed 1 file(s) [Pipeline] } 15:03:08 Lock released on resource [jenkins-edgexfoundry-app-record-replay-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 15:03:08 $ docker stop --time=1 945dc61549bc1c1ff691e73b3cb0eb66a99c8806b4c32369ef213a6debee2a1c 15:03:10 $ docker rm -f --volumes 945dc61549bc1c1ff691e73b3cb0eb66a99c8806b4c32369ef213a6debee2a1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:03:10 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:03:11 + [ -d /w/workspace/exfoundry_app-record-replay_main/archives ] 15:03:11 + ls -al /w/workspace/exfoundry_app-record-replay_main/archives 15:03:11 total 16 15:03:11 drwxr-xr-x 3 root root 4096 Nov 2 14:56 . 15:03:11 drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 14:56 .. 15:03:11 drwxr-xr-x 2 root root 4096 Nov 2 14:56 cost 15:03:11 -rw-r--r-- 1 root root 88 Nov 2 14:56 cost.csv 15:03:11 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_app-record-replay_main/archives 15:03:11 + ls -al /w/workspace/exfoundry_app-record-replay_main/archives 15:03:11 total 16 15:03:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 14:56 . 15:03:11 drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 14:56 .. 15:03:11 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 14:56 cost 15:03:11 -rw-r--r-- 1 jenkins jenkins 88 Nov 2 14:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:03:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:03:12 ---> package-listing.sh 15:03:12 ++ facter osfamily 15:03:12 ++ tr '[:upper:]' '[:lower:]' 15:03:12 + OS_FAMILY=debian 15:03:12 + workspace=/w/workspace/exfoundry_app-record-replay_main 15:03:12 + START_PACKAGES=/tmp/packages_start.txt 15:03:12 + END_PACKAGES=/tmp/packages_end.txt 15:03:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:03:12 + PACKAGES=/tmp/packages_start.txt 15:03:12 + '[' /w/workspace/exfoundry_app-record-replay_main ']' 15:03:12 + PACKAGES=/tmp/packages_end.txt 15:03:12 + case "${OS_FAMILY}" in 15:03:12 + dpkg -l 15:03:12 + grep '^ii' 15:03:12 + '[' -f /tmp/packages_start.txt ']' 15:03:12 + '[' -f /tmp/packages_end.txt ']' 15:03:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:03:12 + '[' /w/workspace/exfoundry_app-record-replay_main ']' 15:03:12 + mkdir -p /w/workspace/exfoundry_app-record-replay_main/archives/ 15:03:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_app-record-replay_main/archives/ [Pipeline] echo 15:03:12 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/exfoundry_app-record-replay_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:03:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:03:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:13 prd-ubuntu20.04-docker-8c-8g-16398 does not seem to be running inside a container 15:03:13 $ 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/exfoundry_app-record-replay_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:03:13 $ docker top 561a6c879f931efcffdffa0f3be4b776ba821b5e8654a58f8108f09f1fae40ae -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:14 + touch /tmp/pre-build-complete [Pipeline] sh 15:03:14 + mkdir -p /var/log/sysstat [Pipeline] sh 15:03:14 + ls /var/log/sa-host 15:03:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:03:14 provisioning config files... 15:03:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config6490378990716371948tmp [Pipeline] { [Pipeline] echo 15:03:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:03:15 ---> create-netrc.sh [Pipeline] } 15:03:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:03:15 ---> python-tools-install.sh [Pipeline] echo 15:03:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:03:15 ---> sudo-logs.sh 15:03:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:03:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:03:16 ---> job-cost.sh 15:03:16 lf-activate-venv: SKIPPING 15:03:16 DEBUG: total: 0.2199999988079071 15:03:16 INFO: Retrieving Stack Cost... 15:03:16 INFO: Retrieving Pricing Info for: v3-standard-8 15:03:17 INFO: Archiving Costs [Pipeline] echo 15:03:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:03:17 ---> logs-deploy.sh 15:03:17 lf-activate-venv: SKIPPING 15:03:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/main/71 15:03:17 INFO: archiving workspace using pattern(s): 15:03:18 Archives upload complete. 15:03:18 INFO: archiving logs to Nexus