Pull request #32 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 bb796cdde101ffaab04176c5aa20f380fe461fec+5c5c0fa1b183acca9b573439bae46aaad6e22dbc (1a00a26230dd3e2eb13f15b3134cfc0c3ed7f8b1) 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-ssh12321165465670143899.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-ssh18099794296244592908.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-32/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-32/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10884377720311753337.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-ssh16171260372985031173.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-32/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-32/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1606447735601693627.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-19268’ is offline Running on prd-ubuntu20.04-docker-8c-8g-19270 in /w/workspace/xfoundry_app-record-replay_PR-32 [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-32 # 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 5c5c0fa1b183acca9b573439bae46aaad6e22dbc into PR head commit bb796cdde101ffaab04176c5aa20f380fe461fec Merge succeeded, producing bb796cdde101ffaab04176c5aa20f380fe461fec Checking out Revision bb796cdde101ffaab04176c5aa20f380fe461fec (PR-32) > 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/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb796cdde101ffaab04176c5aa20f380fe461fec # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5c5c0fa1b183acca9b573439bae46aaad6e22dbc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb796cdde101ffaab04176c5aa20f380fe461fec # timeout=10 Commit message: "feat: Add validations for negative duration and event count" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:28:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:28:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:28:00 ========================================================= 20:28:00 EdgeX Global Pipelines Version Info 20:28:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1df8aa8b1078f5895683aa19c90837ba826b4c34 # timeout=10 20:28:01 ------------------- 20:28:01 stable info: 20:28:01 ------------------- 20:28:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:28:01 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:28:01 Message: update stable to v1.0.250 20:28:01 ------------------- 20:28:01 experimental info: 20:28:01 ------------------- 20:28:01 Commited By: **** collab-it+edgex@linuxfoundation.org 20:28:01 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 20:28:01 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-32 [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-32 [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-32 [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb796cdde101ffaab04176c5aa20f380fe461fec [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb796cd [Pipeline] echo 20:28:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:28:02 provisioning config files... 20:28:02 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-32@tmp/config17439674464447498451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:02 ---> docker-login.sh 20:28:02 nexus3.edgexfoundry.org:10001 20:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:03 Configure a credential helper to remove this warning. See 20:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:03 20:28:03 Login Succeeded 20:28:03 nexus3.edgexfoundry.org:10002 20:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:03 Configure a credential helper to remove this warning. See 20:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:03 20:28:03 Login Succeeded 20:28:03 nexus3.edgexfoundry.org:10003 20:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:03 Configure a credential helper to remove this warning. See 20:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:03 20:28:03 Login Succeeded 20:28:03 nexus3.edgexfoundry.org:10004 20:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:03 Configure a credential helper to remove this warning. See 20:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:03 20:28:03 Login Succeeded 20:28:03 docker.io 20:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:03 Configure a credential helper to remove this warning. See 20:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:03 20:28:03 Login Succeeded 20:28:03 ---> docker-login.sh ends [Pipeline] } 20:28:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:28:04 + git rev-list -1 --merges bb796cdde101ffaab04176c5aa20f380fe461fec~1..bb796cdde101ffaab04176c5aa20f380fe461fec [Pipeline] echo 20:28:04 -----------> git rev-list -1 --merges bb796cdde101ffaab04176c5aa20f380fe461fec~1..bb796cdde101ffaab04176c5aa20f380fe461fec bb796cdde101ffaab04176c5aa20f380fe461fec [false] [Pipeline] sh 20:28:04 + git log --format=format:%s -1 bb796cdde101ffaab04176c5aa20f380fe461fec [Pipeline] echo 20:28:04 ========================================================= 20:28:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:28:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:28:04 + git log --format=format:%s -1 bb796cdde101ffaab04176c5aa20f380fe461fec [Pipeline] echo 20:28:04 [semverPrep] GIT_COMMIT: bb796cdde101ffaab04176c5aa20f380fe461fec, Commit Message: feat: Add validations for negative duration and event count [Pipeline] echo 20:28:04 [semverPrep] This is not a build commit. [Pipeline] sh 20:28:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:28:05 + grep -v github /etc/ssh/ssh_known_hosts 20:28:05 + [ -e /tmp/ssh_known_hosts ] 20:28:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:28:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:28:05 + sudo tee -a /etc/ssh/ssh_known_hosts 20:28:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:05 20:28:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:05 0.1.4: Pulling from edgex-devops/py-git-semver 20:28:05 b85a868b505f: Pulling fs layer 20:28:05 e2be974225ed: Pulling fs layer 20:28:05 339a4e72a1f5: Pulling fs layer 20:28:05 988bab9f4d93: Pulling fs layer 20:28:05 1469e6f7b9e6: Pulling fs layer 20:28:05 eaf3925da568: Pulling fs layer 20:28:05 bab4dde63d76: Pulling fs layer 20:28:05 bde34c3a00c8: Pulling fs layer 20:28:05 b352a97aabf1: Pulling fs layer 20:28:05 4872d77fe225: Pulling fs layer 20:28:05 5851b861e8e6: Pulling fs layer 20:28:05 bab4dde63d76: Waiting 20:28:05 bde34c3a00c8: Waiting 20:28:05 b352a97aabf1: Waiting 20:28:05 4872d77fe225: Waiting 20:28:05 988bab9f4d93: Waiting 20:28:05 1469e6f7b9e6: Waiting 20:28:05 eaf3925da568: Waiting 20:28:05 5851b861e8e6: Waiting 20:28:05 e2be974225ed: Verifying Checksum 20:28:05 e2be974225ed: Download complete 20:28:06 988bab9f4d93: Verifying Checksum 20:28:06 988bab9f4d93: Download complete 20:28:06 1469e6f7b9e6: Verifying Checksum 20:28:06 1469e6f7b9e6: Download complete 20:28:06 eaf3925da568: Download complete 20:28:06 339a4e72a1f5: Verifying Checksum 20:28:06 339a4e72a1f5: Download complete 20:28:06 bde34c3a00c8: Verifying Checksum 20:28:06 bde34c3a00c8: Download complete 20:28:06 b352a97aabf1: Download complete 20:28:06 4872d77fe225: Verifying Checksum 20:28:06 4872d77fe225: Download complete 20:28:06 5851b861e8e6: Verifying Checksum 20:28:06 5851b861e8e6: Download complete 20:28:06 b85a868b505f: Verifying Checksum 20:28:06 b85a868b505f: Download complete 20:28:06 bab4dde63d76: Download complete 20:28:07 b85a868b505f: Pull complete 20:28:07 e2be974225ed: Pull complete 20:28:08 339a4e72a1f5: Pull complete 20:28:08 988bab9f4d93: Pull complete 20:28:09 1469e6f7b9e6: Pull complete 20:28:09 eaf3925da568: Pull complete 20:28:10 bab4dde63d76: Pull complete 20:28:10 bde34c3a00c8: Pull complete 20:28:10 b352a97aabf1: Pull complete 20:28:11 4872d77fe225: Pull complete 20:28:11 5851b861e8e6: Pull complete 20:28:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:28:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:28:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:11 prd-ubuntu20.04-docker-8c-8g-19270 does not seem to be running inside a container 20:28:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-32 -v /w/workspace/xfoundry_app-record-replay_PR-32:/w/workspace/xfoundry_app-record-replay_PR-32:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-32@tmp:/w/workspace/xfoundry_app-record-replay_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:28:15 $ docker top 5fa94c62439248e2ad25c69bde9ef8596489d67c331b42e0dad5617837c248d5 -eo pid,comm 20:28:15 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). 20:28:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:28:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:15 [ssh-agent] Looking for ssh-agent implementation... 20:28:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:15 $ docker exec 5fa94c62439248e2ad25c69bde9ef8596489d67c331b42e0dad5617837c248d5 ssh-agent 20:28:15 SSH_AUTH_SOCK=/tmp/ssh-EwUxJil2FU91/agent.33 20:28:15 SSH_AGENT_PID=39 20:28:15 Running ssh-add (command line suppressed) 20:28:15 Identity added: /w/workspace/xfoundry_app-record-replay_PR-32@tmp/private_key_11956744729961245844.key (/w/workspace/xfoundry_app-record-replay_PR-32@tmp/private_key_11956744729961245844.key) 20:28:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:16 + git tag --points-at HEAD [Pipeline] } 20:28:16 $ docker exec --env ******** --env ******** 5fa94c62439248e2ad25c69bde9ef8596489d67c331b42e0dad5617837c248d5 ssh-agent -k 20:28:16 unset SSH_AUTH_SOCK; 20:28:16 unset SSH_AGENT_PID; 20:28:16 echo Agent pid 39 killed; 20:28:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:28:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:28:16 [ssh-agent] Looking for ssh-agent implementation... 20:28:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:28:16 $ docker exec 5fa94c62439248e2ad25c69bde9ef8596489d67c331b42e0dad5617837c248d5 ssh-agent 20:28:16 SSH_AUTH_SOCK=/tmp/ssh-HpcxA7Ey7caL/agent.72 20:28:16 SSH_AGENT_PID=78 20:28:16 Running ssh-add (command line suppressed) 20:28:16 Identity added: /w/workspace/xfoundry_app-record-replay_PR-32@tmp/private_key_6868322762415359932.key (/w/workspace/xfoundry_app-record-replay_PR-32@tmp/private_key_6868322762415359932.key) 20:28:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:28:17 + git semver init 20:28:17 2023-06-26 20:28:17,264 [run_init] DEBUG init version:0.0.0 force:False 20:28:17 2023-06-26 20:28:17,265 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-32/.semver 20:28:17 2023-06-26 20:28:17,265 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-32/.semver 20:28:17 2023-06-26 20:28:17,265 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-32/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-32, universal_newlines=False, shell=None, istream=None) 20:28:17 2023-06-26 20:28:17,848 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-32/.git/info/exclude 20:28:17 2023-06-26 20:28:17,848 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-32/.semver/PR-32 with force:False 20:28:17 2023-06-26 20:28:17,848 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-32/.semver/PR-32 20:28:17 2023-06-26 20:28:17,852 [execute] INFO git cat-file --batch-check 20:28:17 2023-06-26 20:28:17,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-32/.semver, universal_newlines=False, shell=None, istream=) 20:28:17 2023-06-26 20:28:17,859 [execute] INFO git cat-file --batch 20:28:17 2023-06-26 20:28:17,859 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-32/.semver, universal_newlines=False, shell=None, istream=) 20:28:17 2023-06-26 20:28:17,863 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-32/.semver/PR-32 20:28:17 0.0.0 [Pipeline] } 20:28:17 $ docker exec --env ******** --env ******** 5fa94c62439248e2ad25c69bde9ef8596489d67c331b42e0dad5617837c248d5 ssh-agent -k 20:28:18 unset SSH_AUTH_SOCK; 20:28:18 unset SSH_AGENT_PID; 20:28:18 echo Agent pid 78 killed; 20:28:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:28:18 + git semver [Pipeline] } 20:28:18 $ docker stop --time=1 5fa94c62439248e2ad25c69bde9ef8596489d67c331b42e0dad5617837c248d5 20:28:20 $ docker rm -f --volumes 5fa94c62439248e2ad25c69bde9ef8596489d67c331b42e0dad5617837c248d5 [Pipeline] // withDockerContainer [Pipeline] sh 20:28:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:28:20 Stashed 1 file(s) [Pipeline] echo 20:28:20 [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 20:28:21 provisioning config files... 20:28:21 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-32@tmp/config738761954060545302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:21 ---> docker-login.sh 20:28:21 nexus3.edgexfoundry.org:10001 20:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:21 Configure a credential helper to remove this warning. See 20:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:21 20:28:21 Login Succeeded 20:28:21 nexus3.edgexfoundry.org:10002 20:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:21 Configure a credential helper to remove this warning. See 20:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:21 20:28:21 Login Succeeded 20:28:21 nexus3.edgexfoundry.org:10003 20:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:21 Configure a credential helper to remove this warning. See 20:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:21 20:28:21 Login Succeeded 20:28:21 nexus3.edgexfoundry.org:10004 20:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:21 Configure a credential helper to remove this warning. See 20:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:21 20:28:21 Login Succeeded 20:28:21 docker.io 20:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:21 Configure a credential helper to remove this warning. See 20:28:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:21 20:28:21 Login Succeeded 20:28:21 ---> docker-login.sh ends [Pipeline] } 20:28:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:28:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:28:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:28:21 ========================================================= 20:28:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:28:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:22 + 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 . 20:28:22 Sending build context to Docker daemon 248.8kB 20:28:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:28:22 Step 2/12 : FROM ${BASE} AS builder 20:28:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:28:22 f56be85fc22e: Pulling fs layer 20:28:22 85791d961cd3: Pulling fs layer 20:28:22 d694b5ae8c79: Pulling fs layer 20:28:22 9f32a84ed3da: Pulling fs layer 20:28:22 4d19c01a9841: Pulling fs layer 20:28:22 9325e15d5711: Pulling fs layer 20:28:22 9f32a84ed3da: Waiting 20:28:22 4d19c01a9841: Waiting 20:28:22 556b6ee489ea: Pulling fs layer 20:28:22 c5a4b2cf53e6: Pulling fs layer 20:28:22 9325e15d5711: Waiting 20:28:22 85791d961cd3: Verifying Checksum 20:28:22 85791d961cd3: Download complete 20:28:22 9f32a84ed3da: Verifying Checksum 20:28:22 9f32a84ed3da: Download complete 20:28:22 4d19c01a9841: Verifying Checksum 20:28:22 4d19c01a9841: Download complete 20:28:22 f56be85fc22e: Verifying Checksum 20:28:22 f56be85fc22e: Download complete 20:28:22 9325e15d5711: Verifying Checksum 20:28:22 9325e15d5711: Download complete 20:28:22 f56be85fc22e: Pull complete 20:28:23 c5a4b2cf53e6: Verifying Checksum 20:28:23 d694b5ae8c79: Verifying Checksum 20:28:23 d694b5ae8c79: Download complete 20:28:23 85791d961cd3: Pull complete 20:28:23 556b6ee489ea: Verifying Checksum 20:28:26 d694b5ae8c79: Pull complete 20:28:26 9f32a84ed3da: Pull complete 20:28:27 4d19c01a9841: Pull complete 20:28:27 9325e15d5711: Pull complete 20:28:29 556b6ee489ea: Pull complete 20:28:30 c5a4b2cf53e6: Pull complete 20:28:30 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:28:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:28:30 ---> c4be618373d6 20:28:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:28:36 Still waiting to schedule task 20:28:36 ‘prd-ubuntu20.04-docker-arm64-4c-16g-19269’ is offline 20:28:37 ---> Running in dc4f350ca97f 20:28:37 Removing intermediate container dc4f350ca97f 20:28:37 ---> c00c87a9f483 20:28:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:28:37 ---> Running in a406c03ab6ac 20:28:37 Removing intermediate container a406c03ab6ac 20:28:37 ---> b4e89927905c 20:28:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:28:37 ---> Running in dbd58f9bba48 20:28:38 Removing intermediate container dbd58f9bba48 20:28:38 ---> c1bc8e5b12ca 20:28:38 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:28:38 ---> Running in 5c3e2bb56615 20:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:28:38 OK: 265 MiB in 53 packages 20:28:39 Removing intermediate container 5c3e2bb56615 20:28:39 ---> 09d9a187b116 20:28:39 Step 7/12 : WORKDIR /app 20:28:39 ---> Running in 73f2c2c15984 20:28:39 Removing intermediate container 73f2c2c15984 20:28:39 ---> 16b03d82c894 20:28:39 Step 8/12 : COPY go.mod vendor* ./ 20:28:39 ---> 5d31d0ac858c 20:28:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:39 ---> Running in 4a975b66c97e 20:29:11 Removing intermediate container 4a975b66c97e 20:29:11 ---> 9d23d8701f1c 20:29:11 Step 10/12 : COPY . . 20:29:11 ---> 427d1d0c0b77 20:29:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:29:11 ---> Running in 6fb06f4e2895 20:29:11 Removing intermediate container 6fb06f4e2895 20:29:11 ---> 924dacc4839e 20:29:11 Step 12/12 : RUN $MAKE 20:29:11 ---> Running in 15c73577d6aa 20:29:11 noop 20:29:11 Removing intermediate container 15c73577d6aa 20:29:11 ---> 7ef18f2c0d5a 20:29:11 Successfully built 7ef18f2c0d5a 20:29:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:11 + docker inspect -f . ci-base-image-x86_64 20:29:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:11 prd-ubuntu20.04-docker-8c-8g-19270 does not seem to be running inside a container 20:29:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-32 -v /w/workspace/xfoundry_app-record-replay_PR-32:/w/workspace/xfoundry_app-record-replay_PR-32:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-32@tmp:/w/workspace/xfoundry_app-record-replay_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:29:12 $ docker top 8111d5d5a310d822d8861e042d0713b223156ad7d24a278b32ac9f98afa829cf -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:12 + go version 20:29:12 go version go1.20.2 linux/amd64 [Pipeline] } 20:29:12 $ docker stop --time=1 8111d5d5a310d822d8861e042d0713b223156ad7d24a278b32ac9f98afa829cf 20:29:13 $ docker rm -f --volumes 8111d5d5a310d822d8861e042d0713b223156ad7d24a278b32ac9f98afa829cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:14 + docker inspect -f . ci-base-image-x86_64 20:29:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:14 prd-ubuntu20.04-docker-8c-8g-19270 does not seem to be running inside a container 20:29:14 $ 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-32 -v /w/workspace/xfoundry_app-record-replay_PR-32:/w/workspace/xfoundry_app-record-replay_PR-32:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-32@tmp:/w/workspace/xfoundry_app-record-replay_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:29:14 $ docker top dc28bf7ed246436a95267f06b89777dad69215378ac6bd420810a12deda39ffd -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:15 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-32 [Pipeline] fileExists [Pipeline] sh 20:29:15 + make test 20:29:15 go test -race -coverprofile=coverage.out ./... 20:29:23 ? github.com/edgexfoundry/app-record-replay [no test files] 20:29:33 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 20:29:33 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 20:29:33 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 20:29:33 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.072s coverage: 85.1% of statements 20:29:33 ok github.com/edgexfoundry/app-record-replay/internal/data 0.063s coverage: 27.3% of statements 20:29:51 go vet ./... 20:29:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:29:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:29:54 ./bin/test-attribution-txt.sh [Pipeline] echo 20:29:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:29:54 $ docker stop --time=1 dc28bf7ed246436a95267f06b89777dad69215378ac6bd420810a12deda39ffd 20:29:59 $ docker rm -f --volumes dc28bf7ed246436a95267f06b89777dad69215378ac6bd420810a12deda39ffd [Pipeline] // withDockerContainer [Pipeline] sh 20:29:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:29:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:30:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:30:00 + ls -al . 20:30:00 total 152 20:30:00 drwxrwxr-x 9 jenkins jenkins 4096 Jun 26 20:29 . 20:30:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 20:27 .. 20:30:00 -rw-rw-r-- 1 jenkins jenkins 119 Jun 26 20:27 .dockerignore 20:30:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 20:28 .git 20:30:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 20:27 .github 20:30:00 -rw-rw-r-- 1 jenkins jenkins 164 Jun 26 20:27 .gitignore 20:30:00 -rw-rw-r-- 1 jenkins jenkins 41 Jun 26 20:27 .golangci.yml 20:30:00 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 20:28 .semver 20:30:00 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 26 20:27 Attribution.txt 20:30:00 -rw-rw-r-- 1 jenkins jenkins 258 Jun 26 20:27 CHANGELOG.md 20:30:00 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 26 20:27 Dockerfile 20:30:00 -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 20:27 GOVERNANCE.md 20:30:00 -rw-rw-r-- 1 jenkins jenkins 681 Jun 26 20:27 Jenkinsfile 20:30:00 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 26 20:27 LICENSE 20:30:00 -rw-rw-r-- 1 jenkins jenkins 611 Jun 26 20:27 OWNERS.md 20:30:00 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 26 20:27 README.md 20:30:00 -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 20:28 VERSION 20:30:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 20:27 bin 20:30:00 -rw-r--r-- 1 jenkins jenkins 4238 Jun 26 20:29 coverage.out 20:30:00 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 26 20:27 go.mod 20:30:00 -rw-rw-r-- 1 jenkins jenkins 30668 Jun 26 20:27 go.sum 20:30:00 drwxrwxr-x 5 jenkins jenkins 4096 Jun 26 20:27 internal 20:30:00 -rw-rw-r-- 1 jenkins jenkins 693 Jun 26 20:27 main.go 20:30:00 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 26 20:27 makefile 20:30:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 20:27 pkg 20:30:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 20:27 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:00 + 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=bb796cdde101ffaab04176c5aa20f380fe461fec --label arch=amd64 --label version=0.0.0 . 20:30:00 Sending build context to Docker daemon 254kB 20:30:00 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:30:00 Step 2/26 : FROM ${BASE} AS builder 20:30:00 ---> 7ef18f2c0d5a 20:30:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:30:00 ---> Running in c128fb8f2593 20:30:00 Removing intermediate container c128fb8f2593 20:30:00 ---> a3e6ffff1d92 20:30:00 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:30:01 ---> Running in 828685cb02da 20:30:01 Removing intermediate container 828685cb02da 20:30:01 ---> da84bdd57b9d 20:30:01 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:30:01 ---> Running in a09eefcddd3f 20:30:01 Removing intermediate container a09eefcddd3f 20:30:01 ---> 63c97b6dde3a 20:30:01 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:30:01 ---> Running in fea9b99113c8 20:30:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:30:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:30:01 OK: 265 MiB in 53 packages 20:30:02 Removing intermediate container fea9b99113c8 20:30:02 ---> 6655fdcebfd7 20:30:02 Step 7/26 : WORKDIR /app 20:30:02 ---> Running in 7eab694fd237 20:30:02 Removing intermediate container 7eab694fd237 20:30:02 ---> a6b14c9cbd42 20:30:02 Step 8/26 : COPY go.mod vendor* ./ 20:30:02 ---> 199714d4e893 20:30:02 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:30:02 ---> Running in ddcf1c01c122 20:30:03 Removing intermediate container ddcf1c01c122 20:30:03 ---> ea19c4efdfc9 20:30:03 Step 10/26 : COPY . . 20:30:03 ---> 3c35914b5f77 20:30:03 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:30:03 ---> Running in 7fc772ee0d83 20:30:03 Removing intermediate container 7fc772ee0d83 20:30:03 ---> 76147897a764 20:30:03 Step 12/26 : RUN $MAKE 20:30:03 ---> Running in 775679a1270f 20:30:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 20:30:08 Removing intermediate container 775679a1270f 20:30:08 ---> ebaa709a4deb 20:30:08 Step 13/26 : FROM alpine:3.17 20:30:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19271 in /w/workspace/xfoundry_app-record-replay_PR-32 [Pipeline] { [Pipeline] ws 20:30:09 Running in /w/workspace/app-record-replay/3 [Pipeline] { [Pipeline] checkout 20:30:09 Selected Git installation does not exist. Using Default 20:30:09 The recommended git tool is: NONE 20:30:09 3.17: Pulling from library/alpine 20:30:09 4db1b89c0bd1: Pulling fs layer 20:30:09 4db1b89c0bd1: Verifying Checksum 20:30:09 4db1b89c0bd1: Download complete 20:30:09 4db1b89c0bd1: Pull complete 20:30:09 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:30:09 Status: Downloaded newer image for alpine:3.17 20:30:09 ---> 1f73a9d63274 20:30:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:30:10 ---> Running in 5890bdb71bf0 20:30:10 Removing intermediate container 5890bdb71bf0 20:30:10 ---> 49dc3671b5c7 20:30:10 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 20:30:10 ---> Running in 6c04d375f0dc 20:30:10 Removing intermediate container 6c04d375f0dc 20:30:10 ---> 4a1d0df3af40 20:30:10 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:30:10 ---> Running in 1f567a5bb358 20:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:30:11 (1/2) Installing ca-certificates (20230506-r0) 20:30:11 (2/2) Installing dumb-init (1.2.5-r2) 20:30:11 Executing busybox-1.35.0-r29.trigger 20:30:11 Executing ca-certificates-20230506-r0.trigger 20:30:11 OK: 8 MiB in 17 packages 20:30:11 Removing intermediate container 1f567a5bb358 20:30:11 ---> 55f52f3fd602 20:30:11 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:30:11 ---> 909332f1372e 20:30:11 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:30:11 ---> 467664c427f3 20:30:11 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:30:11 ---> f661c7f4802f 20:30:11 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 20:30:12 ---> 68163ace780f 20:30:12 Step 21/26 : EXPOSE 59712 20:30:12 ---> Running in 825cd5c5577b 20:30:12 Removing intermediate container 825cd5c5577b 20:30:12 ---> 8d1ac7e973e8 20:30:12 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 20:30:12 ---> Running in 2b8d2f797314 20:30:12 Removing intermediate container 2b8d2f797314 20:30:12 ---> 599f6f04b68c 20:30:12 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:30:12 ---> Running in dec54792c02c 20:30:12 Removing intermediate container dec54792c02c 20:30:12 ---> 2c6ebbdf7d0a 20:30:12 Step 24/26 : LABEL arch=amd64 20:30:12 ---> Running in 3219c2bf9ed7 20:30:12 Removing intermediate container 3219c2bf9ed7 20:30:12 ---> a0a3455cf3c8 20:30:12 Step 25/26 : LABEL git_sha=bb796cdde101ffaab04176c5aa20f380fe461fec 20:30:12 ---> Running in 1296d8290a97 20:30:12 Removing intermediate container 1296d8290a97 20:30:12 ---> f2f59bc70aba 20:30:12 Step 26/26 : LABEL version=0.0.0 20:30:12 ---> Running in d7e67627beb2 20:30:12 Removing intermediate container d7e67627beb2 20:30:12 ---> 91d648375362 20:30:12 [Warning] One or more build-args [ARCH] were not consumed 20:30:12 Successfully built 91d648375362 20:30:12 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 20:30:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:13 20:30:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:13 latest: Pulling from edgex-lftools-log-publisher 20:30:13 5eb5b503b376: Pulling fs layer 20:30:13 5c69ac0246d0: Pulling fs layer 20:30:13 ec43610c2a17: Pulling fs layer 20:30:13 3a2ae6a8a46f: Pulling fs layer 20:30:13 33b1e0a273af: Pulling fs layer 20:30:13 5d3b04190fa2: Pulling fs layer 20:30:13 2f39f015ded8: Pulling fs layer 20:30:13 33b1e0a273af: Waiting 20:30:13 5d3b04190fa2: Waiting 20:30:13 2f39f015ded8: Waiting 20:30:13 3a2ae6a8a46f: Waiting 20:30:13 5c69ac0246d0: Verifying Checksum 20:30:13 5c69ac0246d0: Download complete 20:30:13 3a2ae6a8a46f: Verifying Checksum 20:30:13 3a2ae6a8a46f: Download complete 20:30:13 33b1e0a273af: Verifying Checksum 20:30:13 33b1e0a273af: Download complete 20:30:13 5d3b04190fa2: Verifying Checksum 20:30:13 5d3b04190fa2: Download complete 20:30:13 ec43610c2a17: Verifying Checksum 20:30:13 ec43610c2a17: Download complete 20:30:13 5eb5b503b376: Verifying Checksum 20:30:13 5eb5b503b376: Download complete 20:30:14 2f39f015ded8: Verifying Checksum 20:30:14 2f39f015ded8: Download complete 20:30:14 using credential edgex-jenkins-ssh 20:30:14 Cloning the remote Git repository 20:30:14 5eb5b503b376: Pull complete 20:30:14 5c69ac0246d0: Pull complete 20:30:15 ec43610c2a17: Pull complete 20:30:15 3a2ae6a8a46f: Pull complete 20:30:14 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 20:30:14 > git init /w/workspace/app-record-replay/3 # timeout=10 20:30:14 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 20:30:14 > git --version # timeout=10 20:30:14 > git --version # 'git version 2.25.1' 20:30:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:15 33b1e0a273af: Pull complete 20:30:15 5d3b04190fa2: Pull complete 20:30:16 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 20:30:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:17 Merging remotes/origin/main commit 5c5c0fa1b183acca9b573439bae46aaad6e22dbc into PR head commit bb796cdde101ffaab04176c5aa20f380fe461fec 20:30:17 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 20:30:17 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 20:30:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:30:17 > git config core.sparsecheckout # timeout=10 20:30:17 > git checkout -f bb796cdde101ffaab04176c5aa20f380fe461fec # timeout=10 20:30:18 Merge succeeded, producing bb796cdde101ffaab04176c5aa20f380fe461fec 20:30:18 Checking out Revision bb796cdde101ffaab04176c5aa20f380fe461fec (PR-32) 20:30:18 > git remote # timeout=10 20:30:18 > git config --get remote.origin.url # timeout=10 20:30:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:18 > git merge 5c5c0fa1b183acca9b573439bae46aaad6e22dbc # timeout=10 20:30:18 > git rev-parse HEAD^{commit} # timeout=10 20:30:18 > git config core.sparsecheckout # timeout=10 20:30:18 > git checkout -f bb796cdde101ffaab04176c5aa20f380fe461fec # timeout=10 20:30:19 2f39f015ded8: Pull complete 20:30:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:30:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:30:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:19 prd-ubuntu20.04-docker-8c-8g-19270 does not seem to be running inside a container 20:30:19 $ 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-32 -v /w/workspace/xfoundry_app-record-replay_PR-32:/w/workspace/xfoundry_app-record-replay_PR-32:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-32@tmp:/w/workspace/xfoundry_app-record-replay_PR-32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:30:21 Commit message: "feat: Add validations for negative duration and event count" 20:30:21 20:30:21 GitHub has been notified of this commit’s build result 20:30:21 20:30:24 $ docker top 384e62a6a7d8877b76501801b1dfeb0ddbadfbf6740a82f94c057280dc8c1a91 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:30:24 ---> job-cost.sh 20:30:24 lf-activate-venv: SKIPPING 20:30:24 INFO: No Stack... 20:30:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:30:24 % Total % Received % Xferd Average Speed Time Time Time Current 20:30:24 Dload Upload Total Spent Left Speed 20:30:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 20:30:24 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 20:30:25 INFO: Archiving Costs [Pipeline] sh 20:30:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:30:25 + cat /w/workspace/xfoundry_app-record-replay_PR-32/archives/cost.csv 20:30:25 + cut -d, -f6 [Pipeline] lock 20:30:25 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-32-3-stack-cost] 20:30:25 Resource [jenkins-edgexfoundry-app-record-replay-PR-32-3-stack-cost] did not exist. Created. 20:30:25 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-32-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:30:25 + sudo tee /etc/docker/daemon.new 20:30:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:30:25 { 20:30:25 "registry-mirrors": [ 20:30:25 "https://nexus3.edgexfoundry.org:10001" 20:30:25 ], 20:30:25 "bip": "10.250.0.254/24", 20:30:25 "hosts": [ 20:30:25 "tcp://0.0.0.0:5555", 20:30:25 "unix:///var/run/docker.sock" 20:30:25 ], 20:30:25 "mtu": 1458, 20:30:25 "selinux-enabled": true, 20:30:25 "seccomp-profile": "/etc/docker/seccomp.json" 20:30:25 } [Pipeline] sh 20:30:25 + echo total: 0.2199999988079071 [Pipeline] stash 20:30:25 Stashed 1 file(s) [Pipeline] } 20:30:25 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-32-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:30:25 $ docker stop --time=1 384e62a6a7d8877b76501801b1dfeb0ddbadfbf6740a82f94c057280dc8c1a91 20:30:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 20:30:26 $ docker rm -f --volumes 384e62a6a7d8877b76501801b1dfeb0ddbadfbf6740a82f94c057280dc8c1a91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:30:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:30:45 provisioning config files... 20:30:45 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/3@tmp/config8889629011874169547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:45 ---> docker-login.sh 20:30:45 nexus3.edgexfoundry.org:10001 20:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:46 Configure a credential helper to remove this warning. See 20:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:46 20:30:46 Login Succeeded 20:30:46 nexus3.edgexfoundry.org:10002 20:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:47 Configure a credential helper to remove this warning. See 20:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:47 20:30:47 Login Succeeded 20:30:47 nexus3.edgexfoundry.org:10003 20:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:47 Configure a credential helper to remove this warning. See 20:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:47 20:30:47 Login Succeeded 20:30:47 nexus3.edgexfoundry.org:10004 20:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:47 Configure a credential helper to remove this warning. See 20:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:47 20:30:47 Login Succeeded 20:30:47 docker.io 20:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:48 Configure a credential helper to remove this warning. See 20:30:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:48 20:30:48 Login Succeeded 20:30:48 ---> docker-login.sh ends [Pipeline] } 20:30:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:30:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:30:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:30:48 ========================================================= 20:30:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:30:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:48 + 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 . 20:30:48 Sending build context to Docker daemon 127.5kB 20:30:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:30:49 Step 2/12 : FROM ${BASE} AS builder 20:30:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:30:49 c41833b44d91: Pulling fs layer 20:30:49 ed15518f5707: Pulling fs layer 20:30:49 feae8fd75edb: Pulling fs layer 20:30:49 242c74f7c9fa: Pulling fs layer 20:30:49 3cdef696dda3: Pulling fs layer 20:30:49 2ced38df9373: Pulling fs layer 20:30:49 58f1dce35555: Pulling fs layer 20:30:49 2ced38df9373: Waiting 20:30:49 58f1dce35555: Waiting 20:30:49 242c74f7c9fa: Waiting 20:30:49 3cdef696dda3: Waiting 20:30:49 ed15518f5707: Download complete 20:30:49 242c74f7c9fa: Verifying Checksum 20:30:49 242c74f7c9fa: Download complete 20:30:49 3cdef696dda3: Verifying Checksum 20:30:49 3cdef696dda3: Download complete 20:30:49 c41833b44d91: Verifying Checksum 20:30:49 c41833b44d91: Download complete 20:30:50 c41833b44d91: Pull complete 20:30:50 58f1dce35555: Verifying Checksum 20:30:50 58f1dce35555: Download complete 20:30:50 ed15518f5707: Pull complete 20:30:51 feae8fd75edb: Verifying Checksum 20:30:51 feae8fd75edb: Download complete 20:30:51 2ced38df9373: Verifying Checksum 20:30:51 2ced38df9373: Download complete 20:31:04 feae8fd75edb: Pull complete 20:31:04 242c74f7c9fa: Pull complete 20:31:04 3cdef696dda3: Pull complete 20:31:10 2ced38df9373: Pull complete 20:31:13 58f1dce35555: Pull complete 20:31:13 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 20:31:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:31:13 ---> fadd8f120f05 20:31:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 20:31:15 ---> Running in 827a5ddf84c8 20:31:15 Removing intermediate container 827a5ddf84c8 20:31:15 ---> b7d96ecb6dc3 20:31:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:31:15 ---> Running in 180f985f9d96 20:31:15 Removing intermediate container 180f985f9d96 20:31:15 ---> 0eb866725df5 20:31:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:31:16 ---> Running in 4ee49f910172 20:31:16 Removing intermediate container 4ee49f910172 20:31:16 ---> 730739c15ded 20:31:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:31:16 ---> Running in 337c4c283f47 20:31:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:31:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:31:19 OK: 263 MiB in 53 packages 20:31:20 Removing intermediate container 337c4c283f47 20:31:20 ---> ce3f7eed1978 20:31:20 Step 7/12 : WORKDIR /app 20:31:20 ---> Running in a6e1196458cc 20:31:20 Removing intermediate container a6e1196458cc 20:31:20 ---> bef35c68e944 20:31:20 Step 8/12 : COPY go.mod vendor* ./ 20:31:20 ---> cf86ac42570f 20:31:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:31:20 ---> Running in 98d5ff6fbeed 20:32:42 Removing intermediate container 98d5ff6fbeed 20:32:42 ---> fbc729041be7 20:32:42 Step 10/12 : COPY . . 20:32:42 ---> b9357894a683 20:32:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:32:42 ---> Running in a351324d2466 20:32:42 Removing intermediate container a351324d2466 20:32:42 ---> cc71b0dcda6f 20:32:42 Step 12/12 : RUN $MAKE 20:32:42 ---> Running in 94baab6c12a1 20:32:42 noop 20:32:42 Removing intermediate container 94baab6c12a1 20:32:42 ---> ad775dff5a06 20:32:42 Successfully built ad775dff5a06 20:32:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:42 + docker inspect -f . ci-base-image-arm64 20:32:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:43 prd-ubuntu20.04-docker-arm64-4c-16g-19271 does not seem to be running inside a container 20:32:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/3 -v /w/workspace/app-record-replay/3:/w/workspace/app-record-replay/3:rw,z -v /w/workspace/app-record-replay/3@tmp:/w/workspace/app-record-replay/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:32:44 $ docker top ddcfaca9d048d17faf940e79c8631f8d6f8b34692266a4901b14e315e9144577 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:45 + go version 20:32:45 go version go1.20.2 linux/arm64 [Pipeline] } 20:32:45 $ docker stop --time=1 ddcfaca9d048d17faf940e79c8631f8d6f8b34692266a4901b14e315e9144577 20:32:46 $ docker rm -f --volumes ddcfaca9d048d17faf940e79c8631f8d6f8b34692266a4901b14e315e9144577 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:47 + docker inspect -f . ci-base-image-arm64 20:32:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:47 prd-ubuntu20.04-docker-arm64-4c-16g-19271 does not seem to be running inside a container 20:32:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/3 -v /w/workspace/app-record-replay/3:/w/workspace/app-record-replay/3:rw,z -v /w/workspace/app-record-replay/3@tmp:/w/workspace/app-record-replay/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:32:48 $ docker top 6ffb8308ef58b86ad704311f35157ea3c9bc3a8d6d365c0bb78012fba7b51341 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:49 + git config --global --add safe.directory /w/workspace/app-record-replay/3 [Pipeline] fileExists [Pipeline] sh 20:32:49 + make test 20:32:49 go test -race -coverprofile=coverage.out ./... 20:33:36 ? github.com/edgexfoundry/app-record-replay [no test files] 20:35:28 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.293s coverage: 85.1% of statements 20:35:31 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 20:35:31 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 20:35:31 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 20:35:31 ok github.com/edgexfoundry/app-record-replay/internal/data 0.238s coverage: 27.3% of statements 20:35:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:35:32 go vet ./... 20:37:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:37:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:37:38 ./bin/test-attribution-txt.sh [Pipeline] echo 20:37:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:37:39 $ docker stop --time=1 6ffb8308ef58b86ad704311f35157ea3c9bc3a8d6d365c0bb78012fba7b51341 20:37:43 $ docker rm -f --volumes 6ffb8308ef58b86ad704311f35157ea3c9bc3a8d6d365c0bb78012fba7b51341 [Pipeline] // withDockerContainer [Pipeline] sh 20:37:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:37:44 Warning: overwriting stash ‘coverage-report’ 20:37:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:37:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:37:45 + ls -al . 20:37:45 total 148 20:37:45 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 20:32 . 20:37:45 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 20:30 .. 20:37:45 -rw-rw-r-- 1 jenkins jenkins 119 Jun 26 20:30 .dockerignore 20:37:45 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 20:30 .git 20:37:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 20:30 .github 20:37:45 -rw-rw-r-- 1 jenkins jenkins 164 Jun 26 20:30 .gitignore 20:37:45 -rw-rw-r-- 1 jenkins jenkins 41 Jun 26 20:30 .golangci.yml 20:37:45 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 26 20:30 Attribution.txt 20:37:45 -rw-rw-r-- 1 jenkins jenkins 258 Jun 26 20:30 CHANGELOG.md 20:37:45 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 26 20:30 Dockerfile 20:37:45 -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 20:30 GOVERNANCE.md 20:37:45 -rw-rw-r-- 1 jenkins jenkins 681 Jun 26 20:30 Jenkinsfile 20:37:45 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 26 20:30 LICENSE 20:37:45 -rw-rw-r-- 1 jenkins jenkins 611 Jun 26 20:30 OWNERS.md 20:37:45 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 26 20:30 README.md 20:37:45 -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 20:28 VERSION 20:37:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 20:30 bin 20:37:45 -rw-r--r-- 1 jenkins jenkins 4238 Jun 26 20:35 coverage.out 20:37:45 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 26 20:30 go.mod 20:37:45 -rw-rw-r-- 1 jenkins jenkins 30668 Jun 26 20:30 go.sum 20:37:45 drwxrwxr-x 5 jenkins jenkins 4096 Jun 26 20:30 internal 20:37:45 -rw-rw-r-- 1 jenkins jenkins 693 Jun 26 20:30 main.go 20:37:45 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 26 20:30 makefile 20:37:45 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 20:30 pkg 20:37:45 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 20:30 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:46 + 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=bb796cdde101ffaab04176c5aa20f380fe461fec --label arch=arm64 --label version=0.0.0 . 20:37:46 Sending build context to Docker daemon 132.6kB 20:37:46 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 20:37:46 Step 2/26 : FROM ${BASE} AS builder 20:37:46 ---> ad775dff5a06 20:37:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 20:37:46 ---> Running in 192d153a26c3 20:37:46 Removing intermediate container 192d153a26c3 20:37:46 ---> 70989da68675 20:37:46 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:37:46 ---> Running in 04eb7dbd6500 20:37:46 Removing intermediate container 04eb7dbd6500 20:37:46 ---> 3ac187c984f4 20:37:46 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:37:47 ---> Running in ff0c502afeca 20:37:47 Removing intermediate container ff0c502afeca 20:37:47 ---> a91770f88dc9 20:37:47 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:37:47 ---> Running in 814149f1d8d5 20:37:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:37:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:37:49 OK: 263 MiB in 53 packages 20:37:50 Removing intermediate container 814149f1d8d5 20:37:50 ---> a58fd944817c 20:37:50 Step 7/26 : WORKDIR /app 20:37:50 ---> Running in 79ba7ce3c5ad 20:37:50 Removing intermediate container 79ba7ce3c5ad 20:37:50 ---> 9682bd6381af 20:37:50 Step 8/26 : COPY go.mod vendor* ./ 20:37:51 ---> e449b36dcedc 20:37:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:37:51 ---> Running in 21f8572d3b67 20:37:55 Removing intermediate container 21f8572d3b67 20:37:55 ---> 7aa79407d014 20:37:55 Step 10/26 : COPY . . 20:37:55 ---> b54ccf50860c 20:37:55 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:37:55 ---> Running in f9417f497d5a 20:37:56 Removing intermediate container f9417f497d5a 20:37:56 ---> df41d63f8f5b 20:37:56 Step 12/26 : RUN $MAKE 20:37:56 ---> Running in 1679db7ddcab 20:37:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 20:38:23 Removing intermediate container 1679db7ddcab 20:38:23 ---> 482a0d7bfbcb 20:38:23 Step 13/26 : FROM alpine:3.17 20:38:23 3.17: Pulling from library/alpine 20:38:23 edb6bdbacee9: Pulling fs layer 20:38:23 edb6bdbacee9: Verifying Checksum 20:38:23 edb6bdbacee9: Download complete 20:38:23 edb6bdbacee9: Pull complete 20:38:23 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 20:38:23 Status: Downloaded newer image for alpine:3.17 20:38:23 ---> 779605e5fbc0 20:38:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:38:23 ---> Running in 39b003fb5513 20:38:23 Removing intermediate container 39b003fb5513 20:38:23 ---> 396a14613dce 20:38:23 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 20:38:23 ---> Running in 2877dfb564dd 20:38:23 Removing intermediate container 2877dfb564dd 20:38:23 ---> 66fda159bb0c 20:38:23 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 20:38:23 ---> Running in e13398f57b94 20:38:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:38:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:38:25 (1/2) Installing ca-certificates (20230506-r0) 20:38:25 (2/2) Installing dumb-init (1.2.5-r2) 20:38:25 Executing busybox-1.35.0-r29.trigger 20:38:25 Executing ca-certificates-20230506-r0.trigger 20:38:25 OK: 8 MiB in 17 packages 20:38:26 Removing intermediate container e13398f57b94 20:38:26 ---> 4959c725ad43 20:38:26 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 20:38:27 ---> 2bed4f818dd2 20:38:27 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 20:38:28 ---> 6c27f7890953 20:38:28 Step 19/26 : COPY --from=builder /app/res/ /res/ 20:38:28 ---> 3bb10bfd5d54 20:38:28 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 20:38:28 ---> e6be6f4af27d 20:38:28 Step 21/26 : EXPOSE 59712 20:38:29 ---> Running in 3a874d784f35 20:38:29 Removing intermediate container 3a874d784f35 20:38:29 ---> 65f47545327f 20:38:29 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 20:38:29 ---> Running in ca76a30d3646 20:38:29 Removing intermediate container ca76a30d3646 20:38:29 ---> 8edaf221326a 20:38:29 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:38:29 ---> Running in ebb25fa71485 20:38:29 Removing intermediate container ebb25fa71485 20:38:29 ---> 77e964ac6406 20:38:29 Step 24/26 : LABEL arch=arm64 20:38:29 ---> Running in 26c2d8b416f8 20:38:30 Removing intermediate container 26c2d8b416f8 20:38:30 ---> 68cf9b08070b 20:38:30 Step 25/26 : LABEL git_sha=bb796cdde101ffaab04176c5aa20f380fe461fec 20:38:30 ---> Running in dbddf63bdab2 20:38:30 Removing intermediate container dbddf63bdab2 20:38:30 ---> 468b4d7b7286 20:38:30 Step 26/26 : LABEL version=0.0.0 20:38:30 ---> Running in fcf766b524ae 20:38:31 Removing intermediate container fcf766b524ae 20:38:31 ---> 4c6e898ba0a5 20:38:31 [Warning] One or more build-args [ARCH] were not consumed 20:38:31 Successfully built 4c6e898ba0a5 20:38:31 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 20:38:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:31 20:38:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:35 arm64: Pulling from edgex-lftools-log-publisher 20:38:35 8998bd30e6a1: Pulling fs layer 20:38:35 04944245beec: Pulling fs layer 20:38:35 699f458cf7ca: Pulling fs layer 20:38:35 765212b225bb: Pulling fs layer 20:38:35 f23df028b6ca: Pulling fs layer 20:38:35 d65c8cfc05b1: Pulling fs layer 20:38:35 2437ff75d9bd: Pulling fs layer 20:38:35 f23df028b6ca: Waiting 20:38:35 d65c8cfc05b1: Waiting 20:38:35 2437ff75d9bd: Waiting 20:38:35 765212b225bb: Waiting 20:38:35 04944245beec: Verifying Checksum 20:38:35 04944245beec: Download complete 20:38:35 765212b225bb: Verifying Checksum 20:38:35 765212b225bb: Download complete 20:38:35 f23df028b6ca: Download complete 20:38:35 d65c8cfc05b1: Verifying Checksum 20:38:35 d65c8cfc05b1: Download complete 20:38:35 699f458cf7ca: Verifying Checksum 20:38:35 699f458cf7ca: Download complete 20:38:35 8998bd30e6a1: Verifying Checksum 20:38:35 8998bd30e6a1: Download complete 20:38:37 2437ff75d9bd: Verifying Checksum 20:38:37 2437ff75d9bd: Download complete 20:38:39 8998bd30e6a1: Pull complete 20:38:39 04944245beec: Pull complete 20:38:41 699f458cf7ca: Pull complete 20:38:41 765212b225bb: Pull complete 20:38:41 f23df028b6ca: Pull complete 20:38:42 d65c8cfc05b1: Pull complete 20:38:57 2437ff75d9bd: Pull complete 20:38:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:38:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:57 prd-ubuntu20.04-docker-arm64-4c-16g-19271 does not seem to be running inside a container 20:38:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/3 -v /w/workspace/app-record-replay/3:/w/workspace/app-record-replay/3:rw,z -v /w/workspace/app-record-replay/3@tmp:/w/workspace/app-record-replay/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:38:59 $ docker top 0fbebbf65faf3f5e3a0c9123b1240ce37b3415af8c71cc52467d023d062a177e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:00 ---> job-cost.sh 20:39:00 lf-activate-venv: SKIPPING 20:39:00 INFO: No Stack... 20:39:00 INFO: Retrieving Pricing Info for: v3-standard-4 20:39:01 INFO: Archiving Costs [Pipeline] sh 20:39:02 + cat /w/workspace/app-record-replay/3/archives/cost.csv 20:39:02 + cut -d, -f6 [Pipeline] lock 20:39:02 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-32-3-stack-cost] 20:39:02 Resource [jenkins-edgexfoundry-app-record-replay-PR-32-3-stack-cost] did not exist. Created. 20:39:02 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-32-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:39:02 /w/workspace/app-record-replay/3@tmp/durable-9fad5754/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:39:02 + echo total: 0.10999999940395355 [Pipeline] stash 20:39:02 Warning: overwriting stash ‘stack-cost’ 20:39:02 Stashed 1 file(s) [Pipeline] } 20:39:03 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-32-3-stack-cost] [Pipeline] // lock [Pipeline] } 20:39:03 $ docker stop --time=1 0fbebbf65faf3f5e3a0c9123b1240ce37b3415af8c71cc52467d023d062a177e 20:39:04 $ docker rm -f --volumes 0fbebbf65faf3f5e3a0c9123b1240ce37b3415af8c71cc52467d023d062a177e [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 20:39:04 provisioning config files... 20:39:04 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-32 #3 20:39:04 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-32@tmp/config2961682390331614997tmp [Pipeline] { [Pipeline] sh 20:39:05 + set +x 20:39:05 + curl -s https://codecov.io/bash 20:39:05 + bash -s -- 20:39:05 20:39:05 _____ _ 20:39:05 / ____| | | 20:39:05 | | ___ __| | ___ ___ _____ __ 20:39:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:39:05 | |___| (_) | (_| | __/ (_| (_) \ V / 20:39:05 \_____\___/ \__,_|\___|\___\___/ \_/ 20:39:05 Bash-1.0.6 20:39:05 20:39:05 20:39:05 ==> git version 2.25.1 found 20:39:05 ==> 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 20:39:05 Release-Date: 2020-01-08 20:39:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:39:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:39:05 ==> Jenkins CI detected. 20:39:05 current dir:  /w/workspace/xfoundry_app-record-replay_PR-32 20:39:05 project root: . 20:39:05 --> token set from env 20:39:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:39:05 ==> Running gcov in . (disable via -X gcov) 20:39:05 ==> Python coveragepy not found 20:39:05 ==> Searching for coverage reports in: 20:39:05 + . 20:39:05 -> Found 1 reports 20:39:05 ==> Detecting git/mercurial file structure 20:39:05 ==> Reading reports 20:39:05 + ./coverage.out bytes=4238 20:39:05 ==> Appending adjustments 20:39:05 https://docs.codecov.io/docs/fixing-reports 20:39:05 + Found adjustments 20:39:05 ==> Gzipping contents 20:39:05 4.0K /tmp/codecov.lrtQg3.gz 20:39:05 ==> Uploading reports 20:39:05 url: https://codecov.io 20:39:05 query: branch=PR-32&commit=bb796cdde101ffaab04176c5aa20f380fe461fec&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-32%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=32&job=&cmd_args= 20:39:05 -> Pinging Codecov 20:39:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-32&commit=bb796cdde101ffaab04176c5aa20f380fe461fec&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-32%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=32&job=&cmd_args= 20:39:05 Invalid request parameters 20:39:05 400 [Pipeline] } 20:39:05 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 20:39:06 + [ -d /w/workspace/xfoundry_app-record-replay_PR-32/archives ] 20:39:06 + ls -al /w/workspace/xfoundry_app-record-replay_PR-32/archives 20:39:06 total 16 20:39:06 drwxr-xr-x 3 root root 4096 Jun 26 20:30 . 20:39:06 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 20:30 .. 20:39:06 drwxr-xr-x 2 root root 4096 Jun 26 20:30 cost 20:39:06 -rw-r--r-- 1 root root 88 Jun 26 20:30 cost.csv 20:39:06 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-32/archives 20:39:06 + ls -al /w/workspace/xfoundry_app-record-replay_PR-32/archives 20:39:06 total 16 20:39:06 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 20:30 . 20:39:06 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 20:30 .. 20:39:06 drwxr-xr-x 2 jenkins jenkins 4096 Jun 26 20:30 cost 20:39:06 -rw-r--r-- 1 jenkins jenkins 88 Jun 26 20:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:39:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:39:07 ---> package-listing.sh 20:39:07 ++ facter osfamily 20:39:07 ++ tr '[:upper:]' '[:lower:]' 20:39:07 + OS_FAMILY=debian 20:39:07 + workspace=/w/workspace/xfoundry_app-record-replay_PR-32 20:39:07 + START_PACKAGES=/tmp/packages_start.txt 20:39:07 + END_PACKAGES=/tmp/packages_end.txt 20:39:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:39:07 + PACKAGES=/tmp/packages_start.txt 20:39:07 + '[' /w/workspace/xfoundry_app-record-replay_PR-32 ']' 20:39:07 + PACKAGES=/tmp/packages_end.txt 20:39:07 + case "${OS_FAMILY}" in 20:39:07 + dpkg -l 20:39:07 + grep '^ii' 20:39:07 + '[' -f /tmp/packages_start.txt ']' 20:39:07 + '[' -f /tmp/packages_end.txt ']' 20:39:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:39:07 + '[' /w/workspace/xfoundry_app-record-replay_PR-32 ']' 20:39:07 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-32/archives/ 20:39:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-32/archives/ [Pipeline] echo 20:39:07 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-32/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:39:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:39:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:08 prd-ubuntu20.04-docker-8c-8g-19270 does not seem to be running inside a container 20:39:08 $ 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-32/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-32 -v /w/workspace/xfoundry_app-record-replay_PR-32:/w/workspace/xfoundry_app-record-replay_PR-32:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-32@tmp:/w/workspace/xfoundry_app-record-replay_PR-32@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 20:39:08 $ docker top c9daf459d81cf97363100f6b51392629a1e0d8161856941912b8d0286faa8058 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:09 + touch /tmp/pre-build-complete [Pipeline] sh 20:39:09 + mkdir -p /var/log/sysstat [Pipeline] sh 20:39:09 + ls /var/log/sa-host 20:39:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:09 provisioning config files... 20:39:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-32@tmp/config9031004592320766194tmp [Pipeline] { [Pipeline] echo 20:39:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:39:10 ---> create-netrc.sh [Pipeline] } 20:39:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:39:10 ---> python-tools-install.sh [Pipeline] echo 20:39:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:39:10 ---> sudo-logs.sh 20:39:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:39:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:39:10 ---> job-cost.sh 20:39:10 lf-activate-venv: SKIPPING 20:39:10 DEBUG: total: 0.2199999988079071 20:39:10 INFO: Retrieving Stack Cost... 20:39:11 INFO: Retrieving Pricing Info for: v3-standard-8 20:39:11 INFO: Archiving Costs [Pipeline] echo 20:39:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:39:12 ---> logs-deploy.sh 20:39:12 lf-activate-venv: SKIPPING 20:39:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-32/3 20:39:12 INFO: archiving workspace using pattern(s): 20:39:13 Archives upload complete. 20:39:13 INFO: archiving logs to Nexus