Pull request #66 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 64c688f445d5ba03b84f6456524f7d250cd515e6+6960fd39a775502fc13f34b863ba7c4a8a33ae9f (e84ce07b57c38c5fdc106d112ae889cc94ca6806) 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-ssh15458136460071560151.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3531410030654342293.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-66/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-66/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5045208343443592952.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8948618703593496322.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-66/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-66/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10994883852499553449.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4319’ Running on prd-ubuntu20.04-docker-8c-8g-4324 in /w/workspace/xfoundry_app-record-replay_PR-66 [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-66 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6960fd39a775502fc13f34b863ba7c4a8a33ae9f into PR head commit 64c688f445d5ba03b84f6456524f7d250cd515e6 Merge succeeded, producing 64c688f445d5ba03b84f6456524f7d250cd515e6 Checking out Revision 64c688f445d5ba03b84f6456524f7d250cd515e6 (PR-66) > 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/66/head:refs/remotes/origin/PR-66 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 64c688f445d5ba03b84f6456524f7d250cd515e6 # 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 6960fd39a775502fc13f34b863ba7c4a8a33ae9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 64c688f445d5ba03b84f6456524f7d250cd515e6 # timeout=10 Commit message: "fix: Fixed failing tests" > git rev-list --no-walk 9e9e72ed7e0d94479b0ea5d49d9b6044f0a44ccf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:48:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:48:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:48:56 ========================================================= 00:48:56 EdgeX Global Pipelines Version Info 00:48:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:48:57 ------------------- 00:48:57 stable info: 00:48:57 ------------------- 00:48:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:48:57 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 00:48:57 Message: update stable to v1.0.253 00:48:58 ------------------- 00:48:58 experimental info: 00:48:58 ------------------- 00:48:58 Commited By: **** collab-it+edgex@linuxfoundation.org 00:48:58 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 00:48:58 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-66 [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-66 [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-66 [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 64c688f445d5ba03b84f6456524f7d250cd515e6 [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 64c688f [Pipeline] echo 00:48:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:48:58 provisioning config files... 00:48:58 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-66@tmp/config8337233716612808844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:59 ---> docker-login.sh 00:48:59 nexus3.edgexfoundry.org:10001 00:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:00 Configure a credential helper to remove this warning. See 00:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:00 00:49:00 Login Succeeded 00:49:00 nexus3.edgexfoundry.org:10002 00:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:00 Configure a credential helper to remove this warning. See 00:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:00 00:49:00 Login Succeeded 00:49:00 nexus3.edgexfoundry.org:10003 00:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:00 Configure a credential helper to remove this warning. See 00:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:00 00:49:00 Login Succeeded 00:49:00 nexus3.edgexfoundry.org:10004 00:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:00 Configure a credential helper to remove this warning. See 00:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:00 00:49:00 Login Succeeded 00:49:00 docker.io 00:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:01 Configure a credential helper to remove this warning. See 00:49:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:01 00:49:01 Login Succeeded 00:49:01 ---> docker-login.sh ends [Pipeline] } 00:49:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:49:01 + git rev-list -1 --merges 64c688f445d5ba03b84f6456524f7d250cd515e6~1..64c688f445d5ba03b84f6456524f7d250cd515e6 [Pipeline] echo 00:49:01 -----------> git rev-list -1 --merges 64c688f445d5ba03b84f6456524f7d250cd515e6~1..64c688f445d5ba03b84f6456524f7d250cd515e6 64c688f445d5ba03b84f6456524f7d250cd515e6 [false] [Pipeline] sh 00:49:01 + git log --format=format:%s -1 64c688f445d5ba03b84f6456524f7d250cd515e6 [Pipeline] echo 00:49:01 ========================================================= 00:49:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:49:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:49:02 + git log --format=format:%s -1 64c688f445d5ba03b84f6456524f7d250cd515e6 [Pipeline] echo 00:49:02 [semverPrep] GIT_COMMIT: 64c688f445d5ba03b84f6456524f7d250cd515e6, Commit Message: fix: Fixed failing tests [Pipeline] echo 00:49:02 [semverPrep] This is not a build commit. [Pipeline] sh 00:49:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:49:02 + grep -v github /etc/ssh/ssh_known_hosts 00:49:02 + [ -e /tmp/ssh_known_hosts ] 00:49:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:49:02 + + sudo tee -a /etc/ssh/ssh_known_hosts 00:49:02 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:49:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:49:03 00:49:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:49:03 0.1.4: Pulling from edgex-devops/py-git-semver 00:49:03 b85a868b505f: Pulling fs layer 00:49:03 e2be974225ed: Pulling fs layer 00:49:03 339a4e72a1f5: Pulling fs layer 00:49:03 988bab9f4d93: Pulling fs layer 00:49:03 1469e6f7b9e6: Pulling fs layer 00:49:03 eaf3925da568: Pulling fs layer 00:49:03 bab4dde63d76: Pulling fs layer 00:49:03 988bab9f4d93: Waiting 00:49:03 bde34c3a00c8: Pulling fs layer 00:49:03 b352a97aabf1: Pulling fs layer 00:49:03 4872d77fe225: Pulling fs layer 00:49:03 5851b861e8e6: Pulling fs layer 00:49:03 eaf3925da568: Waiting 00:49:03 1469e6f7b9e6: Waiting 00:49:03 bab4dde63d76: Waiting 00:49:03 bde34c3a00c8: Waiting 00:49:03 4872d77fe225: Waiting 00:49:03 b352a97aabf1: Waiting 00:49:03 5851b861e8e6: Waiting 00:49:03 e2be974225ed: Verifying Checksum 00:49:03 e2be974225ed: Download complete 00:49:03 988bab9f4d93: Verifying Checksum 00:49:03 988bab9f4d93: Download complete 00:49:03 1469e6f7b9e6: Verifying Checksum 00:49:03 1469e6f7b9e6: Download complete 00:49:03 eaf3925da568: Verifying Checksum 00:49:03 eaf3925da568: Download complete 00:49:03 339a4e72a1f5: Verifying Checksum 00:49:03 339a4e72a1f5: Download complete 00:49:03 bde34c3a00c8: Download complete 00:49:03 b352a97aabf1: Verifying Checksum 00:49:03 b352a97aabf1: Download complete 00:49:03 4872d77fe225: Verifying Checksum 00:49:03 4872d77fe225: Download complete 00:49:03 5851b861e8e6: Verifying Checksum 00:49:03 5851b861e8e6: Download complete 00:49:03 b85a868b505f: Verifying Checksum 00:49:03 b85a868b505f: Download complete 00:49:04 bab4dde63d76: Verifying Checksum 00:49:04 bab4dde63d76: Download complete 00:49:05 b85a868b505f: Pull complete 00:49:05 e2be974225ed: Pull complete 00:49:05 339a4e72a1f5: Pull complete 00:49:05 988bab9f4d93: Pull complete 00:49:06 1469e6f7b9e6: Pull complete 00:49:06 eaf3925da568: Pull complete 00:49:08 bab4dde63d76: Pull complete 00:49:08 bde34c3a00c8: Pull complete 00:49:08 b352a97aabf1: Pull complete 00:49:08 4872d77fe225: Pull complete 00:49:08 5851b861e8e6: Pull complete 00:49:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:49:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:08 prd-ubuntu20.04-docker-8c-8g-4324 does not seem to be running inside a container 00:49:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-66 -v /w/workspace/xfoundry_app-record-replay_PR-66:/w/workspace/xfoundry_app-record-replay_PR-66:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-66@tmp:/w/workspace/xfoundry_app-record-replay_PR-66@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:49:12 $ docker top a40dbf46054293015b2126631790663de03f10b1d9aa9ab61602a39ab0075704 -eo pid,comm 00:49:12 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). 00:49:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:49:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:49:12 [ssh-agent] Looking for ssh-agent implementation... 00:49:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:49:12 $ docker exec a40dbf46054293015b2126631790663de03f10b1d9aa9ab61602a39ab0075704 ssh-agent 00:49:12 SSH_AUTH_SOCK=/tmp/ssh-zEypGnU9mvcN/agent.32 00:49:12 SSH_AGENT_PID=38 00:49:12 Running ssh-add (command line suppressed) 00:49:12 Identity added: /w/workspace/xfoundry_app-record-replay_PR-66@tmp/private_key_12973933453650159872.key (/w/workspace/xfoundry_app-record-replay_PR-66@tmp/private_key_12973933453650159872.key) 00:49:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:49:13 + git tag --points-at HEAD [Pipeline] } 00:49:13 $ docker exec --env ******** --env ******** a40dbf46054293015b2126631790663de03f10b1d9aa9ab61602a39ab0075704 ssh-agent -k 00:49:13 unset SSH_AUTH_SOCK; 00:49:13 unset SSH_AGENT_PID; 00:49:13 echo Agent pid 38 killed; 00:49:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:49:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:49:13 [ssh-agent] Looking for ssh-agent implementation... 00:49:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:49:13 $ docker exec a40dbf46054293015b2126631790663de03f10b1d9aa9ab61602a39ab0075704 ssh-agent 00:49:13 SSH_AUTH_SOCK=/tmp/ssh-Wz9eHsvHgV7T/agent.70 00:49:13 SSH_AGENT_PID=76 00:49:13 Running ssh-add (command line suppressed) 00:49:13 Identity added: /w/workspace/xfoundry_app-record-replay_PR-66@tmp/private_key_2515672046392749742.key (/w/workspace/xfoundry_app-record-replay_PR-66@tmp/private_key_2515672046392749742.key) 00:49:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:49:13 + git semver init 00:49:14 2023-08-23 00:49:14,031 [run_init] DEBUG init version:0.0.0 force:False 00:49:14 2023-08-23 00:49:14,031 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-66/.semver 00:49:14 2023-08-23 00:49:14,032 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-66/.semver 00:49:14 2023-08-23 00:49:14,032 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-66/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-66, universal_newlines=False, shell=None, istream=None) 00:49:14 2023-08-23 00:49:14,643 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-66/.git/info/exclude 00:49:14 2023-08-23 00:49:14,643 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-66/.semver/PR-66 with force:False 00:49:14 2023-08-23 00:49:14,643 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-66/.semver/PR-66 00:49:14 2023-08-23 00:49:14,647 [execute] INFO git cat-file --batch-check 00:49:14 2023-08-23 00:49:14,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-66/.semver, universal_newlines=False, shell=None, istream=) 00:49:14 2023-08-23 00:49:14,654 [execute] INFO git cat-file --batch 00:49:14 2023-08-23 00:49:14,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-66/.semver, universal_newlines=False, shell=None, istream=) 00:49:14 2023-08-23 00:49:14,665 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-66/.semver/PR-66 00:49:14 0.0.0 [Pipeline] } 00:49:14 $ docker exec --env ******** --env ******** a40dbf46054293015b2126631790663de03f10b1d9aa9ab61602a39ab0075704 ssh-agent -k 00:49:15 unset SSH_AUTH_SOCK; 00:49:15 unset SSH_AGENT_PID; 00:49:15 echo Agent pid 76 killed; 00:49:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:49:15 + git semver [Pipeline] } 00:49:15 $ docker stop --time=1 a40dbf46054293015b2126631790663de03f10b1d9aa9ab61602a39ab0075704 00:49:16 $ docker rm -f --volumes a40dbf46054293015b2126631790663de03f10b1d9aa9ab61602a39ab0075704 [Pipeline] // withDockerContainer [Pipeline] sh 00:49:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:49:17 Stashed 1 file(s) [Pipeline] echo 00:49:17 [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 00:49:17 provisioning config files... 00:49:17 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-66@tmp/config10529919887492340850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:17 ---> docker-login.sh 00:49:17 nexus3.edgexfoundry.org:10001 00:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:17 Configure a credential helper to remove this warning. See 00:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:17 00:49:17 Login Succeeded 00:49:17 nexus3.edgexfoundry.org:10002 00:49:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:17 Configure a credential helper to remove this warning. See 00:49:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:17 00:49:17 Login Succeeded 00:49:17 nexus3.edgexfoundry.org:10003 00:49:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:18 Configure a credential helper to remove this warning. See 00:49:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:18 00:49:18 Login Succeeded 00:49:18 nexus3.edgexfoundry.org:10004 00:49:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:18 Configure a credential helper to remove this warning. See 00:49:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:18 00:49:18 Login Succeeded 00:49:18 docker.io 00:49:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:18 Configure a credential helper to remove this warning. See 00:49:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:18 00:49:18 Login Succeeded 00:49:18 ---> docker-login.sh ends [Pipeline] } 00:49:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:49:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:49:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:49:18 ========================================================= 00:49:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:49:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:49:18 Sending build context to Docker daemon 479.7kB 00:49:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:49:18 Step 2/12 : FROM ${BASE} AS builder 00:49:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:49:18 4db1b89c0bd1: Pulling fs layer 00:49:18 6911f1a30b25: Pulling fs layer 00:49:18 e194b8c5c2a9: Pulling fs layer 00:49:18 6863d3e3a2b1: Pulling fs layer 00:49:18 ec0bb842ea78: Pulling fs layer 00:49:18 40a00589a448: Pulling fs layer 00:49:18 6c08303d61cc: Pulling fs layer 00:49:18 798269fcf238: Pulling fs layer 00:49:18 6863d3e3a2b1: Waiting 00:49:18 ec0bb842ea78: Waiting 00:49:18 40a00589a448: Waiting 00:49:18 6c08303d61cc: Waiting 00:49:18 798269fcf238: Waiting 00:49:19 6911f1a30b25: Verifying Checksum 00:49:19 6911f1a30b25: Download complete 00:49:19 6863d3e3a2b1: Verifying Checksum 00:49:19 6863d3e3a2b1: Download complete 00:49:19 ec0bb842ea78: Verifying Checksum 00:49:19 ec0bb842ea78: Download complete 00:49:19 4db1b89c0bd1: Verifying Checksum 00:49:19 4db1b89c0bd1: Download complete 00:49:19 40a00589a448: Verifying Checksum 00:49:19 40a00589a448: Download complete 00:49:19 4db1b89c0bd1: Pull complete 00:49:19 6911f1a30b25: Pull complete 00:49:19 798269fcf238: Verifying Checksum 00:49:19 798269fcf238: Download complete 00:49:19 e194b8c5c2a9: Download complete 00:49:19 6c08303d61cc: Verifying Checksum 00:49:19 6c08303d61cc: Download complete 00:49:23 e194b8c5c2a9: Pull complete 00:49:23 6863d3e3a2b1: Pull complete 00:49:23 ec0bb842ea78: Pull complete 00:49:23 40a00589a448: Pull complete 00:49:25 6c08303d61cc: Pull complete 00:49:26 798269fcf238: Pull complete 00:49:26 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:49:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:49:26 ---> ec979cd7f677 00:49:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:49:32 Still waiting to schedule task 00:49:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4323’ 00:49:32 ---> Running in eb9d4bdd99a3 00:49:32 Removing intermediate container eb9d4bdd99a3 00:49:32 ---> a555640ab8c5 00:49:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:49:32 ---> Running in c5b463b53617 00:49:32 Removing intermediate container c5b463b53617 00:49:32 ---> 67881d104490 00:49:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:49:32 ---> Running in 77004030fc35 00:49:32 Removing intermediate container 77004030fc35 00:49:32 ---> 2e37815549c1 00:49:32 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:49:32 ---> Running in 5f647cf4d263 00:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:49:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:49:33 OK: 265 MiB in 53 packages 00:49:34 Removing intermediate container 5f647cf4d263 00:49:34 ---> df47a53af368 00:49:34 Step 7/12 : WORKDIR /app 00:49:34 ---> Running in 09c5bc45aeb3 00:49:34 Removing intermediate container 09c5bc45aeb3 00:49:34 ---> fbbbcb6f238c 00:49:34 Step 8/12 : COPY go.mod vendor* ./ 00:49:34 ---> 5dd431483e19 00:49:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:49:34 ---> Running in 6337a4225d49 00:50:06 Removing intermediate container 6337a4225d49 00:50:06 ---> ed80a571dd50 00:50:06 Step 10/12 : COPY . . 00:50:06 ---> 6066fa46524d 00:50:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:50:06 ---> Running in 17252ad9aeac 00:50:06 Removing intermediate container 17252ad9aeac 00:50:06 ---> 4fcd8ce066bc 00:50:06 Step 12/12 : RUN $MAKE 00:50:06 ---> Running in e1d478053f12 00:50:06 noop 00:50:07 Removing intermediate container e1d478053f12 00:50:07 ---> 3fb03362329f 00:50:07 Successfully built 3fb03362329f 00:50:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:07 + docker inspect -f . ci-base-image-x86_64 00:50:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:07 prd-ubuntu20.04-docker-8c-8g-4324 does not seem to be running inside a container 00:50:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-66 -v /w/workspace/xfoundry_app-record-replay_PR-66:/w/workspace/xfoundry_app-record-replay_PR-66:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-66@tmp:/w/workspace/xfoundry_app-record-replay_PR-66@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 ******** ci-base-image-x86_64 cat 00:50:07 $ docker top 0740fe0c2ae9663d41e60e7fab51c3790786287f32e6e3e9a7a344e5aca7c0f0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:08 + go version 00:50:08 go version go1.20.6 linux/amd64 [Pipeline] } 00:50:08 $ docker stop --time=1 0740fe0c2ae9663d41e60e7fab51c3790786287f32e6e3e9a7a344e5aca7c0f0 00:50:09 $ docker rm -f --volumes 0740fe0c2ae9663d41e60e7fab51c3790786287f32e6e3e9a7a344e5aca7c0f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:09 + docker inspect -f . ci-base-image-x86_64 00:50:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:10 prd-ubuntu20.04-docker-8c-8g-4324 does not seem to be running inside a container 00:50:10 $ 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-66 -v /w/workspace/xfoundry_app-record-replay_PR-66:/w/workspace/xfoundry_app-record-replay_PR-66:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-66@tmp:/w/workspace/xfoundry_app-record-replay_PR-66@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 ******** ci-base-image-x86_64 cat 00:50:10 $ docker top e303e490328e9a44359c6a4edc4927a08d8778ef91e3199d64c60beb485a5306 -eo pid,comm [Pipeline] { [Pipeline] sh 00:50:10 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-66 [Pipeline] fileExists [Pipeline] sh 00:50:11 + make test 00:50:11 go test -race -coverprofile=coverage.out ./... 00:50:33 ? github.com/edgexfoundry/app-record-replay [no test files] 00:50:33 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 00:50:33 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 00:50:33 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 00:50:33 ok github.com/edgexfoundry/app-record-replay/internal/app 0.064s coverage: 88.0% of statements 00:50:41 ok github.com/edgexfoundry/app-record-replay/internal/application 8.604s coverage: 98.1% of statements 00:50:41 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.114s coverage: 78.0% of statements 00:51:07 go vet ./... 00:51:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:51:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:51:08 ./bin/test-attribution-txt.sh [Pipeline] echo 00:51:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:51:08 $ docker stop --time=1 e303e490328e9a44359c6a4edc4927a08d8778ef91e3199d64c60beb485a5306 00:51:11 $ docker rm -f --volumes e303e490328e9a44359c6a4edc4927a08d8778ef91e3199d64c60beb485a5306 [Pipeline] // withDockerContainer [Pipeline] sh 00:51:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:51:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:51:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:51:12 + ls -al . 00:51:12 total 180 00:51:12 drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 00:50 . 00:51:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 00:48 .. 00:51:12 -rw-rw-r-- 1 jenkins jenkins 119 Aug 23 00:48 .dockerignore 00:51:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 00:49 .git 00:51:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 00:48 .github 00:51:12 -rw-rw-r-- 1 jenkins jenkins 164 Aug 23 00:48 .gitignore 00:51:12 -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 00:48 .golangci.yml 00:51:12 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 00:49 .semver 00:51:12 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 23 00:48 Attribution.txt 00:51:12 -rw-rw-r-- 1 jenkins jenkins 258 Aug 23 00:48 CHANGELOG.md 00:51:12 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 23 00:48 Dockerfile 00:51:12 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 00:48 GOVERNANCE.md 00:51:12 -rw-rw-r-- 1 jenkins jenkins 681 Aug 23 00:48 Jenkinsfile 00:51:12 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 23 00:48 LICENSE 00:51:12 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 23 00:48 Makefile 00:51:12 -rw-rw-r-- 1 jenkins jenkins 611 Aug 23 00:48 OWNERS.md 00:51:12 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 23 00:48 README.md 00:51:12 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 23 00:48 Record and Reply.postman_collection.json 00:51:12 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 00:49 VERSION 00:51:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 00:48 bin 00:51:12 -rw-r--r-- 1 jenkins jenkins 21225 Aug 23 00:50 coverage.out 00:51:12 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 23 00:48 go.mod 00:51:12 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 23 00:48 go.sum 00:51:12 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 00:48 internal 00:51:12 -rw-rw-r-- 1 jenkins jenkins 913 Aug 23 00:48 main.go 00:51:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 00:48 pkg 00:51:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 00:48 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:13 + 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=64c688f445d5ba03b84f6456524f7d250cd515e6 --label arch=amd64 --label version=0.0.0 . 00:51:13 Sending build context to Docker daemon 501.8kB 00:51:13 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:51:13 Step 2/26 : FROM ${BASE} AS builder 00:51:13 ---> 3fb03362329f 00:51:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:51:13 ---> Running in 7539371363f9 00:51:13 Removing intermediate container 7539371363f9 00:51:13 ---> 572899403a75 00:51:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:51:13 ---> Running in b7ffe945bab9 00:51:13 Removing intermediate container b7ffe945bab9 00:51:13 ---> abe5f508d742 00:51:13 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:51:13 ---> Running in 515f69f18062 00:51:13 Removing intermediate container 515f69f18062 00:51:13 ---> 06df46a1ffa3 00:51:13 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:51:13 ---> Running in fb2b2768a6aa 00:51:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:51:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:51:14 OK: 265 MiB in 53 packages 00:51:14 Removing intermediate container fb2b2768a6aa 00:51:14 ---> 0caf54d32e3f 00:51:14 Step 7/26 : WORKDIR /app 00:51:14 ---> Running in aa68c336cd0b 00:51:14 Removing intermediate container aa68c336cd0b 00:51:14 ---> dd0f80b939f7 00:51:14 Step 8/26 : COPY go.mod vendor* ./ 00:51:14 ---> b72224469d08 00:51:14 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:51:14 ---> Running in 1e31b96cc72e 00:51:15 Removing intermediate container 1e31b96cc72e 00:51:15 ---> 37509ecd822d 00:51:15 Step 10/26 : COPY . . 00:51:16 ---> 814c4b9c3a53 00:51:16 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:51:16 ---> Running in 8f38a764ab1b 00:51:16 Removing intermediate container 8f38a764ab1b 00:51:16 ---> 3d850170c9a9 00:51:16 Step 12/26 : RUN $MAKE 00:51:16 ---> Running in 55eb37c5b163 00:51:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 00:51:38 Removing intermediate container 55eb37c5b163 00:51:38 ---> c88ef68b9d6b 00:51:38 Step 13/26 : FROM alpine:3.17 00:51:38 3.17: Pulling from library/alpine 00:51:38 9398808236ff: Pulling fs layer 00:51:38 9398808236ff: Download complete 00:51:38 9398808236ff: Pull complete 00:51:38 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 00:51:38 Status: Downloaded newer image for alpine:3.17 00:51:38 ---> 1e0b8b5322fc 00:51:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:51:38 ---> Running in fbd7c5b1fdc2 00:51:38 Removing intermediate container fbd7c5b1fdc2 00:51:38 ---> 81231fbf6414 00:51:38 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 00:51:38 ---> Running in 5e6f0349265e 00:51:38 Removing intermediate container 5e6f0349265e 00:51:38 ---> 572e0c590486 00:51:38 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:51:38 ---> Running in ec3b0bf9e326 00:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:51:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:51:38 (1/2) Installing ca-certificates (20230506-r0) 00:51:38 (2/2) Installing dumb-init (1.2.5-r2) 00:51:38 Executing busybox-1.35.0-r29.trigger 00:51:38 Executing ca-certificates-20230506-r0.trigger 00:51:38 OK: 8 MiB in 17 packages 00:51:39 Removing intermediate container ec3b0bf9e326 00:51:39 ---> bb3e78601a1b 00:51:39 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:51:39 ---> ad7189f74d1a 00:51:39 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:51:39 ---> e1a683e45900 00:51:39 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:51:39 ---> a4ce2b4d2c90 00:51:39 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 00:51:40 ---> 49f29658d100 00:51:40 Step 21/26 : EXPOSE 59712 00:51:40 ---> Running in 9ae1191d4169 00:51:40 Removing intermediate container 9ae1191d4169 00:51:40 ---> d876b0ad6bbe 00:51:40 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 00:51:40 ---> Running in 74300707f7de 00:51:40 Removing intermediate container 74300707f7de 00:51:40 ---> 3cec7a88105d 00:51:40 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:51:40 ---> Running in 9905dfb5bbfe 00:51:40 Removing intermediate container 9905dfb5bbfe 00:51:40 ---> 5b4092066a8e 00:51:40 Step 24/26 : LABEL arch=amd64 00:51:40 ---> Running in e6f4660d1b2a 00:51:40 Removing intermediate container e6f4660d1b2a 00:51:40 ---> e0fc996d13ed 00:51:40 Step 25/26 : LABEL git_sha=64c688f445d5ba03b84f6456524f7d250cd515e6 00:51:40 ---> Running in 251d64fbf001 00:51:40 Removing intermediate container 251d64fbf001 00:51:40 ---> fd1bd13c4acb 00:51:40 Step 26/26 : LABEL version=0.0.0 00:51:41 ---> Running in 6826fb61a32c 00:51:41 Removing intermediate container 6826fb61a32c 00:51:41 ---> 553a96232006 00:51:41 [Warning] One or more build-args [ARCH] were not consumed 00:51:41 Successfully built 553a96232006 00:51:41 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 00:51:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:51:41 00:51:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:51:41 latest: Pulling from edgex-lftools-log-publisher 00:51:41 5eb5b503b376: Pulling fs layer 00:51:41 5c69ac0246d0: Pulling fs layer 00:51:41 ec43610c2a17: Pulling fs layer 00:51:41 3a2ae6a8a46f: Pulling fs layer 00:51:41 33b1e0a273af: Pulling fs layer 00:51:41 3a2ae6a8a46f: Waiting 00:51:41 5d3b04190fa2: Pulling fs layer 00:51:41 2f39f015ded8: Pulling fs layer 00:51:41 33b1e0a273af: Waiting 00:51:41 2f39f015ded8: Waiting 00:51:41 5d3b04190fa2: Waiting 00:51:41 5c69ac0246d0: Verifying Checksum 00:51:41 5c69ac0246d0: Download complete 00:51:41 3a2ae6a8a46f: Verifying Checksum 00:51:41 3a2ae6a8a46f: Download complete 00:51:41 33b1e0a273af: Verifying Checksum 00:51:41 33b1e0a273af: Download complete 00:51:41 5d3b04190fa2: Download complete 00:51:42 ec43610c2a17: Verifying Checksum 00:51:42 ec43610c2a17: Download complete 00:51:42 5eb5b503b376: Verifying Checksum 00:51:42 5eb5b503b376: Download complete 00:51:42 2f39f015ded8: Verifying Checksum 00:51:42 2f39f015ded8: Download complete 00:51:43 5eb5b503b376: Pull complete 00:51:43 5c69ac0246d0: Pull complete 00:51:43 ec43610c2a17: Pull complete 00:51:44 3a2ae6a8a46f: Pull complete 00:51:44 33b1e0a273af: Pull complete 00:51:44 5d3b04190fa2: Pull complete 00:51:49 2f39f015ded8: Pull complete 00:51:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:51:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:51:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:49 prd-ubuntu20.04-docker-8c-8g-4324 does not seem to be running inside a container 00:51:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-66 -v /w/workspace/xfoundry_app-record-replay_PR-66:/w/workspace/xfoundry_app-record-replay_PR-66:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-66@tmp:/w/workspace/xfoundry_app-record-replay_PR-66@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 00:51:52 $ docker top 101739fc9e6e43b2b5cdd8b160001fb0e38333ea07566eed4d641d9d1ec33a98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:51:53 ---> job-cost.sh 00:51:53 lf-activate-venv: SKIPPING 00:51:53 INFO: No Stack... 00:51:53 INFO: Retrieving Pricing Info for: v3-standard-8 00:51:53 INFO: Archiving Costs [Pipeline] sh 00:51:54 + cat /w/workspace/xfoundry_app-record-replay_PR-66/archives/cost.csv 00:51:54 + cut -d, -f6 [Pipeline] lock 00:51:54 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-66-2-stack-cost] 00:51:54 Resource [jenkins-edgexfoundry-app-record-replay-PR-66-2-stack-cost] did not exist. Created. 00:51:54 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-66-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:51:54 + echo total: 0.2199999988079071 [Pipeline] stash 00:51:54 Stashed 1 file(s) [Pipeline] } 00:51:54 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-66-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:51:54 $ docker stop --time=1 101739fc9e6e43b2b5cdd8b160001fb0e38333ea07566eed4d641d9d1ec33a98 00:51:55 $ docker rm -f --volumes 101739fc9e6e43b2b5cdd8b160001fb0e38333ea07566eed4d641d9d1ec33a98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:52:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4327 in /w/workspace/xfoundry_app-record-replay_PR-66 [Pipeline] { [Pipeline] ws 00:52:59 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 00:52:59 Selected Git installation does not exist. Using Default 00:52:59 The recommended git tool is: NONE 00:53:05 using credential edgex-jenkins-ssh 00:53:05 Cloning the remote Git repository 00:53:05 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 00:53:05 > git init /w/workspace/app-record-replay/2 # timeout=10 00:53:05 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 00:53:05 > git --version # timeout=10 00:53:05 > git --version # 'git version 2.25.1' 00:53:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:53:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:53:06 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 00:53:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:53:07 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 00:53:07 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 00:53:07 using GIT_SSH to set credentials SSH Credentials for GitHub 00:53:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:53:07 Merging remotes/origin/main commit 6960fd39a775502fc13f34b863ba7c4a8a33ae9f into PR head commit 64c688f445d5ba03b84f6456524f7d250cd515e6 00:53:08 Merge succeeded, producing 64c688f445d5ba03b84f6456524f7d250cd515e6 00:53:08 Checking out Revision 64c688f445d5ba03b84f6456524f7d250cd515e6 (PR-66) 00:53:07 > git config core.sparsecheckout # timeout=10 00:53:07 > git checkout -f 64c688f445d5ba03b84f6456524f7d250cd515e6 # timeout=10 00:53:07 > git remote # timeout=10 00:53:07 > git config --get remote.origin.url # timeout=10 00:53:07 using GIT_SSH to set credentials SSH Credentials for GitHub 00:53:07 > git merge 6960fd39a775502fc13f34b863ba7c4a8a33ae9f # timeout=10 00:53:08 > git rev-parse HEAD^{commit} # timeout=10 00:53:08 > git config core.sparsecheckout # timeout=10 00:53:08 > git checkout -f 64c688f445d5ba03b84f6456524f7d250cd515e6 # timeout=10 00:53:11 Commit message: "fix: Fixed failing tests" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:53:12 % Total % Received % Xferd Average Speed Time Time Time Current 00:53:12 Dload Upload Total Spent Left Speed 00:53:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 37836 0 --:--:-- --:--:-- --:--:-- 37724 [Pipeline] sh 00:53:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:53:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:53:13 + sudo tee /etc/docker/daemon.new 00:53:13 { 00:53:13 "registry-mirrors": [ 00:53:13 "https://nexus3.edgexfoundry.org:10001" 00:53:13 ], 00:53:13 "bip": "10.250.0.254/24", 00:53:13 "hosts": [ 00:53:13 "tcp://0.0.0.0:5555", 00:53:13 "unix:///var/run/docker.sock" 00:53:13 ], 00:53:13 "mtu": 1458, 00:53:13 "selinux-enabled": true, 00:53:13 "seccomp-profile": "/etc/docker/seccomp.json" 00:53:13 } [Pipeline] sh 00:53:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:53:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:53:32 provisioning config files... 00:53:32 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config11675881833454530917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:53:32 ---> docker-login.sh 00:53:32 nexus3.edgexfoundry.org:10001 00:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:33 Configure a credential helper to remove this warning. See 00:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:33 00:53:33 Login Succeeded 00:53:33 nexus3.edgexfoundry.org:10002 00:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:33 Configure a credential helper to remove this warning. See 00:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:33 00:53:33 Login Succeeded 00:53:33 nexus3.edgexfoundry.org:10003 00:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:34 Configure a credential helper to remove this warning. See 00:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:34 00:53:34 Login Succeeded 00:53:34 nexus3.edgexfoundry.org:10004 00:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:34 Configure a credential helper to remove this warning. See 00:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:34 00:53:34 Login Succeeded 00:53:34 docker.io 00:53:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:53:35 Configure a credential helper to remove this warning. See 00:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:53:35 00:53:35 Login Succeeded 00:53:35 ---> docker-login.sh ends [Pipeline] } 00:53:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:53:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:53:35 ========================================================= 00:53:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:53:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:35 + 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 . 00:53:35 Sending build context to Docker daemon 220.2kB 00:53:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:53:36 Step 2/12 : FROM ${BASE} AS builder 00:53:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:53:36 edb6bdbacee9: Pulling fs layer 00:53:36 5f9638ab2659: Pulling fs layer 00:53:36 8d51d6327a98: Pulling fs layer 00:53:36 8b374f2dd631: Pulling fs layer 00:53:36 ec14aa9079de: Pulling fs layer 00:53:36 2f466654f4bb: Pulling fs layer 00:53:36 554e91adad29: Pulling fs layer 00:53:36 ec14aa9079de: Waiting 00:53:36 2f466654f4bb: Waiting 00:53:36 554e91adad29: Waiting 00:53:36 8b374f2dd631: Waiting 00:53:36 5f9638ab2659: Verifying Checksum 00:53:36 5f9638ab2659: Download complete 00:53:36 8b374f2dd631: Verifying Checksum 00:53:36 8b374f2dd631: Download complete 00:53:36 ec14aa9079de: Verifying Checksum 00:53:36 ec14aa9079de: Download complete 00:53:36 edb6bdbacee9: Verifying Checksum 00:53:36 edb6bdbacee9: Download complete 00:53:37 554e91adad29: Verifying Checksum 00:53:37 554e91adad29: Download complete 00:53:39 2f466654f4bb: Verifying Checksum 00:53:39 edb6bdbacee9: Pull complete 00:53:40 5f9638ab2659: Pull complete 00:53:41 8d51d6327a98: Verifying Checksum 00:53:54 8d51d6327a98: Pull complete 00:53:54 8b374f2dd631: Pull complete 00:53:54 ec14aa9079de: Pull complete 00:54:00 2f466654f4bb: Pull complete 00:54:02 554e91adad29: Pull complete 00:54:02 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:54:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:54:02 ---> 1e15ea492957 00:54:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:54:03 ---> Running in f1d855912549 00:54:03 Removing intermediate container f1d855912549 00:54:03 ---> bcbe870dbfc6 00:54:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:54:03 ---> Running in c4eb565b6315 00:54:03 Removing intermediate container c4eb565b6315 00:54:03 ---> 7961e39bae0f 00:54:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:54:03 ---> Running in 688d0095b8bb 00:54:04 Removing intermediate container 688d0095b8bb 00:54:04 ---> 6e9d3f2b6bd8 00:54:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:54:04 ---> Running in d50e43189523 00:54:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:54:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:54:07 OK: 263 MiB in 53 packages 00:54:07 Removing intermediate container d50e43189523 00:54:07 ---> 10023c89095e 00:54:07 Step 7/12 : WORKDIR /app 00:54:08 ---> Running in 985d413ba484 00:54:08 Removing intermediate container 985d413ba484 00:54:08 ---> 89981dff84e7 00:54:08 Step 8/12 : COPY go.mod vendor* ./ 00:54:08 ---> 29bde9a9cf46 00:54:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:54:08 ---> Running in a0fb482aa45c 00:55:30 Removing intermediate container a0fb482aa45c 00:55:30 ---> f3dc28415326 00:55:30 Step 10/12 : COPY . . 00:55:30 ---> 80ba164786f4 00:55:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:55:30 ---> Running in 865bcb83b2a2 00:55:30 Removing intermediate container 865bcb83b2a2 00:55:30 ---> d646be78e378 00:55:30 Step 12/12 : RUN $MAKE 00:55:30 ---> Running in 4c3b39d8809f 00:55:30 noop 00:55:30 Removing intermediate container 4c3b39d8809f 00:55:30 ---> 767094e30e6e 00:55:30 Successfully built 767094e30e6e 00:55:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:30 + docker inspect -f . ci-base-image-arm64 00:55:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:31 prd-ubuntu20.04-docker-arm64-4c-16g-4327 does not seem to be running inside a container 00:55:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:55:32 $ docker top e3a9948a2935b70671ee446c30419d09a08a028f36df7391593756a335497cff -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:33 + go version 00:55:33 go version go1.20.6 linux/arm64 [Pipeline] } 00:55:33 $ docker stop --time=1 e3a9948a2935b70671ee446c30419d09a08a028f36df7391593756a335497cff 00:55:34 $ docker rm -f --volumes e3a9948a2935b70671ee446c30419d09a08a028f36df7391593756a335497cff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:35 + docker inspect -f . ci-base-image-arm64 00:55:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:35 prd-ubuntu20.04-docker-arm64-4c-16g-4327 does not seem to be running inside a container 00:55:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:55:37 $ docker top 815114125d61dc9ad3847f681b8bb03da589b0b6e9eaed19971cfe4f606367e0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:37 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 00:55:38 + make test 00:55:38 go test -race -coverprofile=coverage.out ./... 00:58:45 ? github.com/edgexfoundry/app-record-replay [no test files] 00:58:45 ok github.com/edgexfoundry/app-record-replay/internal/app 0.276s coverage: 88.0% of statements 00:58:46 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 00:58:46 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 00:58:46 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 00:58:56 ok github.com/edgexfoundry/app-record-replay/internal/application 8.908s coverage: 98.1% of statements 00:58:56 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.734s coverage: 78.0% of statements 00:58:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:58:56 go vet ./... 01:01:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:01:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:01:33 ./bin/test-attribution-txt.sh [Pipeline] echo 01:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:01:33 $ docker stop --time=1 815114125d61dc9ad3847f681b8bb03da589b0b6e9eaed19971cfe4f606367e0 01:01:34 $ docker rm -f --volumes 815114125d61dc9ad3847f681b8bb03da589b0b6e9eaed19971cfe4f606367e0 [Pipeline] // withDockerContainer [Pipeline] sh 01:01:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:01:36 Warning: overwriting stash ‘coverage-report’ 01:01:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:01:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:01:37 + ls -al . 01:01:37 total 176 01:01:37 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 00:55 . 01:01:37 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 00:53 .. 01:01:37 -rw-rw-r-- 1 jenkins jenkins 119 Aug 23 00:53 .dockerignore 01:01:37 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 00:53 .git 01:01:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 00:53 .github 01:01:37 -rw-rw-r-- 1 jenkins jenkins 164 Aug 23 00:53 .gitignore 01:01:37 -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 00:53 .golangci.yml 01:01:37 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 23 00:53 Attribution.txt 01:01:37 -rw-rw-r-- 1 jenkins jenkins 258 Aug 23 00:53 CHANGELOG.md 01:01:37 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 23 00:53 Dockerfile 01:01:37 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 00:53 GOVERNANCE.md 01:01:37 -rw-rw-r-- 1 jenkins jenkins 681 Aug 23 00:53 Jenkinsfile 01:01:37 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 23 00:53 LICENSE 01:01:37 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 23 00:53 Makefile 01:01:37 -rw-rw-r-- 1 jenkins jenkins 611 Aug 23 00:53 OWNERS.md 01:01:37 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 23 00:53 README.md 01:01:37 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 23 00:53 Record and Reply.postman_collection.json 01:01:37 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 00:49 VERSION 01:01:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 00:53 bin 01:01:37 -rw-r--r-- 1 jenkins jenkins 21225 Aug 23 00:58 coverage.out 01:01:37 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 23 00:53 go.mod 01:01:37 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 23 00:53 go.sum 01:01:37 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 00:53 internal 01:01:37 -rw-rw-r-- 1 jenkins jenkins 913 Aug 23 00:53 main.go 01:01:37 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 00:53 pkg 01:01:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 00:53 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:37 + 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=64c688f445d5ba03b84f6456524f7d250cd515e6 --label arch=arm64 --label version=0.0.0 . 01:01:37 Sending build context to Docker daemon 242.2kB 01:01:38 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 01:01:38 Step 2/26 : FROM ${BASE} AS builder 01:01:38 ---> 767094e30e6e 01:01:38 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 01:01:40 ---> Running in 5daa103accb2 01:01:40 Removing intermediate container 5daa103accb2 01:01:40 ---> 9b7ac99d962f 01:01:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 01:01:40 ---> Running in ff56b3b54b34 01:01:40 Removing intermediate container ff56b3b54b34 01:01:40 ---> 65acc384704e 01:01:40 Step 5/26 : ARG ADD_BUILD_TAGS="" 01:01:40 ---> Running in 903dd0057b07 01:01:41 Removing intermediate container 903dd0057b07 01:01:41 ---> 9b4936de025c 01:01:41 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:01:41 ---> Running in b096be1f3861 01:01:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:01:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:01:43 OK: 263 MiB in 53 packages 01:01:44 Removing intermediate container b096be1f3861 01:01:44 ---> be97b838c0cd 01:01:44 Step 7/26 : WORKDIR /app 01:01:44 ---> Running in 4c60ec290607 01:01:44 Removing intermediate container 4c60ec290607 01:01:44 ---> 164d5a9b46d8 01:01:44 Step 8/26 : COPY go.mod vendor* ./ 01:01:45 ---> ce31e4efdeff 01:01:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:01:45 ---> Running in 87f8edbb4500 01:01:47 Removing intermediate container 87f8edbb4500 01:01:47 ---> 35f0525113d0 01:01:47 Step 10/26 : COPY . . 01:01:48 ---> d693c91b6c0b 01:01:48 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:01:48 ---> Running in 4b6a1a6671e0 01:01:48 Removing intermediate container 4b6a1a6671e0 01:01:48 ---> 676b415cae44 01:01:48 Step 12/26 : RUN $MAKE 01:01:48 ---> Running in 3c5ca2b40b1e 01:01:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 01:04:11 Removing intermediate container 3c5ca2b40b1e 01:04:11 ---> 77bd8acb8c65 01:04:11 Step 13/26 : FROM alpine:3.17 01:04:11 3.17: Pulling from library/alpine 01:04:11 4060ece20d7a: Pulling fs layer 01:04:11 4060ece20d7a: Verifying Checksum 01:04:11 4060ece20d7a: Download complete 01:04:11 4060ece20d7a: Pull complete 01:04:11 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 01:04:11 Status: Downloaded newer image for alpine:3.17 01:04:11 ---> 8650cd65339b 01:04:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:04:11 ---> Running in b34a83881a24 01:04:11 Removing intermediate container b34a83881a24 01:04:11 ---> ca1c180083e6 01:04:11 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 01:04:11 ---> Running in d5518dea2431 01:04:11 Removing intermediate container d5518dea2431 01:04:11 ---> ee2955d71f4f 01:04:11 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 01:04:11 ---> Running in 72662c8ee360 01:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:04:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:04:11 (1/2) Installing ca-certificates (20230506-r0) 01:04:11 (2/2) Installing dumb-init (1.2.5-r2) 01:04:11 Executing busybox-1.35.0-r29.trigger 01:04:11 Executing ca-certificates-20230506-r0.trigger 01:04:12 OK: 8 MiB in 17 packages 01:04:13 Removing intermediate container 72662c8ee360 01:04:13 ---> 703502d80ab1 01:04:13 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 01:04:13 ---> 97946e3e489a 01:04:13 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 01:04:14 ---> d648f63e16fc 01:04:14 Step 19/26 : COPY --from=builder /app/res/ /res/ 01:04:14 ---> ee8d638b6ddb 01:04:14 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 01:04:16 ---> a21db89198dd 01:04:16 Step 21/26 : EXPOSE 59712 01:04:16 ---> Running in 3f7903dea6eb 01:04:16 Removing intermediate container 3f7903dea6eb 01:04:16 ---> 5717274a5d38 01:04:16 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 01:04:16 ---> Running in 3e9ea3d50546 01:04:16 Removing intermediate container 3e9ea3d50546 01:04:16 ---> 4685d990f36e 01:04:16 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:04:16 ---> Running in c1556b8f081e 01:04:16 Removing intermediate container c1556b8f081e 01:04:16 ---> 72445e0d04ce 01:04:16 Step 24/26 : LABEL arch=arm64 01:04:16 ---> Running in 4ddc80c6d68c 01:04:17 Removing intermediate container 4ddc80c6d68c 01:04:17 ---> 6bda89aaf34a 01:04:17 Step 25/26 : LABEL git_sha=64c688f445d5ba03b84f6456524f7d250cd515e6 01:04:17 ---> Running in 9e97d3f76b9b 01:04:17 Removing intermediate container 9e97d3f76b9b 01:04:17 ---> e252bb02c08a 01:04:17 Step 26/26 : LABEL version=0.0.0 01:04:17 ---> Running in 8312f0d10b72 01:04:17 Removing intermediate container 8312f0d10b72 01:04:17 ---> 41edcc13fc1e 01:04:17 [Warning] One or more build-args [ARCH] were not consumed 01:04:17 Successfully built 41edcc13fc1e 01:04:17 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 01:04:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:04:18 01:04:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:04:18 arm64: Pulling from edgex-lftools-log-publisher 01:04:18 8998bd30e6a1: Pulling fs layer 01:04:18 04944245beec: Pulling fs layer 01:04:18 699f458cf7ca: Pulling fs layer 01:04:18 765212b225bb: Pulling fs layer 01:04:18 f23df028b6ca: Pulling fs layer 01:04:18 d65c8cfc05b1: Pulling fs layer 01:04:18 2437ff75d9bd: Pulling fs layer 01:04:18 f23df028b6ca: Waiting 01:04:18 d65c8cfc05b1: Waiting 01:04:18 2437ff75d9bd: Waiting 01:04:18 765212b225bb: Waiting 01:04:18 04944245beec: Verifying Checksum 01:04:18 04944245beec: Download complete 01:04:18 765212b225bb: Verifying Checksum 01:04:18 765212b225bb: Download complete 01:04:18 f23df028b6ca: Verifying Checksum 01:04:18 f23df028b6ca: Download complete 01:04:18 d65c8cfc05b1: Verifying Checksum 01:04:18 d65c8cfc05b1: Download complete 01:04:18 699f458cf7ca: Verifying Checksum 01:04:18 699f458cf7ca: Download complete 01:04:19 8998bd30e6a1: Verifying Checksum 01:04:19 8998bd30e6a1: Download complete 01:04:21 2437ff75d9bd: Verifying Checksum 01:04:21 2437ff75d9bd: Download complete 01:04:22 8998bd30e6a1: Pull complete 01:04:22 04944245beec: Pull complete 01:04:24 699f458cf7ca: Pull complete 01:04:24 765212b225bb: Pull complete 01:04:24 f23df028b6ca: Pull complete 01:04:25 d65c8cfc05b1: Pull complete 01:04:37 2437ff75d9bd: Pull complete 01:04:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:04:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:38 prd-ubuntu20.04-docker-arm64-4c-16g-4327 does not seem to be running inside a container 01:04:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:04:40 $ docker top f37041ce5f400930475971d8a2011a6bb467f70a626af49e9834c443895a3e83 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:41 ---> job-cost.sh 01:04:41 lf-activate-venv: SKIPPING 01:04:41 INFO: No Stack... 01:04:41 INFO: Retrieving Pricing Info for: v3-standard-4 01:04:42 INFO: Archiving Costs [Pipeline] sh 01:04:42 + cat /w/workspace/app-record-replay/2/archives/cost.csv 01:04:42 + cut -d, -f6 [Pipeline] lock 01:04:42 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-66-2-stack-cost] 01:04:42 Resource [jenkins-edgexfoundry-app-record-replay-PR-66-2-stack-cost] did not exist. Created. 01:04:42 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-66-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:04:43 /w/workspace/app-record-replay/2@tmp/durable-1ba3e9e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:04:43 + echo total: 0.10999999940395355 [Pipeline] stash 01:04:43 Warning: overwriting stash ‘stack-cost’ 01:04:43 Stashed 1 file(s) [Pipeline] } 01:04:43 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-66-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:04:43 $ docker stop --time=1 f37041ce5f400930475971d8a2011a6bb467f70a626af49e9834c443895a3e83 01:04:45 $ docker rm -f --volumes f37041ce5f400930475971d8a2011a6bb467f70a626af49e9834c443895a3e83 [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 01:04:46 provisioning config files... 01:04:46 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-66 #2 01:04:46 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-66@tmp/config11587168815348051706tmp [Pipeline] { [Pipeline] sh 01:04:46 + set +x 01:04:46 + curl -s https://codecov.io/bash 01:04:46 + bash -s -- 01:04:46 01:04:46 _____ _ 01:04:46 / ____| | | 01:04:46 | | ___ __| | ___ ___ _____ __ 01:04:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:04:46 | |___| (_) | (_| | __/ (_| (_) \ V / 01:04:46 \_____\___/ \__,_|\___|\___\___/ \_/ 01:04:46 Bash-1.0.6 01:04:46 01:04:46 01:04:46 ==> git version 2.25.1 found 01:04:46 ==> 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 01:04:46 Release-Date: 2020-01-08 01:04:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:04:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:04:46 ==> Jenkins CI detected. 01:04:46 current dir:  /w/workspace/xfoundry_app-record-replay_PR-66 01:04:46 project root: . 01:04:46 --> token set from env 01:04:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:04:46 ==> Running gcov in . (disable via -X gcov) 01:04:46 ==> Python coveragepy not found 01:04:46 ==> Searching for coverage reports in: 01:04:46 + . 01:04:46 -> Found 1 reports 01:04:46 ==> Detecting git/mercurial file structure 01:04:46 ==> Reading reports 01:04:46 + ./coverage.out bytes=21225 01:04:46 ==> Appending adjustments 01:04:46 https://docs.codecov.io/docs/fixing-reports 01:04:46 + Found adjustments 01:04:46 ==> Gzipping contents 01:04:46 8.0K /tmp/codecov.Xm4LJA.gz 01:04:46 ==> Uploading reports 01:04:46 url: https://codecov.io 01:04:46 query: branch=PR-66&commit=64c688f445d5ba03b84f6456524f7d250cd515e6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-66%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=66&job=&cmd_args= 01:04:46 -> Pinging Codecov 01:04:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-66&commit=64c688f445d5ba03b84f6456524f7d250cd515e6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-66%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=66&job=&cmd_args= 01:04:46 Invalid request parameters 01:04:46 400 [Pipeline] } 01:04:46 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 01:04:47 + [ -d /w/workspace/xfoundry_app-record-replay_PR-66/archives ] 01:04:47 + ls -al /w/workspace/xfoundry_app-record-replay_PR-66/archives 01:04:47 total 16 01:04:47 drwxr-xr-x 3 root root 4096 Aug 23 00:51 . 01:04:47 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 00:51 .. 01:04:47 drwxr-xr-x 2 root root 4096 Aug 23 00:51 cost 01:04:47 -rw-r--r-- 1 root root 88 Aug 23 00:51 cost.csv 01:04:47 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-66/archives 01:04:47 + ls -al /w/workspace/xfoundry_app-record-replay_PR-66/archives 01:04:47 total 16 01:04:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 00:51 . 01:04:47 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 00:51 .. 01:04:47 drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 00:51 cost 01:04:47 -rw-r--r-- 1 jenkins jenkins 88 Aug 23 00:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:04:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:04:48 ---> package-listing.sh 01:04:48 ++ facter osfamily 01:04:48 ++ tr '[:upper:]' '[:lower:]' 01:04:49 + OS_FAMILY=debian 01:04:49 + workspace=/w/workspace/xfoundry_app-record-replay_PR-66 01:04:49 + START_PACKAGES=/tmp/packages_start.txt 01:04:49 + END_PACKAGES=/tmp/packages_end.txt 01:04:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:04:49 + PACKAGES=/tmp/packages_start.txt 01:04:49 + '[' /w/workspace/xfoundry_app-record-replay_PR-66 ']' 01:04:49 + PACKAGES=/tmp/packages_end.txt 01:04:49 + case "${OS_FAMILY}" in 01:04:49 + dpkg -l 01:04:49 + grep '^ii' 01:04:49 + '[' -f /tmp/packages_start.txt ']' 01:04:49 + '[' -f /tmp/packages_end.txt ']' 01:04:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:04:49 + '[' /w/workspace/xfoundry_app-record-replay_PR-66 ']' 01:04:49 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-66/archives/ 01:04:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-66/archives/ [Pipeline] echo 01:04:49 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-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:04:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:04:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:50 prd-ubuntu20.04-docker-8c-8g-4324 does not seem to be running inside a container 01:04:50 $ 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-66/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-66 -v /w/workspace/xfoundry_app-record-replay_PR-66:/w/workspace/xfoundry_app-record-replay_PR-66:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-66@tmp:/w/workspace/xfoundry_app-record-replay_PR-66@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:04:50 $ docker top d71d6824554d7949d7c548f8935de2a95834be373b57c3ffa3836402d58e8ca7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:04:50 + touch /tmp/pre-build-complete [Pipeline] sh 01:04:50 + mkdir -p /var/log/sysstat [Pipeline] sh 01:04:51 + ls /var/log/sa-host 01:04:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:51 provisioning config files... 01:04:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-66@tmp/config16686563880690541110tmp [Pipeline] { [Pipeline] echo 01:04:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:04:51 ---> create-netrc.sh [Pipeline] } 01:04:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:04:51 ---> python-tools-install.sh [Pipeline] echo 01:04:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:04:52 ---> sudo-logs.sh 01:04:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:04:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:04:52 ---> job-cost.sh 01:04:52 lf-activate-venv: SKIPPING 01:04:52 DEBUG: total: 0.2199999988079071 01:04:52 INFO: Retrieving Stack Cost... 01:04:52 INFO: Retrieving Pricing Info for: v3-standard-8 01:04:53 INFO: Archiving Costs [Pipeline] echo 01:04:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:04:53 ---> logs-deploy.sh 01:04:53 lf-activate-venv: SKIPPING 01:04:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-66/2 01:04:53 INFO: archiving workspace using pattern(s): 01:04:54 Archives upload complete. 01:04:54 INFO: archiving logs to Nexus