Pull request #37 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 84933a03a0fad190de02a1e6661255c0596a1061+c21995dc83c9d4518c4a60710b227f9f01242914 (d345d67ee134c504fc70f2183b764e2b6e175ac3) 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-ssh18076066565058002356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6992050980089804919.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-37/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-37/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9055697000776225394.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9887770451059874218.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-37/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-37/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6672604825780776359.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-880 in /w/workspace/xfoundry_app-record-replay_PR-37 [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-37 # 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 c21995dc83c9d4518c4a60710b227f9f01242914 into PR head commit 84933a03a0fad190de02a1e6661255c0596a1061 > 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/37/head:refs/remotes/origin/PR-37 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84933a03a0fad190de02a1e6661255c0596a1061 # timeout=10 Merge succeeded, producing 84933a03a0fad190de02a1e6661255c0596a1061 Checking out Revision 84933a03a0fad190de02a1e6661255c0596a1061 (PR-37) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c21995dc83c9d4518c4a60710b227f9f01242914 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84933a03a0fad190de02a1e6661255c0596a1061 # timeout=10 Commit message: "fix: Adjusted replay valadation messages" > git rev-list --no-walk 64d72031ff490a5cf26e632fe12eb7be76a9f2e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:28:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:28:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:28:11 ========================================================= 22:28:11 EdgeX Global Pipelines Version Info 22:28:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:28:12 ------------------- 22:28:12 stable info: 22:28:12 ------------------- 22:28:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:28:12 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:28:12 Message: update stable to v1.0.250 22:28:12 ------------------- 22:28:12 experimental info: 22:28:12 ------------------- 22:28:12 Commited By: **** collab-it+edgex@linuxfoundation.org 22:28:12 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:28:12 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-37 [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-37 [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-37 [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84933a03a0fad190de02a1e6661255c0596a1061 [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84933a0 [Pipeline] echo 22:28:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:13 provisioning config files... 22:28:13 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-37@tmp/config9495365133288020403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:13 ---> docker-login.sh 22:28:13 nexus3.edgexfoundry.org:10001 22:28:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:14 Configure a credential helper to remove this warning. See 22:28:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:14 22:28:14 Login Succeeded 22:28:14 nexus3.edgexfoundry.org:10002 22:28:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:14 Configure a credential helper to remove this warning. See 22:28:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:14 22:28:14 Login Succeeded 22:28:14 nexus3.edgexfoundry.org:10003 22:28:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:14 Configure a credential helper to remove this warning. See 22:28:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:14 22:28:14 Login Succeeded 22:28:14 nexus3.edgexfoundry.org:10004 22:28:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:14 Configure a credential helper to remove this warning. See 22:28:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:14 22:28:14 Login Succeeded 22:28:14 docker.io 22:28:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:14 Configure a credential helper to remove this warning. See 22:28:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:14 22:28:14 Login Succeeded 22:28:14 ---> docker-login.sh ends [Pipeline] } 22:28:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:28:15 + git rev-list -1 --merges 84933a03a0fad190de02a1e6661255c0596a1061~1..84933a03a0fad190de02a1e6661255c0596a1061 [Pipeline] echo 22:28:15 -----------> git rev-list -1 --merges 84933a03a0fad190de02a1e6661255c0596a1061~1..84933a03a0fad190de02a1e6661255c0596a1061 84933a03a0fad190de02a1e6661255c0596a1061 [false] [Pipeline] sh 22:28:15 + git log --format=format:%s -1 84933a03a0fad190de02a1e6661255c0596a1061 [Pipeline] echo 22:28:15 ========================================================= 22:28:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:28:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:28:15 + git log --format=format:%s -1 84933a03a0fad190de02a1e6661255c0596a1061 [Pipeline] echo 22:28:15 [semverPrep] GIT_COMMIT: 84933a03a0fad190de02a1e6661255c0596a1061, Commit Message: fix: Adjusted replay valadation messages [Pipeline] echo 22:28:15 [semverPrep] This is not a build commit. [Pipeline] sh 22:28:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:28:16 + grep -v github /etc/ssh/ssh_known_hosts 22:28:16 + [ -e /tmp/ssh_known_hosts ] 22:28:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:28:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:28:16 + sudo tee -a /etc/ssh/ssh_known_hosts 22:28:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:16 22:28:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:17 0.1.4: Pulling from edgex-devops/py-git-semver 22:28:17 b85a868b505f: Pulling fs layer 22:28:17 e2be974225ed: Pulling fs layer 22:28:17 339a4e72a1f5: Pulling fs layer 22:28:17 988bab9f4d93: Pulling fs layer 22:28:17 1469e6f7b9e6: Pulling fs layer 22:28:17 eaf3925da568: Pulling fs layer 22:28:17 bab4dde63d76: Pulling fs layer 22:28:17 bde34c3a00c8: Pulling fs layer 22:28:17 b352a97aabf1: Pulling fs layer 22:28:17 4872d77fe225: Pulling fs layer 22:28:17 5851b861e8e6: Pulling fs layer 22:28:17 eaf3925da568: Waiting 22:28:17 988bab9f4d93: Waiting 22:28:17 1469e6f7b9e6: Waiting 22:28:17 bde34c3a00c8: Waiting 22:28:17 4872d77fe225: Waiting 22:28:17 bab4dde63d76: Waiting 22:28:17 e2be974225ed: Verifying Checksum 22:28:17 e2be974225ed: Download complete 22:28:17 988bab9f4d93: Verifying Checksum 22:28:17 988bab9f4d93: Download complete 22:28:17 1469e6f7b9e6: Verifying Checksum 22:28:17 1469e6f7b9e6: Download complete 22:28:17 eaf3925da568: Download complete 22:28:17 339a4e72a1f5: Verifying Checksum 22:28:17 339a4e72a1f5: Download complete 22:28:17 bde34c3a00c8: Verifying Checksum 22:28:17 bde34c3a00c8: Download complete 22:28:17 b352a97aabf1: Verifying Checksum 22:28:17 b352a97aabf1: Download complete 22:28:17 4872d77fe225: Download complete 22:28:17 5851b861e8e6: Download complete 22:28:17 b85a868b505f: Verifying Checksum 22:28:17 b85a868b505f: Download complete 22:28:17 bab4dde63d76: Verifying Checksum 22:28:17 bab4dde63d76: Download complete 22:28:18 b85a868b505f: Pull complete 22:28:18 e2be974225ed: Pull complete 22:28:19 339a4e72a1f5: Pull complete 22:28:19 988bab9f4d93: Pull complete 22:28:19 1469e6f7b9e6: Pull complete 22:28:19 eaf3925da568: Pull complete 22:28:21 bab4dde63d76: Pull complete 22:28:21 bde34c3a00c8: Pull complete 22:28:21 b352a97aabf1: Pull complete 22:28:21 4872d77fe225: Pull complete 22:28:21 5851b861e8e6: Pull complete 22:28:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:28:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:28:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:28:21 prd-ubuntu20.04-docker-8c-8g-880 does not seem to be running inside a container 22:28:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-37 -v /w/workspace/xfoundry_app-record-replay_PR-37:/w/workspace/xfoundry_app-record-replay_PR-37:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-37@tmp:/w/workspace/xfoundry_app-record-replay_PR-37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:28:24 $ docker top a36b08d35e5676f0a79f26cad36eee10a7c981b970c957b7f36a022c4cba2ea6 -eo pid,comm 22:28:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:28:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:28:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:24 [ssh-agent] Looking for ssh-agent implementation... 22:28:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:24 $ docker exec a36b08d35e5676f0a79f26cad36eee10a7c981b970c957b7f36a022c4cba2ea6 ssh-agent 22:28:24 SSH_AUTH_SOCK=/tmp/ssh-0HeWqzR2RlA3/agent.32 22:28:24 SSH_AGENT_PID=38 22:28:24 Running ssh-add (command line suppressed) 22:28:24 Identity added: /w/workspace/xfoundry_app-record-replay_PR-37@tmp/private_key_1067438476132818420.key (/w/workspace/xfoundry_app-record-replay_PR-37@tmp/private_key_1067438476132818420.key) 22:28:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:24 + git tag --points-at HEAD [Pipeline] } 22:28:24 $ docker exec --env ******** --env ******** a36b08d35e5676f0a79f26cad36eee10a7c981b970c957b7f36a022c4cba2ea6 ssh-agent -k 22:28:24 unset SSH_AUTH_SOCK; 22:28:24 unset SSH_AGENT_PID; 22:28:24 echo Agent pid 38 killed; 22:28:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:28:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:28:25 [ssh-agent] Looking for ssh-agent implementation... 22:28:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:28:25 $ docker exec a36b08d35e5676f0a79f26cad36eee10a7c981b970c957b7f36a022c4cba2ea6 ssh-agent 22:28:25 SSH_AUTH_SOCK=/tmp/ssh-EZ34kPO7i6uX/agent.70 22:28:25 SSH_AGENT_PID=76 22:28:25 Running ssh-add (command line suppressed) 22:28:25 Identity added: /w/workspace/xfoundry_app-record-replay_PR-37@tmp/private_key_4594309333112125994.key (/w/workspace/xfoundry_app-record-replay_PR-37@tmp/private_key_4594309333112125994.key) 22:28:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:28:25 + git semver init 22:28:25 2023-07-11 22:28:25,838 [run_init] DEBUG init version:0.0.0 force:False 22:28:25 2023-07-11 22:28:25,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-37/.semver 22:28:25 2023-07-11 22:28:25,839 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-37/.semver 22:28:25 2023-07-11 22:28:25,840 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-37/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-37, universal_newlines=False, shell=None, istream=None) 22:28:26 2023-07-11 22:28:26,419 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-37/.git/info/exclude 22:28:26 2023-07-11 22:28:26,419 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-37/.semver/PR-37 with force:False 22:28:26 2023-07-11 22:28:26,420 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-37/.semver/PR-37 22:28:26 2023-07-11 22:28:26,423 [execute] INFO git cat-file --batch-check 22:28:26 2023-07-11 22:28:26,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-37/.semver, universal_newlines=False, shell=None, istream=) 22:28:26 2023-07-11 22:28:26,429 [execute] INFO git cat-file --batch 22:28:26 2023-07-11 22:28:26,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-37/.semver, universal_newlines=False, shell=None, istream=) 22:28:26 2023-07-11 22:28:26,433 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-37/.semver/PR-37 22:28:26 0.0.0 [Pipeline] } 22:28:26 $ docker exec --env ******** --env ******** a36b08d35e5676f0a79f26cad36eee10a7c981b970c957b7f36a022c4cba2ea6 ssh-agent -k 22:28:26 unset SSH_AUTH_SOCK; 22:28:26 unset SSH_AGENT_PID; 22:28:26 echo Agent pid 76 killed; 22:28:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:28:26 + git semver [Pipeline] } 22:28:27 $ docker stop --time=1 a36b08d35e5676f0a79f26cad36eee10a7c981b970c957b7f36a022c4cba2ea6 22:28:28 $ docker rm -f --volumes a36b08d35e5676f0a79f26cad36eee10a7c981b970c957b7f36a022c4cba2ea6 [Pipeline] // withDockerContainer [Pipeline] sh 22:28:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:28:29 Stashed 1 file(s) [Pipeline] echo 22:28:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:28:29 provisioning config files... 22:28:29 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-37@tmp/config8185606319578713935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:28:29 ---> docker-login.sh 22:28:29 nexus3.edgexfoundry.org:10001 22:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:29 Configure a credential helper to remove this warning. See 22:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:29 22:28:29 Login Succeeded 22:28:29 nexus3.edgexfoundry.org:10002 22:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:29 Configure a credential helper to remove this warning. See 22:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:29 22:28:29 Login Succeeded 22:28:29 nexus3.edgexfoundry.org:10003 22:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:29 Configure a credential helper to remove this warning. See 22:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:29 22:28:29 Login Succeeded 22:28:29 nexus3.edgexfoundry.org:10004 22:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:29 Configure a credential helper to remove this warning. See 22:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:29 22:28:29 Login Succeeded 22:28:29 docker.io 22:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:28:29 Configure a credential helper to remove this warning. See 22:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:28:29 22:28:29 Login Succeeded 22:28:29 ---> docker-login.sh ends [Pipeline] } 22:28:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:28:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:28:30 ========================================================= 22:28:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:28:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:28:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:28:30 Sending build context to Docker daemon 321kB 22:28:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:28:30 Step 2/12 : FROM ${BASE} AS builder 22:28:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:28:30 f56be85fc22e: Pulling fs layer 22:28:30 85791d961cd3: Pulling fs layer 22:28:30 d694b5ae8c79: Pulling fs layer 22:28:30 9f32a84ed3da: Pulling fs layer 22:28:30 4d19c01a9841: Pulling fs layer 22:28:30 9325e15d5711: Pulling fs layer 22:28:30 556b6ee489ea: Pulling fs layer 22:28:30 c5a4b2cf53e6: Pulling fs layer 22:28:30 9f32a84ed3da: Waiting 22:28:30 9325e15d5711: Waiting 22:28:30 4d19c01a9841: Waiting 22:28:30 556b6ee489ea: Waiting 22:28:30 c5a4b2cf53e6: Waiting 22:28:30 85791d961cd3: Verifying Checksum 22:28:30 85791d961cd3: Download complete 22:28:30 9f32a84ed3da: Verifying Checksum 22:28:30 9f32a84ed3da: Download complete 22:28:30 4d19c01a9841: Download complete 22:28:30 f56be85fc22e: Verifying Checksum 22:28:30 f56be85fc22e: Download complete 22:28:30 9325e15d5711: Verifying Checksum 22:28:30 9325e15d5711: Download complete 22:28:30 f56be85fc22e: Pull complete 22:28:30 85791d961cd3: Pull complete 22:28:30 c5a4b2cf53e6: Verifying Checksum 22:28:30 c5a4b2cf53e6: Download complete 22:28:31 d694b5ae8c79: Verifying Checksum 22:28:31 d694b5ae8c79: Download complete 22:28:31 556b6ee489ea: Verifying Checksum 22:28:31 556b6ee489ea: Download complete 22:28:35 d694b5ae8c79: Pull complete 22:28:35 9f32a84ed3da: Pull complete 22:28:35 4d19c01a9841: Pull complete 22:28:35 9325e15d5711: Pull complete 22:28:37 556b6ee489ea: Pull complete 22:28:38 c5a4b2cf53e6: Pull complete 22:28:38 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:28:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:28:38 ---> c4be618373d6 22:28:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:28:42 ---> Running in 02ee96ad7283 22:28:42 Removing intermediate container 02ee96ad7283 22:28:42 ---> 13453447f1f2 22:28:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:28:42 ---> Running in 207c2766d511 22:28:42 Removing intermediate container 207c2766d511 22:28:42 ---> 5330dc74a50c 22:28:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:28:42 ---> Running in e075a068fd5a 22:28:42 Removing intermediate container e075a068fd5a 22:28:42 ---> 3c73f5e3b55e 22:28:42 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:28:42 ---> Running in 50bc18d657ef 22:28:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:28:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:28:43 OK: 265 MiB in 53 packages 22:28:43 Removing intermediate container 50bc18d657ef 22:28:43 ---> d9b5925d9802 22:28:43 Step 7/12 : WORKDIR /app 22:28:43 ---> Running in a0af4572f7ca 22:28:43 Removing intermediate container a0af4572f7ca 22:28:43 ---> b4b27e7d132b 22:28:43 Step 8/12 : COPY go.mod vendor* ./ 22:28:43 ---> 9d512fe36d64 22:28:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:28:43 ---> Running in 5416ee664594 22:28:44 Still waiting to schedule task 22:28:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:29:30 Removing intermediate container 5416ee664594 22:29:30 ---> 1c254becc54f 22:29:30 Step 10/12 : COPY . . 22:29:30 ---> 16cf7d78e584 22:29:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:29:30 ---> Running in f35abaf65f78 22:29:30 Removing intermediate container f35abaf65f78 22:29:30 ---> 2d000ac770db 22:29:30 Step 12/12 : RUN $MAKE 22:29:30 ---> Running in e7ab7473dd50 22:29:30 noop 22:29:30 Removing intermediate container e7ab7473dd50 22:29:30 ---> 1947a44f9213 22:29:30 Successfully built 1947a44f9213 22:29:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:30 + docker inspect -f . ci-base-image-x86_64 22:29:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:30 prd-ubuntu20.04-docker-8c-8g-880 does not seem to be running inside a container 22:29:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-37 -v /w/workspace/xfoundry_app-record-replay_PR-37:/w/workspace/xfoundry_app-record-replay_PR-37:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-37@tmp:/w/workspace/xfoundry_app-record-replay_PR-37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:29:31 $ docker top 8cbb03a39dec572fb79bbf48fb9c974e2b7f685dfb8ab02e205edc5e2b8fa75e -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:31 + go version 22:29:31 go version go1.20.2 linux/amd64 [Pipeline] } 22:29:31 $ docker stop --time=1 8cbb03a39dec572fb79bbf48fb9c974e2b7f685dfb8ab02e205edc5e2b8fa75e 22:29:32 $ docker rm -f --volumes 8cbb03a39dec572fb79bbf48fb9c974e2b7f685dfb8ab02e205edc5e2b8fa75e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:33 + docker inspect -f . ci-base-image-x86_64 22:29:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:33 prd-ubuntu20.04-docker-8c-8g-880 does not seem to be running inside a container 22:29:33 $ 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-37 -v /w/workspace/xfoundry_app-record-replay_PR-37:/w/workspace/xfoundry_app-record-replay_PR-37:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-37@tmp:/w/workspace/xfoundry_app-record-replay_PR-37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:29:33 $ docker top a07611bbaf7f85e8ee1852f3f438d9b4e3a60a9545dd3016e6c0fdc39c5748c6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:29:34 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-37 [Pipeline] fileExists [Pipeline] sh 22:29:34 + make test 22:29:34 go test -race -coverprofile=coverage.out ./... 22:29:52 ? github.com/edgexfoundry/app-record-replay [no test files] 22:29:52 ok github.com/edgexfoundry/app-record-replay/internal/app 0.061s coverage: 76.9% of statements 22:29:52 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:29:52 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 22:29:52 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:29:52 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.081s coverage: 91.2% of statements 22:29:52 ok github.com/edgexfoundry/app-record-replay/internal/data 0.060s coverage: 27.3% of statements 22:30:10 go vet ./... 22:30:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:30:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:30:14 ./bin/test-attribution-txt.sh [Pipeline] echo 22:30:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:30:14 $ docker stop --time=1 a07611bbaf7f85e8ee1852f3f438d9b4e3a60a9545dd3016e6c0fdc39c5748c6 22:30:19 $ docker rm -f --volumes a07611bbaf7f85e8ee1852f3f438d9b4e3a60a9545dd3016e6c0fdc39c5748c6 [Pipeline] // withDockerContainer [Pipeline] sh 22:30:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:30:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:30:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-881 in /w/workspace/xfoundry_app-record-replay_PR-37 [Pipeline] { [Pipeline] ws 22:30:20 Running in /w/workspace/app-record-replay/2 [Pipeline] { 22:30:20 + sudo chown -R jenkins:jenkins . [Pipeline] checkout [Pipeline] sh 22:30:20 Selected Git installation does not exist. Using Default 22:30:20 The recommended git tool is: NONE 22:30:20 + ls -al . 22:30:20 total 160 22:30:20 drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 22:29 . 22:30:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 22:28 .. 22:30:20 -rw-rw-r-- 1 jenkins jenkins 119 Jul 11 22:28 .dockerignore 22:30:20 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 22:28 .git 22:30:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 22:28 .github 22:30:20 -rw-rw-r-- 1 jenkins jenkins 164 Jul 11 22:28 .gitignore 22:30:20 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 22:28 .golangci.yml 22:30:20 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 22:28 .semver 22:30:20 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 11 22:28 Attribution.txt 22:30:20 -rw-rw-r-- 1 jenkins jenkins 258 Jul 11 22:28 CHANGELOG.md 22:30:20 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 11 22:28 Dockerfile 22:30:20 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 22:28 GOVERNANCE.md 22:30:20 -rw-rw-r-- 1 jenkins jenkins 681 Jul 11 22:28 Jenkinsfile 22:30:20 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 11 22:28 LICENSE 22:30:20 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 11 22:28 Makefile 22:30:20 -rw-rw-r-- 1 jenkins jenkins 611 Jul 11 22:28 OWNERS.md 22:30:20 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 11 22:28 README.md 22:30:20 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 11 22:28 Record and Reply.postman_collection.json 22:30:20 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 22:28 VERSION 22:30:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 22:28 bin 22:30:20 -rw-r--r-- 1 jenkins jenkins 6157 Jul 11 22:29 coverage.out 22:30:20 -rw-rw-r-- 1 jenkins jenkins 3411 Jul 11 22:28 go.mod 22:30:20 -rw-rw-r-- 1 jenkins jenkins 31491 Jul 11 22:28 go.sum 22:30:20 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 22:28 internal 22:30:20 -rw-rw-r-- 1 jenkins jenkins 913 Jul 11 22:28 main.go 22:30:20 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 22:28 pkg 22:30:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 22:28 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:21 + 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=84933a03a0fad190de02a1e6661255c0596a1061 --label arch=amd64 --label version=0.0.0 . 22:30:21 Sending build context to Docker daemon 328.2kB 22:30:21 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:30:21 Step 2/26 : FROM ${BASE} AS builder 22:30:21 ---> 1947a44f9213 22:30:21 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:30:21 ---> Running in 458c6bce9222 22:30:21 Removing intermediate container 458c6bce9222 22:30:21 ---> b8a12b790bc3 22:30:21 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:30:21 ---> Running in 059a8dd3e2d5 22:30:21 Removing intermediate container 059a8dd3e2d5 22:30:21 ---> 56eb9915be9b 22:30:21 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:30:21 ---> Running in 3ee2a2f9e450 22:30:21 Removing intermediate container 3ee2a2f9e450 22:30:21 ---> 5e65ec7b82b8 22:30:21 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:30:21 ---> Running in 9c30b6893477 22:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:30:22 OK: 265 MiB in 53 packages 22:30:22 Removing intermediate container 9c30b6893477 22:30:22 ---> dc16085b69e9 22:30:22 Step 7/26 : WORKDIR /app 22:30:22 ---> Running in d42d1f46f1e6 22:30:22 Removing intermediate container d42d1f46f1e6 22:30:22 ---> b7e439a52372 22:30:22 Step 8/26 : COPY go.mod vendor* ./ 22:30:22 ---> dd7755425e28 22:30:22 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:30:22 ---> Running in 6f8501aff5ed 22:30:23 Removing intermediate container 6f8501aff5ed 22:30:23 ---> f8bb735ea22a 22:30:23 Step 10/26 : COPY . . 22:30:23 ---> 3cab50330956 22:30:23 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:30:23 ---> Running in 52dcf14c6482 22:30:23 Removing intermediate container 52dcf14c6482 22:30:23 ---> 2d5666cc6bf8 22:30:23 Step 12/26 : RUN $MAKE 22:30:23 ---> Running in 081e69878582 22:30:24 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.4 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:30:25 using credential edgex-jenkins-ssh 22:30:25 Cloning the remote Git repository 22:30:25 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 22:30:25 > git init /w/workspace/app-record-replay/2 # timeout=10 22:30:25 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:30:25 > git --version # timeout=10 22:30:25 > git --version # 'git version 2.25.1' 22:30:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:30:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:30:26 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:30:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:30:27 Merging remotes/origin/main commit c21995dc83c9d4518c4a60710b227f9f01242914 into PR head commit 84933a03a0fad190de02a1e6661255c0596a1061 22:30:27 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:30:27 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:30:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:30:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:30:27 > git config core.sparsecheckout # timeout=10 22:30:27 > git checkout -f 84933a03a0fad190de02a1e6661255c0596a1061 # timeout=10 22:30:27 > git remote # timeout=10 22:30:27 > git config --get remote.origin.url # timeout=10 22:30:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:30:27 > git merge c21995dc83c9d4518c4a60710b227f9f01242914 # timeout=10 22:30:28 Merge succeeded, producing 84933a03a0fad190de02a1e6661255c0596a1061 22:30:28 Checking out Revision 84933a03a0fad190de02a1e6661255c0596a1061 (PR-37) 22:30:28 > git rev-parse HEAD^{commit} # timeout=10 22:30:28 > git config core.sparsecheckout # timeout=10 22:30:28 > git checkout -f 84933a03a0fad190de02a1e6661255c0596a1061 # timeout=10 22:30:31 Commit message: "fix: Adjusted replay valadation messages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:30:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:30:32 % Total % Received % Xferd Average Speed Time Time Time Current 22:30:32 Dload Upload Total Spent Left Speed 22:30:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 22:30:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:30:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:30:33 + sudo tee /etc/docker/daemon.new 22:30:33 { 22:30:33 "registry-mirrors": [ 22:30:33 "https://nexus3.edgexfoundry.org:10001" 22:30:33 ], 22:30:33 "bip": "10.250.0.254/24", 22:30:33 "hosts": [ 22:30:33 "tcp://0.0.0.0:5555", 22:30:33 "unix:///var/run/docker.sock" 22:30:33 ], 22:30:33 "mtu": 1458, 22:30:33 "selinux-enabled": true, 22:30:33 "seccomp-profile": "/etc/docker/seccomp.json" 22:30:33 } [Pipeline] sh 22:30:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:30:34 + sudo service docker restart 22:30:46 Removing intermediate container 081e69878582 22:30:46 ---> 9690679994c1 22:30:46 Step 13/26 : FROM alpine:3.17 22:30:46 3.17: Pulling from library/alpine 22:30:46 4db1b89c0bd1: Pulling fs layer 22:30:46 4db1b89c0bd1: Verifying Checksum 22:30:46 4db1b89c0bd1: Download complete 22:30:46 4db1b89c0bd1: Pull complete 22:30:46 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 22:30:46 Status: Downloaded newer image for alpine:3.17 22:30:46 ---> 1f73a9d63274 22:30:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:30:46 ---> Running in 3cbe8ed0a227 22:30:46 Removing intermediate container 3cbe8ed0a227 22:30:46 ---> 62720ad1620d 22:30:46 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 22:30:46 ---> Running in 945bbf802e47 22:30:46 Removing intermediate container 945bbf802e47 22:30:46 ---> e20f03c7721a 22:30:46 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:30:46 ---> Running in 826b4a2bd80d 22:30:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:30:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:30:46 (1/2) Installing ca-certificates (20230506-r0) 22:30:46 (2/2) Installing dumb-init (1.2.5-r2) 22:30:46 Executing busybox-1.35.0-r29.trigger 22:30:46 Executing ca-certificates-20230506-r0.trigger 22:30:46 OK: 8 MiB in 17 packages 22:30:46 Removing intermediate container 826b4a2bd80d 22:30:46 ---> 854ffc883156 22:30:46 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:30:46 ---> f653410cecfd 22:30:46 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:30:46 ---> 331e0b364263 22:30:46 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:30:46 ---> 259a58e4436b 22:30:46 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 22:30:46 ---> b02dd5a715dd 22:30:46 Step 21/26 : EXPOSE 59712 22:30:46 ---> Running in 6d9133010a07 22:30:46 Removing intermediate container 6d9133010a07 22:30:46 ---> 8dbae4e6921b 22:30:46 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 22:30:46 ---> Running in 6e43065bd894 22:30:46 Removing intermediate container 6e43065bd894 22:30:46 ---> 25dd32363b0e 22:30:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:30:46 ---> Running in 093b7571b0c2 22:30:46 Removing intermediate container 093b7571b0c2 22:30:46 ---> afd68a01b18f 22:30:46 Step 24/26 : LABEL arch=amd64 22:30:46 ---> Running in 3fa8e2541830 22:30:46 Removing intermediate container 3fa8e2541830 22:30:46 ---> b996f0338a66 22:30:46 Step 25/26 : LABEL git_sha=84933a03a0fad190de02a1e6661255c0596a1061 22:30:46 ---> Running in a519599fcc74 22:30:46 Removing intermediate container a519599fcc74 22:30:46 ---> cc865e35bbca 22:30:46 Step 26/26 : LABEL version=0.0.0 22:30:46 ---> Running in bd9593e2bc73 22:30:46 Removing intermediate container bd9593e2bc73 22:30:46 ---> 2443df3df432 22:30:46 [Warning] One or more build-args [ARCH] were not consumed 22:30:46 Successfully built 2443df3df432 22:30:46 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:46 22:30:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:47 latest: Pulling from edgex-lftools-log-publisher 22:30:47 5eb5b503b376: Pulling fs layer 22:30:47 5c69ac0246d0: Pulling fs layer 22:30:47 ec43610c2a17: Pulling fs layer 22:30:47 3a2ae6a8a46f: Pulling fs layer 22:30:47 33b1e0a273af: Pulling fs layer 22:30:47 5d3b04190fa2: Pulling fs layer 22:30:47 2f39f015ded8: Pulling fs layer 22:30:47 33b1e0a273af: Waiting 22:30:47 5d3b04190fa2: Waiting 22:30:47 2f39f015ded8: Waiting 22:30:47 3a2ae6a8a46f: Waiting 22:30:47 5c69ac0246d0: Download complete 22:30:47 3a2ae6a8a46f: Verifying Checksum 22:30:47 3a2ae6a8a46f: Download complete 22:30:47 33b1e0a273af: Verifying Checksum 22:30:47 33b1e0a273af: Download complete 22:30:47 5d3b04190fa2: Verifying Checksum 22:30:47 5d3b04190fa2: Download complete 22:30:47 ec43610c2a17: Verifying Checksum 22:30:47 ec43610c2a17: Download complete 22:30:47 5eb5b503b376: Verifying Checksum 22:30:47 5eb5b503b376: Download complete 22:30:47 2f39f015ded8: Verifying Checksum 22:30:47 2f39f015ded8: Download complete 22:30:48 5eb5b503b376: Pull complete 22:30:48 5c69ac0246d0: Pull complete 22:30:48 ec43610c2a17: Pull complete 22:30:48 3a2ae6a8a46f: Pull complete 22:30:49 33b1e0a273af: Pull complete 22:30:49 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:52 provisioning config files... 22:30:52 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config4412633722473822677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:52 ---> docker-login.sh 22:30:52 nexus3.edgexfoundry.org:10001 22:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:53 Configure a credential helper to remove this warning. See 22:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:53 22:30:53 Login Succeeded 22:30:53 nexus3.edgexfoundry.org:10002 22:30:53 2f39f015ded8: Pull complete 22:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:53 Configure a credential helper to remove this warning. See 22:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:53 22:30:53 Login Succeeded 22:30:53 nexus3.edgexfoundry.org:10003 22:30:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:30:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:53 prd-ubuntu20.04-docker-8c-8g-880 does not seem to be running inside a container 22:30:53 $ 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-37 -v /w/workspace/xfoundry_app-record-replay_PR-37:/w/workspace/xfoundry_app-record-replay_PR-37:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-37@tmp:/w/workspace/xfoundry_app-record-replay_PR-37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:54 Configure a credential helper to remove this warning. See 22:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:54 22:30:54 Login Succeeded 22:30:54 nexus3.edgexfoundry.org:10004 22:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:54 Configure a credential helper to remove this warning. See 22:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:54 22:30:54 Login Succeeded 22:30:54 docker.io 22:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:54 Configure a credential helper to remove this warning. See 22:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:54 22:30:54 Login Succeeded 22:30:54 ---> docker-login.sh ends 22:30:58 $ docker top 5c748d00cd6f274dc700839568c68a16c8fdb2ccc10314ba96ca179f4573eed4 -eo pid,comm [Pipeline] { [Pipeline] } 22:30:58 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:30:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 22:30:59 ---> job-cost.sh 22:30:59 lf-activate-venv: SKIPPING 22:30:59 INFO: No Stack... [Pipeline] echo 22:30:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:30:59 ========================================================= 22:30:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:30:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:30:59 Sending build context to Docker daemon 149.5kB 22:30:59 INFO: Retrieving Pricing Info for: v3-standard-8 22:30:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:30:59 Step 2/12 : FROM ${BASE} AS builder 22:30:59 INFO: Archiving Costs [Pipeline] sh 22:31:00 + cat /w/workspace/xfoundry_app-record-replay_PR-37/archives/cost.csv 22:31:00 + cut -d, -f6 [Pipeline] lock 22:31:00 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-37-2-stack-cost] 22:31:00 Resource [jenkins-edgexfoundry-app-record-replay-PR-37-2-stack-cost] did not exist. Created. 22:31:00 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-37-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:31:00 + echo total: 0.2199999988079071 [Pipeline] stash 22:31:00 Stashed 1 file(s) [Pipeline] } 22:31:00 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-37-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:31:00 $ docker stop --time=1 5c748d00cd6f274dc700839568c68a16c8fdb2ccc10314ba96ca179f4573eed4 22:31:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:31:00 c41833b44d91: Pulling fs layer 22:31:00 ed15518f5707: Pulling fs layer 22:31:00 feae8fd75edb: Pulling fs layer 22:31:00 242c74f7c9fa: Pulling fs layer 22:31:00 3cdef696dda3: Pulling fs layer 22:31:00 2ced38df9373: Pulling fs layer 22:31:00 58f1dce35555: Pulling fs layer 22:31:00 242c74f7c9fa: Waiting 22:31:00 3cdef696dda3: Waiting 22:31:00 2ced38df9373: Waiting 22:31:00 58f1dce35555: Waiting 22:31:00 ed15518f5707: Download complete 22:31:00 242c74f7c9fa: Verifying Checksum 22:31:00 242c74f7c9fa: Download complete 22:31:00 3cdef696dda3: Verifying Checksum 22:31:00 3cdef696dda3: Download complete 22:31:00 c41833b44d91: Verifying Checksum 22:31:01 c41833b44d91: Pull complete 22:31:01 $ docker rm -f --volumes 5c748d00cd6f274dc700839568c68a16c8fdb2ccc10314ba96ca179f4573eed4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:31:01 58f1dce35555: Verifying Checksum 22:31:01 58f1dce35555: Download complete 22:31:02 ed15518f5707: Pull complete 22:31:03 feae8fd75edb: Verifying Checksum 22:31:03 feae8fd75edb: Download complete 22:31:03 2ced38df9373: Verifying Checksum 22:31:03 2ced38df9373: Download complete 22:31:15 feae8fd75edb: Pull complete 22:31:15 242c74f7c9fa: Pull complete 22:31:15 3cdef696dda3: Pull complete 22:31:22 2ced38df9373: Pull complete 22:31:24 58f1dce35555: Pull complete 22:31:24 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:31:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:31:24 ---> fadd8f120f05 22:31:24 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:31:25 ---> Running in b5fb29f8f586 22:31:25 Removing intermediate container b5fb29f8f586 22:31:25 ---> 2ceea6ede678 22:31:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:31:25 ---> Running in e0bea0d22378 22:31:26 Removing intermediate container e0bea0d22378 22:31:26 ---> 97a04fde0853 22:31:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:31:26 ---> Running in 7adcf6d34c2d 22:31:26 Removing intermediate container 7adcf6d34c2d 22:31:26 ---> a70f58d6947a 22:31:26 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:31:26 ---> Running in f0155baf1b4c 22:31:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:31:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:31:29 OK: 263 MiB in 53 packages 22:31:30 Removing intermediate container f0155baf1b4c 22:31:30 ---> c2af55ac62fa 22:31:30 Step 7/12 : WORKDIR /app 22:31:30 ---> Running in 027965fbbbea 22:31:30 Removing intermediate container 027965fbbbea 22:31:30 ---> 81dba6db4ff2 22:31:30 Step 8/12 : COPY go.mod vendor* ./ 22:31:30 ---> 905f44129c9c 22:31:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:31:31 ---> Running in b4588c3bcd90 22:32:38 Removing intermediate container b4588c3bcd90 22:32:38 ---> 7afeb6bc2665 22:32:38 Step 10/12 : COPY . . 22:32:38 ---> f7fb8ccfa8aa 22:32:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:32:38 ---> Running in e85bb3c8a1e6 22:32:38 Removing intermediate container e85bb3c8a1e6 22:32:38 ---> 866b9f82e933 22:32:38 Step 12/12 : RUN $MAKE 22:32:38 ---> Running in c923cdcf9537 22:32:38 noop 22:32:38 Removing intermediate container c923cdcf9537 22:32:38 ---> 641b1af1b281 22:32:38 Successfully built 641b1af1b281 22:32:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:39 + docker inspect -f . ci-base-image-arm64 22:32:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:39 prd-ubuntu20.04-docker-arm64-4c-16g-881 does not seem to be running inside a container 22:32:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:32:40 $ docker top b69f0c1437e448389fcabe2256bd98c272e38f2bb48ef06621227ae397cb7e4f -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:41 + go version 22:32:41 go version go1.20.2 linux/arm64 [Pipeline] } 22:32:41 $ docker stop --time=1 b69f0c1437e448389fcabe2256bd98c272e38f2bb48ef06621227ae397cb7e4f 22:32:43 $ docker rm -f --volumes b69f0c1437e448389fcabe2256bd98c272e38f2bb48ef06621227ae397cb7e4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:43 + docker inspect -f . ci-base-image-arm64 22:32:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:43 prd-ubuntu20.04-docker-arm64-4c-16g-881 does not seem to be running inside a container 22:32:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:32:48 $ docker top 15492a3b94da373927a25b50c45c0084ec7787866d5f8f4c6fc5e534c0d04b0f -eo pid,comm [Pipeline] { [Pipeline] sh 22:32:48 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 22:32:48 + make test 22:32:48 go test -race -coverprofile=coverage.out ./... 22:35:25 ? github.com/edgexfoundry/app-record-replay [no test files] 22:35:29 ok github.com/edgexfoundry/app-record-replay/internal/app 0.207s coverage: 76.9% of statements 22:35:30 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.279s coverage: 91.2% of statements 22:35:33 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:35:33 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 22:35:33 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:35:33 ok github.com/edgexfoundry/app-record-replay/internal/data 0.200s coverage: 27.3% of statements 22:35:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:35:33 go vet ./... 22:37:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:37:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:37:55 ./bin/test-attribution-txt.sh [Pipeline] echo 22:37:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:37:55 $ docker stop --time=1 15492a3b94da373927a25b50c45c0084ec7787866d5f8f4c6fc5e534c0d04b0f 22:37:57 $ docker rm -f --volumes 15492a3b94da373927a25b50c45c0084ec7787866d5f8f4c6fc5e534c0d04b0f [Pipeline] // withDockerContainer [Pipeline] sh 22:37:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:37:58 Warning: overwriting stash ‘coverage-report’ 22:37:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:38:00 + ls -al . 22:38:00 total 156 22:38:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 22:32 . 22:38:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 22:30 .. 22:38:00 -rw-rw-r-- 1 jenkins jenkins 119 Jul 11 22:30 .dockerignore 22:38:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 22:30 .git 22:38:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 22:30 .github 22:38:00 -rw-rw-r-- 1 jenkins jenkins 164 Jul 11 22:30 .gitignore 22:38:00 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 22:30 .golangci.yml 22:38:00 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 11 22:30 Attribution.txt 22:38:00 -rw-rw-r-- 1 jenkins jenkins 258 Jul 11 22:30 CHANGELOG.md 22:38:00 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 11 22:30 Dockerfile 22:38:00 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 22:30 GOVERNANCE.md 22:38:00 -rw-rw-r-- 1 jenkins jenkins 681 Jul 11 22:30 Jenkinsfile 22:38:00 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 11 22:30 LICENSE 22:38:00 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 11 22:30 Makefile 22:38:00 -rw-rw-r-- 1 jenkins jenkins 611 Jul 11 22:30 OWNERS.md 22:38:00 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 11 22:30 README.md 22:38:00 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 11 22:30 Record and Reply.postman_collection.json 22:38:00 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 22:28 VERSION 22:38:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 22:30 bin 22:38:00 -rw-r--r-- 1 jenkins jenkins 6157 Jul 11 22:35 coverage.out 22:38:00 -rw-rw-r-- 1 jenkins jenkins 3411 Jul 11 22:30 go.mod 22:38:00 -rw-rw-r-- 1 jenkins jenkins 31491 Jul 11 22:30 go.sum 22:38:00 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 22:30 internal 22:38:00 -rw-rw-r-- 1 jenkins jenkins 913 Jul 11 22:30 main.go 22:38:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 22:30 pkg 22:38:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 22:30 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:00 + 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=84933a03a0fad190de02a1e6661255c0596a1061 --label arch=arm64 --label version=0.0.0 . 22:38:00 Sending build context to Docker daemon 156.7kB 22:38:00 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:38:00 Step 2/26 : FROM ${BASE} AS builder 22:38:00 ---> 641b1af1b281 22:38:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:38:00 ---> Running in a50f5c3094dd 22:38:01 Removing intermediate container a50f5c3094dd 22:38:01 ---> 6a17b5ce2ad4 22:38:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:38:01 ---> Running in 0077737ac541 22:38:01 Removing intermediate container 0077737ac541 22:38:01 ---> 1e6a779237d2 22:38:01 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:38:01 ---> Running in 07c190488fce 22:38:01 Removing intermediate container 07c190488fce 22:38:01 ---> 9da43785381b 22:38:01 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:38:01 ---> Running in 1e70275d171d 22:38:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:38:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:38:04 OK: 263 MiB in 53 packages 22:38:05 Removing intermediate container 1e70275d171d 22:38:05 ---> 3dfb436487d0 22:38:05 Step 7/26 : WORKDIR /app 22:38:05 ---> Running in c4deaa1f7e4c 22:38:05 Removing intermediate container c4deaa1f7e4c 22:38:05 ---> de3764976f23 22:38:05 Step 8/26 : COPY go.mod vendor* ./ 22:38:05 ---> d620edce7c60 22:38:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:38:06 ---> Running in c306b0e846e2 22:38:11 Removing intermediate container c306b0e846e2 22:38:11 ---> c108122af2dc 22:38:11 Step 10/26 : COPY . . 22:38:11 ---> f08e8dae1bd5 22:38:11 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:38:11 ---> Running in 8e36945041e8 22:38:11 Removing intermediate container 8e36945041e8 22:38:11 ---> f86492ae9a73 22:38:11 Step 12/26 : RUN $MAKE 22:38:11 ---> Running in 3f55ae3a5329 22:38:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.4 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 22:40:19 Removing intermediate container 3f55ae3a5329 22:40:19 ---> 57540e72f937 22:40:19 Step 13/26 : FROM alpine:3.17 22:40:19 3.17: Pulling from library/alpine 22:40:19 edb6bdbacee9: Pulling fs layer 22:40:19 edb6bdbacee9: Verifying Checksum 22:40:19 edb6bdbacee9: Download complete 22:40:19 edb6bdbacee9: Pull complete 22:40:19 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 22:40:19 Status: Downloaded newer image for alpine:3.17 22:40:19 ---> 779605e5fbc0 22:40:19 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:40:19 ---> Running in dba2a924e097 22:40:19 Removing intermediate container dba2a924e097 22:40:19 ---> 3452040195cb 22:40:19 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 22:40:19 ---> Running in fddb5d826dc2 22:40:19 Removing intermediate container fddb5d826dc2 22:40:19 ---> 94992e53f932 22:40:19 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:40:19 ---> Running in d98d34f5d9ed 22:40:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:40:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:40:19 (1/2) Installing ca-certificates (20230506-r0) 22:40:19 (2/2) Installing dumb-init (1.2.5-r2) 22:40:19 Executing busybox-1.35.0-r29.trigger 22:40:19 Executing ca-certificates-20230506-r0.trigger 22:40:19 OK: 8 MiB in 17 packages 22:40:19 Removing intermediate container d98d34f5d9ed 22:40:19 ---> 4ab86f22698f 22:40:19 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:40:19 ---> d0f349c17b75 22:40:19 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:40:19 ---> 907617630f6b 22:40:19 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:40:19 ---> d1dd9cb81e36 22:40:19 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 22:40:19 ---> 739ba819b53a 22:40:19 Step 21/26 : EXPOSE 59712 22:40:19 ---> Running in 8f886ff311bd 22:40:19 Removing intermediate container 8f886ff311bd 22:40:19 ---> b0114e885e4b 22:40:19 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 22:40:19 ---> Running in 56d4d9707a5c 22:40:20 Removing intermediate container 56d4d9707a5c 22:40:20 ---> 3b2c7dbe14b1 22:40:20 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:40:20 ---> Running in 4c6b2b7f5bcf 22:40:20 Removing intermediate container 4c6b2b7f5bcf 22:40:20 ---> 00c1cf707f8a 22:40:20 Step 24/26 : LABEL arch=arm64 22:40:20 ---> Running in 72d7e768c360 22:40:21 Removing intermediate container 72d7e768c360 22:40:21 ---> 406301deae56 22:40:21 Step 25/26 : LABEL git_sha=84933a03a0fad190de02a1e6661255c0596a1061 22:40:21 ---> Running in 7813e78b0e58 22:40:21 Removing intermediate container 7813e78b0e58 22:40:21 ---> f0e6218b9c26 22:40:21 Step 26/26 : LABEL version=0.0.0 22:40:21 ---> Running in c1f64fd2c954 22:40:21 Removing intermediate container c1f64fd2c954 22:40:21 ---> 961bcb5b5916 22:40:21 [Warning] One or more build-args [ARCH] were not consumed 22:40:21 Successfully built 961bcb5b5916 22:40:21 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:22 22:40:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:22 arm64: Pulling from edgex-lftools-log-publisher 22:40:22 8998bd30e6a1: Pulling fs layer 22:40:22 04944245beec: Pulling fs layer 22:40:22 699f458cf7ca: Pulling fs layer 22:40:22 765212b225bb: Pulling fs layer 22:40:22 f23df028b6ca: Pulling fs layer 22:40:22 d65c8cfc05b1: Pulling fs layer 22:40:22 2437ff75d9bd: Pulling fs layer 22:40:22 765212b225bb: Waiting 22:40:22 f23df028b6ca: Waiting 22:40:22 d65c8cfc05b1: Waiting 22:40:22 2437ff75d9bd: Waiting 22:40:22 04944245beec: Verifying Checksum 22:40:22 04944245beec: Download complete 22:40:22 765212b225bb: Verifying Checksum 22:40:22 765212b225bb: Download complete 22:40:22 f23df028b6ca: Verifying Checksum 22:40:22 f23df028b6ca: Download complete 22:40:22 d65c8cfc05b1: Verifying Checksum 22:40:22 d65c8cfc05b1: Download complete 22:40:23 699f458cf7ca: Verifying Checksum 22:40:23 699f458cf7ca: Download complete 22:40:23 8998bd30e6a1: Verifying Checksum 22:40:23 8998bd30e6a1: Download complete 22:40:26 2437ff75d9bd: Verifying Checksum 22:40:26 2437ff75d9bd: Download complete 22:40:27 8998bd30e6a1: Pull complete 22:40:27 04944245beec: Pull complete 22:40:29 699f458cf7ca: Pull complete 22:40:29 765212b225bb: Pull complete 22:40:29 f23df028b6ca: Pull complete 22:40:30 d65c8cfc05b1: Pull complete 22:40:45 2437ff75d9bd: Pull complete 22:40:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:40:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:40:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:45 prd-ubuntu20.04-docker-arm64-4c-16g-881 does not seem to be running inside a container 22:40:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:40:47 $ docker top 095a8323bdd3bd76e29dce6e2a0a740b709c046c09b47b9c184e4889d274e474 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:48 ---> job-cost.sh 22:40:48 lf-activate-venv: SKIPPING 22:40:48 INFO: No Stack... 22:40:49 INFO: Retrieving Pricing Info for: v3-standard-4 22:40:49 INFO: Archiving Costs [Pipeline] sh 22:40:50 + cut -d, -f6 22:40:50 + cat /w/workspace/app-record-replay/2/archives/cost.csv [Pipeline] lock 22:40:50 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-37-2-stack-cost] 22:40:50 Resource [jenkins-edgexfoundry-app-record-replay-PR-37-2-stack-cost] did not exist. Created. 22:40:50 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-37-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:40:50 /w/workspace/app-record-replay/2@tmp/durable-474266d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:40:51 + echo total: 0.10999999940395355 [Pipeline] stash 22:40:51 Warning: overwriting stash ‘stack-cost’ 22:40:51 Stashed 1 file(s) [Pipeline] } 22:40:51 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-37-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:40:51 $ docker stop --time=1 095a8323bdd3bd76e29dce6e2a0a740b709c046c09b47b9c184e4889d274e474 22:40:53 $ docker rm -f --volumes 095a8323bdd3bd76e29dce6e2a0a740b709c046c09b47b9c184e4889d274e474 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:40:53 provisioning config files... 22:40:53 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-37 #2 22:40:53 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-37@tmp/config16320071454853923637tmp [Pipeline] { [Pipeline] sh 22:40:53 + set +x 22:40:53 + curl -s https://codecov.io/bash 22:40:53 + bash -s -- 22:40:53 22:40:53 _____ _ 22:40:53 / ____| | | 22:40:53 | | ___ __| | ___ ___ _____ __ 22:40:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:40:53 | |___| (_) | (_| | __/ (_| (_) \ V / 22:40:53 \_____\___/ \__,_|\___|\___\___/ \_/ 22:40:53 Bash-1.0.6 22:40:53 22:40:53 22:40:53 ==> git version 2.25.1 found 22:40:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:40:53 Release-Date: 2020-01-08 22:40:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:40:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:40:53 ==> Jenkins CI detected. 22:40:53 current dir:  /w/workspace/xfoundry_app-record-replay_PR-37 22:40:53 project root: . 22:40:53 --> token set from env 22:40:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:40:53 ==> Running gcov in . (disable via -X gcov) 22:40:53 ==> Python coveragepy not found 22:40:53 ==> Searching for coverage reports in: 22:40:53 + . 22:40:53 -> Found 1 reports 22:40:53 ==> Detecting git/mercurial file structure 22:40:54 ==> Reading reports 22:40:54 + ./coverage.out bytes=6157 22:40:54 ==> Appending adjustments 22:40:54 https://docs.codecov.io/docs/fixing-reports 22:40:54 + Found adjustments 22:40:54 ==> Gzipping contents 22:40:54 4.0K /tmp/codecov.25yobg.gz 22:40:54 ==> Uploading reports 22:40:54 url: https://codecov.io 22:40:54 query: branch=PR-37&commit=84933a03a0fad190de02a1e6661255c0596a1061&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-37%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=37&job=&cmd_args= 22:40:54 -> Pinging Codecov 22:40:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-37&commit=84933a03a0fad190de02a1e6661255c0596a1061&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-37%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=37&job=&cmd_args= 22:40:54 Invalid request parameters 22:40:54 400 [Pipeline] } 22:40:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:40:54 + [ -d /w/workspace/xfoundry_app-record-replay_PR-37/archives ] 22:40:54 + ls -al /w/workspace/xfoundry_app-record-replay_PR-37/archives 22:40:54 total 16 22:40:54 drwxr-xr-x 3 root root 4096 Jul 11 22:30 . 22:40:54 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 22:31 .. 22:40:54 drwxr-xr-x 2 root root 4096 Jul 11 22:30 cost 22:40:54 -rw-r--r-- 1 root root 88 Jul 11 22:30 cost.csv 22:40:54 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-37/archives 22:40:54 + ls -al /w/workspace/xfoundry_app-record-replay_PR-37/archives 22:40:54 total 16 22:40:54 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 22:30 . 22:40:54 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 22:31 .. 22:40:54 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 22:30 cost 22:40:54 -rw-r--r-- 1 jenkins jenkins 88 Jul 11 22:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:40:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:40:55 ---> package-listing.sh 22:40:55 ++ facter osfamily 22:40:55 ++ tr '[:upper:]' '[:lower:]' 22:40:56 + OS_FAMILY=debian 22:40:56 + workspace=/w/workspace/xfoundry_app-record-replay_PR-37 22:40:56 + START_PACKAGES=/tmp/packages_start.txt 22:40:56 + END_PACKAGES=/tmp/packages_end.txt 22:40:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:40:56 + PACKAGES=/tmp/packages_start.txt 22:40:56 + '[' /w/workspace/xfoundry_app-record-replay_PR-37 ']' 22:40:56 + PACKAGES=/tmp/packages_end.txt 22:40:56 + case "${OS_FAMILY}" in 22:40:56 + dpkg -l 22:40:56 + grep '^ii' 22:40:56 + '[' -f /tmp/packages_start.txt ']' 22:40:56 + '[' -f /tmp/packages_end.txt ']' 22:40:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:40:56 + '[' /w/workspace/xfoundry_app-record-replay_PR-37 ']' 22:40:56 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-37/archives/ 22:40:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-37/archives/ [Pipeline] echo 22:40:56 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-37/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:40:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:40:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:40:57 prd-ubuntu20.04-docker-8c-8g-880 does not seem to be running inside a container 22:40:57 $ 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-37/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-37 -v /w/workspace/xfoundry_app-record-replay_PR-37:/w/workspace/xfoundry_app-record-replay_PR-37:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-37@tmp:/w/workspace/xfoundry_app-record-replay_PR-37@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 22:40:57 $ docker top cb8615d46d639a99641cb03861cff2fabd4a11f371a3a26dba2a81c01c35d321 -eo pid,comm [Pipeline] { [Pipeline] sh 22:40:57 + touch /tmp/pre-build-complete [Pipeline] sh 22:40:57 + mkdir -p /var/log/sysstat [Pipeline] sh 22:40:58 + ls /var/log/sa-host 22:40:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:58 provisioning config files... 22:40:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-37@tmp/config15640594325440669530tmp [Pipeline] { [Pipeline] echo 22:40:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:40:58 ---> create-netrc.sh [Pipeline] } 22:40:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:40:59 ---> python-tools-install.sh [Pipeline] echo 22:40:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:40:59 ---> sudo-logs.sh 22:40:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:40:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:40:59 ---> job-cost.sh 22:40:59 lf-activate-venv: SKIPPING 22:40:59 DEBUG: total: 0.2199999988079071 22:40:59 INFO: Retrieving Stack Cost... 22:41:00 INFO: Retrieving Pricing Info for: v3-standard-8 22:41:00 INFO: Archiving Costs [Pipeline] echo 22:41:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:41:01 ---> logs-deploy.sh 22:41:01 lf-activate-venv: SKIPPING 22:41:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-37/2 22:41:01 INFO: archiving workspace using pattern(s): 22:41:02 Archives upload complete. 22:41:02 INFO: archiving logs to Nexus