Pull request #24 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 marcpfuller for edgexfoundry/app-record-replay Loading trusted files from base branch main at 33243b892cd04961baa0321b8a5c910c508d1c9a rather than 0b57cbfab3d8e652cd3a16ca1ec921eaf8fb2b4b Obtained Jenkinsfile from 33243b892cd04961baa0321b8a5c910c508d1c9a 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-ssh12591091002905690268.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-ssh2386182238649880336.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-24/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-24/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8111972635463844106.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-ssh7584789054088300217.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-24/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-24/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12593152660733162946.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-19074 in /w/workspace/xfoundry_app-record-replay_PR-24 [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-24 # 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 33243b892cd04961baa0321b8a5c910c508d1c9a into PR head commit 0b57cbfab3d8e652cd3a16ca1ec921eaf8fb2b4b Merge succeeded, producing cc4652cda43c083ba55949c784cc37c369d08333 Checking out Revision cc4652cda43c083ba55949c784cc37c369d08333 (PR-24) > 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/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b57cbfab3d8e652cd3a16ca1ec921eaf8fb2b4b # 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 33243b892cd04961baa0321b8a5c910c508d1c9a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc4652cda43c083ba55949c784cc37c369d08333 # timeout=10 Commit message: "Merge commit '33243b892cd04961baa0321b8a5c910c508d1c9a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:52:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:52:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:52:22 ========================================================= 17:52:22 EdgeX Global Pipelines Version Info 17:52:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c032ef8f3d14ad4fddb277320d124783b2a53a00 # timeout=10 17:52:22 ------------------- 17:52:22 stable info: 17:52:22 ------------------- 17:52:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:52:22 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:52:22 Message: update stable to v1.0.250 17:52:23 ------------------- 17:52:23 experimental info: 17:52:23 ------------------- 17:52:23 Commited By: **** collab-it+edgex@linuxfoundation.org 17:52:23 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:52:23 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo 17:52:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo 17:52:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc4652cda43c083ba55949c784cc37c369d08333 [Pipeline] echo 17:52:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc4652c [Pipeline] echo 17:52:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:24 provisioning config files... 17:52:24 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config10061960105992108564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:25 ---> docker-login.sh 17:52:25 nexus3.edgexfoundry.org:10001 17:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:25 Configure a credential helper to remove this warning. See 17:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:25 17:52:25 Login Succeeded 17:52:25 nexus3.edgexfoundry.org:10002 17:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:25 Configure a credential helper to remove this warning. See 17:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:25 17:52:25 Login Succeeded 17:52:25 nexus3.edgexfoundry.org:10003 17:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:25 Configure a credential helper to remove this warning. See 17:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:25 17:52:25 Login Succeeded 17:52:25 nexus3.edgexfoundry.org:10004 17:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:25 Configure a credential helper to remove this warning. See 17:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:25 17:52:25 Login Succeeded 17:52:25 docker.io 17:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:26 Configure a credential helper to remove this warning. See 17:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:26 17:52:26 Login Succeeded 17:52:26 ---> docker-login.sh ends [Pipeline] } 17:52:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:52:26 + git rev-list -1 --merges cc4652cda43c083ba55949c784cc37c369d08333~1..cc4652cda43c083ba55949c784cc37c369d08333 [Pipeline] echo 17:52:26 -----------> git rev-list -1 --merges cc4652cda43c083ba55949c784cc37c369d08333~1..cc4652cda43c083ba55949c784cc37c369d08333 cc4652cda43c083ba55949c784cc37c369d08333 17:52:26 cc4652cda43c083ba55949c784cc37c369d08333 [false] [Pipeline] sh 17:52:26 + git log --format=format:%s -1 cc4652cda43c083ba55949c784cc37c369d08333 [Pipeline] echo 17:52:26 ========================================================= 17:52:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:52:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:52:27 + git log --format=format:%s -1 cc4652cda43c083ba55949c784cc37c369d08333 [Pipeline] echo 17:52:27 [semverPrep] GIT_COMMIT: cc4652cda43c083ba55949c784cc37c369d08333, Commit Message: Merge commit '33243b892cd04961baa0321b8a5c910c508d1c9a' into HEAD [Pipeline] echo 17:52:27 [semverPrep] This is not a build commit. [Pipeline] sh 17:52:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:52:27 + grep -v github /etc/ssh/ssh_known_hosts 17:52:27 + [ -e /tmp/ssh_known_hosts ] 17:52:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:52:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:52:27 + sudo tee -a /etc/ssh/ssh_known_hosts 17:52:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:28 17:52:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:28 0.1.4: Pulling from edgex-devops/py-git-semver 17:52:28 b85a868b505f: Pulling fs layer 17:52:28 e2be974225ed: Pulling fs layer 17:52:28 339a4e72a1f5: Pulling fs layer 17:52:28 988bab9f4d93: Pulling fs layer 17:52:28 1469e6f7b9e6: Pulling fs layer 17:52:28 eaf3925da568: Pulling fs layer 17:52:28 bab4dde63d76: Pulling fs layer 17:52:28 bde34c3a00c8: Pulling fs layer 17:52:28 b352a97aabf1: Pulling fs layer 17:52:28 4872d77fe225: Pulling fs layer 17:52:28 5851b861e8e6: Pulling fs layer 17:52:28 4872d77fe225: Waiting 17:52:28 b352a97aabf1: Waiting 17:52:28 bab4dde63d76: Waiting 17:52:28 5851b861e8e6: Waiting 17:52:28 988bab9f4d93: Waiting 17:52:28 1469e6f7b9e6: Waiting 17:52:28 eaf3925da568: Waiting 17:52:28 e2be974225ed: Verifying Checksum 17:52:28 e2be974225ed: Download complete 17:52:28 988bab9f4d93: Verifying Checksum 17:52:28 988bab9f4d93: Download complete 17:52:28 1469e6f7b9e6: Verifying Checksum 17:52:28 1469e6f7b9e6: Download complete 17:52:28 eaf3925da568: Verifying Checksum 17:52:28 eaf3925da568: Download complete 17:52:28 339a4e72a1f5: Verifying Checksum 17:52:28 339a4e72a1f5: Download complete 17:52:28 bde34c3a00c8: Verifying Checksum 17:52:28 bde34c3a00c8: Download complete 17:52:28 b352a97aabf1: Download complete 17:52:28 4872d77fe225: Verifying Checksum 17:52:28 4872d77fe225: Download complete 17:52:28 5851b861e8e6: Download complete 17:52:28 b85a868b505f: Verifying Checksum 17:52:28 b85a868b505f: Download complete 17:52:28 bab4dde63d76: Verifying Checksum 17:52:28 bab4dde63d76: Download complete 17:52:30 b85a868b505f: Pull complete 17:52:30 e2be974225ed: Pull complete 17:52:30 339a4e72a1f5: Pull complete 17:52:30 988bab9f4d93: Pull complete 17:52:30 1469e6f7b9e6: Pull complete 17:52:31 eaf3925da568: Pull complete 17:52:32 bab4dde63d76: Pull complete 17:52:32 bde34c3a00c8: Pull complete 17:52:32 b352a97aabf1: Pull complete 17:52:32 4872d77fe225: Pull complete 17:52:32 5851b861e8e6: Pull complete 17:52:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:52:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:52:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:33 prd-ubuntu20.04-docker-8c-8g-19074 does not seem to be running inside a container 17:52:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:52:35 $ docker top 5720bd146e821f9152a10e37b38b6f33dcbecd6a7621908126b27697e0085cfb -eo pid,comm 17:52:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:52:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:52:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:35 [ssh-agent] Looking for ssh-agent implementation... 17:52:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:36 $ docker exec 5720bd146e821f9152a10e37b38b6f33dcbecd6a7621908126b27697e0085cfb ssh-agent 17:52:36 SSH_AUTH_SOCK=/tmp/ssh-mobfL5UiIRKi/agent.32 17:52:36 SSH_AGENT_PID=38 17:52:36 Running ssh-add (command line suppressed) 17:52:36 Identity added: /w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_5466516800516033100.key (/w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_5466516800516033100.key) 17:52:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:36 + git tag --points-at HEAD [Pipeline] } 17:52:36 $ docker exec --env ******** --env ******** 5720bd146e821f9152a10e37b38b6f33dcbecd6a7621908126b27697e0085cfb ssh-agent -k 17:52:36 unset SSH_AUTH_SOCK; 17:52:36 unset SSH_AGENT_PID; 17:52:36 echo Agent pid 38 killed; 17:52:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:52:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:52:36 [ssh-agent] Looking for ssh-agent implementation... 17:52:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:52:36 $ docker exec 5720bd146e821f9152a10e37b38b6f33dcbecd6a7621908126b27697e0085cfb ssh-agent 17:52:36 SSH_AUTH_SOCK=/tmp/ssh-f8wCeU4kLQix/agent.70 17:52:36 SSH_AGENT_PID=76 17:52:36 Running ssh-add (command line suppressed) 17:52:37 Identity added: /w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_7180277079167996566.key (/w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_7180277079167996566.key) 17:52:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:52:37 + git semver init 17:52:37 2023-06-22 17:52:37,521 [run_init] DEBUG init version:0.0.0 force:False 17:52:37 2023-06-22 17:52:37,521 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-24/.semver 17:52:37 2023-06-22 17:52:37,522 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-24/.semver 17:52:37 2023-06-22 17:52:37,522 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-24/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24, universal_newlines=False, shell=None, istream=None) 17:52:38 2023-06-22 17:52:38,195 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-24/.git/info/exclude 17:52:38 2023-06-22 17:52:38,196 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 with force:False 17:52:38 2023-06-22 17:52:38,196 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 17:52:38 2023-06-22 17:52:38,200 [execute] INFO git cat-file --batch-check 17:52:38 2023-06-22 17:52:38,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24/.semver, universal_newlines=False, shell=None, istream=) 17:52:38 2023-06-22 17:52:38,207 [execute] INFO git cat-file --batch 17:52:38 2023-06-22 17:52:38,207 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24/.semver, universal_newlines=False, shell=None, istream=) 17:52:38 2023-06-22 17:52:38,212 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 17:52:38 0.0.0 [Pipeline] } 17:52:38 $ docker exec --env ******** --env ******** 5720bd146e821f9152a10e37b38b6f33dcbecd6a7621908126b27697e0085cfb ssh-agent -k 17:52:38 unset SSH_AUTH_SOCK; 17:52:38 unset SSH_AGENT_PID; 17:52:38 echo Agent pid 76 killed; 17:52:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:52:38 + git semver [Pipeline] } 17:52:39 $ docker stop --time=1 5720bd146e821f9152a10e37b38b6f33dcbecd6a7621908126b27697e0085cfb 17:52:40 $ docker rm -f --volumes 5720bd146e821f9152a10e37b38b6f33dcbecd6a7621908126b27697e0085cfb [Pipeline] // withDockerContainer [Pipeline] sh 17:52:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:52:41 Stashed 1 file(s) [Pipeline] echo 17:52:41 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:52:41 provisioning config files... 17:52:41 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config6849679323856678396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:52:41 ---> docker-login.sh 17:52:41 nexus3.edgexfoundry.org:10001 17:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:41 Configure a credential helper to remove this warning. See 17:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:41 17:52:41 Login Succeeded 17:52:41 nexus3.edgexfoundry.org:10002 17:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:41 Configure a credential helper to remove this warning. See 17:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:41 17:52:41 Login Succeeded 17:52:41 nexus3.edgexfoundry.org:10003 17:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:41 Configure a credential helper to remove this warning. See 17:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:41 17:52:41 Login Succeeded 17:52:41 nexus3.edgexfoundry.org:10004 17:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:41 Configure a credential helper to remove this warning. See 17:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:41 17:52:41 Login Succeeded 17:52:41 docker.io 17:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:52:42 Configure a credential helper to remove this warning. See 17:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:52:42 17:52:42 Login Succeeded 17:52:42 ---> docker-login.sh ends [Pipeline] } 17:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:52:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:52:42 ========================================================= 17:52:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:52:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 17:52:42 Sending build context to Docker daemon 255kB 17:52:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:52:42 Step 2/12 : FROM ${BASE} AS builder 17:52:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:52:42 f56be85fc22e: Pulling fs layer 17:52:42 85791d961cd3: Pulling fs layer 17:52:42 d694b5ae8c79: Pulling fs layer 17:52:42 9f32a84ed3da: Pulling fs layer 17:52:42 4d19c01a9841: Pulling fs layer 17:52:42 9325e15d5711: Pulling fs layer 17:52:42 556b6ee489ea: Pulling fs layer 17:52:42 c5a4b2cf53e6: Pulling fs layer 17:52:42 9f32a84ed3da: Waiting 17:52:42 9325e15d5711: Waiting 17:52:42 556b6ee489ea: Waiting 17:52:42 c5a4b2cf53e6: Waiting 17:52:42 4d19c01a9841: Waiting 17:52:42 85791d961cd3: Download complete 17:52:42 9f32a84ed3da: Verifying Checksum 17:52:42 9f32a84ed3da: Download complete 17:52:42 4d19c01a9841: Verifying Checksum 17:52:42 4d19c01a9841: Download complete 17:52:42 f56be85fc22e: Verifying Checksum 17:52:42 f56be85fc22e: Download complete 17:52:42 9325e15d5711: Verifying Checksum 17:52:42 9325e15d5711: Download complete 17:52:42 f56be85fc22e: Pull complete 17:52:42 85791d961cd3: Pull complete 17:52:43 c5a4b2cf53e6: Verifying Checksum 17:52:43 c5a4b2cf53e6: Download complete 17:52:43 d694b5ae8c79: Verifying Checksum 17:52:43 d694b5ae8c79: Download complete 17:52:43 556b6ee489ea: Verifying Checksum 17:52:43 556b6ee489ea: Download complete 17:52:46 d694b5ae8c79: Pull complete 17:52:46 9f32a84ed3da: Pull complete 17:52:46 4d19c01a9841: Pull complete 17:52:46 9325e15d5711: Pull complete 17:52:49 556b6ee489ea: Pull complete 17:52:49 c5a4b2cf53e6: Pull complete 17:52:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 17:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:52:49 ---> c4be618373d6 17:52:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:52:53 ---> Running in de52dd7ce554 17:52:53 Removing intermediate container de52dd7ce554 17:52:53 ---> e3c058b7bd86 17:52:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:52:53 ---> Running in f5748ed565cf 17:52:53 Removing intermediate container f5748ed565cf 17:52:53 ---> 4b8bac0653db 17:52:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:52:53 ---> Running in 3f9f49be6826 17:52:54 Removing intermediate container 3f9f49be6826 17:52:54 ---> 54c0db525b4a 17:52:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:52:54 ---> Running in 2895491e1d5f 17:52:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:52:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:52:54 OK: 265 MiB in 53 packages 17:52:55 Removing intermediate container 2895491e1d5f 17:52:55 ---> d0a20c188bb2 17:52:55 Step 7/12 : WORKDIR /app 17:52:55 ---> Running in b0b590c5c836 17:52:55 Removing intermediate container b0b590c5c836 17:52:55 ---> b904f9536e5f 17:52:55 Step 8/12 : COPY go.mod vendor* ./ 17:52:55 ---> b83883153655 17:52:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:52:55 ---> Running in dd74038863a3 17:52:56 Still waiting to schedule task 17:52:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:53:22 Removing intermediate container dd74038863a3 17:53:22 ---> 55a1abcb2a58 17:53:22 Step 10/12 : COPY . . 17:53:22 ---> df60ca3988b7 17:53:22 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:53:22 ---> Running in ec166d6d1e5b 17:53:22 Removing intermediate container ec166d6d1e5b 17:53:22 ---> 750a6f673f6d 17:53:22 Step 12/12 : RUN $MAKE 17:53:22 ---> Running in e8a7dc971800 17:53:22 noop 17:53:22 Removing intermediate container e8a7dc971800 17:53:22 ---> c283c3019972 17:53:22 Successfully built c283c3019972 17:53:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:22 + docker inspect -f . ci-base-image-x86_64 17:53:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:22 prd-ubuntu20.04-docker-8c-8g-19074 does not seem to be running inside a container 17:53:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:53:22 $ docker top e36944e12b68d2bd1de25c4aa212b2b7308d1f13414771e03e9586fd532d0a93 -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:23 + go version 17:53:23 go version go1.20.2 linux/amd64 [Pipeline] } 17:53:23 $ docker stop --time=1 e36944e12b68d2bd1de25c4aa212b2b7308d1f13414771e03e9586fd532d0a93 17:53:24 $ docker rm -f --volumes e36944e12b68d2bd1de25c4aa212b2b7308d1f13414771e03e9586fd532d0a93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:24 + docker inspect -f . ci-base-image-x86_64 17:53:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:24 prd-ubuntu20.04-docker-8c-8g-19074 does not seem to be running inside a container 17:53:24 $ 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-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:53:25 $ docker top 9d7563bc2204989dec6200e430a277ff10c9ccad2e0dc3654f83a945b4afb76a -eo pid,comm [Pipeline] { [Pipeline] sh 17:53:25 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-24 [Pipeline] fileExists [Pipeline] sh 17:53:25 + make test 17:53:25 go test -race -coverprofile=coverage.out ./... 17:53:32 # github.com/edgexfoundry/app-record-replay/config 17:53:32 config/configuration.go:26:2: "errors" imported and not used 17:53:32 config/configuration.go:27:2: "reflect" imported and not used 17:53:44 FAIL github.com/edgexfoundry/app-record-replay [build failed] 17:53:44 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.060s coverage: 10.0% of statements 17:53:44 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 17:53:44 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 17:53:44 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 17:53:44 ok github.com/edgexfoundry/app-record-replay/internal/data 0.059s coverage: 27.3% of statements 17:53:44 FAIL 17:53:44 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 17:53:44 $ docker stop --time=1 9d7563bc2204989dec6200e430a277ff10c9ccad2e0dc3654f83a945b4afb76a 17:53:47 $ docker rm -f --volumes 9d7563bc2204989dec6200e430a277ff10c9ccad2e0dc3654f83a945b4afb76a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:47 17:53:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:53:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:48 latest: Pulling from edgex-lftools-log-publisher 17:53:48 5eb5b503b376: Pulling fs layer 17:53:48 5c69ac0246d0: Pulling fs layer 17:53:48 ec43610c2a17: Pulling fs layer 17:53:48 3a2ae6a8a46f: Pulling fs layer 17:53:48 33b1e0a273af: Pulling fs layer 17:53:48 5d3b04190fa2: Pulling fs layer 17:53:48 2f39f015ded8: Pulling fs layer 17:53:48 33b1e0a273af: Waiting 17:53:48 3a2ae6a8a46f: Waiting 17:53:48 5d3b04190fa2: Waiting 17:53:48 2f39f015ded8: Waiting 17:53:48 5c69ac0246d0: Verifying Checksum 17:53:48 5c69ac0246d0: Download complete 17:53:48 3a2ae6a8a46f: Download complete 17:53:48 33b1e0a273af: Verifying Checksum 17:53:48 33b1e0a273af: Download complete 17:53:48 5d3b04190fa2: Download complete 17:53:48 ec43610c2a17: Download complete 17:53:48 5eb5b503b376: Verifying Checksum 17:53:48 5eb5b503b376: Download complete 17:53:49 2f39f015ded8: Download complete 17:53:49 5eb5b503b376: Pull complete 17:53:49 5c69ac0246d0: Pull complete 17:53:50 ec43610c2a17: Pull complete 17:53:50 3a2ae6a8a46f: Pull complete 17:53:50 33b1e0a273af: Pull complete 17:53:50 5d3b04190fa2: Pull complete 17:53:54 2f39f015ded8: Pull complete 17:53:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:53:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:53:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:53:54 prd-ubuntu20.04-docker-8c-8g-19074 does not seem to be running inside a container 17:53:54 $ 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-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@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 17:53:58 $ docker top 8aa2ea0c5417c8f91ed9309191d437d96cb7de71066074d77e2811d8415d790e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:53:58 ---> job-cost.sh 17:53:58 lf-activate-venv: SKIPPING 17:53:58 INFO: No Stack... 17:53:59 INFO: Retrieving Pricing Info for: v3-standard-8 17:53:59 INFO: Archiving Costs [Pipeline] sh 17:53:59 + + cat /w/workspace/xfoundry_app-record-replay_PR-24/archives/cost.csv 17:53:59 cut -d, -f6 [Pipeline] lock 17:53:59 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-24-5-stack-cost] 17:53:59 Resource [jenkins-edgexfoundry-app-record-replay-PR-24-5-stack-cost] did not exist. Created. 17:53:59 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-24-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:53:59 + echo total: 0.2199999988079071 [Pipeline] stash 17:53:59 Stashed 1 file(s) [Pipeline] } 17:53:59 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-24-5-stack-cost] [Pipeline] // lock [Pipeline] } 17:53:59 $ docker stop --time=1 8aa2ea0c5417c8f91ed9309191d437d96cb7de71066074d77e2811d8415d790e 17:54:01 $ docker rm -f --volumes 8aa2ea0c5417c8f91ed9309191d437d96cb7de71066074d77e2811d8415d790e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:54:01 Failed in branch amd64 17:54:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19075 in /w/workspace/xfoundry_app-record-replay_PR-24 [Pipeline] { [Pipeline] ws 17:54:33 Running in /w/workspace/app-record-replay/5 [Pipeline] { [Pipeline] checkout 17:54:33 Selected Git installation does not exist. Using Default 17:54:33 The recommended git tool is: NONE 17:54:38 using credential edgex-jenkins-ssh 17:54:38 Cloning the remote Git repository 17:54:38 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 17:54:38 > git init /w/workspace/app-record-replay/5 # timeout=10 17:54:38 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 17:54:38 > git --version # timeout=10 17:54:38 > git --version # 'git version 2.25.1' 17:54:38 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:39 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 17:54:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:54:40 Merging remotes/origin/main commit 33243b892cd04961baa0321b8a5c910c508d1c9a into PR head commit 0b57cbfab3d8e652cd3a16ca1ec921eaf8fb2b4b [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:54:40 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage 17:54:39 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 17:54:39 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 17:54:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:54:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:54:40 > git config core.sparsecheckout # timeout=10 17:54:40 > git checkout -f 0b57cbfab3d8e652cd3a16ca1ec921eaf8fb2b4b # timeout=10 [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:54:41 + [ -d /w/workspace/xfoundry_app-record-replay_PR-24/archives ] 17:54:41 + ls -al /w/workspace/xfoundry_app-record-replay_PR-24/archives 17:54:41 total 16 17:54:41 drwxr-xr-x 3 root root 4096 Jun 22 17:53 . 17:54:41 drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 17:53 .. 17:54:41 drwxr-xr-x 2 root root 4096 Jun 22 17:53 cost 17:54:41 -rw-r--r-- 1 root root 88 Jun 22 17:53 cost.csv 17:54:41 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-24/archives 17:54:41 + ls -al /w/workspace/xfoundry_app-record-replay_PR-24/archives 17:54:41 total 16 17:54:41 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 17:53 . 17:54:41 drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 17:53 .. 17:54:41 drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 17:53 cost 17:54:41 -rw-r--r-- 1 jenkins jenkins 88 Jun 22 17:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:54:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:54:42 ---> package-listing.sh 17:54:42 ++ facter osfamily 17:54:42 ++ tr '[:upper:]' '[:lower:]' 17:54:42 + OS_FAMILY=debian 17:54:42 + workspace=/w/workspace/xfoundry_app-record-replay_PR-24 17:54:42 + START_PACKAGES=/tmp/packages_start.txt 17:54:42 + END_PACKAGES=/tmp/packages_end.txt 17:54:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:54:42 + PACKAGES=/tmp/packages_start.txt 17:54:42 + '[' /w/workspace/xfoundry_app-record-replay_PR-24 ']' 17:54:42 + PACKAGES=/tmp/packages_end.txt 17:54:42 + case "${OS_FAMILY}" in 17:54:42 + dpkg -l 17:54:42 + grep '^ii' 17:54:42 + '[' -f /tmp/packages_start.txt ']' 17:54:42 + '[' -f /tmp/packages_end.txt ']' 17:54:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:54:42 + '[' /w/workspace/xfoundry_app-record-replay_PR-24 ']' 17:54:42 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-24/archives/ 17:54:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-24/archives/ [Pipeline] echo 17:54:42 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-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:54:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:54:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:54:43 prd-ubuntu20.04-docker-8c-8g-19074 does not seem to be running inside a container 17:54:43 $ 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-24/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-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:54:43 $ docker top 6d1df0a2ff5ea0a42d3ed6a1cedcfbd87b52dff6e6c35eaa284f2721d936b509 -eo pid,comm [Pipeline] { [Pipeline] sh 17:54:44 + touch /tmp/pre-build-complete [Pipeline] sh 17:54:44 + mkdir -p /var/log/sysstat [Pipeline] sh 17:54:44 + ls /var/log/sa-host 17:54:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:54:45 provisioning config files... 17:54:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config17792649668985102850tmp [Pipeline] { [Pipeline] echo 17:54:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:54:45 ---> create-netrc.sh [Pipeline] } 17:54:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:54:45 ---> python-tools-install.sh [Pipeline] echo 17:54:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:54:45 ---> sudo-logs.sh 17:54:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:54:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:54:46 ---> job-cost.sh 17:54:46 lf-activate-venv: SKIPPING 17:54:46 DEBUG: total: 0.2199999988079071 17:54:46 INFO: Retrieving Stack Cost... 17:54:46 INFO: Retrieving Pricing Info for: v3-standard-8 17:54:47 INFO: Archiving Costs [Pipeline] echo 17:54:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:54:47 ---> logs-deploy.sh 17:54:47 lf-activate-venv: SKIPPING 17:54:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-24/5 17:54:47 INFO: archiving workspace using pattern(s): 17:54:48 Archives upload complete. 17:54:48 INFO: archiving logs to Nexus