Pull request #60 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from c416c546d3b0b10276a714cbc89b43aa4208b74f+2e2d2508cb469b8aa4f57d66e2e040b41fc2985b (b7c51a8f305746b9887ff487dfcec3bfd978ad0f) 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-ssh13220254861267254285.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh14611572039370541830.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-60/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-60/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6655802240081544418.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh8826543286789201762.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-60/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-60/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8706670871840471667.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-3862’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3864 in /w/workspace/xfoundry_app-record-replay_PR-60 [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-60 # 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 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b into PR head commit c416c546d3b0b10276a714cbc89b43aa4208b74f Merge succeeded, producing c416c546d3b0b10276a714cbc89b43aa4208b74f Checking out Revision c416c546d3b0b10276a714cbc89b43aa4208b74f (PR-60) > 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/60/head:refs/remotes/origin/PR-60 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c416c546d3b0b10276a714cbc89b43aa4208b74f # 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 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c416c546d3b0b10276a714cbc89b43aa4208b74f # timeout=10 Commit message: "fix: Remove commented out mock On" > git rev-list --no-walk 16e83716d7f08ce405555bfc4a634ca1d19b9f34 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:39:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:39:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:39:27 ========================================================= 22:39:27 EdgeX Global Pipelines Version Info 22:39:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:39:28 ------------------- 22:39:28 stable info: 22:39:28 ------------------- 22:39:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:39:28 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 22:39:28 Message: update stable to v1.0.253 22:39:28 ------------------- 22:39:28 experimental info: 22:39:28 ------------------- 22:39:28 Commited By: **** collab-it+edgex@linuxfoundation.org 22:39:28 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 22:39:28 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-60 [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-60 [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-60 [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c416c546d3b0b10276a714cbc89b43aa4208b74f [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c416c54 [Pipeline] echo 22:39:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:39:29 provisioning config files... 22:39:29 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-60@tmp/config16223304181981744698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:39:29 ---> docker-login.sh 22:39:29 nexus3.edgexfoundry.org:10001 22:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:30 Configure a credential helper to remove this warning. See 22:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:30 22:39:30 Login Succeeded 22:39:30 nexus3.edgexfoundry.org:10002 22:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:30 Configure a credential helper to remove this warning. See 22:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:30 22:39:30 Login Succeeded 22:39:30 nexus3.edgexfoundry.org:10003 22:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:30 Configure a credential helper to remove this warning. See 22:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:30 22:39:30 Login Succeeded 22:39:30 nexus3.edgexfoundry.org:10004 22:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:30 Configure a credential helper to remove this warning. See 22:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:30 22:39:30 Login Succeeded 22:39:30 docker.io 22:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:30 Configure a credential helper to remove this warning. See 22:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:30 22:39:30 Login Succeeded 22:39:30 ---> docker-login.sh ends [Pipeline] } 22:39:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:39:31 + git rev-list -1 --merges c416c546d3b0b10276a714cbc89b43aa4208b74f~1..c416c546d3b0b10276a714cbc89b43aa4208b74f [Pipeline] echo 22:39:31 -----------> git rev-list -1 --merges c416c546d3b0b10276a714cbc89b43aa4208b74f~1..c416c546d3b0b10276a714cbc89b43aa4208b74f c416c546d3b0b10276a714cbc89b43aa4208b74f [false] [Pipeline] sh 22:39:31 + git log --format=format:%s -1 c416c546d3b0b10276a714cbc89b43aa4208b74f [Pipeline] echo 22:39:31 ========================================================= 22:39:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:39:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:39:31 + git log --format=format:%s -1 c416c546d3b0b10276a714cbc89b43aa4208b74f [Pipeline] echo 22:39:31 [semverPrep] GIT_COMMIT: c416c546d3b0b10276a714cbc89b43aa4208b74f, Commit Message: fix: Remove commented out mock On [Pipeline] echo 22:39:31 [semverPrep] This is not a build commit. [Pipeline] sh 22:39:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:39:32 + grep -v github /etc/ssh/ssh_known_hosts 22:39:32 + [ -e /tmp/ssh_known_hosts ] 22:39:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:39:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:39:32 + sudo tee -a /etc/ssh/ssh_known_hosts 22:39:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:32 22:39:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:32 0.1.4: Pulling from edgex-devops/py-git-semver 22:39:32 b85a868b505f: Pulling fs layer 22:39:32 e2be974225ed: Pulling fs layer 22:39:32 339a4e72a1f5: Pulling fs layer 22:39:32 988bab9f4d93: Pulling fs layer 22:39:32 1469e6f7b9e6: Pulling fs layer 22:39:32 eaf3925da568: Pulling fs layer 22:39:32 bab4dde63d76: Pulling fs layer 22:39:32 bde34c3a00c8: Pulling fs layer 22:39:32 b352a97aabf1: Pulling fs layer 22:39:32 4872d77fe225: Pulling fs layer 22:39:32 5851b861e8e6: Pulling fs layer 22:39:32 988bab9f4d93: Waiting 22:39:32 1469e6f7b9e6: Waiting 22:39:32 eaf3925da568: Waiting 22:39:32 4872d77fe225: Waiting 22:39:32 5851b861e8e6: Waiting 22:39:32 bab4dde63d76: Waiting 22:39:32 bde34c3a00c8: Waiting 22:39:32 b352a97aabf1: Waiting 22:39:32 e2be974225ed: Download complete 22:39:32 988bab9f4d93: Verifying Checksum 22:39:32 988bab9f4d93: Download complete 22:39:32 1469e6f7b9e6: Download complete 22:39:32 339a4e72a1f5: Verifying Checksum 22:39:32 339a4e72a1f5: Download complete 22:39:32 eaf3925da568: Verifying Checksum 22:39:32 eaf3925da568: Download complete 22:39:33 bde34c3a00c8: Download complete 22:39:33 b352a97aabf1: Verifying Checksum 22:39:33 b352a97aabf1: Download complete 22:39:33 4872d77fe225: Verifying Checksum 22:39:33 4872d77fe225: Download complete 22:39:33 5851b861e8e6: Verifying Checksum 22:39:33 5851b861e8e6: Download complete 22:39:33 b85a868b505f: Verifying Checksum 22:39:33 b85a868b505f: Download complete 22:39:33 bab4dde63d76: Verifying Checksum 22:39:33 bab4dde63d76: Download complete 22:39:34 b85a868b505f: Pull complete 22:39:34 e2be974225ed: Pull complete 22:39:35 339a4e72a1f5: Pull complete 22:39:35 988bab9f4d93: Pull complete 22:39:35 1469e6f7b9e6: Pull complete 22:39:35 eaf3925da568: Pull complete 22:39:37 bab4dde63d76: Pull complete 22:39:37 bde34c3a00c8: Pull complete 22:39:37 b352a97aabf1: Pull complete 22:39:37 4872d77fe225: Pull complete 22:39:37 5851b861e8e6: Pull complete 22:39:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:39:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:39:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:39:37 prd-ubuntu20.04-docker-8c-8g-3864 does not seem to be running inside a container 22:39:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-60 -v /w/workspace/xfoundry_app-record-replay_PR-60:/w/workspace/xfoundry_app-record-replay_PR-60:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-60@tmp:/w/workspace/xfoundry_app-record-replay_PR-60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:39:41 $ docker top 101befe7a4ee14dd1f267fb8baaba371e873d7d7ab99be8812210724a2aa8d26 -eo pid,comm 22:39:41 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). 22:39:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:39:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:41 [ssh-agent] Looking for ssh-agent implementation... 22:39:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:41 $ docker exec 101befe7a4ee14dd1f267fb8baaba371e873d7d7ab99be8812210724a2aa8d26 ssh-agent 22:39:41 SSH_AUTH_SOCK=/tmp/ssh-FmZxSznWbKzp/agent.32 22:39:41 SSH_AGENT_PID=38 22:39:41 Running ssh-add (command line suppressed) 22:39:41 Identity added: /w/workspace/xfoundry_app-record-replay_PR-60@tmp/private_key_3453361077369451101.key (/w/workspace/xfoundry_app-record-replay_PR-60@tmp/private_key_3453361077369451101.key) 22:39:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:42 + git tag --points-at HEAD [Pipeline] } 22:39:42 $ docker exec --env ******** --env ******** 101befe7a4ee14dd1f267fb8baaba371e873d7d7ab99be8812210724a2aa8d26 ssh-agent -k 22:39:42 unset SSH_AUTH_SOCK; 22:39:42 unset SSH_AGENT_PID; 22:39:42 echo Agent pid 38 killed; 22:39:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:39:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:39:42 [ssh-agent] Looking for ssh-agent implementation... 22:39:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:39:42 $ docker exec 101befe7a4ee14dd1f267fb8baaba371e873d7d7ab99be8812210724a2aa8d26 ssh-agent 22:39:42 SSH_AUTH_SOCK=/tmp/ssh-G6z8vllYmUAK/agent.70 22:39:42 SSH_AGENT_PID=76 22:39:42 Running ssh-add (command line suppressed) 22:39:42 Identity added: /w/workspace/xfoundry_app-record-replay_PR-60@tmp/private_key_4601938040992139969.key (/w/workspace/xfoundry_app-record-replay_PR-60@tmp/private_key_4601938040992139969.key) 22:39:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:39:43 + git semver init 22:39:43 2023-08-16 22:39:43,264 [run_init] DEBUG init version:0.0.0 force:False 22:39:43 2023-08-16 22:39:43,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-60/.semver 22:39:43 2023-08-16 22:39:43,265 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-60/.semver 22:39:43 2023-08-16 22:39:43,265 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-60/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-60, universal_newlines=False, shell=None, istream=None) 22:39:43 2023-08-16 22:39:43,860 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-60/.git/info/exclude 22:39:43 2023-08-16 22:39:43,860 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-60/.semver/PR-60 with force:False 22:39:43 2023-08-16 22:39:43,860 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-60/.semver/PR-60 22:39:43 2023-08-16 22:39:43,864 [execute] INFO git cat-file --batch-check 22:39:43 2023-08-16 22:39:43,865 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-60/.semver, universal_newlines=False, shell=None, istream=) 22:39:43 2023-08-16 22:39:43,871 [execute] INFO git cat-file --batch 22:39:43 2023-08-16 22:39:43,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-60/.semver, universal_newlines=False, shell=None, istream=) 22:39:43 2023-08-16 22:39:43,876 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-60/.semver/PR-60 22:39:43 0.0.0 [Pipeline] } 22:39:43 $ docker exec --env ******** --env ******** 101befe7a4ee14dd1f267fb8baaba371e873d7d7ab99be8812210724a2aa8d26 ssh-agent -k 22:39:44 unset SSH_AUTH_SOCK; 22:39:44 unset SSH_AGENT_PID; 22:39:44 echo Agent pid 76 killed; 22:39:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:39:44 + git semver [Pipeline] } 22:39:44 $ docker stop --time=1 101befe7a4ee14dd1f267fb8baaba371e873d7d7ab99be8812210724a2aa8d26 22:39:45 $ docker rm -f --volumes 101befe7a4ee14dd1f267fb8baaba371e873d7d7ab99be8812210724a2aa8d26 [Pipeline] // withDockerContainer [Pipeline] sh 22:39:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:39:46 Stashed 1 file(s) [Pipeline] echo 22:39:46 [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 22:39:46 provisioning config files... 22:39:46 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-60@tmp/config11476040619655353870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:39:46 ---> docker-login.sh 22:39:46 nexus3.edgexfoundry.org:10001 22:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:46 Configure a credential helper to remove this warning. See 22:39:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:46 22:39:46 Login Succeeded 22:39:46 nexus3.edgexfoundry.org:10002 22:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:46 Configure a credential helper to remove this warning. See 22:39:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:46 22:39:46 Login Succeeded 22:39:46 nexus3.edgexfoundry.org:10003 22:39:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:47 Configure a credential helper to remove this warning. See 22:39:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:47 22:39:47 Login Succeeded 22:39:47 nexus3.edgexfoundry.org:10004 22:39:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:47 Configure a credential helper to remove this warning. See 22:39:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:47 22:39:47 Login Succeeded 22:39:47 docker.io 22:39:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:39:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:39:47 Configure a credential helper to remove this warning. See 22:39:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:39:47 22:39:47 Login Succeeded 22:39:47 ---> docker-login.sh ends [Pipeline] } 22:39:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:39:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:39:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:39:47 ========================================================= 22:39:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:39:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:47 + 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 . 22:39:47 Sending build context to Docker daemon 449kB 22:39:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:39:47 Step 2/12 : FROM ${BASE} AS builder 22:39:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:39:47 4db1b89c0bd1: Pulling fs layer 22:39:47 6911f1a30b25: Pulling fs layer 22:39:47 e194b8c5c2a9: Pulling fs layer 22:39:47 6863d3e3a2b1: Pulling fs layer 22:39:47 ec0bb842ea78: Pulling fs layer 22:39:47 40a00589a448: Pulling fs layer 22:39:47 6c08303d61cc: Pulling fs layer 22:39:47 6863d3e3a2b1: Waiting 22:39:47 ec0bb842ea78: Waiting 22:39:47 40a00589a448: Waiting 22:39:47 798269fcf238: Pulling fs layer 22:39:47 6c08303d61cc: Waiting 22:39:47 798269fcf238: Waiting 22:39:47 6911f1a30b25: Verifying Checksum 22:39:47 6911f1a30b25: Download complete 22:39:47 6863d3e3a2b1: Verifying Checksum 22:39:47 6863d3e3a2b1: Download complete 22:39:47 ec0bb842ea78: Verifying Checksum 22:39:47 ec0bb842ea78: Download complete 22:39:47 4db1b89c0bd1: Verifying Checksum 22:39:47 4db1b89c0bd1: Download complete 22:39:48 40a00589a448: Verifying Checksum 22:39:48 40a00589a448: Download complete 22:39:48 4db1b89c0bd1: Pull complete 22:39:48 6911f1a30b25: Pull complete 22:39:48 e194b8c5c2a9: Verifying Checksum 22:39:48 e194b8c5c2a9: Download complete 22:39:48 798269fcf238: Verifying Checksum 22:39:48 798269fcf238: Download complete 22:39:48 6c08303d61cc: Verifying Checksum 22:39:48 6c08303d61cc: Download complete 22:39:52 e194b8c5c2a9: Pull complete 22:39:52 6863d3e3a2b1: Pull complete 22:39:52 ec0bb842ea78: Pull complete 22:39:52 40a00589a448: Pull complete 22:39:54 6c08303d61cc: Pull complete 22:39:55 798269fcf238: Pull complete 22:39:55 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 22:39:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:39:55 ---> ec979cd7f677 22:39:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:40:00 ---> Running in e39fb5bc9469 22:40:00 Removing intermediate container e39fb5bc9469 22:40:00 ---> 1b41ff98f136 22:40:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:40:00 ---> Running in 233ce64ca696 22:40:00 Removing intermediate container 233ce64ca696 22:40:00 ---> 4d6cf3889789 22:40:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:40:00 ---> Running in 15dafba0e8f8 22:40:00 Removing intermediate container 15dafba0e8f8 22:40:00 ---> 72921dce0862 22:40:00 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:40:01 ---> Running in bf2462f595bf 22:40:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:40:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:40:01 Still waiting to schedule task 22:40:01 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3863’ is offline 22:40:01 OK: 265 MiB in 53 packages 22:40:02 Removing intermediate container bf2462f595bf 22:40:02 ---> b0dad9df7a49 22:40:02 Step 7/12 : WORKDIR /app 22:40:02 ---> Running in 87948b26bb91 22:40:02 Removing intermediate container 87948b26bb91 22:40:02 ---> 5f04bdbfc9da 22:40:02 Step 8/12 : COPY go.mod vendor* ./ 22:40:02 ---> 6ae0e2c7f824 22:40:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:02 ---> Running in 42116f429671 22:40:34 Removing intermediate container 42116f429671 22:40:34 ---> b3dc572b5267 22:40:34 Step 10/12 : COPY . . 22:40:34 ---> 0861390eba0f 22:40:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:40:34 ---> Running in f32f1c1adbb8 22:40:34 Removing intermediate container f32f1c1adbb8 22:40:34 ---> 7f3c2d07e76d 22:40:34 Step 12/12 : RUN $MAKE 22:40:34 ---> Running in 47c0f957002e 22:40:34 noop 22:40:34 Removing intermediate container 47c0f957002e 22:40:34 ---> 1a7a373dfa72 22:40:34 Successfully built 1a7a373dfa72 22:40:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:34 + docker inspect -f . ci-base-image-x86_64 22:40:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:34 prd-ubuntu20.04-docker-8c-8g-3864 does not seem to be running inside a container 22:40:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-60 -v /w/workspace/xfoundry_app-record-replay_PR-60:/w/workspace/xfoundry_app-record-replay_PR-60:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-60@tmp:/w/workspace/xfoundry_app-record-replay_PR-60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:40:35 $ docker top 7b03ca8fdb23266484b01014d4acffec10f95251e35a1c2b24b81ba5bffb3833 -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:35 + go version 22:40:35 go version go1.20.6 linux/amd64 [Pipeline] } 22:40:35 $ docker stop --time=1 7b03ca8fdb23266484b01014d4acffec10f95251e35a1c2b24b81ba5bffb3833 22:40:36 $ docker rm -f --volumes 7b03ca8fdb23266484b01014d4acffec10f95251e35a1c2b24b81ba5bffb3833 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:37 + docker inspect -f . ci-base-image-x86_64 22:40:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:37 prd-ubuntu20.04-docker-8c-8g-3864 does not seem to be running inside a container 22:40:37 $ 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-60 -v /w/workspace/xfoundry_app-record-replay_PR-60:/w/workspace/xfoundry_app-record-replay_PR-60:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-60@tmp:/w/workspace/xfoundry_app-record-replay_PR-60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:40:37 $ docker top d6b0c9c0c186ad467c62e6d381ef3dd97f5329a3404d3853f99106bb1b842c58 -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:37 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-60 [Pipeline] fileExists [Pipeline] sh 22:40:38 + make test 22:40:38 go test -race -coverprofile=coverage.out ./... 22:41:00 ? github.com/edgexfoundry/app-record-replay [no test files] 22:41:00 ok github.com/edgexfoundry/app-record-replay/internal/app 0.066s coverage: 88.0% of statements 22:41:00 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:41:00 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 22:41:00 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:41:06 ok github.com/edgexfoundry/app-record-replay/internal/application 8.620s coverage: 98.1% of statements 22:41:06 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.094s coverage: 85.2% of statements 22:41:28 go vet ./... 22:41:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:41:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:41:30 ./bin/test-attribution-txt.sh [Pipeline] echo 22:41:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:41:30 $ docker stop --time=1 d6b0c9c0c186ad467c62e6d381ef3dd97f5329a3404d3853f99106bb1b842c58 22:41:34 $ docker rm -f --volumes d6b0c9c0c186ad467c62e6d381ef3dd97f5329a3404d3853f99106bb1b842c58 [Pipeline] // withDockerContainer [Pipeline] sh 22:41:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:41:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:41:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:41:35 + ls -al . 22:41:35 total 176 22:41:35 drwxrwxr-x 9 jenkins jenkins 4096 Aug 16 22:40 . 22:41:35 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 22:39 .. 22:41:35 -rw-rw-r-- 1 jenkins jenkins 119 Aug 16 22:39 .dockerignore 22:41:35 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 22:39 .git 22:41:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 22:39 .github 22:41:35 -rw-rw-r-- 1 jenkins jenkins 164 Aug 16 22:39 .gitignore 22:41:35 -rw-rw-r-- 1 jenkins jenkins 41 Aug 16 22:39 .golangci.yml 22:41:35 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 22:39 .semver 22:41:35 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 16 22:39 Attribution.txt 22:41:35 -rw-rw-r-- 1 jenkins jenkins 258 Aug 16 22:39 CHANGELOG.md 22:41:35 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 16 22:39 Dockerfile 22:41:35 -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 22:39 GOVERNANCE.md 22:41:35 -rw-rw-r-- 1 jenkins jenkins 681 Aug 16 22:39 Jenkinsfile 22:41:35 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 16 22:39 LICENSE 22:41:35 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 16 22:39 Makefile 22:41:35 -rw-rw-r-- 1 jenkins jenkins 611 Aug 16 22:39 OWNERS.md 22:41:35 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 16 22:39 README.md 22:41:35 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 16 22:39 Record and Reply.postman_collection.json 22:41:35 -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 22:39 VERSION 22:41:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 22:39 bin 22:41:35 -rw-r--r-- 1 jenkins jenkins 16515 Aug 16 22:41 coverage.out 22:41:35 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 16 22:39 go.mod 22:41:35 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 16 22:39 go.sum 22:41:35 drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 22:39 internal 22:41:35 -rw-rw-r-- 1 jenkins jenkins 913 Aug 16 22:39 main.go 22:41:35 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 22:39 pkg 22:41:35 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 22:39 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:35 + 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=c416c546d3b0b10276a714cbc89b43aa4208b74f --label arch=amd64 --label version=0.0.0 . 22:41:35 Sending build context to Docker daemon 466.4kB 22:41:35 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:41:35 Step 2/26 : FROM ${BASE} AS builder 22:41:35 ---> 1a7a373dfa72 22:41:35 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:41:35 ---> Running in eba2c1735bdc 22:41:36 Removing intermediate container eba2c1735bdc 22:41:36 ---> 83f195d9ba13 22:41:36 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:41:36 ---> Running in 03b082963cde 22:41:36 Removing intermediate container 03b082963cde 22:41:36 ---> ad8a458fec8f 22:41:36 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:41:36 ---> Running in a4c2ed744bcb 22:41:36 Removing intermediate container a4c2ed744bcb 22:41:36 ---> a8e7c036ca81 22:41:36 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:41:36 ---> Running in 6cbc17830ea0 22:41:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:41:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:41:36 OK: 265 MiB in 53 packages 22:41:37 Removing intermediate container 6cbc17830ea0 22:41:37 ---> b4786098a808 22:41:37 Step 7/26 : WORKDIR /app 22:41:37 ---> Running in a921441ab8ff 22:41:37 Removing intermediate container a921441ab8ff 22:41:37 ---> 08a79ad23063 22:41:37 Step 8/26 : COPY go.mod vendor* ./ 22:41:37 ---> 104afe0b8e27 22:41:37 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:37 ---> Running in 70ede97b28b1 22:41:38 Removing intermediate container 70ede97b28b1 22:41:38 ---> 519e3f494373 22:41:38 Step 10/26 : COPY . . 22:41:38 ---> 4e807fc8d039 22:41:38 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:41:38 ---> Running in 188de3a250c4 22:41:38 Removing intermediate container 188de3a250c4 22:41:38 ---> 53a545b5223a 22:41:38 Step 12/26 : RUN $MAKE 22:41:38 ---> Running in fb24e659a814 22:41:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:41:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3865 in /w/workspace/xfoundry_app-record-replay_PR-60 [Pipeline] { [Pipeline] ws 22:41:47 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 22:41:47 Selected Git installation does not exist. Using Default 22:41:47 The recommended git tool is: NONE 22:41:53 using credential edgex-jenkins-ssh 22:41:53 Cloning the remote Git repository 22:41:53 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 22:41:54 > git init /w/workspace/app-record-replay/2 # timeout=10 22:41:54 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:41:54 > git --version # timeout=10 22:41:54 > git --version # 'git version 2.25.1' 22:41:54 using GIT_SSH to set credentials SSH Credentials for GitHub 22:41:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:41:57 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:41:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:41:59 Merging remotes/origin/main commit 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b into PR head commit c416c546d3b0b10276a714cbc89b43aa4208b74f 22:41:59 Merge succeeded, producing c416c546d3b0b10276a714cbc89b43aa4208b74f 22:41:59 Checking out Revision c416c546d3b0b10276a714cbc89b43aa4208b74f (PR-60) 22:41:58 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:41:58 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:41:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:41:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/60/head:refs/remotes/origin/PR-60 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:41:59 > git config core.sparsecheckout # timeout=10 22:41:59 > git checkout -f c416c546d3b0b10276a714cbc89b43aa4208b74f # timeout=10 22:41:59 > git remote # timeout=10 22:41:59 > git config --get remote.origin.url # timeout=10 22:41:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:41:59 > git merge 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b # timeout=10 22:41:59 > git rev-parse HEAD^{commit} # timeout=10 22:41:59 > git config core.sparsecheckout # timeout=10 22:41:59 > git checkout -f c416c546d3b0b10276a714cbc89b43aa4208b74f # timeout=10 22:42:00 Removing intermediate container fb24e659a814 22:42:00 ---> 20ab6bf95536 22:42:00 Step 13/26 : FROM alpine:3.17 22:42:00 3.17: Pulling from library/alpine 22:42:00 9398808236ff: Pulling fs layer 22:42:00 9398808236ff: Verifying Checksum 22:42:00 9398808236ff: Download complete 22:42:00 9398808236ff: Pull complete 22:42:00 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 22:42:00 Status: Downloaded newer image for alpine:3.17 22:42:00 ---> 1e0b8b5322fc 22:42:00 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:42:00 ---> Running in 8f2368428ec5 22:42:00 Removing intermediate container 8f2368428ec5 22:42:00 ---> 1d5415588bcf 22:42:00 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 22:42:00 ---> Running in d3ecc38e472f 22:42:00 Removing intermediate container d3ecc38e472f 22:42:00 ---> 9fb1c229c2aa 22:42:00 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:42:00 ---> Running in d189cc11bd8a 22:42:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:42:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:42:00 (1/2) Installing ca-certificates (20230506-r0) 22:42:00 (2/2) Installing dumb-init (1.2.5-r2) 22:42:00 Executing busybox-1.35.0-r29.trigger 22:42:00 Executing ca-certificates-20230506-r0.trigger 22:42:00 OK: 8 MiB in 17 packages 22:42:00 Removing intermediate container d189cc11bd8a 22:42:00 ---> d5871a379809 22:42:00 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:42:01 ---> e429d5f73feb 22:42:01 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:42:01 ---> 33adaa933b84 22:42:01 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:42:01 ---> 1d69bc4ad36c 22:42:01 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 22:42:02 ---> 9620a4198ce3 22:42:02 Step 21/26 : EXPOSE 59712 22:42:02 ---> Running in e6dcdb2a182a 22:42:02 Removing intermediate container e6dcdb2a182a 22:42:02 ---> c79a4587d1b7 22:42:02 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 22:42:02 ---> Running in dc4e3f8dd10a 22:42:02 Removing intermediate container dc4e3f8dd10a 22:42:02 ---> 420bda7f2107 22:42:02 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:42:02 ---> Running in c884d72290a9 22:42:02 Removing intermediate container c884d72290a9 22:42:02 ---> 8a5afdd8d3e2 22:42:02 Step 24/26 : LABEL arch=amd64 22:42:02 ---> Running in 00ee7add573a 22:42:02 Removing intermediate container 00ee7add573a 22:42:02 ---> 06a50f3d2b71 22:42:02 Step 25/26 : LABEL git_sha=c416c546d3b0b10276a714cbc89b43aa4208b74f 22:42:02 ---> Running in 756443d8b917 22:42:02 Removing intermediate container 756443d8b917 22:42:02 ---> dab6a3323cf7 22:42:02 Step 26/26 : LABEL version=0.0.0 22:42:02 ---> Running in 05ab43b70a36 22:42:02 Removing intermediate container 05ab43b70a36 22:42:02 ---> 599145c30261 22:42:02 [Warning] One or more build-args [ARCH] were not consumed 22:42:02 Successfully built 599145c30261 22:42:02 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 22:42:03 Commit message: "fix: Remove commented out mock On" 22:42:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:03 22:42:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:03 22:42:03 GitHub has been notified of this commit’s build result 22:42:03 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:03 latest: Pulling from edgex-lftools-log-publisher 22:42:03 5eb5b503b376: Pulling fs layer 22:42:03 5c69ac0246d0: Pulling fs layer 22:42:03 ec43610c2a17: Pulling fs layer 22:42:03 3a2ae6a8a46f: Pulling fs layer 22:42:03 33b1e0a273af: Pulling fs layer 22:42:03 5d3b04190fa2: Pulling fs layer 22:42:03 2f39f015ded8: Pulling fs layer 22:42:03 33b1e0a273af: Waiting 22:42:03 5d3b04190fa2: Waiting 22:42:03 2f39f015ded8: Waiting 22:42:03 3a2ae6a8a46f: Waiting 22:42:03 5c69ac0246d0: Download complete 22:42:03 3a2ae6a8a46f: Download complete 22:42:03 33b1e0a273af: Verifying Checksum 22:42:03 33b1e0a273af: Download complete 22:42:03 ec43610c2a17: Verifying Checksum 22:42:03 ec43610c2a17: Download complete 22:42:03 5d3b04190fa2: Download complete 22:42:03 5eb5b503b376: Verifying Checksum 22:42:03 5eb5b503b376: Download complete 22:42:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:42:03 % Total % Received % Xferd Average Speed Time Time Time Current 22:42:03 Dload Upload Total Spent Left Speed 22:42:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k 22:42:04 2f39f015ded8: Download complete [Pipeline] sh 22:42:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:42:04 5eb5b503b376: Pull complete 22:42:04 5c69ac0246d0: Pull complete 22:42:05 + sudo tee /etc/docker/daemon.new 22:42:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:42:05 { 22:42:05 "registry-mirrors": [ 22:42:05 "https://nexus3.edgexfoundry.org:10001" 22:42:05 ], 22:42:05 "bip": "10.250.0.254/24", 22:42:05 "hosts": [ 22:42:05 "tcp://0.0.0.0:5555", 22:42:05 "unix:///var/run/docker.sock" 22:42:05 ], 22:42:05 "mtu": 1458, 22:42:05 "selinux-enabled": true, 22:42:05 "seccomp-profile": "/etc/docker/seccomp.json" 22:42:05 } [Pipeline] sh 22:42:05 ec43610c2a17: Pull complete 22:42:05 3a2ae6a8a46f: Pull complete 22:42:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:42:05 33b1e0a273af: Pull complete 22:42:05 5d3b04190fa2: Pull complete 22:42:06 + sudo service docker restart 22:42:09 2f39f015ded8: Pull complete 22:42:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:42:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:09 prd-ubuntu20.04-docker-8c-8g-3864 does not seem to be running inside a container 22:42:10 $ 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-60 -v /w/workspace/xfoundry_app-record-replay_PR-60:/w/workspace/xfoundry_app-record-replay_PR-60:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-60@tmp:/w/workspace/xfoundry_app-record-replay_PR-60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:42:14 $ docker top 0f0c3aa66167dc2f8004b9b539c82bbbdc87855e7dff839d66b1f0371727a5f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:14 ---> job-cost.sh 22:42:14 lf-activate-venv: SKIPPING 22:42:14 INFO: No Stack... 22:42:14 INFO: Retrieving Pricing Info for: v3-standard-8 22:42:15 INFO: Archiving Costs [Pipeline] sh 22:42:15 + cat /w/workspace/xfoundry_app-record-replay_PR-60/archives/cost.csv 22:42:15 + cut -d, -f6 [Pipeline] lock 22:42:15 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-60-2-stack-cost] 22:42:15 Resource [jenkins-edgexfoundry-app-record-replay-PR-60-2-stack-cost] did not exist. Created. 22:42:15 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-60-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:15 + echo total: 0.2199999988079071 [Pipeline] stash 22:42:16 Stashed 1 file(s) [Pipeline] } 22:42:16 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-60-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:16 $ docker stop --time=1 0f0c3aa66167dc2f8004b9b539c82bbbdc87855e7dff839d66b1f0371727a5f6 22:42:17 $ docker rm -f --volumes 0f0c3aa66167dc2f8004b9b539c82bbbdc87855e7dff839d66b1f0371727a5f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:24 provisioning config files... 22:42:24 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config1589876962824823913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:24 ---> docker-login.sh 22:42:24 nexus3.edgexfoundry.org:10001 22:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:25 Configure a credential helper to remove this warning. See 22:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:25 22:42:25 Login Succeeded 22:42:25 nexus3.edgexfoundry.org:10002 22:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:25 Configure a credential helper to remove this warning. See 22:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:25 22:42:25 Login Succeeded 22:42:25 nexus3.edgexfoundry.org:10003 22:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:26 Configure a credential helper to remove this warning. See 22:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:26 22:42:26 Login Succeeded 22:42:26 nexus3.edgexfoundry.org:10004 22:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:26 Configure a credential helper to remove this warning. See 22:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:26 22:42:26 Login Succeeded 22:42:26 docker.io 22:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:26 Configure a credential helper to remove this warning. See 22:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:26 22:42:26 Login Succeeded 22:42:26 ---> docker-login.sh ends [Pipeline] } 22:42:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:27 ========================================================= 22:42:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:42:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:27 + 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 . 22:42:27 Sending build context to Docker daemon 199.7kB 22:42:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:42:27 Step 2/12 : FROM ${BASE} AS builder 22:42:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:42:27 edb6bdbacee9: Pulling fs layer 22:42:27 5f9638ab2659: Pulling fs layer 22:42:27 8d51d6327a98: Pulling fs layer 22:42:27 8b374f2dd631: Pulling fs layer 22:42:27 ec14aa9079de: Pulling fs layer 22:42:27 2f466654f4bb: Pulling fs layer 22:42:27 554e91adad29: Pulling fs layer 22:42:27 8b374f2dd631: Waiting 22:42:27 2f466654f4bb: Waiting 22:42:27 ec14aa9079de: Waiting 22:42:27 554e91adad29: Waiting 22:42:27 5f9638ab2659: Download complete 22:42:27 8b374f2dd631: Verifying Checksum 22:42:27 8b374f2dd631: Download complete 22:42:28 ec14aa9079de: Verifying Checksum 22:42:28 ec14aa9079de: Download complete 22:42:28 edb6bdbacee9: Verifying Checksum 22:42:28 edb6bdbacee9: Download complete 22:42:29 edb6bdbacee9: Pull complete 22:42:29 554e91adad29: Verifying Checksum 22:42:29 554e91adad29: Download complete 22:42:29 5f9638ab2659: Pull complete 22:42:30 8d51d6327a98: Verifying Checksum 22:42:30 8d51d6327a98: Download complete 22:42:30 2f466654f4bb: Verifying Checksum 22:42:30 2f466654f4bb: Download complete 22:42:42 8d51d6327a98: Pull complete 22:42:42 8b374f2dd631: Pull complete 22:42:42 ec14aa9079de: Pull complete 22:42:49 2f466654f4bb: Pull complete 22:42:52 554e91adad29: Pull complete 22:42:52 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 22:42:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:42:52 ---> 1e15ea492957 22:42:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:42:53 ---> Running in 214553e485ef 22:42:53 Removing intermediate container 214553e485ef 22:42:53 ---> 67035eb49866 22:42:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:42:54 ---> Running in 0f4b85eaccf4 22:42:54 Removing intermediate container 0f4b85eaccf4 22:42:54 ---> b89a0f68dfdd 22:42:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:42:54 ---> Running in c49a884c9633 22:42:54 Removing intermediate container c49a884c9633 22:42:54 ---> 0712b869b843 22:42:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:42:54 ---> Running in 951578043a6b 22:42:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:42:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:42:57 OK: 263 MiB in 53 packages 22:42:58 Removing intermediate container 951578043a6b 22:42:58 ---> 0e911b4225e9 22:42:58 Step 7/12 : WORKDIR /app 22:42:58 ---> Running in fd25c7ea6812 22:42:58 Removing intermediate container fd25c7ea6812 22:42:58 ---> bd1ac1dd38fa 22:42:58 Step 8/12 : COPY go.mod vendor* ./ 22:42:58 ---> 757a5245aba7 22:42:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:58 ---> Running in f08050fcb030 22:44:20 Removing intermediate container f08050fcb030 22:44:20 ---> 1dbc0a9a7bfc 22:44:20 Step 10/12 : COPY . . 22:44:20 ---> df0d5a3b3484 22:44:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:44:20 ---> Running in 2fad7d2a156c 22:44:20 Removing intermediate container 2fad7d2a156c 22:44:20 ---> 3db1648508ce 22:44:20 Step 12/12 : RUN $MAKE 22:44:20 ---> Running in facbed32426d 22:44:20 noop 22:44:20 Removing intermediate container facbed32426d 22:44:20 ---> 85aa314a7d38 22:44:20 Successfully built 85aa314a7d38 22:44:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:20 + docker inspect -f . ci-base-image-arm64 22:44:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:21 prd-ubuntu20.04-docker-arm64-4c-16g-3865 does not seem to be running inside a container 22:44:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:44:24 $ docker top 116a68e4aded8d19b54fbddd36859e280ff9b53d812199e3a1aa1f6d2e06bdf0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:25 + go version 22:44:25 go version go1.20.6 linux/arm64 [Pipeline] } 22:44:25 $ docker stop --time=1 116a68e4aded8d19b54fbddd36859e280ff9b53d812199e3a1aa1f6d2e06bdf0 22:44:27 $ docker rm -f --volumes 116a68e4aded8d19b54fbddd36859e280ff9b53d812199e3a1aa1f6d2e06bdf0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:27 + docker inspect -f . ci-base-image-arm64 22:44:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:27 prd-ubuntu20.04-docker-arm64-4c-16g-3865 does not seem to be running inside a container 22:44:28 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:44:29 $ docker top 6aeb0eb83a26be28ffdbd49a6119c72ffcdf3e7962ce9422a6224dce7d0f70a5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:29 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 22:44:30 + make test 22:44:30 go test -race -coverprofile=coverage.out ./... 22:47:07 ? github.com/edgexfoundry/app-record-replay [no test files] 22:47:07 ok github.com/edgexfoundry/app-record-replay/internal/app 0.238s coverage: 88.0% of statements 22:47:08 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:47:08 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 22:47:08 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:47:13 ok github.com/edgexfoundry/app-record-replay/internal/application 8.837s coverage: 98.1% of statements 22:47:13 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.343s coverage: 85.2% of statements 22:47:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:47:13 go vet ./... 22:49:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:49:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:49:35 ./bin/test-attribution-txt.sh [Pipeline] echo 22:49:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:49:35 $ docker stop --time=1 6aeb0eb83a26be28ffdbd49a6119c72ffcdf3e7962ce9422a6224dce7d0f70a5 22:49:37 $ docker rm -f --volumes 6aeb0eb83a26be28ffdbd49a6119c72ffcdf3e7962ce9422a6224dce7d0f70a5 [Pipeline] // withDockerContainer [Pipeline] sh 22:49:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:49:38 Warning: overwriting stash ‘coverage-report’ 22:49:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:49:39 + ls -al . 22:49:39 total 172 22:49:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 22:44 . 22:49:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 22:41 .. 22:49:39 -rw-rw-r-- 1 jenkins jenkins 119 Aug 16 22:41 .dockerignore 22:49:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 22:41 .git 22:49:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 22:41 .github 22:49:39 -rw-rw-r-- 1 jenkins jenkins 164 Aug 16 22:41 .gitignore 22:49:39 -rw-rw-r-- 1 jenkins jenkins 41 Aug 16 22:41 .golangci.yml 22:49:39 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 16 22:41 Attribution.txt 22:49:39 -rw-rw-r-- 1 jenkins jenkins 258 Aug 16 22:41 CHANGELOG.md 22:49:39 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 16 22:41 Dockerfile 22:49:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 22:41 GOVERNANCE.md 22:49:39 -rw-rw-r-- 1 jenkins jenkins 681 Aug 16 22:41 Jenkinsfile 22:49:39 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 16 22:41 LICENSE 22:49:39 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 16 22:41 Makefile 22:49:39 -rw-rw-r-- 1 jenkins jenkins 611 Aug 16 22:41 OWNERS.md 22:49:39 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 16 22:41 README.md 22:49:39 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 16 22:41 Record and Reply.postman_collection.json 22:49:39 -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 22:39 VERSION 22:49:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 22:41 bin 22:49:39 -rw-r--r-- 1 jenkins jenkins 16515 Aug 16 22:47 coverage.out 22:49:39 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 16 22:41 go.mod 22:49:39 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 16 22:41 go.sum 22:49:39 drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 22:41 internal 22:49:39 -rw-rw-r-- 1 jenkins jenkins 913 Aug 16 22:41 main.go 22:49:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 22:41 pkg 22:49:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 22:41 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:40 + 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=c416c546d3b0b10276a714cbc89b43aa4208b74f --label arch=arm64 --label version=0.0.0 . 22:49:40 Sending build context to Docker daemon 217.1kB 22:49:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:49:40 Step 2/26 : FROM ${BASE} AS builder 22:49:40 ---> 85aa314a7d38 22:49:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:49:40 ---> Running in 02ead8ce1e1a 22:49:40 Removing intermediate container 02ead8ce1e1a 22:49:40 ---> b601922a099d 22:49:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:49:40 ---> Running in bc8cfb8dbd68 22:49:41 Removing intermediate container bc8cfb8dbd68 22:49:41 ---> c772bfbd4e18 22:49:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:49:41 ---> Running in 41c972270e90 22:49:41 Removing intermediate container 41c972270e90 22:49:41 ---> 4668de92dfb6 22:49:41 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:49:41 ---> Running in 5868e5e8a030 22:49:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:49:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:49:44 OK: 263 MiB in 53 packages 22:49:44 Removing intermediate container 5868e5e8a030 22:49:44 ---> e616dd7988e0 22:49:44 Step 7/26 : WORKDIR /app 22:49:44 ---> Running in 0fb5b0ab313d 22:49:45 Removing intermediate container 0fb5b0ab313d 22:49:45 ---> 39700ce60b7b 22:49:45 Step 8/26 : COPY go.mod vendor* ./ 22:49:47 ---> 312567be5516 22:49:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:49:47 ---> Running in 236cdb385690 22:49:50 Removing intermediate container 236cdb385690 22:49:50 ---> fd74e594eec5 22:49:50 Step 10/26 : COPY . . 22:49:50 ---> f7db6253e0aa 22:49:50 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:49:50 ---> Running in 8f731ac5c93c 22:49:50 Removing intermediate container 8f731ac5c93c 22:49:50 ---> f7c67ec0fcd8 22:49:50 Step 12/26 : RUN $MAKE 22:49:50 ---> Running in e9cfcdc031c8 22:49:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:51:58 Removing intermediate container e9cfcdc031c8 22:51:58 ---> 387521d5892a 22:51:58 Step 13/26 : FROM alpine:3.17 22:51:58 3.17: Pulling from library/alpine 22:51:58 4060ece20d7a: Pulling fs layer 22:51:58 4060ece20d7a: Verifying Checksum 22:51:58 4060ece20d7a: Download complete 22:51:58 4060ece20d7a: Pull complete 22:51:58 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 22:51:58 Status: Downloaded newer image for alpine:3.17 22:51:58 ---> 8650cd65339b 22:51:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:51:58 ---> Running in da9034e24191 22:51:58 Removing intermediate container da9034e24191 22:51:58 ---> 1cd362cd073a 22:51:58 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 22:51:58 ---> Running in b2afc8b6aef9 22:51:58 Removing intermediate container b2afc8b6aef9 22:51:58 ---> b6da9ac926db 22:51:58 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:51:58 ---> Running in 5a5fc1766d73 22:51:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:51:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:51:58 (1/2) Installing ca-certificates (20230506-r0) 22:51:58 (2/2) Installing dumb-init (1.2.5-r2) 22:51:58 Executing busybox-1.35.0-r29.trigger 22:51:58 Executing ca-certificates-20230506-r0.trigger 22:51:58 OK: 8 MiB in 17 packages 22:51:59 Removing intermediate container 5a5fc1766d73 22:51:59 ---> 0bd932a04aa9 22:51:59 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:51:59 ---> 382c7922518d 22:51:59 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:52:00 ---> 24cd4a96fe1e 22:52:00 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:52:00 ---> cf0478b68f3a 22:52:00 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 22:52:03 ---> a121530f7899 22:52:03 Step 21/26 : EXPOSE 59712 22:52:03 ---> Running in f2486c250148 22:52:03 Removing intermediate container f2486c250148 22:52:03 ---> 6dd1b80e7c01 22:52:03 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 22:52:03 ---> Running in 108ad2c64b5d 22:52:04 Removing intermediate container 108ad2c64b5d 22:52:04 ---> 79c2d063319d 22:52:04 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:52:04 ---> Running in ae4375780873 22:52:04 Removing intermediate container ae4375780873 22:52:04 ---> 2efe2c53161d 22:52:04 Step 24/26 : LABEL arch=arm64 22:52:04 ---> Running in 2b48d0e24e14 22:52:04 Removing intermediate container 2b48d0e24e14 22:52:04 ---> 7d91092c1342 22:52:04 Step 25/26 : LABEL git_sha=c416c546d3b0b10276a714cbc89b43aa4208b74f 22:52:04 ---> Running in e535c9a20c1f 22:52:04 Removing intermediate container e535c9a20c1f 22:52:04 ---> f57b2a34d3a5 22:52:04 Step 26/26 : LABEL version=0.0.0 22:52:05 ---> Running in 57329586b29a 22:52:05 Removing intermediate container 57329586b29a 22:52:05 ---> b952db244a8b 22:52:05 [Warning] One or more build-args [ARCH] were not consumed 22:52:05 Successfully built b952db244a8b 22:52:05 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 22:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:05 22:52:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:06 arm64: Pulling from edgex-lftools-log-publisher 22:52:06 8998bd30e6a1: Pulling fs layer 22:52:06 04944245beec: Pulling fs layer 22:52:06 699f458cf7ca: Pulling fs layer 22:52:06 765212b225bb: Pulling fs layer 22:52:06 f23df028b6ca: Pulling fs layer 22:52:06 d65c8cfc05b1: Pulling fs layer 22:52:06 2437ff75d9bd: Pulling fs layer 22:52:06 f23df028b6ca: Waiting 22:52:06 765212b225bb: Waiting 22:52:06 2437ff75d9bd: Waiting 22:52:06 d65c8cfc05b1: Waiting 22:52:06 04944245beec: Verifying Checksum 22:52:06 04944245beec: Download complete 22:52:06 765212b225bb: Verifying Checksum 22:52:06 765212b225bb: Download complete 22:52:06 f23df028b6ca: Verifying Checksum 22:52:06 f23df028b6ca: Download complete 22:52:06 d65c8cfc05b1: Verifying Checksum 22:52:06 d65c8cfc05b1: Download complete 22:52:06 699f458cf7ca: Verifying Checksum 22:52:06 699f458cf7ca: Download complete 22:52:07 8998bd30e6a1: Verifying Checksum 22:52:07 8998bd30e6a1: Download complete 22:52:09 2437ff75d9bd: Verifying Checksum 22:52:09 2437ff75d9bd: Download complete 22:52:10 8998bd30e6a1: Pull complete 22:52:11 04944245beec: Pull complete 22:52:12 699f458cf7ca: Pull complete 22:52:12 765212b225bb: Pull complete 22:52:13 f23df028b6ca: Pull complete 22:52:13 d65c8cfc05b1: Pull complete 22:52:28 2437ff75d9bd: Pull complete 22:52:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:52:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:28 prd-ubuntu20.04-docker-arm64-4c-16g-3865 does not seem to be running inside a container 22:52:28 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:52:31 $ docker top fc5377448530ecc2f694cd9addbd4a8d60705d65ee5ceebdd8b134690b98914d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:31 ---> job-cost.sh 22:52:32 lf-activate-venv: SKIPPING 22:52:32 INFO: No Stack... 22:52:32 INFO: Retrieving Pricing Info for: v3-standard-4 22:52:33 INFO: Archiving Costs [Pipeline] sh 22:52:33 + cat /w/workspace/app-record-replay/2/archives/cost.csv 22:52:33 + cut -d, -f6 [Pipeline] lock 22:52:33 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-60-2-stack-cost] 22:52:33 Resource [jenkins-edgexfoundry-app-record-replay-PR-60-2-stack-cost] did not exist. Created. 22:52:33 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-60-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:52:34 /w/workspace/app-record-replay/2@tmp/durable-6953b5f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:52:34 + echo total: 0.10999999940395355 [Pipeline] stash 22:52:34 Warning: overwriting stash ‘stack-cost’ 22:52:34 Stashed 1 file(s) [Pipeline] } 22:52:34 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-60-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:52:34 $ docker stop --time=1 fc5377448530ecc2f694cd9addbd4a8d60705d65ee5ceebdd8b134690b98914d 22:52:36 $ docker rm -f --volumes fc5377448530ecc2f694cd9addbd4a8d60705d65ee5ceebdd8b134690b98914d [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 22:52:36 provisioning config files... 22:52:36 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-60 #2 22:52:36 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-60@tmp/config8208340932325199731tmp [Pipeline] { [Pipeline] sh 22:52:36 + set +x 22:52:36 + curl -s https://codecov.io/bash 22:52:36 + bash -s -- 22:52:36 22:52:36 _____ _ 22:52:36 / ____| | | 22:52:36 | | ___ __| | ___ ___ _____ __ 22:52:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:52:36 | |___| (_) | (_| | __/ (_| (_) \ V / 22:52:36 \_____\___/ \__,_|\___|\___\___/ \_/ 22:52:36 Bash-1.0.6 22:52:36 22:52:36 22:52:36 ==> git version 2.25.1 found 22:52:36 ==> 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 22:52:36 Release-Date: 2020-01-08 22:52:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:52:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:52:36 ==> Jenkins CI detected. 22:52:36 current dir:  /w/workspace/xfoundry_app-record-replay_PR-60 22:52:36 project root: . 22:52:36 --> token set from env 22:52:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:52:36 ==> Running gcov in . (disable via -X gcov) 22:52:36 ==> Python coveragepy not found 22:52:36 ==> Searching for coverage reports in: 22:52:36 + . 22:52:36 -> Found 1 reports 22:52:36 ==> Detecting git/mercurial file structure 22:52:37 ==> Reading reports 22:52:37 + ./coverage.out bytes=16515 22:52:37 ==> Appending adjustments 22:52:37 https://docs.codecov.io/docs/fixing-reports 22:52:37 + Found adjustments 22:52:37 ==> Gzipping contents 22:52:37 4.0K /tmp/codecov.JgOjML.gz 22:52:37 ==> Uploading reports 22:52:37 url: https://codecov.io 22:52:37 query: branch=PR-60&commit=c416c546d3b0b10276a714cbc89b43aa4208b74f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-60%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=60&job=&cmd_args= 22:52:37 -> Pinging Codecov 22:52:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-60&commit=c416c546d3b0b10276a714cbc89b43aa4208b74f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-60%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=60&job=&cmd_args= 22:52:37 Invalid request parameters 22:52:37 400 [Pipeline] } 22:52:37 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 22:52:37 + [ -d /w/workspace/xfoundry_app-record-replay_PR-60/archives ] 22:52:37 + ls -al /w/workspace/xfoundry_app-record-replay_PR-60/archives 22:52:37 total 16 22:52:37 drwxr-xr-x 3 root root 4096 Aug 16 22:42 . 22:52:37 drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 22:42 .. 22:52:37 drwxr-xr-x 2 root root 4096 Aug 16 22:42 cost 22:52:37 -rw-r--r-- 1 root root 88 Aug 16 22:42 cost.csv 22:52:37 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-60/archives 22:52:37 + ls -al /w/workspace/xfoundry_app-record-replay_PR-60/archives 22:52:37 total 16 22:52:37 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 22:42 . 22:52:37 drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 22:42 .. 22:52:37 drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 22:42 cost 22:52:37 -rw-r--r-- 1 jenkins jenkins 88 Aug 16 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:52:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:52:38 ---> package-listing.sh 22:52:38 ++ facter osfamily 22:52:38 ++ tr '[:upper:]' '[:lower:]' 22:52:39 + OS_FAMILY=debian 22:52:39 + workspace=/w/workspace/xfoundry_app-record-replay_PR-60 22:52:39 + START_PACKAGES=/tmp/packages_start.txt 22:52:39 + END_PACKAGES=/tmp/packages_end.txt 22:52:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:52:39 + PACKAGES=/tmp/packages_start.txt 22:52:39 + '[' /w/workspace/xfoundry_app-record-replay_PR-60 ']' 22:52:39 + PACKAGES=/tmp/packages_end.txt 22:52:39 + case "${OS_FAMILY}" in 22:52:39 + dpkg -l 22:52:39 + grep '^ii' 22:52:39 + '[' -f /tmp/packages_start.txt ']' 22:52:39 + '[' -f /tmp/packages_end.txt ']' 22:52:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:52:39 + '[' /w/workspace/xfoundry_app-record-replay_PR-60 ']' 22:52:39 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-60/archives/ 22:52:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-60/archives/ [Pipeline] echo 22:52:39 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-60/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:52:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:52:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:40 prd-ubuntu20.04-docker-8c-8g-3864 does not seem to be running inside a container 22:52:40 $ 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-60/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-60 -v /w/workspace/xfoundry_app-record-replay_PR-60:/w/workspace/xfoundry_app-record-replay_PR-60:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-60@tmp:/w/workspace/xfoundry_app-record-replay_PR-60@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:52:40 $ docker top d31af011d3db65107b98f0a6143fd5f17e0b44e3610bfdc93894864edd0a6afb -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:40 + touch /tmp/pre-build-complete [Pipeline] sh 22:52:40 + mkdir -p /var/log/sysstat [Pipeline] sh 22:52:41 + ls /var/log/sa-host 22:52:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:52:41 provisioning config files... 22:52:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-60@tmp/config9980230019402628454tmp [Pipeline] { [Pipeline] echo 22:52:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:52:41 ---> create-netrc.sh [Pipeline] } 22:52:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:52:41 ---> python-tools-install.sh [Pipeline] echo 22:52:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:52:42 ---> sudo-logs.sh 22:52:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:52:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:52:42 ---> job-cost.sh 22:52:42 lf-activate-venv: SKIPPING 22:52:42 DEBUG: total: 0.2199999988079071 22:52:42 INFO: Retrieving Stack Cost... 22:52:42 INFO: Retrieving Pricing Info for: v3-standard-8 22:52:43 INFO: Archiving Costs [Pipeline] echo 22:52:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:52:43 ---> logs-deploy.sh 22:52:43 lf-activate-venv: SKIPPING 22:52:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-60/2 22:52:43 INFO: archiving workspace using pattern(s): 22:52:44 Archives upload complete. 22:52:44 INFO: archiving logs to Nexus