Pull request #53 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 44f36e89d16890d30a2acae136078633b9ce5fcd+1c067dd5da8bdafc1761443221fe5ec601182dbe (bc67753fbc4d5c038f9915ce66cd1ca3318e38d7) 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-ssh2054357390560946025.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13863239377797590546.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-53/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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12844652977274399063.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh6374526027150431020.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-53/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-53/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9621418301464663610.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-2762’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2764 in /w/workspace/xfoundry_app-record-replay_PR-53 [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-53 # 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 > 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/53/head:refs/remotes/origin/PR-53 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1c067dd5da8bdafc1761443221fe5ec601182dbe into PR head commit 44f36e89d16890d30a2acae136078633b9ce5fcd Merge succeeded, producing 44f36e89d16890d30a2acae136078633b9ce5fcd Checking out Revision 44f36e89d16890d30a2acae136078633b9ce5fcd (PR-53) > git config core.sparsecheckout # timeout=10 > git checkout -f 44f36e89d16890d30a2acae136078633b9ce5fcd # 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 1c067dd5da8bdafc1761443221fe5ec601182dbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44f36e89d16890d30a2acae136078633b9ce5fcd # timeout=10 Commit message: "feat: Add configurable MaxReplayDelay" First time build. Skipping changelog. > git rev-list --no-walk e0e5ec3138303b4f882356ba8f4c51c700f26bbc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:52:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:52:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:52:19 ========================================================= 18:52:19 EdgeX Global Pipelines Version Info 18:52:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:52:19 ------------------- 18:52:19 stable info: 18:52:19 ------------------- 18:52:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:52:19 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:52:19 Message: update stable to v1.0.250 18:52:20 ------------------- 18:52:20 experimental info: 18:52:20 ------------------- 18:52:20 Commited By: **** collab-it+edgex@linuxfoundation.org 18:52:20 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:52:20 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:52:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:52:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:52:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:52:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-53 [Pipeline] echo 18:52:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-53 [Pipeline] echo 18:52:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-53 [Pipeline] echo 18:52:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44f36e89d16890d30a2acae136078633b9ce5fcd [Pipeline] echo 18:52:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44f36e8 [Pipeline] echo 18:52:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:21 provisioning config files... 18:52:21 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-53@tmp/config5632773217437145058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:21 ---> docker-login.sh 18:52:21 nexus3.edgexfoundry.org:10001 18:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:21 Configure a credential helper to remove this warning. See 18:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:21 18:52:21 Login Succeeded 18:52:21 nexus3.edgexfoundry.org:10002 18:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:21 Configure a credential helper to remove this warning. See 18:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:21 18:52:21 Login Succeeded 18:52:21 nexus3.edgexfoundry.org:10003 18:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:21 Configure a credential helper to remove this warning. See 18:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:21 18:52:21 Login Succeeded 18:52:21 nexus3.edgexfoundry.org:10004 18:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:21 Configure a credential helper to remove this warning. See 18:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:21 18:52:21 Login Succeeded 18:52:21 docker.io 18:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:22 Configure a credential helper to remove this warning. See 18:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:22 18:52:22 Login Succeeded 18:52:22 ---> docker-login.sh ends [Pipeline] } 18:52:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:52:22 + git rev-list -1 --merges 44f36e89d16890d30a2acae136078633b9ce5fcd~1..44f36e89d16890d30a2acae136078633b9ce5fcd [Pipeline] echo 18:52:22 -----------> git rev-list -1 --merges 44f36e89d16890d30a2acae136078633b9ce5fcd~1..44f36e89d16890d30a2acae136078633b9ce5fcd 44f36e89d16890d30a2acae136078633b9ce5fcd [false] [Pipeline] sh 18:52:23 + git log --format=format:%s -1 44f36e89d16890d30a2acae136078633b9ce5fcd [Pipeline] echo 18:52:23 ========================================================= 18:52:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:52:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:23 + git log --format=format:%s -1 44f36e89d16890d30a2acae136078633b9ce5fcd [Pipeline] echo 18:52:23 [semverPrep] GIT_COMMIT: 44f36e89d16890d30a2acae136078633b9ce5fcd, Commit Message: feat: Add configurable MaxReplayDelay [Pipeline] echo 18:52:23 [semverPrep] This is not a build commit. [Pipeline] sh 18:52:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:52:23 + grep -v github /etc/ssh/ssh_known_hosts 18:52:23 + [ -e /tmp/ssh_known_hosts ] 18:52:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:52:23 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:52:23 sudo tee -a /etc/ssh/ssh_known_hosts 18:52:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:24 18:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:24 0.1.4: Pulling from edgex-devops/py-git-semver 18:52:24 b85a868b505f: Pulling fs layer 18:52:24 e2be974225ed: Pulling fs layer 18:52:24 339a4e72a1f5: Pulling fs layer 18:52:24 988bab9f4d93: Pulling fs layer 18:52:24 1469e6f7b9e6: Pulling fs layer 18:52:24 eaf3925da568: Pulling fs layer 18:52:24 bab4dde63d76: Pulling fs layer 18:52:24 bde34c3a00c8: Pulling fs layer 18:52:24 b352a97aabf1: Pulling fs layer 18:52:24 4872d77fe225: Pulling fs layer 18:52:24 5851b861e8e6: Pulling fs layer 18:52:24 bde34c3a00c8: Waiting 18:52:24 b352a97aabf1: Waiting 18:52:24 4872d77fe225: Waiting 18:52:24 5851b861e8e6: Waiting 18:52:24 988bab9f4d93: Waiting 18:52:24 1469e6f7b9e6: Waiting 18:52:24 eaf3925da568: Waiting 18:52:24 bab4dde63d76: Waiting 18:52:24 e2be974225ed: Verifying Checksum 18:52:24 e2be974225ed: Download complete 18:52:24 988bab9f4d93: Verifying Checksum 18:52:24 988bab9f4d93: Download complete 18:52:24 1469e6f7b9e6: Verifying Checksum 18:52:24 1469e6f7b9e6: Download complete 18:52:24 eaf3925da568: Verifying Checksum 18:52:24 eaf3925da568: Download complete 18:52:24 339a4e72a1f5: Verifying Checksum 18:52:24 339a4e72a1f5: Download complete 18:52:24 bde34c3a00c8: Download complete 18:52:24 b352a97aabf1: Download complete 18:52:24 4872d77fe225: Verifying Checksum 18:52:24 4872d77fe225: Download complete 18:52:24 5851b861e8e6: Verifying Checksum 18:52:24 5851b861e8e6: Download complete 18:52:24 b85a868b505f: Verifying Checksum 18:52:24 b85a868b505f: Download complete 18:52:25 bab4dde63d76: Verifying Checksum 18:52:25 bab4dde63d76: Download complete 18:52:26 b85a868b505f: Pull complete 18:52:26 e2be974225ed: Pull complete 18:52:26 339a4e72a1f5: Pull complete 18:52:26 988bab9f4d93: Pull complete 18:52:27 1469e6f7b9e6: Pull complete 18:52:27 eaf3925da568: Pull complete 18:52:29 bab4dde63d76: Pull complete 18:52:29 bde34c3a00c8: Pull complete 18:52:29 b352a97aabf1: Pull complete 18:52:29 4872d77fe225: Pull complete 18:52:29 5851b861e8e6: Pull complete 18:52:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:52:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:52:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:29 prd-ubuntu20.04-docker-8c-8g-2764 does not seem to be running inside a container 18:52:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-53 -v /w/workspace/xfoundry_app-record-replay_PR-53:/w/workspace/xfoundry_app-record-replay_PR-53:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-53@tmp:/w/workspace/xfoundry_app-record-replay_PR-53@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 18:52:33 $ docker top 4e8f09dbf3a3e97dbab2d0c10e21c202664428ceec0577a2259a74ce2b33b64e -eo pid,comm 18:52:33 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). 18:52:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:52:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:33 [ssh-agent] Looking for ssh-agent implementation... 18:52:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:33 $ docker exec 4e8f09dbf3a3e97dbab2d0c10e21c202664428ceec0577a2259a74ce2b33b64e ssh-agent 18:52:33 SSH_AUTH_SOCK=/tmp/ssh-0t0kBlVI0zEF/agent.33 18:52:33 SSH_AGENT_PID=39 18:52:33 Running ssh-add (command line suppressed) 18:52:34 Identity added: /w/workspace/xfoundry_app-record-replay_PR-53@tmp/private_key_8114117465532821693.key (/w/workspace/xfoundry_app-record-replay_PR-53@tmp/private_key_8114117465532821693.key) 18:52:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:34 + git tag --points-at HEAD [Pipeline] } 18:52:34 $ docker exec --env ******** --env ******** 4e8f09dbf3a3e97dbab2d0c10e21c202664428ceec0577a2259a74ce2b33b64e ssh-agent -k 18:52:34 unset SSH_AUTH_SOCK; 18:52:34 unset SSH_AGENT_PID; 18:52:34 echo Agent pid 39 killed; 18:52:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:52:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:52:34 [ssh-agent] Looking for ssh-agent implementation... 18:52:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:52:34 $ docker exec 4e8f09dbf3a3e97dbab2d0c10e21c202664428ceec0577a2259a74ce2b33b64e ssh-agent 18:52:34 SSH_AUTH_SOCK=/tmp/ssh-ETrv01a39pNl/agent.71 18:52:34 SSH_AGENT_PID=77 18:52:34 Running ssh-add (command line suppressed) 18:52:34 Identity added: /w/workspace/xfoundry_app-record-replay_PR-53@tmp/private_key_17891213299549534775.key (/w/workspace/xfoundry_app-record-replay_PR-53@tmp/private_key_17891213299549534775.key) 18:52:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:52:35 + git semver init 18:52:35 2023-08-02 18:52:35,311 [run_init] DEBUG init version:0.0.0 force:False 18:52:35 2023-08-02 18:52:35,311 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-53/.semver 18:52:35 2023-08-02 18:52:35,312 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-53/.semver 18:52:35 2023-08-02 18:52:35,312 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-53/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-53, universal_newlines=False, shell=None, istream=None) 18:52:35 2023-08-02 18:52:35,965 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-53/.git/info/exclude 18:52:35 2023-08-02 18:52:35,965 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-53/.semver/PR-53 with force:False 18:52:35 2023-08-02 18:52:35,966 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-53/.semver/PR-53 18:52:35 2023-08-02 18:52:35,969 [execute] INFO git cat-file --batch-check 18:52:35 2023-08-02 18:52:35,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-53/.semver, universal_newlines=False, shell=None, istream=) 18:52:35 2023-08-02 18:52:35,976 [execute] INFO git cat-file --batch 18:52:35 2023-08-02 18:52:35,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-53/.semver, universal_newlines=False, shell=None, istream=) 18:52:36 2023-08-02 18:52:35,983 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-53/.semver/PR-53 18:52:36 0.0.0 [Pipeline] } 18:52:36 $ docker exec --env ******** --env ******** 4e8f09dbf3a3e97dbab2d0c10e21c202664428ceec0577a2259a74ce2b33b64e ssh-agent -k 18:52:36 unset SSH_AUTH_SOCK; 18:52:36 unset SSH_AGENT_PID; 18:52:36 echo Agent pid 77 killed; 18:52:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:52:36 + git semver [Pipeline] } 18:52:36 $ docker stop --time=1 4e8f09dbf3a3e97dbab2d0c10e21c202664428ceec0577a2259a74ce2b33b64e 18:52:38 $ docker rm -f --volumes 4e8f09dbf3a3e97dbab2d0c10e21c202664428ceec0577a2259a74ce2b33b64e [Pipeline] // withDockerContainer [Pipeline] sh 18:52:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:52:38 Stashed 1 file(s) [Pipeline] echo 18:52:38 [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 18:52:38 provisioning config files... 18:52:38 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-53@tmp/config12195820612102541723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:39 ---> docker-login.sh 18:52:39 nexus3.edgexfoundry.org:10001 18:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:39 Configure a credential helper to remove this warning. See 18:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:39 18:52:39 Login Succeeded 18:52:39 nexus3.edgexfoundry.org:10002 18:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:39 Configure a credential helper to remove this warning. See 18:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:39 18:52:39 Login Succeeded 18:52:39 nexus3.edgexfoundry.org:10003 18:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:39 Configure a credential helper to remove this warning. See 18:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:39 18:52:39 Login Succeeded 18:52:39 nexus3.edgexfoundry.org:10004 18:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:39 Configure a credential helper to remove this warning. See 18:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:39 18:52:39 Login Succeeded 18:52:39 docker.io 18:52:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:52:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:52:39 Configure a credential helper to remove this warning. See 18:52:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:52:39 18:52:39 Login Succeeded 18:52:39 ---> docker-login.sh ends [Pipeline] } 18:52:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:52:39 ========================================================= 18:52:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:52:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:40 + 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 . 18:52:40 Sending build context to Docker daemon 430.1kB 18:52:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:52:40 Step 2/12 : FROM ${BASE} AS builder 18:52:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:52:40 4db1b89c0bd1: Pulling fs layer 18:52:40 6911f1a30b25: Pulling fs layer 18:52:40 e194b8c5c2a9: Pulling fs layer 18:52:40 6863d3e3a2b1: Pulling fs layer 18:52:40 ec0bb842ea78: Pulling fs layer 18:52:40 40a00589a448: Pulling fs layer 18:52:40 6c08303d61cc: Pulling fs layer 18:52:40 798269fcf238: Pulling fs layer 18:52:40 ec0bb842ea78: Waiting 18:52:40 40a00589a448: Waiting 18:52:40 6c08303d61cc: Waiting 18:52:40 798269fcf238: Waiting 18:52:40 6863d3e3a2b1: Waiting 18:52:40 6911f1a30b25: Download complete 18:52:40 6863d3e3a2b1: Download complete 18:52:40 ec0bb842ea78: Download complete 18:52:40 4db1b89c0bd1: Verifying Checksum 18:52:40 4db1b89c0bd1: Download complete 18:52:40 40a00589a448: Verifying Checksum 18:52:40 40a00589a448: Download complete 18:52:40 4db1b89c0bd1: Pull complete 18:52:40 6911f1a30b25: Pull complete 18:52:40 798269fcf238: Verifying Checksum 18:52:40 798269fcf238: Download complete 18:52:41 e194b8c5c2a9: Verifying Checksum 18:52:41 e194b8c5c2a9: Download complete 18:52:41 6c08303d61cc: Download complete 18:52:44 e194b8c5c2a9: Pull complete 18:52:44 6863d3e3a2b1: Pull complete 18:52:44 ec0bb842ea78: Pull complete 18:52:44 40a00589a448: Pull complete 18:52:46 6c08303d61cc: Pull complete 18:52:47 798269fcf238: Pull complete 18:52:47 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 18:52:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:52:48 ---> ec979cd7f677 18:52:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:52:53 Still waiting to schedule task 18:52:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2763’ is offline 18:52:58 ---> Running in 5ab2fe53056c 18:52:58 Removing intermediate container 5ab2fe53056c 18:52:58 ---> 74269b148e09 18:52:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:52:58 ---> Running in 06c0328cb486 18:52:59 Removing intermediate container 06c0328cb486 18:52:59 ---> 296e8c1da213 18:52:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:52:59 ---> Running in bc4d36a60bf5 18:52:59 Removing intermediate container bc4d36a60bf5 18:52:59 ---> ef331092bb07 18:52:59 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:00 ---> Running in 64fad05a0806 18:53:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:53:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:53:01 OK: 265 MiB in 53 packages 18:53:02 Removing intermediate container 64fad05a0806 18:53:02 ---> 2278d0412725 18:53:02 Step 7/12 : WORKDIR /app 18:53:02 ---> Running in 6cd2c77e9ee6 18:53:03 Removing intermediate container 6cd2c77e9ee6 18:53:03 ---> d037820f1504 18:53:03 Step 8/12 : COPY go.mod vendor* ./ 18:53:03 ---> 6313b4d7781c 18:53:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:03 ---> Running in 68f738c3fc3b 18:53:41 Removing intermediate container 68f738c3fc3b 18:53:41 ---> 2127c1595e7a 18:53:41 Step 10/12 : COPY . . 18:53:41 ---> 6dd382a1eb73 18:53:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:41 ---> Running in 64d5cbaa8599 18:53:41 Removing intermediate container 64d5cbaa8599 18:53:41 ---> 110ec4ba42ac 18:53:41 Step 12/12 : RUN $MAKE 18:53:41 ---> Running in f065b00aa39a 18:53:41 noop 18:53:41 Removing intermediate container f065b00aa39a 18:53:41 ---> b498189ab0c3 18:53:41 Successfully built b498189ab0c3 18:53:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:42 + docker inspect -f . ci-base-image-x86_64 18:53:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:42 prd-ubuntu20.04-docker-8c-8g-2764 does not seem to be running inside a container 18:53:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-53 -v /w/workspace/xfoundry_app-record-replay_PR-53:/w/workspace/xfoundry_app-record-replay_PR-53:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-53@tmp:/w/workspace/xfoundry_app-record-replay_PR-53@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 18:53:42 $ docker top 0a8a66698409d854f0a835b59848ab932ba11a187990863a19da16d59f0f9575 -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:43 + go version 18:53:43 go version go1.20.6 linux/amd64 [Pipeline] } 18:53:43 $ docker stop --time=1 0a8a66698409d854f0a835b59848ab932ba11a187990863a19da16d59f0f9575 18:53:44 $ docker rm -f --volumes 0a8a66698409d854f0a835b59848ab932ba11a187990863a19da16d59f0f9575 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:44 + docker inspect -f . ci-base-image-x86_64 18:53:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:44 prd-ubuntu20.04-docker-8c-8g-2764 does not seem to be running inside a container 18:53:44 $ 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-53 -v /w/workspace/xfoundry_app-record-replay_PR-53:/w/workspace/xfoundry_app-record-replay_PR-53:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-53@tmp:/w/workspace/xfoundry_app-record-replay_PR-53@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 18:53:45 $ docker top 598548e20ea12cf39708177cdfe474f2bb2fb390ca9e8d43f47f86d670151fca -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:45 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-53 [Pipeline] fileExists [Pipeline] sh 18:53:45 + make test 18:53:45 go test -race -coverprofile=coverage.out ./... 18:54:03 ? github.com/edgexfoundry/app-record-replay [no test files] 18:54:04 ok github.com/edgexfoundry/app-record-replay/internal/app 0.065s coverage: 88.0% of statements 18:54:04 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 18:54:04 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 18:54:04 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 18:54:11 ok github.com/edgexfoundry/app-record-replay/internal/application 6.580s coverage: 96.8% of statements 18:54:11 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.085s coverage: 85.6% of statements 18:54:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2765 in /w/workspace/xfoundry_app-record-replay_PR-53 [Pipeline] { [Pipeline] ws 18:54:32 Running in /w/workspace/app-record-replay/4 [Pipeline] { [Pipeline] checkout 18:54:32 Selected Git installation does not exist. Using Default 18:54:32 The recommended git tool is: NONE 18:54:33 go vet ./... 18:54:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:54:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:54:36 ./bin/test-attribution-txt.sh [Pipeline] echo 18:54:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:54:36 $ docker stop --time=1 598548e20ea12cf39708177cdfe474f2bb2fb390ca9e8d43f47f86d670151fca 18:54:36 using credential edgex-jenkins-ssh 18:54:36 Cloning the remote Git repository 18:54:36 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 18:54:37 > git init /w/workspace/app-record-replay/4 # timeout=10 18:54:37 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 18:54:37 > git --version # timeout=10 18:54:37 > git --version # 'git version 2.25.1' 18:54:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:54:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:54:38 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 18:54:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:54:39 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 18:54:39 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 18:54:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:54:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/53/head:refs/remotes/origin/PR-53 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:54:39 Merging remotes/origin/main commit 1c067dd5da8bdafc1761443221fe5ec601182dbe into PR head commit 44f36e89d16890d30a2acae136078633b9ce5fcd 18:54:39 $ docker rm -f --volumes 598548e20ea12cf39708177cdfe474f2bb2fb390ca9e8d43f47f86d670151fca 18:54:39 Merge succeeded, producing 44f36e89d16890d30a2acae136078633b9ce5fcd 18:54:39 Checking out Revision 44f36e89d16890d30a2acae136078633b9ce5fcd (PR-53) [Pipeline] // withDockerContainer [Pipeline] sh 18:54:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:54:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:54:39 > git config core.sparsecheckout # timeout=10 18:54:39 > git checkout -f 44f36e89d16890d30a2acae136078633b9ce5fcd # timeout=10 18:54:39 > git remote # timeout=10 18:54:39 > git config --get remote.origin.url # timeout=10 18:54:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:54:39 > git merge 1c067dd5da8bdafc1761443221fe5ec601182dbe # timeout=10 18:54:39 > git rev-parse HEAD^{commit} # timeout=10 18:54:39 > git config core.sparsecheckout # timeout=10 18:54:39 > git checkout -f 44f36e89d16890d30a2acae136078633b9ce5fcd # timeout=10 18:54:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:54:41 + ls -al . 18:54:41 total 172 18:54:41 drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 18:53 . 18:54:41 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 18:52 .. 18:54:41 -rw-rw-r-- 1 jenkins jenkins 119 Aug 2 18:52 .dockerignore 18:54:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 18:52 .git 18:54:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 18:52 .github 18:54:41 -rw-rw-r-- 1 jenkins jenkins 164 Aug 2 18:52 .gitignore 18:54:41 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 18:52 .golangci.yml 18:54:41 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 18:52 .semver 18:54:41 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 2 18:52 Attribution.txt 18:54:41 -rw-rw-r-- 1 jenkins jenkins 258 Aug 2 18:52 CHANGELOG.md 18:54:41 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 2 18:52 Dockerfile 18:54:41 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 18:52 GOVERNANCE.md 18:54:41 -rw-rw-r-- 1 jenkins jenkins 681 Aug 2 18:52 Jenkinsfile 18:54:41 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 2 18:52 LICENSE 18:54:41 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 2 18:52 Makefile 18:54:41 -rw-rw-r-- 1 jenkins jenkins 611 Aug 2 18:52 OWNERS.md 18:54:41 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 2 18:52 README.md 18:54:41 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 2 18:52 Record and Reply.postman_collection.json 18:54:41 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 18:52 VERSION 18:54:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 18:52 bin 18:54:41 -rw-r--r-- 1 jenkins jenkins 15688 Aug 2 18:54 coverage.out 18:54:41 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 2 18:52 go.mod 18:54:41 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 2 18:52 go.sum 18:54:41 drwxrwxr-x 6 jenkins jenkins 4096 Aug 2 18:52 internal 18:54:41 -rw-rw-r-- 1 jenkins jenkins 913 Aug 2 18:52 main.go 18:54:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 18:52 pkg 18:54:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 18:52 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:41 + 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=44f36e89d16890d30a2acae136078633b9ce5fcd --label arch=amd64 --label version=0.0.0 . 18:54:41 Sending build context to Docker daemon 446.5kB 18:54:41 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 18:54:41 Step 2/26 : FROM ${BASE} AS builder 18:54:41 ---> b498189ab0c3 18:54:41 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:54:41 ---> Running in 776265356d7b 18:54:41 Removing intermediate container 776265356d7b 18:54:41 ---> f274974e1c70 18:54:41 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:54:41 ---> Running in b9c902e20568 18:54:41 Removing intermediate container b9c902e20568 18:54:41 ---> f56facd6b953 18:54:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:54:41 ---> Running in b401c8cc2a11 18:54:41 Removing intermediate container b401c8cc2a11 18:54:41 ---> 7ce5788d45e5 18:54:41 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:54:41 ---> Running in 57cb16db2a51 18:54:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:54:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:54:42 OK: 265 MiB in 53 packages 18:54:43 Removing intermediate container 57cb16db2a51 18:54:43 ---> 941120187c31 18:54:43 Step 7/26 : WORKDIR /app 18:54:43 ---> Running in 895b0ffb4861 18:54:43 Removing intermediate container 895b0ffb4861 18:54:43 ---> 6970baf70185 18:54:43 Step 8/26 : COPY go.mod vendor* ./ 18:54:43 ---> 2bf59f3c09cb 18:54:43 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:54:43 ---> Running in adb499478f10 18:54:43 Commit message: "feat: Add configurable MaxReplayDelay" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:54:44 Removing intermediate container adb499478f10 18:54:44 ---> 7fa5821175ef 18:54:44 Step 10/26 : COPY . . 18:54:44 ---> 9e57ce597359 18:54:44 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:54:44 ---> Running in 960968c201f2 18:54:44 Removing intermediate container 960968c201f2 18:54:44 ---> bc61cb99d7e0 18:54:44 Step 12/26 : RUN $MAKE 18:54:44 ---> Running in e69457913c94 18:54:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:54:44 % Total % Received % Xferd Average Speed Time Time Time Current 18:54:44 Dload Upload Total Spent Left Speed 18:54:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 18:54:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [Pipeline] sh 18:54:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:54:45 + sudo tee /etc/docker/daemon.new 18:54:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:54:45 { 18:54:45 "registry-mirrors": [ 18:54:45 "https://nexus3.edgexfoundry.org:10001" 18:54:45 ], 18:54:45 "bip": "10.250.0.254/24", 18:54:45 "hosts": [ 18:54:45 "tcp://0.0.0.0:5555", 18:54:45 "unix:///var/run/docker.sock" 18:54:45 ], 18:54:45 "mtu": 1458, 18:54:45 "selinux-enabled": true, 18:54:45 "seccomp-profile": "/etc/docker/seccomp.json" 18:54:45 } [Pipeline] sh 18:54:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:54:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:04 provisioning config files... 18:55:04 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/4@tmp/config14291490174901267527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:04 ---> docker-login.sh 18:55:04 nexus3.edgexfoundry.org:10001 18:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:05 Configure a credential helper to remove this warning. See 18:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:05 18:55:05 Login Succeeded 18:55:05 nexus3.edgexfoundry.org:10002 18:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:05 Configure a credential helper to remove this warning. See 18:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:05 18:55:05 Login Succeeded 18:55:05 nexus3.edgexfoundry.org:10003 18:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:06 Configure a credential helper to remove this warning. See 18:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:06 18:55:06 Login Succeeded 18:55:06 nexus3.edgexfoundry.org:10004 18:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:06 Configure a credential helper to remove this warning. See 18:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:06 18:55:06 Login Succeeded 18:55:06 docker.io 18:55:06 Removing intermediate container e69457913c94 18:55:06 ---> a8a5e1b55670 18:55:06 Step 13/26 : FROM alpine:3.17 18:55:06 3.17: Pulling from library/alpine 18:55:06 4db1b89c0bd1: Already exists 18:55:06 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 18:55:06 Status: Downloaded newer image for alpine:3.17 18:55:06 ---> 1f73a9d63274 18:55:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:55:06 ---> Running in ee76ca576eaa 18:55:06 Removing intermediate container ee76ca576eaa 18:55:06 ---> aea9a800f444 18:55:06 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 18:55:06 ---> Running in f1a3436978e9 18:55:06 Removing intermediate container f1a3436978e9 18:55:06 ---> 5807d984dc3d 18:55:06 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:55:06 ---> Running in f2c001cd69a0 18:55:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:55:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:55:06 (1/2) Installing ca-certificates (20230506-r0) 18:55:06 (2/2) Installing dumb-init (1.2.5-r2) 18:55:06 Executing busybox-1.35.0-r29.trigger 18:55:06 Executing ca-certificates-20230506-r0.trigger 18:55:06 OK: 8 MiB in 17 packages 18:55:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:06 Removing intermediate container f2c001cd69a0 18:55:06 ---> f7fbf3643881 18:55:06 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:55:06 ---> 5ba0a66b9897 18:55:06 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:55:07 ---> 9c966912d6b0 18:55:07 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:55:07 ---> f1df3be77009 18:55:07 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 18:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:07 Configure a credential helper to remove this warning. See 18:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:07 18:55:07 Login Succeeded 18:55:07 ---> docker-login.sh ends [Pipeline] } 18:55:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:55:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:55:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:55:07 ========================================================= 18:55:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:55:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:07 + 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 . 18:55:07 Sending build context to Docker daemon 194kB 18:55:08 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:55:08 Step 2/12 : FROM ${BASE} AS builder 18:55:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:55:08 edb6bdbacee9: Pulling fs layer 18:55:08 5f9638ab2659: Pulling fs layer 18:55:08 8d51d6327a98: Pulling fs layer 18:55:08 8b374f2dd631: Pulling fs layer 18:55:08 ec14aa9079de: Pulling fs layer 18:55:08 2f466654f4bb: Pulling fs layer 18:55:08 554e91adad29: Pulling fs layer 18:55:08 ec14aa9079de: Waiting 18:55:08 2f466654f4bb: Waiting 18:55:08 554e91adad29: Waiting 18:55:08 8b374f2dd631: Waiting 18:55:08 5f9638ab2659: Verifying Checksum 18:55:08 5f9638ab2659: Download complete 18:55:08 8b374f2dd631: Verifying Checksum 18:55:08 8b374f2dd631: Download complete 18:55:08 ec14aa9079de: Verifying Checksum 18:55:08 ec14aa9079de: Download complete 18:55:08 edb6bdbacee9: Verifying Checksum 18:55:08 edb6bdbacee9: Download complete 18:55:08 ---> 806baaeae9fb 18:55:08 Step 21/26 : EXPOSE 59712 18:55:08 ---> Running in 62df43dd8329 18:55:08 Removing intermediate container 62df43dd8329 18:55:08 ---> 3b3f60c0bf92 18:55:08 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 18:55:08 ---> Running in 0c04fc2ca1df 18:55:08 Removing intermediate container 0c04fc2ca1df 18:55:08 ---> 0e2f17c25452 18:55:08 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:55:08 ---> Running in f30c31ccec6f 18:55:08 Removing intermediate container f30c31ccec6f 18:55:08 ---> c33e7e2f1cdc 18:55:08 Step 24/26 : LABEL arch=amd64 18:55:08 ---> Running in 252ba3662712 18:55:08 Removing intermediate container 252ba3662712 18:55:08 ---> 1146f9c711f6 18:55:08 Step 25/26 : LABEL git_sha=44f36e89d16890d30a2acae136078633b9ce5fcd 18:55:08 ---> Running in 8c1834b401a1 18:55:08 Removing intermediate container 8c1834b401a1 18:55:08 ---> 034716bfb499 18:55:08 Step 26/26 : LABEL version=0.0.0 18:55:08 ---> Running in 854bdbeff9f2 18:55:08 Removing intermediate container 854bdbeff9f2 18:55:08 ---> e9fc054ba5de 18:55:08 [Warning] One or more build-args [ARCH] were not consumed 18:55:08 Successfully built e9fc054ba5de 18:55:08 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 18:55:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:09 18:55:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:09 edb6bdbacee9: Pull complete 18:55:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:09 latest: Pulling from edgex-lftools-log-publisher 18:55:09 5eb5b503b376: Pulling fs layer 18:55:09 5c69ac0246d0: Pulling fs layer 18:55:09 ec43610c2a17: Pulling fs layer 18:55:09 3a2ae6a8a46f: Pulling fs layer 18:55:09 33b1e0a273af: Pulling fs layer 18:55:09 5d3b04190fa2: Pulling fs layer 18:55:09 2f39f015ded8: Pulling fs layer 18:55:09 5d3b04190fa2: Waiting 18:55:09 3a2ae6a8a46f: Waiting 18:55:09 33b1e0a273af: Waiting 18:55:09 2f39f015ded8: Waiting 18:55:09 5c69ac0246d0: Download complete 18:55:09 3a2ae6a8a46f: Download complete 18:55:09 554e91adad29: Verifying Checksum 18:55:09 554e91adad29: Download complete 18:55:09 33b1e0a273af: Verifying Checksum 18:55:09 33b1e0a273af: Download complete 18:55:09 5d3b04190fa2: Download complete 18:55:09 ec43610c2a17: Verifying Checksum 18:55:09 ec43610c2a17: Download complete 18:55:09 5eb5b503b376: Verifying Checksum 18:55:09 5eb5b503b376: Download complete 18:55:09 5f9638ab2659: Pull complete 18:55:10 2f39f015ded8: Verifying Checksum 18:55:10 2f39f015ded8: Download complete 18:55:10 2f466654f4bb: Verifying Checksum 18:55:10 2f466654f4bb: Download complete 18:55:10 8d51d6327a98: Download complete 18:55:10 5eb5b503b376: Pull complete 18:55:11 5c69ac0246d0: Pull complete 18:55:11 ec43610c2a17: Pull complete 18:55:11 3a2ae6a8a46f: Pull complete 18:55:11 33b1e0a273af: Pull complete 18:55:11 5d3b04190fa2: Pull complete 18:55:15 2f39f015ded8: Pull complete 18:55:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:55:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:55:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:15 prd-ubuntu20.04-docker-8c-8g-2764 does not seem to be running inside a container 18:55:15 $ 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-53 -v /w/workspace/xfoundry_app-record-replay_PR-53:/w/workspace/xfoundry_app-record-replay_PR-53:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-53@tmp:/w/workspace/xfoundry_app-record-replay_PR-53@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 18:55:22 $ docker top 2ac1c6d261c53b213efd1b8ce4980611caaa53ddb544a25f83bc41b5df110020 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:22 ---> job-cost.sh 18:55:22 lf-activate-venv: SKIPPING 18:55:22 INFO: No Stack... 18:55:23 8d51d6327a98: Pull complete 18:55:23 8b374f2dd631: Pull complete 18:55:23 ec14aa9079de: Pull complete 18:55:23 INFO: Retrieving Pricing Info for: v3-standard-8 18:55:23 INFO: Archiving Costs [Pipeline] sh 18:55:23 + cat /w/workspace/xfoundry_app-record-replay_PR-53/archives/cost.csv 18:55:23 + cut -d, -f6 [Pipeline] lock 18:55:23 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-53-4-stack-cost] 18:55:23 Resource [jenkins-edgexfoundry-app-record-replay-PR-53-4-stack-cost] did not exist. Created. 18:55:23 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-53-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:55:24 + echo total: 0.2199999988079071 [Pipeline] stash 18:55:24 Stashed 1 file(s) [Pipeline] } 18:55:24 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-53-4-stack-cost] [Pipeline] // lock [Pipeline] } 18:55:24 $ docker stop --time=1 2ac1c6d261c53b213efd1b8ce4980611caaa53ddb544a25f83bc41b5df110020 18:55:25 $ docker rm -f --volumes 2ac1c6d261c53b213efd1b8ce4980611caaa53ddb544a25f83bc41b5df110020 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:55:29 2f466654f4bb: Pull complete 18:55:31 554e91adad29: Pull complete 18:55:31 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 18:55:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:55:31 ---> 1e15ea492957 18:55:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:55:32 ---> Running in a0aa92da8a42 18:55:32 Removing intermediate container a0aa92da8a42 18:55:32 ---> 504552028694 18:55:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:55:32 ---> Running in 79bbccf48613 18:55:33 Removing intermediate container 79bbccf48613 18:55:33 ---> 9147d52f8f29 18:55:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:55:33 ---> Running in 78999031aa41 18:55:33 Removing intermediate container 78999031aa41 18:55:33 ---> 82d3ea1865f4 18:55:33 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:55:33 ---> Running in f2126bbac828 18:55:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:55:36 OK: 263 MiB in 53 packages 18:55:38 Removing intermediate container f2126bbac828 18:55:38 ---> 86be12b7c65d 18:55:38 Step 7/12 : WORKDIR /app 18:55:38 ---> Running in 71db860d8d83 18:55:38 Removing intermediate container 71db860d8d83 18:55:38 ---> a481d8eaffbe 18:55:38 Step 8/12 : COPY go.mod vendor* ./ 18:55:39 ---> 68959cd53c01 18:55:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:55:39 ---> Running in 41c30c0ed1dd 18:57:01 Removing intermediate container 41c30c0ed1dd 18:57:01 ---> 805c87f5fdb5 18:57:01 Step 10/12 : COPY . . 18:57:01 ---> 556e05aceecc 18:57:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:57:01 ---> Running in e6207f59f851 18:57:01 Removing intermediate container e6207f59f851 18:57:01 ---> 154f7a05381f 18:57:01 Step 12/12 : RUN $MAKE 18:57:01 ---> Running in dac56127b84c 18:57:01 noop 18:57:01 Removing intermediate container dac56127b84c 18:57:01 ---> aac69309f684 18:57:01 Successfully built aac69309f684 18:57:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:01 + docker inspect -f . ci-base-image-arm64 18:57:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:01 prd-ubuntu20.04-docker-arm64-4c-16g-2765 does not seem to be running inside a container 18:57:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@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 18:57:02 $ docker top bdca480cbf6f7cabbed1298625c6dbd207696f1935d8e33349ae995125863d48 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:03 + go version 18:57:03 go version go1.20.6 linux/arm64 [Pipeline] } 18:57:03 $ docker stop --time=1 bdca480cbf6f7cabbed1298625c6dbd207696f1935d8e33349ae995125863d48 18:57:05 $ docker rm -f --volumes bdca480cbf6f7cabbed1298625c6dbd207696f1935d8e33349ae995125863d48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:05 + docker inspect -f . ci-base-image-arm64 18:57:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:05 prd-ubuntu20.04-docker-arm64-4c-16g-2765 does not seem to be running inside a container 18:57:05 $ 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/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@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 18:57:07 $ docker top 49624570c5f102670a9c3182e77fa09823527a93235acc49abe0537cc3c966b6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:07 + git config --global --add safe.directory /w/workspace/app-record-replay/4 [Pipeline] fileExists [Pipeline] sh 18:57:07 + make test 18:57:07 go test -race -coverprofile=coverage.out ./... 18:59:59 ? github.com/edgexfoundry/app-record-replay [no test files] 19:00:06 ok github.com/edgexfoundry/app-record-replay/internal/app 0.303s coverage: 88.0% of statements 19:00:11 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 19:00:11 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 19:00:11 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 19:00:12 ok github.com/edgexfoundry/app-record-replay/internal/application 6.875s coverage: 96.8% of statements 19:00:12 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.413s coverage: 85.6% of statements 19:00:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:00:13 go vet ./... 19:02:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:02:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:02:35 ./bin/test-attribution-txt.sh [Pipeline] echo 19:02:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:02:35 $ docker stop --time=1 49624570c5f102670a9c3182e77fa09823527a93235acc49abe0537cc3c966b6 19:02:37 $ docker rm -f --volumes 49624570c5f102670a9c3182e77fa09823527a93235acc49abe0537cc3c966b6 [Pipeline] // withDockerContainer [Pipeline] sh 19:02:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:02:38 Warning: overwriting stash ‘coverage-report’ 19:02:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:02:40 + ls -al . 19:02:40 total 168 19:02:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 18:57 . 19:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 18:54 .. 19:02:40 -rw-rw-r-- 1 jenkins jenkins 119 Aug 2 18:54 .dockerignore 19:02:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 18:54 .git 19:02:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 18:54 .github 19:02:40 -rw-rw-r-- 1 jenkins jenkins 164 Aug 2 18:54 .gitignore 19:02:40 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 18:54 .golangci.yml 19:02:40 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 2 18:54 Attribution.txt 19:02:40 -rw-rw-r-- 1 jenkins jenkins 258 Aug 2 18:54 CHANGELOG.md 19:02:40 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 2 18:54 Dockerfile 19:02:40 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 18:54 GOVERNANCE.md 19:02:40 -rw-rw-r-- 1 jenkins jenkins 681 Aug 2 18:54 Jenkinsfile 19:02:40 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 2 18:54 LICENSE 19:02:40 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 2 18:54 Makefile 19:02:40 -rw-rw-r-- 1 jenkins jenkins 611 Aug 2 18:54 OWNERS.md 19:02:40 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 2 18:54 README.md 19:02:40 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 2 18:54 Record and Reply.postman_collection.json 19:02:40 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 18:52 VERSION 19:02:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 18:54 bin 19:02:40 -rw-r--r-- 1 jenkins jenkins 15688 Aug 2 19:00 coverage.out 19:02:40 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 2 18:54 go.mod 19:02:40 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 2 18:54 go.sum 19:02:40 drwxrwxr-x 6 jenkins jenkins 4096 Aug 2 18:54 internal 19:02:40 -rw-rw-r-- 1 jenkins jenkins 913 Aug 2 18:54 main.go 19:02:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 18:54 pkg 19:02:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 18:54 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02: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=44f36e89d16890d30a2acae136078633b9ce5fcd --label arch=arm64 --label version=0.0.0 . 19:02:40 Sending build context to Docker daemon 210.4kB 19:02:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:02:40 Step 2/26 : FROM ${BASE} AS builder 19:02:40 ---> aac69309f684 19:02:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 19:02:40 ---> Running in 91ef508d1948 19:02:41 Removing intermediate container 91ef508d1948 19:02:41 ---> 052b1daa5ee5 19:02:41 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:02:41 ---> Running in 70725ccf34fb 19:02:41 Removing intermediate container 70725ccf34fb 19:02:41 ---> dfb4fcf15613 19:02:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 19:02:41 ---> Running in 6a377b7fcb9d 19:02:41 Removing intermediate container 6a377b7fcb9d 19:02:41 ---> 5d3d34b56757 19:02:41 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:02:41 ---> Running in dcb7d3a0b1d3 19:02:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:02:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:02:44 OK: 263 MiB in 53 packages 19:02:45 Removing intermediate container dcb7d3a0b1d3 19:02:45 ---> c3a40cb37505 19:02:45 Step 7/26 : WORKDIR /app 19:02:45 ---> Running in 6d1db504f218 19:02:46 Removing intermediate container 6d1db504f218 19:02:46 ---> 62afe09fcea8 19:02:46 Step 8/26 : COPY go.mod vendor* ./ 19:02:46 ---> b20797415c60 19:02:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:46 ---> Running in 6d3d07607218 19:02:49 Removing intermediate container 6d3d07607218 19:02:49 ---> 32572a10b07d 19:02:49 Step 10/26 : COPY . . 19:02:49 ---> 2560584c4935 19:02:49 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:02:49 ---> Running in 6a37960aef1d 19:02:50 Removing intermediate container 6a37960aef1d 19:02:50 ---> 636113a70c4d 19:02:50 Step 12/26 : RUN $MAKE 19:02:50 ---> Running in e86b91d44a65 19:02:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 19:05:12 Removing intermediate container e86b91d44a65 19:05:12 ---> e1fd9bbcd571 19:05:12 Step 13/26 : FROM alpine:3.17 19:05:12 3.17: Pulling from library/alpine 19:05:12 edb6bdbacee9: Already exists 19:05:12 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 19:05:12 Status: Downloaded newer image for alpine:3.17 19:05:12 ---> 779605e5fbc0 19:05:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:05:12 ---> Running in d2b25c6642fd 19:05:12 Removing intermediate container d2b25c6642fd 19:05:12 ---> 7283e9fac3b5 19:05:12 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 19:05:12 ---> Running in 36796e85de20 19:05:12 Removing intermediate container 36796e85de20 19:05:12 ---> 9635a235d4b6 19:05:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 19:05:12 ---> Running in cd2439e2edd4 19:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:05:12 (1/2) Installing ca-certificates (20230506-r0) 19:05:12 (2/2) Installing dumb-init (1.2.5-r2) 19:05:12 Executing busybox-1.35.0-r29.trigger 19:05:12 Executing ca-certificates-20230506-r0.trigger 19:05:12 OK: 8 MiB in 17 packages 19:05:12 Removing intermediate container cd2439e2edd4 19:05:12 ---> fd23624d7ab9 19:05:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:05:12 ---> 5ade72d638fb 19:05:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 19:05:12 ---> 70be6559bcdd 19:05:12 Step 19/26 : COPY --from=builder /app/res/ /res/ 19:05:12 ---> ca2d060bedd3 19:05:12 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 19:05:12 ---> 258d44db1d35 19:05:12 Step 21/26 : EXPOSE 59712 19:05:12 ---> Running in 1a8f49d0454a 19:05:12 Removing intermediate container 1a8f49d0454a 19:05:12 ---> 4b0e95e1bf7f 19:05:12 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 19:05:12 ---> Running in abe2e7a93b3e 19:05:12 Removing intermediate container abe2e7a93b3e 19:05:12 ---> 045104aeaaad 19:05:12 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:05:12 ---> Running in ac78731c6904 19:05:12 Removing intermediate container ac78731c6904 19:05:12 ---> e5a9e7ee5a40 19:05:12 Step 24/26 : LABEL arch=arm64 19:05:12 ---> Running in 70a193cec5c9 19:05:12 Removing intermediate container 70a193cec5c9 19:05:12 ---> c985bd26988d 19:05:12 Step 25/26 : LABEL git_sha=44f36e89d16890d30a2acae136078633b9ce5fcd 19:05:12 ---> Running in 05ead57eae53 19:05:12 Removing intermediate container 05ead57eae53 19:05:12 ---> b56bf006fcef 19:05:12 Step 26/26 : LABEL version=0.0.0 19:05:12 ---> Running in d7487b43b422 19:05:12 Removing intermediate container d7487b43b422 19:05:12 ---> bb164f75ec66 19:05:12 [Warning] One or more build-args [ARCH] were not consumed 19:05:12 Successfully built bb164f75ec66 19:05:12 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 19:05:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:13 19:05:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:13 arm64: Pulling from edgex-lftools-log-publisher 19:05:13 8998bd30e6a1: Pulling fs layer 19:05:13 04944245beec: Pulling fs layer 19:05:13 699f458cf7ca: Pulling fs layer 19:05:13 765212b225bb: Pulling fs layer 19:05:13 f23df028b6ca: Pulling fs layer 19:05:13 d65c8cfc05b1: Pulling fs layer 19:05:13 2437ff75d9bd: Pulling fs layer 19:05:13 d65c8cfc05b1: Waiting 19:05:13 765212b225bb: Waiting 19:05:13 2437ff75d9bd: Waiting 19:05:13 f23df028b6ca: Waiting 19:05:13 04944245beec: Verifying Checksum 19:05:13 04944245beec: Download complete 19:05:13 765212b225bb: Verifying Checksum 19:05:13 765212b225bb: Download complete 19:05:13 f23df028b6ca: Verifying Checksum 19:05:13 f23df028b6ca: Download complete 19:05:13 d65c8cfc05b1: Verifying Checksum 19:05:13 d65c8cfc05b1: Download complete 19:05:13 699f458cf7ca: Verifying Checksum 19:05:13 699f458cf7ca: Download complete 19:05:14 8998bd30e6a1: Verifying Checksum 19:05:14 8998bd30e6a1: Download complete 19:05:16 2437ff75d9bd: Verifying Checksum 19:05:16 2437ff75d9bd: Download complete 19:05:17 8998bd30e6a1: Pull complete 19:05:18 04944245beec: Pull complete 19:05:19 699f458cf7ca: Pull complete 19:05:19 765212b225bb: Pull complete 19:05:19 f23df028b6ca: Pull complete 19:05:20 d65c8cfc05b1: Pull complete 19:05:32 2437ff75d9bd: Pull complete 19:05:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:05:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:05:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:32 prd-ubuntu20.04-docker-arm64-4c-16g-2765 does not seem to be running inside a container 19:05:32 $ 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/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@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 19:05:35 $ docker top 3d4f81593d552cfd3482d1d9d3d295437a0631416845f56f968c37cb116b14e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:05:35 ---> job-cost.sh 19:05:36 lf-activate-venv: SKIPPING 19:05:36 INFO: No Stack... 19:05:36 INFO: Retrieving Pricing Info for: v3-standard-4 19:05:37 INFO: Archiving Costs [Pipeline] sh 19:05:37 + cat /w/workspace/app-record-replay/4/archives/cost.csv 19:05:37 + cut -d, -f6 [Pipeline] lock 19:05:37 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-53-4-stack-cost] 19:05:37 Resource [jenkins-edgexfoundry-app-record-replay-PR-53-4-stack-cost] did not exist. Created. 19:05:37 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-53-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:05:37 /w/workspace/app-record-replay/4@tmp/durable-53e8c5ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:05:38 + echo total: 0.10999999940395355 [Pipeline] stash 19:05:38 Warning: overwriting stash ‘stack-cost’ 19:05:38 Stashed 1 file(s) [Pipeline] } 19:05:38 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-53-4-stack-cost] [Pipeline] // lock [Pipeline] } 19:05:38 $ docker stop --time=1 3d4f81593d552cfd3482d1d9d3d295437a0631416845f56f968c37cb116b14e1 19:05:40 $ docker rm -f --volumes 3d4f81593d552cfd3482d1d9d3d295437a0631416845f56f968c37cb116b14e1 [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 19:05:41 provisioning config files... 19:05:41 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-53 #4 19:05:41 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-53@tmp/config8233088388794350452tmp [Pipeline] { [Pipeline] sh 19:05:41 + set +x 19:05:41 + bash -s -- 19:05:41 + curl -s https://codecov.io/bash 19:05:41 19:05:41 _____ _ 19:05:41 / ____| | | 19:05:41 | | ___ __| | ___ ___ _____ __ 19:05:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:05:41 | |___| (_) | (_| | __/ (_| (_) \ V / 19:05:41 \_____\___/ \__,_|\___|\___\___/ \_/ 19:05:41 Bash-1.0.6 19:05:41 19:05:41 19:05:41 ==> git version 2.25.1 found 19:05:41 ==> 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 19:05:41 Release-Date: 2020-01-08 19:05:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:05:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:05:41 ==> Jenkins CI detected. 19:05:41 current dir:  /w/workspace/xfoundry_app-record-replay_PR-53 19:05:41 project root: . 19:05:41 --> token set from env 19:05:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:05:41 ==> Running gcov in . (disable via -X gcov) 19:05:41 ==> Python coveragepy not found 19:05:41 ==> Searching for coverage reports in: 19:05:41 + . 19:05:41 -> Found 1 reports 19:05:41 ==> Detecting git/mercurial file structure 19:05:41 ==> Reading reports 19:05:41 + ./coverage.out bytes=15688 19:05:41 ==> Appending adjustments 19:05:41 https://docs.codecov.io/docs/fixing-reports 19:05:42 + Found adjustments 19:05:42 ==> Gzipping contents 19:05:42 4.0K /tmp/codecov.2g9OZg.gz 19:05:42 ==> Uploading reports 19:05:42 url: https://codecov.io 19:05:42 query: branch=PR-53&commit=44f36e89d16890d30a2acae136078633b9ce5fcd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-53%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=53&job=&cmd_args= 19:05:42 -> Pinging Codecov 19:05:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-53&commit=44f36e89d16890d30a2acae136078633b9ce5fcd&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-53%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=53&job=&cmd_args= 19:05:42 Invalid request parameters 19:05:42 400 [Pipeline] } 19:05:42 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 19:05:42 + [ -d /w/workspace/xfoundry_app-record-replay_PR-53/archives ] 19:05:42 + ls -al /w/workspace/xfoundry_app-record-replay_PR-53/archives 19:05:42 total 16 19:05:42 drwxr-xr-x 3 root root 4096 Aug 2 18:55 . 19:05:42 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 18:55 .. 19:05:42 drwxr-xr-x 2 root root 4096 Aug 2 18:55 cost 19:05:42 -rw-r--r-- 1 root root 88 Aug 2 18:55 cost.csv 19:05:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-53/archives 19:05:42 + ls -al /w/workspace/xfoundry_app-record-replay_PR-53/archives 19:05:42 total 16 19:05:42 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 18:55 . 19:05:42 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 18:55 .. 19:05:42 drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 18:55 cost 19:05:42 -rw-r--r-- 1 jenkins jenkins 88 Aug 2 18:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:05:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:05:43 ---> package-listing.sh 19:05:43 ++ facter osfamily 19:05:43 ++ tr '[:upper:]' '[:lower:]' 19:05:44 + OS_FAMILY=debian 19:05:44 + workspace=/w/workspace/xfoundry_app-record-replay_PR-53 19:05:44 + START_PACKAGES=/tmp/packages_start.txt 19:05:44 + END_PACKAGES=/tmp/packages_end.txt 19:05:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:05:44 + PACKAGES=/tmp/packages_start.txt 19:05:44 + '[' /w/workspace/xfoundry_app-record-replay_PR-53 ']' 19:05:44 + PACKAGES=/tmp/packages_end.txt 19:05:44 + case "${OS_FAMILY}" in 19:05:44 + dpkg -l 19:05:44 + grep '^ii' 19:05:44 + '[' -f /tmp/packages_start.txt ']' 19:05:44 + '[' -f /tmp/packages_end.txt ']' 19:05:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:05:44 + '[' /w/workspace/xfoundry_app-record-replay_PR-53 ']' 19:05:44 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-53/archives/ 19:05:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-53/archives/ [Pipeline] echo 19:05:44 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-53/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:05:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:45 prd-ubuntu20.04-docker-8c-8g-2764 does not seem to be running inside a container 19:05:45 $ 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-53/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-53 -v /w/workspace/xfoundry_app-record-replay_PR-53:/w/workspace/xfoundry_app-record-replay_PR-53:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-53@tmp:/w/workspace/xfoundry_app-record-replay_PR-53@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 19:05:45 $ docker top 53c96ee102580232fa98542ef6cc24db1f94f1cd6d259ffab1a7858a2b67ecb0 -eo pid,comm [Pipeline] { [Pipeline] sh 19:05:45 + touch /tmp/pre-build-complete [Pipeline] sh 19:05:46 + mkdir -p /var/log/sysstat [Pipeline] sh 19:05:46 + ls /var/log/sa-host 19:05:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:05:46 provisioning config files... 19:05:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-53@tmp/config3710425373754419566tmp [Pipeline] { [Pipeline] echo 19:05:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:05:46 ---> create-netrc.sh [Pipeline] } 19:05:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:05:46 ---> python-tools-install.sh [Pipeline] echo 19:05:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:05:47 ---> sudo-logs.sh 19:05:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:05:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:05:47 ---> job-cost.sh 19:05:47 lf-activate-venv: SKIPPING 19:05:47 DEBUG: total: 0.2199999988079071 19:05:47 INFO: Retrieving Stack Cost... 19:05:47 INFO: Retrieving Pricing Info for: v3-standard-8 19:05:48 INFO: Archiving Costs [Pipeline] echo 19:05:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:05:48 ---> logs-deploy.sh 19:05:48 lf-activate-venv: SKIPPING 19:05:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-53/4 19:05:48 INFO: archiving workspace using pattern(s): 19:05:49 Archives upload complete. 19:05:49 INFO: archiving logs to Nexus