Pull request #63 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 8b127c48a13f0d6054bb771a2b31e65ee556cbce+0cf030821eec9376453adfe2348338ef327cf101 (63c53ca9b2b1ccbc0db21198df0c00c2e6e0659d) 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-ssh6891839872645273266.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-ssh9089372538584998551.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-63/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-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8339466811945525417.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-ssh836076945736153790.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-63/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-63/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh328052296921835804.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4277 in /w/workspace/xfoundry_app-record-replay_PR-63 [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-63 # 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 0cf030821eec9376453adfe2348338ef327cf101 into PR head commit 8b127c48a13f0d6054bb771a2b31e65ee556cbce > 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/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b127c48a13f0d6054bb771a2b31e65ee556cbce # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 8b127c48a13f0d6054bb771a2b31e65ee556cbce Checking out Revision 8b127c48a13f0d6054bb771a2b31e65ee556cbce (PR-63) using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0cf030821eec9376453adfe2348338ef327cf101 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b127c48a13f0d6054bb771a2b31e65ee556cbce # timeout=10 Commit message: "fix: Fix failing unit tests and linter errors" > git rev-list --no-walk 7cad0131186e3f2ea51d84677ed08e4cd00c4479 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:17:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:17:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:17:46 ========================================================= 17:17:46 EdgeX Global Pipelines Version Info 17:17:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:17:47 ------------------- 17:17:47 stable info: 17:17:47 ------------------- 17:17:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:17:47 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 17:17:47 Message: update stable to v1.0.253 17:17:48 ------------------- 17:17:48 experimental info: 17:17:48 ------------------- 17:17:48 Commited By: **** collab-it+edgex@linuxfoundation.org 17:17:48 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 17:17:48 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-63 [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-63 [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-63 [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b127c48a13f0d6054bb771a2b31e65ee556cbce [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b127c4 [Pipeline] echo 17:17:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:17:48 provisioning config files... 17:17:48 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-63@tmp/config8350568654420866143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:17:49 ---> docker-login.sh 17:17:49 nexus3.edgexfoundry.org:10001 17:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:49 Configure a credential helper to remove this warning. See 17:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:49 17:17:49 Login Succeeded 17:17:49 nexus3.edgexfoundry.org:10002 17:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:49 Configure a credential helper to remove this warning. See 17:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:49 17:17:49 Login Succeeded 17:17:49 nexus3.edgexfoundry.org:10003 17:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:49 Configure a credential helper to remove this warning. See 17:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:49 17:17:49 Login Succeeded 17:17:49 nexus3.edgexfoundry.org:10004 17:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:49 Configure a credential helper to remove this warning. See 17:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:49 17:17:49 Login Succeeded 17:17:49 docker.io 17:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:17:50 Configure a credential helper to remove this warning. See 17:17:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:17:50 17:17:50 Login Succeeded 17:17:50 ---> docker-login.sh ends [Pipeline] } 17:17:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:17:50 + git rev-list -1 --merges 8b127c48a13f0d6054bb771a2b31e65ee556cbce~1..8b127c48a13f0d6054bb771a2b31e65ee556cbce [Pipeline] echo 17:17:50 -----------> git rev-list -1 --merges 8b127c48a13f0d6054bb771a2b31e65ee556cbce~1..8b127c48a13f0d6054bb771a2b31e65ee556cbce 8b127c48a13f0d6054bb771a2b31e65ee556cbce [false] [Pipeline] sh 17:17:50 + git log --format=format:%s -1 8b127c48a13f0d6054bb771a2b31e65ee556cbce [Pipeline] echo 17:17:50 ========================================================= 17:17:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:17:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:17:51 + git log --format=format:%s -1 8b127c48a13f0d6054bb771a2b31e65ee556cbce [Pipeline] echo 17:17:51 [semverPrep] GIT_COMMIT: 8b127c48a13f0d6054bb771a2b31e65ee556cbce, Commit Message: fix: Fix failing unit tests and linter errors [Pipeline] echo 17:17:51 [semverPrep] This is not a build commit. [Pipeline] sh 17:17:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:17:51 + grep -v github /etc/ssh/ssh_known_hosts 17:17:51 + [ -e /tmp/ssh_known_hosts ] 17:17:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:17:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:17:51 + sudo tee -a /etc/ssh/ssh_known_hosts 17:17:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:52 17:17:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:52 0.1.4: Pulling from edgex-devops/py-git-semver 17:17:52 b85a868b505f: Pulling fs layer 17:17:52 e2be974225ed: Pulling fs layer 17:17:52 339a4e72a1f5: Pulling fs layer 17:17:52 988bab9f4d93: Pulling fs layer 17:17:52 1469e6f7b9e6: Pulling fs layer 17:17:52 eaf3925da568: Pulling fs layer 17:17:52 bab4dde63d76: Pulling fs layer 17:17:52 bde34c3a00c8: Pulling fs layer 17:17:52 b352a97aabf1: Pulling fs layer 17:17:52 4872d77fe225: Pulling fs layer 17:17:52 5851b861e8e6: Pulling fs layer 17:17:52 bab4dde63d76: Waiting 17:17:52 bde34c3a00c8: Waiting 17:17:52 b352a97aabf1: Waiting 17:17:52 4872d77fe225: Waiting 17:17:52 988bab9f4d93: Waiting 17:17:52 5851b861e8e6: Waiting 17:17:52 eaf3925da568: Waiting 17:17:52 1469e6f7b9e6: Waiting 17:17:52 e2be974225ed: Verifying Checksum 17:17:52 e2be974225ed: Download complete 17:17:52 988bab9f4d93: Verifying Checksum 17:17:52 988bab9f4d93: Download complete 17:17:52 1469e6f7b9e6: Verifying Checksum 17:17:52 1469e6f7b9e6: Download complete 17:17:52 339a4e72a1f5: Verifying Checksum 17:17:52 339a4e72a1f5: Download complete 17:17:52 eaf3925da568: Verifying Checksum 17:17:52 eaf3925da568: Download complete 17:17:52 bde34c3a00c8: Verifying Checksum 17:17:52 bde34c3a00c8: Download complete 17:17:52 b352a97aabf1: Download complete 17:17:52 4872d77fe225: Verifying Checksum 17:17:52 4872d77fe225: Download complete 17:17:52 5851b861e8e6: Download complete 17:17:52 b85a868b505f: Verifying Checksum 17:17:52 b85a868b505f: Download complete 17:17:52 bab4dde63d76: Verifying Checksum 17:17:52 bab4dde63d76: Download complete 17:17:53 b85a868b505f: Pull complete 17:17:54 e2be974225ed: Pull complete 17:17:54 339a4e72a1f5: Pull complete 17:17:54 988bab9f4d93: Pull complete 17:17:54 1469e6f7b9e6: Pull complete 17:17:54 eaf3925da568: Pull complete 17:17:56 bab4dde63d76: Pull complete 17:17:56 bde34c3a00c8: Pull complete 17:17:56 b352a97aabf1: Pull complete 17:17:57 4872d77fe225: Pull complete 17:17:57 5851b861e8e6: Pull complete 17:17:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:17:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:57 prd-ubuntu20.04-docker-8c-8g-4277 does not seem to be running inside a container 17:17:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:18:00 $ docker top d4acb50ac994ae7c4b41abde9e5075295e62d266e5bd4aa9fae0e5a22e9c5371 -eo pid,comm 17:18:00 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). 17:18:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:18:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:18:00 [ssh-agent] Looking for ssh-agent implementation... 17:18:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:18:00 $ docker exec d4acb50ac994ae7c4b41abde9e5075295e62d266e5bd4aa9fae0e5a22e9c5371 ssh-agent 17:18:00 SSH_AUTH_SOCK=/tmp/ssh-NJfCkm3IKsc4/agent.32 17:18:00 SSH_AGENT_PID=38 17:18:00 Running ssh-add (command line suppressed) 17:18:00 Identity added: /w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_4385870626085688280.key (/w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_4385870626085688280.key) 17:18:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:18:00 + git tag --points-at HEAD [Pipeline] } 17:18:00 $ docker exec --env ******** --env ******** d4acb50ac994ae7c4b41abde9e5075295e62d266e5bd4aa9fae0e5a22e9c5371 ssh-agent -k 17:18:01 unset SSH_AUTH_SOCK; 17:18:01 unset SSH_AGENT_PID; 17:18:01 echo Agent pid 38 killed; 17:18:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:18:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:18:01 [ssh-agent] Looking for ssh-agent implementation... 17:18:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:18:01 $ docker exec d4acb50ac994ae7c4b41abde9e5075295e62d266e5bd4aa9fae0e5a22e9c5371 ssh-agent 17:18:01 SSH_AUTH_SOCK=/tmp/ssh-GpkLHrM5d4JG/agent.70 17:18:01 SSH_AGENT_PID=76 17:18:01 Running ssh-add (command line suppressed) 17:18:01 Identity added: /w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_16319706980376628332.key (/w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_16319706980376628332.key) 17:18:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:18:01 + git semver init 17:18:02 2023-08-22 17:18:01,976 [run_init] DEBUG init version:0.0.0 force:False 17:18:02 2023-08-22 17:18:01,977 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-63/.semver 17:18:02 2023-08-22 17:18:01,978 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-63/.semver 17:18:02 2023-08-22 17:18:01,978 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-63/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-63, universal_newlines=False, shell=None, istream=None) 17:18:02 2023-08-22 17:18:02,655 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-63/.git/info/exclude 17:18:02 2023-08-22 17:18:02,655 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-63/.semver/PR-63 with force:False 17:18:02 2023-08-22 17:18:02,656 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-63/.semver/PR-63 17:18:02 2023-08-22 17:18:02,660 [execute] INFO git cat-file --batch-check 17:18:02 2023-08-22 17:18:02,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-63/.semver, universal_newlines=False, shell=None, istream=) 17:18:02 2023-08-22 17:18:02,667 [execute] INFO git cat-file --batch 17:18:02 2023-08-22 17:18:02,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-63/.semver, universal_newlines=False, shell=None, istream=) 17:18:02 2023-08-22 17:18:02,672 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-63/.semver/PR-63 17:18:02 0.0.0 [Pipeline] } 17:18:02 $ docker exec --env ******** --env ******** d4acb50ac994ae7c4b41abde9e5075295e62d266e5bd4aa9fae0e5a22e9c5371 ssh-agent -k 17:18:03 unset SSH_AUTH_SOCK; 17:18:03 unset SSH_AGENT_PID; 17:18:03 echo Agent pid 76 killed; 17:18:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:18:03 + git semver [Pipeline] } 17:18:03 $ docker stop --time=1 d4acb50ac994ae7c4b41abde9e5075295e62d266e5bd4aa9fae0e5a22e9c5371 17:18:04 $ docker rm -f --volumes d4acb50ac994ae7c4b41abde9e5075295e62d266e5bd4aa9fae0e5a22e9c5371 [Pipeline] // withDockerContainer [Pipeline] sh 17:18:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:18:05 Stashed 1 file(s) [Pipeline] echo 17:18:05 [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 17:18:05 provisioning config files... 17:18:05 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-63@tmp/config10541987255862318448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:18:05 ---> docker-login.sh 17:18:05 nexus3.edgexfoundry.org:10001 17:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:05 Configure a credential helper to remove this warning. See 17:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:05 17:18:05 Login Succeeded 17:18:05 nexus3.edgexfoundry.org:10002 17:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:05 Configure a credential helper to remove this warning. See 17:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:05 17:18:05 Login Succeeded 17:18:05 nexus3.edgexfoundry.org:10003 17:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:06 Configure a credential helper to remove this warning. See 17:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:06 17:18:06 Login Succeeded 17:18:06 nexus3.edgexfoundry.org:10004 17:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:06 Configure a credential helper to remove this warning. See 17:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:06 17:18:06 Login Succeeded 17:18:06 docker.io 17:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:06 Configure a credential helper to remove this warning. See 17:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:06 17:18:06 Login Succeeded 17:18:06 ---> docker-login.sh ends [Pipeline] } 17:18:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:18:06 ========================================================= 17:18:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:18:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:06 + 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 . 17:18:06 Sending build context to Docker daemon 463.4kB 17:18:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:18:06 Step 2/12 : FROM ${BASE} AS builder 17:18:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:18:06 4db1b89c0bd1: Pulling fs layer 17:18:06 6911f1a30b25: Pulling fs layer 17:18:06 e194b8c5c2a9: Pulling fs layer 17:18:06 6863d3e3a2b1: Pulling fs layer 17:18:06 ec0bb842ea78: Pulling fs layer 17:18:06 40a00589a448: Pulling fs layer 17:18:06 6c08303d61cc: Pulling fs layer 17:18:06 798269fcf238: Pulling fs layer 17:18:06 40a00589a448: Waiting 17:18:06 798269fcf238: Waiting 17:18:06 6c08303d61cc: Waiting 17:18:06 6911f1a30b25: Download complete 17:18:06 6863d3e3a2b1: Verifying Checksum 17:18:06 6863d3e3a2b1: Download complete 17:18:06 ec0bb842ea78: Download complete 17:18:06 4db1b89c0bd1: Verifying Checksum 17:18:06 4db1b89c0bd1: Download complete 17:18:07 40a00589a448: Verifying Checksum 17:18:07 40a00589a448: Download complete 17:18:07 4db1b89c0bd1: Pull complete 17:18:07 6911f1a30b25: Pull complete 17:18:07 e194b8c5c2a9: Verifying Checksum 17:18:07 e194b8c5c2a9: Download complete 17:18:07 798269fcf238: Verifying Checksum 17:18:07 798269fcf238: Download complete 17:18:07 6c08303d61cc: Verifying Checksum 17:18:07 6c08303d61cc: Download complete 17:18:11 e194b8c5c2a9: Pull complete 17:18:11 6863d3e3a2b1: Pull complete 17:18:11 ec0bb842ea78: Pull complete 17:18:11 40a00589a448: Pull complete 17:18:13 6c08303d61cc: Pull complete 17:18:14 798269fcf238: Pull complete 17:18:14 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 17:18:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:18:14 ---> ec979cd7f677 17:18:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:18:20 Still waiting to schedule task 17:18:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:18:21 ---> Running in f1efd441297d 17:18:21 Removing intermediate container f1efd441297d 17:18:21 ---> 289b96af6b93 17:18:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:18:21 ---> Running in ff88fc10f648 17:18:21 Removing intermediate container ff88fc10f648 17:18:21 ---> eb1bfddca66e 17:18:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:18:21 ---> Running in 039d1fe818bd 17:18:21 Removing intermediate container 039d1fe818bd 17:18:21 ---> 520b96892b28 17:18:21 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:18:21 ---> Running in c648d4878647 17:18:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:18:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:18:21 OK: 265 MiB in 53 packages 17:18:22 Removing intermediate container c648d4878647 17:18:22 ---> f5c5c8740964 17:18:22 Step 7/12 : WORKDIR /app 17:18:22 ---> Running in fb6112d25aad 17:18:22 Removing intermediate container fb6112d25aad 17:18:22 ---> 18c5ec23c37e 17:18:22 Step 8/12 : COPY go.mod vendor* ./ 17:18:22 ---> 4c09817e1d1b 17:18:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:18:22 ---> Running in 53e4faad6837 17:19:20 Removing intermediate container 53e4faad6837 17:19:20 ---> 5da49e56eb46 17:19:20 Step 10/12 : COPY . . 17:19:20 ---> b2702428195f 17:19:20 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:19:20 ---> Running in 1b708d864015 17:19:20 Removing intermediate container 1b708d864015 17:19:20 ---> 57692ac6430e 17:19:20 Step 12/12 : RUN $MAKE 17:19:20 ---> Running in d3a1feaaa733 17:19:20 noop 17:19:20 Removing intermediate container d3a1feaaa733 17:19:20 ---> 97c88e766248 17:19:20 Successfully built 97c88e766248 17:19:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:20 + docker inspect -f . ci-base-image-x86_64 17:19:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:20 prd-ubuntu20.04-docker-8c-8g-4277 does not seem to be running inside a container 17:19:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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 ******** ci-base-image-x86_64 cat 17:19:21 $ docker top 5e4cb6f87b8d31ba0bde5d60be6bfd61c748b84eea48e7c4b8215e95c5b0119f -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:21 + go version 17:19:21 go version go1.20.6 linux/amd64 [Pipeline] } 17:19:21 $ docker stop --time=1 5e4cb6f87b8d31ba0bde5d60be6bfd61c748b84eea48e7c4b8215e95c5b0119f 17:19:22 $ docker rm -f --volumes 5e4cb6f87b8d31ba0bde5d60be6bfd61c748b84eea48e7c4b8215e95c5b0119f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:23 + docker inspect -f . ci-base-image-x86_64 17:19:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:23 prd-ubuntu20.04-docker-8c-8g-4277 does not seem to be running inside a container 17:19:23 $ 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-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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 ******** ci-base-image-x86_64 cat 17:19:23 $ docker top d3f544ef6960eb091b29a7a7cd5354b605b01bf72818d60238ad8036e700d83c -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:23 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-63 [Pipeline] fileExists [Pipeline] sh 17:19:24 + make test 17:19:24 go test -race -coverprofile=coverage.out ./... 17:19:46 ? github.com/edgexfoundry/app-record-replay [no test files] 17:19:46 ok github.com/edgexfoundry/app-record-replay/internal/app 0.063s coverage: 88.0% of statements 17:19:46 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 17:19:46 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 17:19:46 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 17:19:53 ok github.com/edgexfoundry/app-record-replay/internal/application 8.597s coverage: 98.7% of statements 17:19:53 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.116s coverage: 78.0% of statements 17:19:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4278 in /w/workspace/xfoundry_app-record-replay_PR-63 [Pipeline] { [Pipeline] ws 17:19:56 Running in /w/workspace/app-record-replay/3 [Pipeline] { [Pipeline] checkout 17:19:56 Selected Git installation does not exist. Using Default 17:19:56 The recommended git tool is: NONE 17:20:01 using credential edgex-jenkins-ssh 17:20:01 Cloning the remote Git repository 17:20:01 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 17:20:01 > git init /w/workspace/app-record-replay/3 # timeout=10 17:20:01 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 17:20:01 > git --version # timeout=10 17:20:01 > git --version # 'git version 2.25.1' 17:20:01 using GIT_SSH to set credentials SSH Credentials for GitHub 17:20:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:20:02 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 17:20:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:20:03 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 17:20:03 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 17:20:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:20:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:20:04 Merging remotes/origin/main commit 0cf030821eec9376453adfe2348338ef327cf101 into PR head commit 8b127c48a13f0d6054bb771a2b31e65ee556cbce 17:20:04 Merge succeeded, producing 8b127c48a13f0d6054bb771a2b31e65ee556cbce 17:20:04 Checking out Revision 8b127c48a13f0d6054bb771a2b31e65ee556cbce (PR-63) 17:20:04 > git config core.sparsecheckout # timeout=10 17:20:04 > git checkout -f 8b127c48a13f0d6054bb771a2b31e65ee556cbce # timeout=10 17:20:04 > git remote # timeout=10 17:20:04 > git config --get remote.origin.url # timeout=10 17:20:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:20:04 > git merge 0cf030821eec9376453adfe2348338ef327cf101 # timeout=10 17:20:04 > git rev-parse HEAD^{commit} # timeout=10 17:20:04 > git config core.sparsecheckout # timeout=10 17:20:04 > git checkout -f 8b127c48a13f0d6054bb771a2b31e65ee556cbce # timeout=10 17:20:08 Commit message: "fix: Fix failing unit tests and linter errors" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:20:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:20:09 % Total % Received % Xferd Average Speed Time Time Time Current 17:20:09 Dload Upload Total Spent Left Speed 17:20:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68187 0 --:--:-- --:--:-- --:--:-- 68187 [Pipeline] sh 17:20:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:20:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 17:20:10 sudo tee /etc/docker/daemon.new 17:20:10 { 17:20:10 "registry-mirrors": [ 17:20:10 "https://nexus3.edgexfoundry.org:10001" 17:20:10 ], 17:20:10 "bip": "10.250.0.254/24", 17:20:10 "hosts": [ 17:20:10 "tcp://0.0.0.0:5555", 17:20:10 "unix:///var/run/docker.sock" 17:20:10 ], 17:20:10 "mtu": 1458, 17:20:10 "selinux-enabled": true, 17:20:10 "seccomp-profile": "/etc/docker/seccomp.json" 17:20:10 } [Pipeline] sh 17:20:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:20:10 + sudo service docker restart 17:20:15 go vet ./... 17:20:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:20:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:20:18 ./bin/test-attribution-txt.sh [Pipeline] echo 17:20:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:20:18 $ docker stop --time=1 d3f544ef6960eb091b29a7a7cd5354b605b01bf72818d60238ad8036e700d83c 17:20:22 $ docker rm -f --volumes d3f544ef6960eb091b29a7a7cd5354b605b01bf72818d60238ad8036e700d83c [Pipeline] // withDockerContainer [Pipeline] sh 17:20:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:20:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:20:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:20:23 + ls -al . 17:20:23 total 176 17:20:23 drwxrwxr-x 9 jenkins jenkins 4096 Aug 22 17:19 . 17:20:23 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 17:17 .. 17:20:23 -rw-rw-r-- 1 jenkins jenkins 119 Aug 22 17:17 .dockerignore 17:20:23 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 17:18 .git 17:20:23 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 17:17 .github 17:20:23 -rw-rw-r-- 1 jenkins jenkins 164 Aug 22 17:17 .gitignore 17:20:23 -rw-rw-r-- 1 jenkins jenkins 41 Aug 22 17:17 .golangci.yml 17:20:23 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 17:18 .semver 17:20:23 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 22 17:17 Attribution.txt 17:20:23 -rw-rw-r-- 1 jenkins jenkins 258 Aug 22 17:17 CHANGELOG.md 17:20:23 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 22 17:17 Dockerfile 17:20:23 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 17:17 GOVERNANCE.md 17:20:23 -rw-rw-r-- 1 jenkins jenkins 681 Aug 22 17:17 Jenkinsfile 17:20:23 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 22 17:17 LICENSE 17:20:23 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 22 17:17 Makefile 17:20:23 -rw-rw-r-- 1 jenkins jenkins 611 Aug 22 17:17 OWNERS.md 17:20:23 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 22 17:17 README.md 17:20:23 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 22 17:17 Record and Reply.postman_collection.json 17:20:23 -rw-rw-r-- 1 jenkins jenkins 5 Aug 22 17:18 VERSION 17:20:23 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 17:17 bin 17:20:23 -rw-r--r-- 1 jenkins jenkins 19940 Aug 22 17:19 coverage.out 17:20:23 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 22 17:17 go.mod 17:20:23 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 22 17:17 go.sum 17:20:23 drwxrwxr-x 6 jenkins jenkins 4096 Aug 22 17:17 internal 17:20:23 -rw-rw-r-- 1 jenkins jenkins 913 Aug 22 17:17 main.go 17:20:23 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 17:17 pkg 17:20:23 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 17:17 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:24 + 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=8b127c48a13f0d6054bb771a2b31e65ee556cbce --label arch=amd64 --label version=0.0.0 . 17:20:24 Sending build context to Docker daemon 483.8kB 17:20:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:20:24 Step 2/26 : FROM ${BASE} AS builder 17:20:24 ---> 97c88e766248 17:20:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 17:20:24 ---> Running in 3439ea6e4cd5 17:20:24 Removing intermediate container 3439ea6e4cd5 17:20:24 ---> eeb568c2cbdf 17:20:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:20:24 ---> Running in 0c15bbc698e4 17:20:24 Removing intermediate container 0c15bbc698e4 17:20:24 ---> 56174adba5e1 17:20:24 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:20:24 ---> Running in 8edb8dbf0652 17:20:24 Removing intermediate container 8edb8dbf0652 17:20:24 ---> 1f6dc24a8473 17:20:24 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:20:24 ---> Running in ed5ffd43fef6 17:20:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:20:25 OK: 265 MiB in 53 packages 17:20:25 Removing intermediate container ed5ffd43fef6 17:20:25 ---> b04818027c8a 17:20:25 Step 7/26 : WORKDIR /app 17:20:25 ---> Running in f64c67bab2ce 17:20:25 Removing intermediate container f64c67bab2ce 17:20:25 ---> 41c83ad4b0d3 17:20:25 Step 8/26 : COPY go.mod vendor* ./ 17:20:25 ---> dd115bd727bb 17:20:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:20:25 ---> Running in 2ed442aba22f 17:20:26 Removing intermediate container 2ed442aba22f 17:20:26 ---> 4fe90e85f400 17:20:26 Step 10/26 : COPY . . 17:20:26 ---> b559e24b44e2 17:20:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:20:26 ---> Running in 1ddb263e569f 17:20:26 Removing intermediate container 1ddb263e569f 17:20:26 ---> d32128e22b70 17:20:26 Step 12/26 : RUN $MAKE 17:20:26 ---> Running in f9331db4c862 17:20:27 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:20:29 provisioning config files... 17:20:29 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/3@tmp/config11801832989523358845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:29 ---> docker-login.sh 17:20:29 nexus3.edgexfoundry.org:10001 17:20:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:30 Configure a credential helper to remove this warning. See 17:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:30 17:20:30 Login Succeeded 17:20:30 nexus3.edgexfoundry.org:10002 17:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:30 Configure a credential helper to remove this warning. See 17:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:30 17:20:30 Login Succeeded 17:20:30 nexus3.edgexfoundry.org:10003 17:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:30 Configure a credential helper to remove this warning. See 17:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:30 17:20:30 Login Succeeded 17:20:30 nexus3.edgexfoundry.org:10004 17:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:31 Configure a credential helper to remove this warning. See 17:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:31 17:20:31 Login Succeeded 17:20:31 docker.io 17:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:31 Configure a credential helper to remove this warning. See 17:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:31 17:20:31 Login Succeeded 17:20:31 ---> docker-login.sh ends [Pipeline] } 17:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:20:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:20:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:20:32 ========================================================= 17:20:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:20:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:32 + 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 . 17:20:32 Sending build context to Docker daemon 217.1kB 17:20:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:20:32 Step 2/12 : FROM ${BASE} AS builder 17:20:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:20:32 edb6bdbacee9: Pulling fs layer 17:20:32 5f9638ab2659: Pulling fs layer 17:20:32 8d51d6327a98: Pulling fs layer 17:20:32 8b374f2dd631: Pulling fs layer 17:20:32 ec14aa9079de: Pulling fs layer 17:20:32 2f466654f4bb: Pulling fs layer 17:20:32 554e91adad29: Pulling fs layer 17:20:32 ec14aa9079de: Waiting 17:20:32 2f466654f4bb: Waiting 17:20:32 554e91adad29: Waiting 17:20:32 8b374f2dd631: Waiting 17:20:32 5f9638ab2659: Verifying Checksum 17:20:32 5f9638ab2659: Download complete 17:20:32 8b374f2dd631: Verifying Checksum 17:20:32 8b374f2dd631: Download complete 17:20:32 ec14aa9079de: Verifying Checksum 17:20:32 ec14aa9079de: Download complete 17:20:32 edb6bdbacee9: Verifying Checksum 17:20:32 edb6bdbacee9: Download complete 17:20:33 edb6bdbacee9: Pull complete 17:20:34 554e91adad29: Verifying Checksum 17:20:34 554e91adad29: Download complete 17:20:34 5f9638ab2659: Pull complete 17:20:35 2f466654f4bb: Verifying Checksum 17:20:35 2f466654f4bb: Download complete 17:20:35 8d51d6327a98: Verifying Checksum 17:20:35 8d51d6327a98: Download complete 17:20:47 8d51d6327a98: Pull complete 17:20:47 8b374f2dd631: Pull complete 17:20:47 ec14aa9079de: Pull complete 17:20:49 Removing intermediate container f9331db4c862 17:20:49 ---> de793d9b1ad9 17:20:49 Step 13/26 : FROM alpine:3.17 17:20:49 3.17: Pulling from library/alpine 17:20:49 9398808236ff: Pulling fs layer 17:20:49 9398808236ff: Verifying Checksum 17:20:49 9398808236ff: Download complete 17:20:49 9398808236ff: Pull complete 17:20:49 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 17:20:49 Status: Downloaded newer image for alpine:3.17 17:20:49 ---> 1e0b8b5322fc 17:20:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:20:49 ---> Running in 504752d8b795 17:20:49 Removing intermediate container 504752d8b795 17:20:49 ---> c99434ca57ce 17:20:49 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 17:20:49 ---> Running in 248012adb6c4 17:20:49 Removing intermediate container 248012adb6c4 17:20:49 ---> a6b8c0372089 17:20:49 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 17:20:49 ---> Running in 97c338008291 17:20:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:20:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:20:49 (1/2) Installing ca-certificates (20230506-r0) 17:20:49 (2/2) Installing dumb-init (1.2.5-r2) 17:20:49 Executing busybox-1.35.0-r29.trigger 17:20:49 Executing ca-certificates-20230506-r0.trigger 17:20:49 OK: 8 MiB in 17 packages 17:20:50 Removing intermediate container 97c338008291 17:20:50 ---> ff137871d054 17:20:50 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:20:50 ---> f85d068bff7f 17:20:50 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 17:20:50 ---> a4491d63e303 17:20:50 Step 19/26 : COPY --from=builder /app/res/ /res/ 17:20:50 ---> 592d6c680998 17:20:50 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 17:20:51 ---> ae14e392f066 17:20:51 Step 21/26 : EXPOSE 59712 17:20:51 ---> Running in 5e8c459b0088 17:20:51 Removing intermediate container 5e8c459b0088 17:20:51 ---> bee04dedbf0f 17:20:51 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 17:20:51 ---> Running in b9b381d28362 17:20:51 Removing intermediate container b9b381d28362 17:20:51 ---> a09fd458beda 17:20:51 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:20:52 ---> Running in a20dee004c59 17:20:52 Removing intermediate container a20dee004c59 17:20:52 ---> 40c2c77447d3 17:20:52 Step 24/26 : LABEL arch=amd64 17:20:52 ---> Running in 527d879d3158 17:20:52 Removing intermediate container 527d879d3158 17:20:52 ---> a8ec1fbe8367 17:20:52 Step 25/26 : LABEL git_sha=8b127c48a13f0d6054bb771a2b31e65ee556cbce 17:20:52 ---> Running in 3d2382ef615a 17:20:52 Removing intermediate container 3d2382ef615a 17:20:52 ---> 82b0f6388853 17:20:52 Step 26/26 : LABEL version=0.0.0 17:20:52 ---> Running in fa121ae11b1a 17:20:52 Removing intermediate container fa121ae11b1a 17:20:52 ---> 5060aadc2992 17:20:52 [Warning] One or more build-args [ARCH] were not consumed 17:20:52 Successfully built 5060aadc2992 17:20:52 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 17:20:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:52 17:20:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:53 2f466654f4bb: Pull complete 17:20:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:53 latest: Pulling from edgex-lftools-log-publisher 17:20:53 5eb5b503b376: Pulling fs layer 17:20:53 5c69ac0246d0: Pulling fs layer 17:20:53 ec43610c2a17: Pulling fs layer 17:20:53 3a2ae6a8a46f: Pulling fs layer 17:20:53 33b1e0a273af: Pulling fs layer 17:20:53 5d3b04190fa2: Pulling fs layer 17:20:53 2f39f015ded8: Pulling fs layer 17:20:53 3a2ae6a8a46f: Waiting 17:20:53 33b1e0a273af: Waiting 17:20:53 2f39f015ded8: Waiting 17:20:53 5c69ac0246d0: Download complete 17:20:53 3a2ae6a8a46f: Download complete 17:20:53 33b1e0a273af: Verifying Checksum 17:20:53 33b1e0a273af: Download complete 17:20:53 5d3b04190fa2: Verifying Checksum 17:20:53 5d3b04190fa2: Download complete 17:20:53 ec43610c2a17: Verifying Checksum 17:20:53 ec43610c2a17: Download complete 17:20:53 5eb5b503b376: Verifying Checksum 17:20:53 5eb5b503b376: Download complete 17:20:54 2f39f015ded8: Download complete 17:20:54 5eb5b503b376: Pull complete 17:20:54 5c69ac0246d0: Pull complete 17:20:55 ec43610c2a17: Pull complete 17:20:55 3a2ae6a8a46f: Pull complete 17:20:55 33b1e0a273af: Pull complete 17:20:55 5d3b04190fa2: Pull complete 17:20:55 554e91adad29: Pull complete 17:20:55 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 17:20:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:20:55 ---> 1e15ea492957 17:20:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:20:57 ---> Running in ac2e1c349766 17:20:57 Removing intermediate container ac2e1c349766 17:20:57 ---> 1c1fd3215da3 17:20:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:20:57 ---> Running in c87ad07e4d34 17:20:57 Removing intermediate container c87ad07e4d34 17:20:57 ---> 0b6abd82e130 17:20:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:20:57 ---> Running in c03b4e331d2f 17:20:58 Removing intermediate container c03b4e331d2f 17:20:58 ---> 77dc3e02b150 17:20:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:20:58 ---> Running in 8f9912669828 17:20:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:20:59 2f39f015ded8: Pull complete 17:20:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:20:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:59 prd-ubuntu20.04-docker-8c-8g-4277 does not seem to be running inside a container 17:20:59 $ 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-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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 17:21:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:21:01 OK: 263 MiB in 53 packages 17:21:01 Removing intermediate container 8f9912669828 17:21:01 ---> 6ed796e94e82 17:21:01 Step 7/12 : WORKDIR /app 17:21:01 ---> Running in 0a3493c382e7 17:21:02 Removing intermediate container 0a3493c382e7 17:21:02 ---> 748eb1ad56ba 17:21:02 Step 8/12 : COPY go.mod vendor* ./ 17:21:02 ---> b1854ab3504b 17:21:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:21:02 ---> Running in fe99cbc174f6 17:21:05 $ docker top dd932e9acadd693294431e0f1e6ccfb8495f8c04b8e45b393a0686fa6aac1b9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:05 ---> job-cost.sh 17:21:05 lf-activate-venv: SKIPPING 17:21:05 INFO: No Stack... 17:21:05 INFO: Retrieving Pricing Info for: v3-standard-8 17:21:05 INFO: Archiving Costs [Pipeline] sh 17:21:06 + cat /w/workspace/xfoundry_app-record-replay_PR-63/archives/cost.csv 17:21:06 + cut -d, -f6 [Pipeline] lock 17:21:06 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-63-3-stack-cost] 17:21:06 Resource [jenkins-edgexfoundry-app-record-replay-PR-63-3-stack-cost] did not exist. Created. 17:21:06 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-63-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:21:06 + echo total: 0.2199999988079071 [Pipeline] stash 17:21:06 Stashed 1 file(s) [Pipeline] } 17:21:06 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-63-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:21:06 $ docker stop --time=1 dd932e9acadd693294431e0f1e6ccfb8495f8c04b8e45b393a0686fa6aac1b9c 17:21:07 $ docker rm -f --volumes dd932e9acadd693294431e0f1e6ccfb8495f8c04b8e45b393a0686fa6aac1b9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:22:10 Removing intermediate container fe99cbc174f6 17:22:10 ---> ade2b9c254b3 17:22:10 Step 10/12 : COPY . . 17:22:10 ---> f972cbd98a13 17:22:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:10 ---> Running in 2f32301ee894 17:22:10 Removing intermediate container 2f32301ee894 17:22:10 ---> 511787883886 17:22:10 Step 12/12 : RUN $MAKE 17:22:10 ---> Running in 68f2fbb92ed8 17:22:10 noop 17:22:10 Removing intermediate container 68f2fbb92ed8 17:22:10 ---> e84e5a3abd09 17:22:10 Successfully built e84e5a3abd09 17:22:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:10 + docker inspect -f . ci-base-image-arm64 17:22:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:11 prd-ubuntu20.04-docker-arm64-4c-16g-4278 does not seem to be running inside a container 17:22:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/3 -v /w/workspace/app-record-replay/3:/w/workspace/app-record-replay/3:rw,z -v /w/workspace/app-record-replay/3@tmp:/w/workspace/app-record-replay/3@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 ******** ci-base-image-arm64 cat 17:22:12 $ docker top a70224b9e939c50c218accf2b15afbc01ba86dba658550d578f07a7032cf5beb -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:13 + go version 17:22:13 go version go1.20.6 linux/arm64 [Pipeline] } 17:22:13 $ docker stop --time=1 a70224b9e939c50c218accf2b15afbc01ba86dba658550d578f07a7032cf5beb 17:22:14 $ docker rm -f --volumes a70224b9e939c50c218accf2b15afbc01ba86dba658550d578f07a7032cf5beb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:15 + docker inspect -f . ci-base-image-arm64 17:22:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:15 prd-ubuntu20.04-docker-arm64-4c-16g-4278 does not seem to be running inside a container 17:22:15 $ 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/3 -v /w/workspace/app-record-replay/3:/w/workspace/app-record-replay/3:rw,z -v /w/workspace/app-record-replay/3@tmp:/w/workspace/app-record-replay/3@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 ******** ci-base-image-arm64 cat 17:22:16 $ docker top a3b7ca0cd68a7021dc49a7c39229985b85b1835ba22fec2d43cf145a9bce560b -eo pid,comm [Pipeline] { [Pipeline] sh 17:22:17 + git config --global --add safe.directory /w/workspace/app-record-replay/3 [Pipeline] fileExists [Pipeline] sh 17:22:17 + make test 17:22:17 go test -race -coverprofile=coverage.out ./... 17:24:54 ? github.com/edgexfoundry/app-record-replay [no test files] 17:25:00 ok github.com/edgexfoundry/app-record-replay/internal/app 0.249s coverage: 88.0% of statements 17:25:05 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 17:25:05 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 17:25:05 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 17:25:15 ok github.com/edgexfoundry/app-record-replay/internal/application 8.852s coverage: 98.7% of statements 17:25:15 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.490s coverage: 78.0% of statements 17:25:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:25:15 go vet ./... 17:27:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:27:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:27:36 ./bin/test-attribution-txt.sh [Pipeline] echo 17:27:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:27:36 $ docker stop --time=1 a3b7ca0cd68a7021dc49a7c39229985b85b1835ba22fec2d43cf145a9bce560b 17:27:38 $ docker rm -f --volumes a3b7ca0cd68a7021dc49a7c39229985b85b1835ba22fec2d43cf145a9bce560b [Pipeline] // withDockerContainer [Pipeline] sh 17:27:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:27:40 Warning: overwriting stash ‘coverage-report’ 17:27:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:27:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:27:41 + ls -al . 17:27:41 total 172 17:27:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 17:22 . 17:27:41 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 17:20 .. 17:27:41 -rw-rw-r-- 1 jenkins jenkins 119 Aug 22 17:20 .dockerignore 17:27:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 17:20 .git 17:27:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 17:20 .github 17:27:41 -rw-rw-r-- 1 jenkins jenkins 164 Aug 22 17:20 .gitignore 17:27:41 -rw-rw-r-- 1 jenkins jenkins 41 Aug 22 17:20 .golangci.yml 17:27:41 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 22 17:20 Attribution.txt 17:27:41 -rw-rw-r-- 1 jenkins jenkins 258 Aug 22 17:20 CHANGELOG.md 17:27:41 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 22 17:20 Dockerfile 17:27:41 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 17:20 GOVERNANCE.md 17:27:41 -rw-rw-r-- 1 jenkins jenkins 681 Aug 22 17:20 Jenkinsfile 17:27:41 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 22 17:20 LICENSE 17:27:41 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 22 17:20 Makefile 17:27:41 -rw-rw-r-- 1 jenkins jenkins 611 Aug 22 17:20 OWNERS.md 17:27:41 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 22 17:20 README.md 17:27:41 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 22 17:20 Record and Reply.postman_collection.json 17:27:41 -rw-rw-r-- 1 jenkins jenkins 5 Aug 22 17:18 VERSION 17:27:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 17:20 bin 17:27:41 -rw-r--r-- 1 jenkins jenkins 19940 Aug 22 17:25 coverage.out 17:27:41 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 22 17:20 go.mod 17:27:41 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 22 17:20 go.sum 17:27:41 drwxrwxr-x 6 jenkins jenkins 4096 Aug 22 17:20 internal 17:27:41 -rw-rw-r-- 1 jenkins jenkins 913 Aug 22 17:20 main.go 17:27:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 17:20 pkg 17:27:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 17:20 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:41 + 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=8b127c48a13f0d6054bb771a2b31e65ee556cbce --label arch=arm64 --label version=0.0.0 . 17:27:41 Sending build context to Docker daemon 237.6kB 17:27:42 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:27:42 Step 2/26 : FROM ${BASE} AS builder 17:27:42 ---> e84e5a3abd09 17:27:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 17:27:42 ---> Running in 34b321d02672 17:27:42 Removing intermediate container 34b321d02672 17:27:42 ---> 5fdf97837226 17:27:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:27:42 ---> Running in de520aaca381 17:27:42 Removing intermediate container de520aaca381 17:27:42 ---> 99a6879e17a0 17:27:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:27:42 ---> Running in 6fd602281182 17:27:43 Removing intermediate container 6fd602281182 17:27:43 ---> a70ff92fecd6 17:27:43 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:27:43 ---> Running in f3dce25b5695 17:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:27:45 OK: 263 MiB in 53 packages 17:27:47 Removing intermediate container f3dce25b5695 17:27:47 ---> 9509c8a8f653 17:27:47 Step 7/26 : WORKDIR /app 17:27:47 ---> Running in 8f698bd1f961 17:27:47 Removing intermediate container 8f698bd1f961 17:27:47 ---> 0d8b9cb21f78 17:27:47 Step 8/26 : COPY go.mod vendor* ./ 17:27:47 ---> c119ad41fe45 17:27:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:47 ---> Running in e800d23acc99 17:27:50 Removing intermediate container e800d23acc99 17:27:50 ---> afe0a5cc4da1 17:27:50 Step 10/26 : COPY . . 17:27:50 ---> d5bd9d2ba3eb 17:27:50 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:27:50 ---> Running in 621041fd2d53 17:27:50 Removing intermediate container 621041fd2d53 17:27:50 ---> 5cd9b3262bfa 17:27:50 Step 12/26 : RUN $MAKE 17:27:51 ---> Running in 1e5c27fb5e8f 17:27:52 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 17:29:58 Removing intermediate container 1e5c27fb5e8f 17:29:58 ---> b963327bb2d7 17:29:58 Step 13/26 : FROM alpine:3.17 17:29:58 3.17: Pulling from library/alpine 17:29:58 4060ece20d7a: Pulling fs layer 17:29:58 4060ece20d7a: Verifying Checksum 17:29:58 4060ece20d7a: Download complete 17:29:58 4060ece20d7a: Pull complete 17:29:58 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 17:29:58 Status: Downloaded newer image for alpine:3.17 17:29:58 ---> 8650cd65339b 17:29:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:29:58 ---> Running in c73b6a5183e5 17:29:58 Removing intermediate container c73b6a5183e5 17:29:58 ---> fef68eb507b7 17:29:58 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 17:29:58 ---> Running in 4c6e056344d4 17:29:58 Removing intermediate container 4c6e056344d4 17:29:58 ---> 0a158b4d8923 17:29:58 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 17:29:58 ---> Running in ae9b2f4fe2c4 17:29:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:30:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:30:01 (1/2) Installing ca-certificates (20230506-r0) 17:30:01 (2/2) Installing dumb-init (1.2.5-r2) 17:30:01 Executing busybox-1.35.0-r29.trigger 17:30:01 Executing ca-certificates-20230506-r0.trigger 17:30:01 OK: 8 MiB in 17 packages 17:30:03 Removing intermediate container ae9b2f4fe2c4 17:30:03 ---> e4a7cd0c4453 17:30:03 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:30:03 ---> f302f62f09c9 17:30:03 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 17:30:04 ---> ef99adf9cf1b 17:30:04 Step 19/26 : COPY --from=builder /app/res/ /res/ 17:30:04 ---> 0bfb4b14ccbe 17:30:04 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 17:30:06 ---> c243165e1c07 17:30:06 Step 21/26 : EXPOSE 59712 17:30:06 ---> Running in c2685654b45f 17:30:06 Removing intermediate container c2685654b45f 17:30:06 ---> d380ad74693a 17:30:06 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 17:30:06 ---> Running in fa2b2b02b6c1 17:30:06 Removing intermediate container fa2b2b02b6c1 17:30:06 ---> 26eb1ee921aa 17:30:06 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:30:06 ---> Running in cc5eb748830f 17:30:07 Removing intermediate container cc5eb748830f 17:30:07 ---> 4340af575bb8 17:30:07 Step 24/26 : LABEL arch=arm64 17:30:07 ---> Running in ce81e6dce072 17:30:07 Removing intermediate container ce81e6dce072 17:30:07 ---> e8817f7b8a14 17:30:07 Step 25/26 : LABEL git_sha=8b127c48a13f0d6054bb771a2b31e65ee556cbce 17:30:07 ---> Running in 1dde52d3b81a 17:30:07 Removing intermediate container 1dde52d3b81a 17:30:07 ---> 55a227549e00 17:30:07 Step 26/26 : LABEL version=0.0.0 17:30:07 ---> Running in 5debb89523f2 17:30:08 Removing intermediate container 5debb89523f2 17:30:08 ---> b6eca3bb594b 17:30:08 [Warning] One or more build-args [ARCH] were not consumed 17:30:08 Successfully built b6eca3bb594b 17:30:08 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 17:30:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:08 17:30:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:08 arm64: Pulling from edgex-lftools-log-publisher 17:30:08 8998bd30e6a1: Pulling fs layer 17:30:08 04944245beec: Pulling fs layer 17:30:08 699f458cf7ca: Pulling fs layer 17:30:08 765212b225bb: Pulling fs layer 17:30:08 f23df028b6ca: Pulling fs layer 17:30:08 d65c8cfc05b1: Pulling fs layer 17:30:08 2437ff75d9bd: Pulling fs layer 17:30:08 d65c8cfc05b1: Waiting 17:30:08 765212b225bb: Waiting 17:30:08 f23df028b6ca: Waiting 17:30:08 2437ff75d9bd: Waiting 17:30:09 04944245beec: Verifying Checksum 17:30:09 04944245beec: Download complete 17:30:09 765212b225bb: Verifying Checksum 17:30:09 765212b225bb: Download complete 17:30:09 f23df028b6ca: Verifying Checksum 17:30:09 f23df028b6ca: Download complete 17:30:09 d65c8cfc05b1: Verifying Checksum 17:30:09 d65c8cfc05b1: Download complete 17:30:09 699f458cf7ca: Verifying Checksum 17:30:09 699f458cf7ca: Download complete 17:30:09 8998bd30e6a1: Verifying Checksum 17:30:09 8998bd30e6a1: Download complete 17:30:11 2437ff75d9bd: Verifying Checksum 17:30:11 2437ff75d9bd: Download complete 17:30:13 8998bd30e6a1: Pull complete 17:30:16 04944245beec: Pull complete 17:30:17 699f458cf7ca: Pull complete 17:30:17 765212b225bb: Pull complete 17:30:18 f23df028b6ca: Pull complete 17:30:18 d65c8cfc05b1: Pull complete 17:30:33 2437ff75d9bd: Pull complete 17:30:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:30:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:30:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:33 prd-ubuntu20.04-docker-arm64-4c-16g-4278 does not seem to be running inside a container 17:30:33 $ 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/3 -v /w/workspace/app-record-replay/3:/w/workspace/app-record-replay/3:rw,z -v /w/workspace/app-record-replay/3@tmp:/w/workspace/app-record-replay/3@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:arm64 cat 17:30:35 $ docker top 00626f39632e1c711187811744886904084065ef169b0cf627bb128dd3293b5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:36 ---> job-cost.sh 17:30:36 lf-activate-venv: SKIPPING 17:30:36 INFO: No Stack... 17:30:37 INFO: Retrieving Pricing Info for: v3-standard-4 17:30:37 INFO: Archiving Costs [Pipeline] sh 17:30:38 + cut -d, -f6 17:30:38 + cat /w/workspace/app-record-replay/3/archives/cost.csv [Pipeline] lock 17:30:38 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-63-3-stack-cost] 17:30:38 Resource [jenkins-edgexfoundry-app-record-replay-PR-63-3-stack-cost] did not exist. Created. 17:30:38 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-63-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:30:38 /w/workspace/app-record-replay/3@tmp/durable-8b025080/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:30:39 + echo total: 0.10999999940395355 [Pipeline] stash 17:30:39 Warning: overwriting stash ‘stack-cost’ 17:30:39 Stashed 1 file(s) [Pipeline] } 17:30:39 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-63-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:30:39 $ docker stop --time=1 00626f39632e1c711187811744886904084065ef169b0cf627bb128dd3293b5f 17:30:41 $ docker rm -f --volumes 00626f39632e1c711187811744886904084065ef169b0cf627bb128dd3293b5f [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 17:30:41 provisioning config files... 17:30:42 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-63 #3 17:30:42 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-63@tmp/config3442839829459799803tmp [Pipeline] { [Pipeline] sh 17:30:42 + set +x 17:30:42 + bash -s -- 17:30:42 + curl -s https://codecov.io/bash 17:30:42 17:30:42 _____ _ 17:30:42 / ____| | | 17:30:42 | | ___ __| | ___ ___ _____ __ 17:30:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:30:42 | |___| (_) | (_| | __/ (_| (_) \ V / 17:30:42 \_____\___/ \__,_|\___|\___\___/ \_/ 17:30:42 Bash-1.0.6 17:30:42 17:30:42 17:30:42 ==> git version 2.25.1 found 17:30:42 ==> 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 17:30:42 Release-Date: 2020-01-08 17:30:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:30:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:30:42 ==> Jenkins CI detected. 17:30:42 current dir:  /w/workspace/xfoundry_app-record-replay_PR-63 17:30:42 project root: . 17:30:42 --> token set from env 17:30:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:30:42 ==> Running gcov in . (disable via -X gcov) 17:30:42 ==> Python coveragepy not found 17:30:42 ==> Searching for coverage reports in: 17:30:42 + . 17:30:42 -> Found 1 reports 17:30:42 ==> Detecting git/mercurial file structure 17:30:42 ==> Reading reports 17:30:42 + ./coverage.out bytes=19940 17:30:42 ==> Appending adjustments 17:30:42 https://docs.codecov.io/docs/fixing-reports 17:30:42 + Found adjustments 17:30:42 ==> Gzipping contents 17:30:42 8.0K /tmp/codecov.tkWnoD.gz 17:30:42 ==> Uploading reports 17:30:42 url: https://codecov.io 17:30:42 query: branch=PR-63&commit=8b127c48a13f0d6054bb771a2b31e65ee556cbce&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-63%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=63&job=&cmd_args= 17:30:42 -> Pinging Codecov 17:30:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-63&commit=8b127c48a13f0d6054bb771a2b31e65ee556cbce&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-63%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=63&job=&cmd_args= 17:30:42 Invalid request parameters 17:30:42 400 [Pipeline] } 17:30:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:30:43 + [ -d /w/workspace/xfoundry_app-record-replay_PR-63/archives ] 17:30:43 + ls -al /w/workspace/xfoundry_app-record-replay_PR-63/archives 17:30:43 total 16 17:30:43 drwxr-xr-x 3 root root 4096 Aug 22 17:21 . 17:30:43 drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 17:21 .. 17:30:43 drwxr-xr-x 2 root root 4096 Aug 22 17:21 cost 17:30:43 -rw-r--r-- 1 root root 88 Aug 22 17:21 cost.csv 17:30:43 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-63/archives 17:30:43 + ls -al /w/workspace/xfoundry_app-record-replay_PR-63/archives 17:30:43 total 16 17:30:43 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 17:21 . 17:30:43 drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 17:21 .. 17:30:43 drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 17:21 cost 17:30:43 -rw-r--r-- 1 jenkins jenkins 88 Aug 22 17:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:30:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:30:44 ---> package-listing.sh 17:30:44 ++ facter osfamily 17:30:44 ++ tr '[:upper:]' '[:lower:]' 17:30:44 + OS_FAMILY=debian 17:30:44 + workspace=/w/workspace/xfoundry_app-record-replay_PR-63 17:30:44 + START_PACKAGES=/tmp/packages_start.txt 17:30:44 + END_PACKAGES=/tmp/packages_end.txt 17:30:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:30:44 + PACKAGES=/tmp/packages_start.txt 17:30:44 + '[' /w/workspace/xfoundry_app-record-replay_PR-63 ']' 17:30:44 + PACKAGES=/tmp/packages_end.txt 17:30:44 + case "${OS_FAMILY}" in 17:30:44 + dpkg -l 17:30:44 + grep '^ii' 17:30:44 + '[' -f /tmp/packages_start.txt ']' 17:30:44 + '[' -f /tmp/packages_end.txt ']' 17:30:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:30:44 + '[' /w/workspace/xfoundry_app-record-replay_PR-63 ']' 17:30:44 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-63/archives/ 17:30:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-63/archives/ [Pipeline] echo 17:30:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-63/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:30:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:45 prd-ubuntu20.04-docker-8c-8g-4277 does not seem to be running inside a container 17:30:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-63/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-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:30:45 $ docker top 85ee5a5ec63d81cd907d3e58c1377197a051ade7e462c9d5b825912cd768814b -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:46 + touch /tmp/pre-build-complete [Pipeline] sh 17:30:46 + mkdir -p /var/log/sysstat [Pipeline] sh 17:30:46 + ls /var/log/sa-host 17:30:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:30:46 provisioning config files... 17:30:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-63@tmp/config9310424779297861995tmp [Pipeline] { [Pipeline] echo 17:30:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:30:47 ---> create-netrc.sh [Pipeline] } 17:30:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:30:47 ---> python-tools-install.sh [Pipeline] echo 17:30:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:30:47 ---> sudo-logs.sh 17:30:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:30:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:30:48 ---> job-cost.sh 17:30:48 lf-activate-venv: SKIPPING 17:30:48 DEBUG: total: 0.2199999988079071 17:30:48 INFO: Retrieving Stack Cost... 17:30:48 INFO: Retrieving Pricing Info for: v3-standard-8 17:30:48 INFO: Archiving Costs [Pipeline] echo 17:30:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:30:49 ---> logs-deploy.sh 17:30:49 lf-activate-venv: SKIPPING 17:30:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-63/3 17:30:49 INFO: archiving workspace using pattern(s): 17:30:50 Archives upload complete. 17:30:50 INFO: archiving logs to Nexus