Pull request #42 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 e3cafd29cc51be544a464c6e881622e5acd656ed rather than 36ec209a631cbee20cf2006b63879b11f2a07e10 Obtained Jenkinsfile from e3cafd29cc51be544a464c6e881622e5acd656ed 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-ssh8844411849370292459.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-ssh11664140539390509779.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-42/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-42/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6077133308337839319.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-ssh3641179263534869999.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-42/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-42/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13422541920158919828.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 Running on prd-ubuntu20.04-docker-8c-8g-1570 in /w/workspace/xfoundry_app-record-replay_PR-42 [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-42 # 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 e3cafd29cc51be544a464c6e881622e5acd656ed into PR head commit 36ec209a631cbee20cf2006b63879b11f2a07e10 Merge succeeded, producing cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a Checking out Revision cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a (PR-42) > 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/42/head:refs/remotes/origin/PR-42 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36ec209a631cbee20cf2006b63879b11f2a07e10 # 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 e3cafd29cc51be544a464c6e881622e5acd656ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a # timeout=10 Commit message: "Merge commit 'e3cafd29cc51be544a464c6e881622e5acd656ed' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:20:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:20:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:20:01 ========================================================= 19:20:01 EdgeX Global Pipelines Version Info 19:20:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f306e97ecb67d7ba36743741262978a56ccb0694 # timeout=10 19:20:02 ------------------- 19:20:02 stable info: 19:20:02 ------------------- 19:20:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:20:02 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:20:02 Message: update stable to v1.0.250 19:20:02 ------------------- 19:20:02 experimental info: 19:20:02 ------------------- 19:20:02 Commited By: **** collab-it+edgex@linuxfoundation.org 19:20:02 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:20:02 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:20:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:20:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-42 [Pipeline] echo 19:20:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-42 [Pipeline] echo 19:20:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-42 [Pipeline] echo 19:20:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [Pipeline] echo 19:20:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cda3d76 [Pipeline] echo 19:20:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:20:03 provisioning config files... 19:20:03 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-42@tmp/config12270252494479045298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:20:03 ---> docker-login.sh 19:20:03 nexus3.edgexfoundry.org:10001 19:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:03 Configure a credential helper to remove this warning. See 19:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:03 19:20:03 Login Succeeded 19:20:03 nexus3.edgexfoundry.org:10002 19:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:03 Configure a credential helper to remove this warning. See 19:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:03 19:20:03 Login Succeeded 19:20:03 nexus3.edgexfoundry.org:10003 19:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:03 Configure a credential helper to remove this warning. See 19:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:03 19:20:03 Login Succeeded 19:20:03 nexus3.edgexfoundry.org:10004 19:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:03 Configure a credential helper to remove this warning. See 19:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:03 19:20:03 Login Succeeded 19:20:03 docker.io 19:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:04 Configure a credential helper to remove this warning. See 19:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:04 19:20:04 Login Succeeded 19:20:04 ---> docker-login.sh ends [Pipeline] } 19:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:20:05 + git rev-list -1 --merges cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a~1..cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [Pipeline] echo 19:20:05 -----------> git rev-list -1 --merges cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a~1..cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a 19:20:05 cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [false] [Pipeline] sh 19:20:05 + git log --format=format:%s -1 cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [Pipeline] echo 19:20:05 ========================================================= 19:20:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:20:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:20:05 + git log --format=format:%s -1 cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a [Pipeline] echo 19:20:05 [semverPrep] GIT_COMMIT: cda3d76d1fea8f3924f8a5c4bd43e1557cc64d6a, Commit Message: Merge commit 'e3cafd29cc51be544a464c6e881622e5acd656ed' into HEAD [Pipeline] echo 19:20:05 [semverPrep] This is not a build commit. [Pipeline] sh 19:20:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:20:06 + grep -v github /etc/ssh/ssh_known_hosts 19:20:06 + [ -e /tmp/ssh_known_hosts ] 19:20:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:20:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:20:06 + sudo tee -a /etc/ssh/ssh_known_hosts 19:20:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:06 19:20:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:06 0.1.4: Pulling from edgex-devops/py-git-semver 19:20:06 b85a868b505f: Pulling fs layer 19:20:06 e2be974225ed: Pulling fs layer 19:20:06 339a4e72a1f5: Pulling fs layer 19:20:06 988bab9f4d93: Pulling fs layer 19:20:06 1469e6f7b9e6: Pulling fs layer 19:20:06 eaf3925da568: Pulling fs layer 19:20:06 bab4dde63d76: Pulling fs layer 19:20:06 bde34c3a00c8: Pulling fs layer 19:20:06 b352a97aabf1: Pulling fs layer 19:20:06 4872d77fe225: Pulling fs layer 19:20:06 5851b861e8e6: Pulling fs layer 19:20:06 b352a97aabf1: Waiting 19:20:06 1469e6f7b9e6: Waiting 19:20:06 4872d77fe225: Waiting 19:20:06 5851b861e8e6: Waiting 19:20:06 eaf3925da568: Waiting 19:20:06 bab4dde63d76: Waiting 19:20:06 bde34c3a00c8: Waiting 19:20:06 e2be974225ed: Download complete 19:20:06 988bab9f4d93: Verifying Checksum 19:20:06 988bab9f4d93: Download complete 19:20:06 1469e6f7b9e6: Verifying Checksum 19:20:06 1469e6f7b9e6: Download complete 19:20:07 339a4e72a1f5: Verifying Checksum 19:20:07 339a4e72a1f5: Download complete 19:20:07 eaf3925da568: Verifying Checksum 19:20:07 eaf3925da568: Download complete 19:20:07 bde34c3a00c8: Download complete 19:20:07 b352a97aabf1: Verifying Checksum 19:20:07 b352a97aabf1: Download complete 19:20:07 4872d77fe225: Verifying Checksum 19:20:07 4872d77fe225: Download complete 19:20:07 5851b861e8e6: Download complete 19:20:07 b85a868b505f: Verifying Checksum 19:20:07 b85a868b505f: Download complete 19:20:07 bab4dde63d76: Verifying Checksum 19:20:07 bab4dde63d76: Download complete 19:20:08 b85a868b505f: Pull complete 19:20:08 e2be974225ed: Pull complete 19:20:08 339a4e72a1f5: Pull complete 19:20:08 988bab9f4d93: Pull complete 19:20:09 1469e6f7b9e6: Pull complete 19:20:09 eaf3925da568: Pull complete 19:20:11 bab4dde63d76: Pull complete 19:20:11 bde34c3a00c8: Pull complete 19:20:11 b352a97aabf1: Pull complete 19:20:11 4872d77fe225: Pull complete 19:20:11 5851b861e8e6: Pull complete 19:20:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:20:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:20:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:11 prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container 19:20:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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 19:20:12 $ docker top b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 -eo pid,comm 19:20:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:20:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:20:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:20:12 [ssh-agent] Looking for ssh-agent implementation... 19:20:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:20:12 $ docker exec b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 ssh-agent 19:20:12 SSH_AUTH_SOCK=/tmp/ssh-Boozmg6LZOse/agent.31 19:20:12 SSH_AGENT_PID=37 19:20:12 Running ssh-add (command line suppressed) 19:20:12 Identity added: /w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_4983056345239576815.key (/w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_4983056345239576815.key) 19:20:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:20:12 + git tag --points-at HEAD [Pipeline] } 19:20:12 $ docker exec --env ******** --env ******** b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 ssh-agent -k 19:20:13 unset SSH_AUTH_SOCK; 19:20:13 unset SSH_AGENT_PID; 19:20:13 echo Agent pid 37 killed; 19:20:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:20:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:20:13 [ssh-agent] Looking for ssh-agent implementation... 19:20:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:20:13 $ docker exec b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 ssh-agent 19:20:13 SSH_AUTH_SOCK=/tmp/ssh-mfKNs5ptXktx/agent.69 19:20:13 SSH_AGENT_PID=75 19:20:13 Running ssh-add (command line suppressed) 19:20:13 Identity added: /w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_17759179125840949810.key (/w/workspace/xfoundry_app-record-replay_PR-42@tmp/private_key_17759179125840949810.key) 19:20:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:20:13 + git semver init 19:20:14 2023-07-19 19:20:13,913 [run_init] DEBUG init version:0.0.0 force:False 19:20:14 2023-07-19 19:20:13,914 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-42/.semver 19:20:14 2023-07-19 19:20:13,914 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-42/.semver 19:20:14 2023-07-19 19:20:13,915 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-42/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-42, universal_newlines=False, shell=None, istream=None) 19:20:14 2023-07-19 19:20:14,490 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-42/.git/info/exclude 19:20:14 2023-07-19 19:20:14,490 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-42/.semver/PR-42 with force:False 19:20:14 2023-07-19 19:20:14,491 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-42/.semver/PR-42 19:20:14 2023-07-19 19:20:14,494 [execute] INFO git cat-file --batch-check 19:20:14 2023-07-19 19:20:14,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-42/.semver, universal_newlines=False, shell=None, istream=) 19:20:14 2023-07-19 19:20:14,501 [execute] INFO git cat-file --batch 19:20:14 2023-07-19 19:20:14,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-42/.semver, universal_newlines=False, shell=None, istream=) 19:20:14 2023-07-19 19:20:14,506 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-42/.semver/PR-42 19:20:14 0.0.0 [Pipeline] } 19:20:14 $ docker exec --env ******** --env ******** b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 ssh-agent -k 19:20:14 unset SSH_AUTH_SOCK; 19:20:14 unset SSH_AGENT_PID; 19:20:14 echo Agent pid 75 killed; 19:20:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:20:14 + git semver [Pipeline] } 19:20:15 $ docker stop --time=1 b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 19:20:16 $ docker rm -f --volumes b59d1515141a8fd099ab7c984d500db7ab53066d1bb87d7f4b1723401366c222 [Pipeline] // withDockerContainer [Pipeline] sh 19:20:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:20:17 Stashed 1 file(s) [Pipeline] echo 19:20:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:20:17 provisioning config files... 19:20:17 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-42@tmp/config6027026369881539940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:20:17 ---> docker-login.sh 19:20:17 nexus3.edgexfoundry.org:10001 19:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:17 Configure a credential helper to remove this warning. See 19:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:17 19:20:17 Login Succeeded 19:20:17 nexus3.edgexfoundry.org:10002 19:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:17 Configure a credential helper to remove this warning. See 19:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:17 19:20:17 Login Succeeded 19:20:17 nexus3.edgexfoundry.org:10003 19:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:17 Configure a credential helper to remove this warning. See 19:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:17 19:20:17 Login Succeeded 19:20:17 nexus3.edgexfoundry.org:10004 19:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:17 Configure a credential helper to remove this warning. See 19:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:17 19:20:17 Login Succeeded 19:20:17 docker.io 19:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:17 Configure a credential helper to remove this warning. See 19:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:17 19:20:17 Login Succeeded 19:20:17 ---> docker-login.sh ends [Pipeline] } 19:20:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:20:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:20:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:20:18 ========================================================= 19:20:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:20:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:20:18 Sending build context to Docker daemon 351.7kB 19:20:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:20:18 Step 2/12 : FROM ${BASE} AS builder 19:20:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:20:18 4db1b89c0bd1: Pulling fs layer 19:20:18 6911f1a30b25: Pulling fs layer 19:20:18 e194b8c5c2a9: Pulling fs layer 19:20:18 6863d3e3a2b1: Pulling fs layer 19:20:18 ec0bb842ea78: Pulling fs layer 19:20:18 40a00589a448: Pulling fs layer 19:20:18 6c08303d61cc: Pulling fs layer 19:20:18 798269fcf238: Pulling fs layer 19:20:18 6863d3e3a2b1: Waiting 19:20:18 6c08303d61cc: Waiting 19:20:18 ec0bb842ea78: Waiting 19:20:18 798269fcf238: Waiting 19:20:18 40a00589a448: Waiting 19:20:18 6911f1a30b25: Download complete 19:20:18 6863d3e3a2b1: Verifying Checksum 19:20:18 6863d3e3a2b1: Download complete 19:20:18 ec0bb842ea78: Verifying Checksum 19:20:18 ec0bb842ea78: Download complete 19:20:18 4db1b89c0bd1: Verifying Checksum 19:20:18 4db1b89c0bd1: Download complete 19:20:18 40a00589a448: Verifying Checksum 19:20:18 40a00589a448: Download complete 19:20:18 4db1b89c0bd1: Pull complete 19:20:18 6911f1a30b25: Pull complete 19:20:19 e194b8c5c2a9: Verifying Checksum 19:20:19 e194b8c5c2a9: Download complete 19:20:19 798269fcf238: Download complete 19:20:19 6c08303d61cc: Verifying Checksum 19:20:19 6c08303d61cc: Download complete 19:20:22 e194b8c5c2a9: Pull complete 19:20:22 6863d3e3a2b1: Pull complete 19:20:22 ec0bb842ea78: Pull complete 19:20:22 40a00589a448: Pull complete 19:20:24 6c08303d61cc: Pull complete 19:20:25 798269fcf238: Pull complete 19:20:25 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 19:20:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:20:25 ---> ec979cd7f677 19:20:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 19:20:26 ---> Running in ab891c4dac31 19:20:26 Removing intermediate container ab891c4dac31 19:20:26 ---> 2c70896e83f9 19:20:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:20:26 ---> Running in 6ab1c52ac97d 19:20:26 Removing intermediate container 6ab1c52ac97d 19:20:26 ---> a4ca1a3ea6c2 19:20:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:20:26 ---> Running in 8d3cb69a8722 19:20:26 Removing intermediate container 8d3cb69a8722 19:20:26 ---> 56fa3b67ff00 19:20:26 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:20:26 ---> Running in 6da48304707a 19:20:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:20:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:20:27 OK: 265 MiB in 53 packages 19:20:27 Removing intermediate container 6da48304707a 19:20:27 ---> 06b3090798d6 19:20:27 Step 7/12 : WORKDIR /app 19:20:27 ---> Running in f1e82392eb25 19:20:27 Removing intermediate container f1e82392eb25 19:20:27 ---> a2635e16c473 19:20:27 Step 8/12 : COPY go.mod vendor* ./ 19:20:27 ---> 2e0a390af345 19:20:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:20:27 ---> Running in 063a367e7d7d 19:20:32 Still waiting to schedule task 19:20:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:20:49 Removing intermediate container 063a367e7d7d 19:20:49 ---> 42be39905ef0 19:20:49 Step 10/12 : COPY . . 19:20:49 ---> 9780432d4dd5 19:20:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:20:49 ---> Running in c5f831639982 19:20:49 Removing intermediate container c5f831639982 19:20:49 ---> d5df86b386f1 19:20:49 Step 12/12 : RUN $MAKE 19:20:49 ---> Running in c86d76dededf 19:20:49 noop 19:20:49 Removing intermediate container c86d76dededf 19:20:49 ---> 546b7bf1e998 19:20:49 Successfully built 546b7bf1e998 19:20:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:50 + docker inspect -f . ci-base-image-x86_64 19:20:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:50 prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container 19:20:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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 19:20:50 $ docker top 776cc72d369782be800b1418fcd4cbc60b2c5bec2c212421c8e6eebe4d6f9ad6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:50 + go version 19:20:50 go version go1.20.6 linux/amd64 [Pipeline] } 19:20:50 $ docker stop --time=1 776cc72d369782be800b1418fcd4cbc60b2c5bec2c212421c8e6eebe4d6f9ad6 19:20:52 $ docker rm -f --volumes 776cc72d369782be800b1418fcd4cbc60b2c5bec2c212421c8e6eebe4d6f9ad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:52 + docker inspect -f . ci-base-image-x86_64 19:20:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:52 prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container 19:20:52 $ 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-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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 19:20:52 $ docker top fd920eb1c1c71885857d28530b879a3f2df242f3bf4d9f071cc6decd3a353764 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:53 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-42 [Pipeline] fileExists [Pipeline] sh 19:20:53 + make test 19:20:53 go test -race -coverprofile=coverage.out ./... 19:21:11 ? github.com/edgexfoundry/app-record-replay [no test files] 19:21:11 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 19:21:11 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 19:21:11 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 19:21:11 ok github.com/edgexfoundry/app-record-replay/internal/app 0.060s coverage: 87.5% of statements 19:21:12 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.099s coverage: 86.0% of statements 19:21:12 ok github.com/edgexfoundry/app-record-replay/internal/data 0.060s coverage: 65.2% of statements 19:21:34 go vet ./... 19:21:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:21:35 ./internal/controller/controller.go 19:21:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:21:35 make: *** [Makefile:74: test] Error 1 [Pipeline] } 19:21:35 $ docker stop --time=1 fd920eb1c1c71885857d28530b879a3f2df242f3bf4d9f071cc6decd3a353764 19:21:37 $ docker rm -f --volumes fd920eb1c1c71885857d28530b879a3f2df242f3bf4d9f071cc6decd3a353764 [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 19:21:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:38 19:21:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:38 latest: Pulling from edgex-lftools-log-publisher 19:21:38 5eb5b503b376: Pulling fs layer 19:21:38 5c69ac0246d0: Pulling fs layer 19:21:38 ec43610c2a17: Pulling fs layer 19:21:38 3a2ae6a8a46f: Pulling fs layer 19:21:38 33b1e0a273af: Pulling fs layer 19:21:38 5d3b04190fa2: Pulling fs layer 19:21:38 2f39f015ded8: Pulling fs layer 19:21:38 33b1e0a273af: Waiting 19:21:38 3a2ae6a8a46f: Waiting 19:21:38 5d3b04190fa2: Waiting 19:21:38 2f39f015ded8: Waiting 19:21:38 5c69ac0246d0: Download complete 19:21:38 3a2ae6a8a46f: Verifying Checksum 19:21:38 3a2ae6a8a46f: Download complete 19:21:38 ec43610c2a17: Verifying Checksum 19:21:38 ec43610c2a17: Download complete 19:21:38 33b1e0a273af: Verifying Checksum 19:21:38 33b1e0a273af: Download complete 19:21:38 5d3b04190fa2: Verifying Checksum 19:21:38 5d3b04190fa2: Download complete 19:21:38 5eb5b503b376: Verifying Checksum 19:21:38 5eb5b503b376: Download complete 19:21:39 2f39f015ded8: Download complete 19:21:39 5eb5b503b376: Pull complete 19:21:39 5c69ac0246d0: Pull complete 19:21:40 ec43610c2a17: Pull complete 19:21:40 3a2ae6a8a46f: Pull complete 19:21:40 33b1e0a273af: Pull complete 19:21:40 5d3b04190fa2: Pull complete 19:21:45 2f39f015ded8: Pull complete 19:21:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:21:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:45 prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container 19:21:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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 19:21:46 $ docker top fb222c2186f605641ef511d02d416bffae42c51047641f52e5b400cde6fa1d35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:21:46 ---> job-cost.sh 19:21:46 lf-activate-venv: SKIPPING 19:21:46 INFO: No Stack... 19:21:47 INFO: Retrieving Pricing Info for: v3-standard-8 19:21:47 INFO: Archiving Costs [Pipeline] sh 19:21:47 + cat /w/workspace/xfoundry_app-record-replay_PR-42/archives/cost.csv 19:21:47 + cut -d, -f6 [Pipeline] lock 19:21:47 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] 19:21:47 Resource [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] did not exist. Created. 19:21:47 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:21:47 + echo total: 0.2199999988079071 [Pipeline] stash 19:21:47 Stashed 1 file(s) [Pipeline] } 19:21:48 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:21:48 $ docker stop --time=1 fb222c2186f605641ef511d02d416bffae42c51047641f52e5b400cde6fa1d35 19:21:49 $ docker rm -f --volumes fb222c2186f605641ef511d02d416bffae42c51047641f52e5b400cde6fa1d35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:21:49 Failed in branch amd64 19:22:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1573 in /w/workspace/xfoundry_app-record-replay_PR-42 [Pipeline] { [Pipeline] ws 19:22:02 Running in /w/workspace/app-record-replay/6 [Pipeline] { [Pipeline] checkout 19:22:02 Selected Git installation does not exist. Using Default 19:22:02 The recommended git tool is: NONE 19:22:07 using credential edgex-jenkins-ssh 19:22:07 Cloning the remote Git repository 19:22:07 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 19:22:07 > git init /w/workspace/app-record-replay/6 # timeout=10 19:22:07 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 19:22:07 > git --version # timeout=10 19:22:07 > git --version # 'git version 2.25.1' 19:22:07 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:22:08 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 19:22:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:22:09 Merging remotes/origin/main commit e3cafd29cc51be544a464c6e881622e5acd656ed into PR head commit 36ec209a631cbee20cf2006b63879b11f2a07e10 19:22:09 Merge succeeded, producing 24e6c8e52d33aa27acf8c6b16131979c88d2faff 19:22:09 Checking out Revision 24e6c8e52d33aa27acf8c6b16131979c88d2faff (PR-42) 19:22:09 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 19:22:09 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 19:22:09 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/42/head:refs/remotes/origin/PR-42 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:22:09 > git config core.sparsecheckout # timeout=10 19:22:09 > git checkout -f 36ec209a631cbee20cf2006b63879b11f2a07e10 # timeout=10 19:22:09 > git remote # timeout=10 19:22:09 > git config --get remote.origin.url # timeout=10 19:22:09 using GIT_SSH to set credentials SSH Credentials for GitHub 19:22:09 > git merge e3cafd29cc51be544a464c6e881622e5acd656ed # timeout=10 19:22:09 > git rev-parse HEAD^{commit} # timeout=10 19:22:09 > git config core.sparsecheckout # timeout=10 19:22:09 > git checkout -f 24e6c8e52d33aa27acf8c6b16131979c88d2faff # timeout=10 19:22:13 Commit message: "Merge commit 'e3cafd29cc51be544a464c6e881622e5acd656ed' into HEAD" 19:22:13 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:22:13 > git rev-list --no-walk f306e97ecb67d7ba36743741262978a56ccb0694 # timeout=10 19:22:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:22:14 % Total % Received % Xferd Average Speed Time Time Time Current 19:22:14 Dload Upload Total Spent Left Speed 19:22:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh 19:22:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:22:15 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 19:22:15 /etc/docker/daemon.new 19:22:15 { 19:22:15 "registry-mirrors": [ 19:22:15 "https://nexus3.edgexfoundry.org:10001" 19:22:15 ], 19:22:15 "bip": "10.250.0.254/24", 19:22:15 "hosts": [ 19:22:15 "tcp://0.0.0.0:5555", 19:22:15 "unix:///var/run/docker.sock" 19:22:15 ], 19:22:15 "mtu": 1458, 19:22:15 "selinux-enabled": true, 19:22:15 "seccomp-profile": "/etc/docker/seccomp.json" 19:22:15 } [Pipeline] sh 19:22:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:22:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:22:34 provisioning config files... 19:22:34 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/6@tmp/config8433386094616450237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:22:34 ---> docker-login.sh 19:22:34 nexus3.edgexfoundry.org:10001 19:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:35 Configure a credential helper to remove this warning. See 19:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:35 19:22:35 Login Succeeded 19:22:35 nexus3.edgexfoundry.org:10002 19:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:35 Configure a credential helper to remove this warning. See 19:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:35 19:22:35 Login Succeeded 19:22:35 nexus3.edgexfoundry.org:10003 19:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:35 Configure a credential helper to remove this warning. See 19:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:35 19:22:35 Login Succeeded 19:22:35 nexus3.edgexfoundry.org:10004 19:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:36 Configure a credential helper to remove this warning. See 19:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:36 19:22:36 Login Succeeded 19:22:36 docker.io 19:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:36 Configure a credential helper to remove this warning. See 19:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:36 19:22:36 Login Succeeded 19:22:36 ---> docker-login.sh ends [Pipeline] } 19:22:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:22:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:22:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:22:37 ========================================================= 19:22:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:22:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:37 + 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 . 19:22:37 Sending build context to Docker daemon 163.8kB 19:22:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:22:37 Step 2/12 : FROM ${BASE} AS builder 19:22:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:22:37 edb6bdbacee9: Pulling fs layer 19:22:37 5f9638ab2659: Pulling fs layer 19:22:37 8d51d6327a98: Pulling fs layer 19:22:37 8b374f2dd631: Pulling fs layer 19:22:37 ec14aa9079de: Pulling fs layer 19:22:37 2f466654f4bb: Pulling fs layer 19:22:37 554e91adad29: Pulling fs layer 19:22:37 8b374f2dd631: Waiting 19:22:37 ec14aa9079de: Waiting 19:22:37 2f466654f4bb: Waiting 19:22:37 554e91adad29: Waiting 19:22:37 5f9638ab2659: Verifying Checksum 19:22:37 5f9638ab2659: Download complete 19:22:37 8b374f2dd631: Verifying Checksum 19:22:37 8b374f2dd631: Download complete 19:22:37 ec14aa9079de: Verifying Checksum 19:22:37 ec14aa9079de: Download complete 19:22:37 edb6bdbacee9: Download complete 19:22:38 edb6bdbacee9: Pull complete 19:22:39 554e91adad29: Verifying Checksum 19:22:39 554e91adad29: Download complete 19:22:39 5f9638ab2659: Pull complete 19:22:40 8d51d6327a98: Verifying Checksum 19:22:40 8d51d6327a98: Download complete 19:22:40 2f466654f4bb: Verifying Checksum 19:22:40 2f466654f4bb: Download complete 19:22:52 8d51d6327a98: Pull complete 19:22:52 8b374f2dd631: Pull complete 19:22:52 ec14aa9079de: Pull complete 19:22:58 2f466654f4bb: Pull complete 19:23:00 554e91adad29: Pull complete 19:23:00 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 19:23:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:23:00 ---> 1e15ea492957 19:23:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 19:23:02 ---> Running in ade3eed1d494 19:23:02 Removing intermediate container ade3eed1d494 19:23:02 ---> 1080d77e10ad 19:23:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:23:02 ---> Running in c1fc2dae5864 19:23:02 Removing intermediate container c1fc2dae5864 19:23:02 ---> 34a22daef0f5 19:23:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:23:02 ---> Running in 8ae080af66b5 19:23:03 Removing intermediate container 8ae080af66b5 19:23:03 ---> 8b0f3fc535f8 19:23:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:23:03 ---> Running in 8d019e434562 19:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:23:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:23:05 OK: 263 MiB in 53 packages 19:23:06 Removing intermediate container 8d019e434562 19:23:06 ---> ee63485b20d3 19:23:06 Step 7/12 : WORKDIR /app 19:23:06 ---> Running in 7ac00fb8cba2 19:23:07 Removing intermediate container 7ac00fb8cba2 19:23:07 ---> c952233591b3 19:23:07 Step 8/12 : COPY go.mod vendor* ./ 19:23:08 ---> 477517b4f70d 19:23:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:23:08 ---> Running in 0916859ea41e 19:24:16 Removing intermediate container 0916859ea41e 19:24:16 ---> f37f918d0bd5 19:24:16 Step 10/12 : COPY . . 19:24:16 ---> 69dad761b8fa 19:24:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:24:16 ---> Running in 49f5956fd0cd 19:24:16 Removing intermediate container 49f5956fd0cd 19:24:16 ---> 6904cb9d4e25 19:24:16 Step 12/12 : RUN $MAKE 19:24:16 ---> Running in b45f268381ff 19:24:16 noop 19:24:16 Removing intermediate container b45f268381ff 19:24:16 ---> 91bd1032cdb0 19:24:16 Successfully built 91bd1032cdb0 19:24:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:24:16 + docker inspect -f . ci-base-image-arm64 19:24:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:24:16 prd-ubuntu20.04-docker-arm64-4c-16g-1573 does not seem to be running inside a container 19:24:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/6 -v /w/workspace/app-record-replay/6:/w/workspace/app-record-replay/6:rw,z -v /w/workspace/app-record-replay/6@tmp:/w/workspace/app-record-replay/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:24:18 $ docker top 74c4aa943a5efdb71142bfa772b58af66fcfd6fc7de674934cf6d77a2662c275 -eo pid,comm [Pipeline] { [Pipeline] sh 19:24:18 + go version 19:24:18 go version go1.20.6 linux/arm64 [Pipeline] } 19:24:18 $ docker stop --time=1 74c4aa943a5efdb71142bfa772b58af66fcfd6fc7de674934cf6d77a2662c275 19:24:20 $ docker rm -f --volumes 74c4aa943a5efdb71142bfa772b58af66fcfd6fc7de674934cf6d77a2662c275 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:24:21 + docker inspect -f . ci-base-image-arm64 19:24:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:24:21 prd-ubuntu20.04-docker-arm64-4c-16g-1573 does not seem to be running inside a container 19:24:21 $ 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/6 -v /w/workspace/app-record-replay/6:/w/workspace/app-record-replay/6:rw,z -v /w/workspace/app-record-replay/6@tmp:/w/workspace/app-record-replay/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:24:22 $ docker top 4f4e547a7a57099d8d6edbd17cbab2fd670b2db2cde8fff6b5baddfd6b5aeec4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:24:22 + git config --global --add safe.directory /w/workspace/app-record-replay/6 [Pipeline] fileExists [Pipeline] sh 19:24:23 + make test 19:24:23 go test -race -coverprofile=coverage.out ./... 19:27:00 ? github.com/edgexfoundry/app-record-replay [no test files] 19:27:10 ok github.com/edgexfoundry/app-record-replay/internal/app 0.249s coverage: 87.5% of statements 19:27:10 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.412s coverage: 86.0% of statements 19:27:13 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 19:27:13 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 19:27:13 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 19:27:13 ok github.com/edgexfoundry/app-record-replay/internal/data 0.220s coverage: 65.2% of statements 19:27:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:27:14 go vet ./... 19:29:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:29:35 ./internal/controller/controller.go 19:29:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:29:35 make: *** [Makefile:74: test] Error 1 [Pipeline] } 19:29:35 $ docker stop --time=1 4f4e547a7a57099d8d6edbd17cbab2fd670b2db2cde8fff6b5baddfd6b5aeec4 19:29:37 $ docker rm -f --volumes 4f4e547a7a57099d8d6edbd17cbab2fd670b2db2cde8fff6b5baddfd6b5aeec4 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:29:39 19:29:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:29:39 arm64: Pulling from edgex-lftools-log-publisher 19:29:39 8998bd30e6a1: Pulling fs layer 19:29:39 04944245beec: Pulling fs layer 19:29:39 699f458cf7ca: Pulling fs layer 19:29:39 765212b225bb: Pulling fs layer 19:29:39 f23df028b6ca: Pulling fs layer 19:29:39 d65c8cfc05b1: Pulling fs layer 19:29:39 2437ff75d9bd: Pulling fs layer 19:29:39 f23df028b6ca: Waiting 19:29:39 d65c8cfc05b1: Waiting 19:29:39 2437ff75d9bd: Waiting 19:29:39 765212b225bb: Waiting 19:29:39 04944245beec: Verifying Checksum 19:29:39 04944245beec: Download complete 19:29:39 765212b225bb: Verifying Checksum 19:29:39 765212b225bb: Download complete 19:29:39 f23df028b6ca: Verifying Checksum 19:29:39 f23df028b6ca: Download complete 19:29:40 d65c8cfc05b1: Verifying Checksum 19:29:40 d65c8cfc05b1: Download complete 19:29:40 699f458cf7ca: Verifying Checksum 19:29:40 699f458cf7ca: Download complete 19:29:40 8998bd30e6a1: Verifying Checksum 19:29:40 8998bd30e6a1: Download complete 19:29:42 2437ff75d9bd: Verifying Checksum 19:29:42 2437ff75d9bd: Download complete 19:29:44 8998bd30e6a1: Pull complete 19:29:45 04944245beec: Pull complete 19:29:46 699f458cf7ca: Pull complete 19:29:46 765212b225bb: Pull complete 19:29:47 f23df028b6ca: Pull complete 19:29:47 d65c8cfc05b1: Pull complete 19:30:02 2437ff75d9bd: Pull complete 19:30:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:30:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:30:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:30:02 prd-ubuntu20.04-docker-arm64-4c-16g-1573 does not seem to be running inside a container 19:30:02 $ 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/6 -v /w/workspace/app-record-replay/6:/w/workspace/app-record-replay/6:rw,z -v /w/workspace/app-record-replay/6@tmp:/w/workspace/app-record-replay/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:30:05 $ docker top b8a70186b2fd8dfcc7b8d75b93e3f5f34fc4a35d0be0bdb8eccb262f0ebef898 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:30:05 ---> job-cost.sh 19:30:05 lf-activate-venv: SKIPPING 19:30:05 INFO: No Stack... 19:30:06 INFO: Retrieving Pricing Info for: v3-standard-4 19:30:07 INFO: Archiving Costs [Pipeline] sh 19:30:07 + cut -d, -f6 19:30:07 + cat /w/workspace/app-record-replay/6/archives/cost.csv [Pipeline] lock 19:30:07 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] 19:30:07 Resource [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] did not exist. Created. 19:30:07 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:30:07 /w/workspace/app-record-replay/6@tmp/durable-12cea631/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:30:08 + echo total: 0.10999999940395355 [Pipeline] stash 19:30:08 Warning: overwriting stash ‘stack-cost’ 19:30:08 Stashed 1 file(s) [Pipeline] } 19:30:08 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-42-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:30:08 $ docker stop --time=1 b8a70186b2fd8dfcc7b8d75b93e3f5f34fc4a35d0be0bdb8eccb262f0ebef898 19:30:10 $ docker rm -f --volumes b8a70186b2fd8dfcc7b8d75b93e3f5f34fc4a35d0be0bdb8eccb262f0ebef898 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:30:10 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 [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 19:30:11 + [ -d /w/workspace/xfoundry_app-record-replay_PR-42/archives ] 19:30:11 + ls -al /w/workspace/xfoundry_app-record-replay_PR-42/archives 19:30:11 total 16 19:30:11 drwxr-xr-x 3 root root 4096 Jul 19 19:21 . 19:30:11 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 19:21 .. 19:30:11 drwxr-xr-x 2 root root 4096 Jul 19 19:21 cost 19:30:11 -rw-r--r-- 1 root root 89 Jul 19 19:21 cost.csv 19:30:11 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-42/archives 19:30:11 + ls -al /w/workspace/xfoundry_app-record-replay_PR-42/archives 19:30:11 total 16 19:30:11 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 19:21 . 19:30:11 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 19:21 .. 19:30:11 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 19:21 cost 19:30:11 -rw-r--r-- 1 jenkins jenkins 89 Jul 19 19:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:30:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:30:12 ---> package-listing.sh 19:30:12 ++ facter osfamily 19:30:12 ++ tr '[:upper:]' '[:lower:]' 19:30:12 + OS_FAMILY=debian 19:30:12 + workspace=/w/workspace/xfoundry_app-record-replay_PR-42 19:30:12 + START_PACKAGES=/tmp/packages_start.txt 19:30:12 + END_PACKAGES=/tmp/packages_end.txt 19:30:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:30:12 + PACKAGES=/tmp/packages_start.txt 19:30:12 + '[' /w/workspace/xfoundry_app-record-replay_PR-42 ']' 19:30:12 + PACKAGES=/tmp/packages_end.txt 19:30:12 + case "${OS_FAMILY}" in 19:30:12 + dpkg -l 19:30:12 + grep '^ii' 19:30:12 + '[' -f /tmp/packages_start.txt ']' 19:30:12 + '[' -f /tmp/packages_end.txt ']' 19:30:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:30:12 + '[' /w/workspace/xfoundry_app-record-replay_PR-42 ']' 19:30:12 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-42/archives/ 19:30:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-42/archives/ [Pipeline] echo 19:30:12 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-42/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:30:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:30:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:30:13 prd-ubuntu20.04-docker-8c-8g-1570 does not seem to be running inside a container 19:30:13 $ 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-42/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-42 -v /w/workspace/xfoundry_app-record-replay_PR-42:/w/workspace/xfoundry_app-record-replay_PR-42:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-42@tmp:/w/workspace/xfoundry_app-record-replay_PR-42@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 19:30:13 $ docker top 3e65ab361a51dba90bc5fab551e2847b1697bf80bb35f179afee9048cc114e98 -eo pid,comm [Pipeline] { [Pipeline] sh 19:30:13 + touch /tmp/pre-build-complete [Pipeline] sh 19:30:14 + mkdir -p /var/log/sysstat [Pipeline] sh 19:30:14 + ls /var/log/sa-host 19:30:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:30:14 provisioning config files... 19:30:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-42@tmp/config2582150116360223986tmp [Pipeline] { [Pipeline] echo 19:30:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:30:14 ---> create-netrc.sh [Pipeline] } 19:30:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:30:15 ---> python-tools-install.sh [Pipeline] echo 19:30:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:30:15 ---> sudo-logs.sh 19:30:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:30:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:30:15 ---> job-cost.sh 19:30:15 lf-activate-venv: SKIPPING 19:30:15 DEBUG: total: 0.2199999988079071 19:30:15 INFO: Retrieving Stack Cost... 19:30:16 INFO: Retrieving Pricing Info for: v3-standard-8 19:30:16 INFO: Archiving Costs [Pipeline] echo 19:30:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:30:16 ---> logs-deploy.sh 19:30:16 lf-activate-venv: SKIPPING 19:30:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-42/6 19:30:16 INFO: archiving workspace using pattern(s): 19:30:17 Archives upload complete. 19:30:17 INFO: archiving logs to Nexus