Pull request #56 opened 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 53d214d660c211fabaeb1f0df01625a9dcc42235 rather than 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc Obtained Jenkinsfile from 53d214d660c211fabaeb1f0df01625a9dcc42235 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-ssh353773013357459979.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-ssh24385562545761956.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13987661840413439818.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13727328782674935938.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh14864112244121634498.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3382178017741210152.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2919 in /w/workspace/xfoundry_app-record-replay_PR-56 [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-56 # 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 > 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/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc Merge succeeded, producing 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc Checking out Revision 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc (PR-56) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc # 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 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc # timeout=10 Commit message: "feat: Implement Upload (Import) Endpoint" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:44 ========================================================= 22:11:44 EdgeX Global Pipelines Version Info 22:11:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:45 ------------------- 22:11:45 stable info: 22:11:45 ------------------- 22:11:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:11:45 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:11:45 Message: update stable to v1.0.250 22:11:45 ------------------- 22:11:45 experimental info: 22:11:45 ------------------- 22:11:45 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:45 Commit SHA: 163b961b6db2076ae8f48a223fc443a7a2a2eae3 22:11:45 Message: update experimental to v1.0.251 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 22:11:45 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 22:11:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 22:11:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 22:11:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 22:11:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc [Pipeline] echo 22:11:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f9d7c1 [Pipeline] echo 22:11:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:47 provisioning config files... 22:11:47 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config14942274574101218210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:47 ---> docker-login.sh 22:11:47 nexus3.edgexfoundry.org:10001 22:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:48 Configure a credential helper to remove this warning. See 22:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:48 22:11:48 Login Succeeded 22:11:48 nexus3.edgexfoundry.org:10002 22:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:48 Configure a credential helper to remove this warning. See 22:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:48 22:11:48 Login Succeeded 22:11:48 nexus3.edgexfoundry.org:10003 22:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:48 Configure a credential helper to remove this warning. See 22:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:48 22:11:48 Login Succeeded 22:11:48 nexus3.edgexfoundry.org:10004 22:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:48 Configure a credential helper to remove this warning. See 22:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:48 22:11:48 Login Succeeded 22:11:48 docker.io 22:11:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:48 Configure a credential helper to remove this warning. See 22:11:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:48 22:11:48 Login Succeeded 22:11:48 ---> docker-login.sh ends [Pipeline] } 22:11:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:49 + git rev-list -1 --merges 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc~1..0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc [Pipeline] echo 22:11:49 -----------> git rev-list -1 --merges 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc~1..0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc [false] [Pipeline] sh 22:11:49 + git log --format=format:%s -1 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc [Pipeline] echo 22:11:49 ========================================================= 22:11:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:50 + git log --format=format:%s -1 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc [Pipeline] echo 22:11:50 [semverPrep] GIT_COMMIT: 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc, Commit Message: feat: Implement Upload (Import) Endpoint [Pipeline] echo 22:11:50 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:50 + grep -v github /etc/ssh/ssh_known_hosts 22:11:50 + [ -e /tmp/ssh_known_hosts ] 22:11:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:50 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:51 22:11:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:51 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:51 b85a868b505f: Pulling fs layer 22:11:51 e2be974225ed: Pulling fs layer 22:11:51 339a4e72a1f5: Pulling fs layer 22:11:51 988bab9f4d93: Pulling fs layer 22:11:51 1469e6f7b9e6: Pulling fs layer 22:11:51 eaf3925da568: Pulling fs layer 22:11:51 bab4dde63d76: Pulling fs layer 22:11:51 bde34c3a00c8: Pulling fs layer 22:11:51 b352a97aabf1: Pulling fs layer 22:11:51 4872d77fe225: Pulling fs layer 22:11:51 5851b861e8e6: Pulling fs layer 22:11:51 4872d77fe225: Waiting 22:11:51 988bab9f4d93: Waiting 22:11:51 eaf3925da568: Waiting 22:11:51 bde34c3a00c8: Waiting 22:11:51 b352a97aabf1: Waiting 22:11:51 1469e6f7b9e6: Waiting 22:11:51 5851b861e8e6: Waiting 22:11:51 bab4dde63d76: Waiting 22:11:51 e2be974225ed: Download complete 22:11:51 988bab9f4d93: Verifying Checksum 22:11:51 988bab9f4d93: Download complete 22:11:51 1469e6f7b9e6: Verifying Checksum 22:11:51 1469e6f7b9e6: Download complete 22:11:51 eaf3925da568: Verifying Checksum 22:11:51 eaf3925da568: Download complete 22:11:51 339a4e72a1f5: Verifying Checksum 22:11:51 339a4e72a1f5: Download complete 22:11:51 bde34c3a00c8: Verifying Checksum 22:11:51 bde34c3a00c8: Download complete 22:11:51 b352a97aabf1: Download complete 22:11:51 5851b861e8e6: Verifying Checksum 22:11:51 5851b861e8e6: Download complete 22:11:51 b85a868b505f: Verifying Checksum 22:11:51 b85a868b505f: Download complete 22:11:52 bab4dde63d76: Verifying Checksum 22:11:52 bab4dde63d76: Download complete 22:11:52 b85a868b505f: Pull complete 22:11:53 e2be974225ed: Pull complete 22:11:53 339a4e72a1f5: Pull complete 22:11:53 988bab9f4d93: Pull complete 22:11:54 1469e6f7b9e6: Pull complete 22:11:54 eaf3925da568: Pull complete 22:11:55 bab4dde63d76: Pull complete 22:11:55 bde34c3a00c8: Pull complete 22:11:55 b352a97aabf1: Pull complete 22:11:55 4872d77fe225: Pull complete 22:11:56 5851b861e8e6: Pull complete 22:11:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:56 prd-ubuntu20.04-docker-8c-8g-2919 does not seem to be running inside a container 22:11:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:11:59 $ docker top 6238dcf061f4969e4ae122bcf16337071c6f4742c9c5b1a71f3d80f5a729bd7b -eo pid,comm 22:11:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:11:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:59 [ssh-agent] Looking for ssh-agent implementation... 22:11:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:59 $ docker exec 6238dcf061f4969e4ae122bcf16337071c6f4742c9c5b1a71f3d80f5a729bd7b ssh-agent 22:12:00 SSH_AUTH_SOCK=/tmp/ssh-gjQTzt0XyfE6/agent.32 22:12:00 SSH_AGENT_PID=38 22:12:00 Running ssh-add (command line suppressed) 22:12:00 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_4635270456900139060.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_4635270456900139060.key) 22:12:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:00 + git tag --points-at HEAD [Pipeline] } 22:12:00 $ docker exec --env ******** --env ******** 6238dcf061f4969e4ae122bcf16337071c6f4742c9c5b1a71f3d80f5a729bd7b ssh-agent -k 22:12:00 unset SSH_AUTH_SOCK; 22:12:00 unset SSH_AGENT_PID; 22:12:00 echo Agent pid 38 killed; 22:12:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:12:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:12:00 [ssh-agent] Looking for ssh-agent implementation... 22:12:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:12:00 $ docker exec 6238dcf061f4969e4ae122bcf16337071c6f4742c9c5b1a71f3d80f5a729bd7b ssh-agent 22:12:01 SSH_AUTH_SOCK=/tmp/ssh-FarP8566W0Dh/agent.71 22:12:01 SSH_AGENT_PID=77 22:12:01 Running ssh-add (command line suppressed) 22:12:01 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_10361052934565061424.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_10361052934565061424.key) 22:12:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:12:01 + git semver init 22:12:01 2023-08-04 22:12:01,638 [run_init] DEBUG init version:0.0.0 force:False 22:12:01 2023-08-04 22:12:01,639 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-56/.semver 22:12:01 2023-08-04 22:12:01,639 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-56/.semver 22:12:01 2023-08-04 22:12:01,639 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-56/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56, universal_newlines=False, shell=None, istream=None) 22:12:02 2023-08-04 22:12:02,277 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-56/.git/info/exclude 22:12:02 2023-08-04 22:12:02,278 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 with force:False 22:12:02 2023-08-04 22:12:02,278 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 22:12:02 2023-08-04 22:12:02,282 [execute] INFO git cat-file --batch-check 22:12:02 2023-08-04 22:12:02,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 22:12:02 2023-08-04 22:12:02,289 [execute] INFO git cat-file --batch 22:12:02 2023-08-04 22:12:02,290 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 22:12:02 2023-08-04 22:12:02,294 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 22:12:02 0.0.0 [Pipeline] } 22:12:02 $ docker exec --env ******** --env ******** 6238dcf061f4969e4ae122bcf16337071c6f4742c9c5b1a71f3d80f5a729bd7b ssh-agent -k 22:12:02 unset SSH_AUTH_SOCK; 22:12:02 unset SSH_AGENT_PID; 22:12:02 echo Agent pid 77 killed; 22:12:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:12:03 + git semver [Pipeline] } 22:12:03 $ docker stop --time=1 6238dcf061f4969e4ae122bcf16337071c6f4742c9c5b1a71f3d80f5a729bd7b 22:12:04 $ docker rm -f --volumes 6238dcf061f4969e4ae122bcf16337071c6f4742c9c5b1a71f3d80f5a729bd7b [Pipeline] // withDockerContainer [Pipeline] sh 22:12:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:12:05 Stashed 1 file(s) [Pipeline] echo 22:12:05 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:12:06 provisioning config files... 22:12:06 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config1759031367234108485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:06 ---> docker-login.sh 22:12:06 nexus3.edgexfoundry.org:10001 22:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:06 Configure a credential helper to remove this warning. See 22:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:06 22:12:06 Login Succeeded 22:12:06 nexus3.edgexfoundry.org:10002 22:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:06 Configure a credential helper to remove this warning. See 22:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:06 22:12:06 Login Succeeded 22:12:06 nexus3.edgexfoundry.org:10003 22:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:06 Configure a credential helper to remove this warning. See 22:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:06 22:12:06 Login Succeeded 22:12:06 nexus3.edgexfoundry.org:10004 22:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:06 Configure a credential helper to remove this warning. See 22:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:06 22:12:06 Login Succeeded 22:12:06 docker.io 22:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:06 Configure a credential helper to remove this warning. See 22:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:06 22:12:06 Login Succeeded 22:12:06 ---> docker-login.sh ends [Pipeline] } 22:12:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:12:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:07 ========================================================= 22:12:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:12:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:12:07 Sending build context to Docker daemon 441.9kB 22:12:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:12:07 Step 2/12 : FROM ${BASE} AS builder 22:12:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:12:07 4db1b89c0bd1: Pulling fs layer 22:12:07 6911f1a30b25: Pulling fs layer 22:12:07 e194b8c5c2a9: Pulling fs layer 22:12:07 6863d3e3a2b1: Pulling fs layer 22:12:07 ec0bb842ea78: Pulling fs layer 22:12:07 40a00589a448: Pulling fs layer 22:12:07 6c08303d61cc: Pulling fs layer 22:12:07 798269fcf238: Pulling fs layer 22:12:07 ec0bb842ea78: Waiting 22:12:07 40a00589a448: Waiting 22:12:07 6c08303d61cc: Waiting 22:12:07 798269fcf238: Waiting 22:12:07 6863d3e3a2b1: Waiting 22:12:07 6911f1a30b25: Download complete 22:12:07 6863d3e3a2b1: Verifying Checksum 22:12:07 6863d3e3a2b1: Download complete 22:12:07 ec0bb842ea78: Download complete 22:12:07 4db1b89c0bd1: Verifying Checksum 22:12:07 4db1b89c0bd1: Download complete 22:12:07 40a00589a448: Verifying Checksum 22:12:07 40a00589a448: Download complete 22:12:07 4db1b89c0bd1: Pull complete 22:12:08 6911f1a30b25: Pull complete 22:12:08 798269fcf238: Verifying Checksum 22:12:08 798269fcf238: Download complete 22:12:08 e194b8c5c2a9: Verifying Checksum 22:12:08 e194b8c5c2a9: Download complete 22:12:08 6c08303d61cc: Verifying Checksum 22:12:08 6c08303d61cc: Download complete 22:12:11 e194b8c5c2a9: Pull complete 22:12:11 6863d3e3a2b1: Pull complete 22:12:11 ec0bb842ea78: Pull complete 22:12:11 40a00589a448: Pull complete 22:12:14 6c08303d61cc: Pull complete 22:12:15 798269fcf238: Pull complete 22:12:15 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 22:12:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:12:15 ---> ec979cd7f677 22:12:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:12:20 ---> Running in 0c5681cc8aff 22:12:20 Removing intermediate container 0c5681cc8aff 22:12:20 ---> 445737c90b42 22:12:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:12:20 ---> Running in 9cd7389bdfaa 22:12:20 Removing intermediate container 9cd7389bdfaa 22:12:20 ---> e986b7ee8256 22:12:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:12:20 ---> Running in 5f7ecac43d90 22:12:20 Removing intermediate container 5f7ecac43d90 22:12:20 ---> aaa3e4600a6f 22:12:20 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:20 ---> Running in ed8681ab36cb 22:12:20 Still waiting to schedule task 22:12:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:12:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:21 OK: 265 MiB in 53 packages 22:12:21 Removing intermediate container ed8681ab36cb 22:12:21 ---> 320e692ed868 22:12:21 Step 7/12 : WORKDIR /app 22:12:21 ---> Running in d88419e4ad90 22:12:21 Removing intermediate container d88419e4ad90 22:12:21 ---> a25438182834 22:12:21 Step 8/12 : COPY go.mod vendor* ./ 22:12:21 ---> a1f51b92d19a 22:12:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:21 ---> Running in 7a88e08c485b 22:13:29 Removing intermediate container 7a88e08c485b 22:13:29 ---> ef7b095cbd81 22:13:29 Step 10/12 : COPY . . 22:13:29 ---> 7e63c1a2b98b 22:13:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:29 ---> Running in 9a8d7d789c1e 22:13:29 Removing intermediate container 9a8d7d789c1e 22:13:29 ---> cf4c7597c787 22:13:29 Step 12/12 : RUN $MAKE 22:13:29 ---> Running in 11de48caab6d 22:13:29 noop 22:13:29 Removing intermediate container 11de48caab6d 22:13:29 ---> a2fe3afd79d2 22:13:29 Successfully built a2fe3afd79d2 22:13:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:29 + docker inspect -f . ci-base-image-x86_64 22:13:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:30 prd-ubuntu20.04-docker-8c-8g-2919 does not seem to be running inside a container 22:13:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 ******** ci-base-image-x86_64 cat 22:13:30 $ docker top 8cd6ae72f493d980c2597e9043154b83bc577d519457ece74a7e7845e59b6cdc -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:30 + go version 22:13:30 go version go1.20.6 linux/amd64 [Pipeline] } 22:13:30 $ docker stop --time=1 8cd6ae72f493d980c2597e9043154b83bc577d519457ece74a7e7845e59b6cdc 22:13:32 $ docker rm -f --volumes 8cd6ae72f493d980c2597e9043154b83bc577d519457ece74a7e7845e59b6cdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:32 + docker inspect -f . ci-base-image-x86_64 22:13:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:33 prd-ubuntu20.04-docker-8c-8g-2919 does not seem to be running inside a container 22:13:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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 ******** ci-base-image-x86_64 cat 22:13:33 $ docker top 5818d92fd43a92c9b40bfbddcab390f814cbf87649bc349ffdef266681ee6167 -eo pid,comm [Pipeline] { [Pipeline] sh 22:13:33 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] fileExists [Pipeline] sh 22:13:34 + make test 22:13:34 go test -race -coverprofile=coverage.out ./... 22:13:56 # github.com/edgexfoundry/app-record-replay/internal/controller [github.com/edgexfoundry/app-record-replay/internal/controller.test] 22:13:56 internal/controller/controller_test.go:24:2: "fmt" imported and not used 22:13:56 ? github.com/edgexfoundry/app-record-replay [no test files] 22:13:56 ok github.com/edgexfoundry/app-record-replay/internal/app 0.077s coverage: 88.0% of statements 22:13:56 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:13:56 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 22:13:56 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:13:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2920 in /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] { [Pipeline] ws 22:13:56 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 22:13:56 Selected Git installation does not exist. Using Default 22:13:56 The recommended git tool is: NONE 22:14:01 using credential edgex-jenkins-ssh 22:14:01 Cloning the remote Git repository 22:14:02 ok github.com/edgexfoundry/app-record-replay/internal/application 8.589s coverage: 97.5% of statements 22:14:02 FAIL github.com/edgexfoundry/app-record-replay/internal/controller [build failed] 22:14:02 FAIL 22:14:02 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 22:14:02 $ docker stop --time=1 5818d92fd43a92c9b40bfbddcab390f814cbf87649bc349ffdef266681ee6167 22:14:01 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 22:14:02 > git init /w/workspace/app-record-replay/1 # timeout=10 22:14:02 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:14:02 > git --version # timeout=10 22:14:02 > git --version # 'git version 2.25.1' 22:14:02 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:03 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:14:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:14:03 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 22:14:03 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 22:14:03 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:14:04 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc 22:14:04 Merge succeeded, producing 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc 22:14:04 Checking out Revision 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc (PR-56) 22:14:04 > git config core.sparsecheckout # timeout=10 22:14:04 > git checkout -f 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc # timeout=10 22:14:04 > git remote # timeout=10 22:14:04 > git config --get remote.origin.url # timeout=10 22:14:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:14:04 > git merge 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 22:14:04 > git rev-parse HEAD^{commit} # timeout=10 22:14:04 > git config core.sparsecheckout # timeout=10 22:14:04 > git checkout -f 0f9d7c1a190fbffc4ae4f0ad993f5846eb3c82fc # timeout=10 22:14:06 $ docker rm -f --volumes 5818d92fd43a92c9b40bfbddcab390f814cbf87649bc349ffdef266681ee6167 [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 22:14:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:07 22:14:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:07 latest: Pulling from edgex-lftools-log-publisher 22:14:07 5eb5b503b376: Pulling fs layer 22:14:07 5c69ac0246d0: Pulling fs layer 22:14:07 ec43610c2a17: Pulling fs layer 22:14:07 3a2ae6a8a46f: Pulling fs layer 22:14:07 33b1e0a273af: Pulling fs layer 22:14:07 5d3b04190fa2: Pulling fs layer 22:14:07 2f39f015ded8: Pulling fs layer 22:14:07 3a2ae6a8a46f: Waiting 22:14:07 5d3b04190fa2: Waiting 22:14:07 33b1e0a273af: Waiting 22:14:07 2f39f015ded8: Waiting 22:14:07 5c69ac0246d0: Verifying Checksum 22:14:07 5c69ac0246d0: Download complete 22:14:07 3a2ae6a8a46f: Verifying Checksum 22:14:07 3a2ae6a8a46f: Download complete 22:14:07 33b1e0a273af: Verifying Checksum 22:14:07 33b1e0a273af: Download complete 22:14:08 5d3b04190fa2: Verifying Checksum 22:14:08 5d3b04190fa2: Download complete 22:14:08 ec43610c2a17: Verifying Checksum 22:14:08 ec43610c2a17: Download complete 22:14:08 5eb5b503b376: Download complete 22:14:08 Commit message: "feat: Implement Upload (Import) Endpoint" 22:14:08 > git --version # timeout=10 22:14:08 > git --version # 'git version 2.25.1' 22:14:08 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 22:14:08 2f39f015ded8: Download complete 22:14:08 22:14:08 GitHub has been notified of this commit’s build result 22:14:08 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 22:14:09 5eb5b503b376: Pull complete 22:14:09 5c69ac0246d0: Pull complete [Pipeline] sh 22:14:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:14:09 % Total % Received % Xferd Average Speed Time Time Time Current 22:14:09 Dload Upload Total Spent Left Speed 22:14:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 22:14:09 ec43610c2a17: Pull complete 22:14:09 3a2ae6a8a46f: Pull complete 22:14:10 33b1e0a273af: Pull complete 22:14:10 5d3b04190fa2: Pull complete [Pipeline] sh 22:14:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:14:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:14:10 + sudo tee /etc/docker/daemon.new 22:14:10 { 22:14:10 "registry-mirrors": [ 22:14:10 "https://nexus3.edgexfoundry.org:10001" 22:14:10 ], 22:14:10 "bip": "10.250.0.254/24", 22:14:10 "hosts": [ 22:14:10 "tcp://0.0.0.0:5555", 22:14:10 "unix:///var/run/docker.sock" 22:14:10 ], 22:14:10 "mtu": 1458, 22:14:10 "selinux-enabled": true, 22:14:10 "seccomp-profile": "/etc/docker/seccomp.json" 22:14:10 } [Pipeline] sh 22:14:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:14:11 + sudo service docker restart 22:14:14 2f39f015ded8: Pull complete 22:14:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:14:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:14 prd-ubuntu20.04-docker-8c-8g-2919 does not seem to be running inside a container 22:14:14 $ 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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:14:18 $ docker top 23f8598e914479819a87260d9ec62fe5001bc082249fb46747393f9c3fee2a7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:18 ---> job-cost.sh 22:14:18 lf-activate-venv: SKIPPING 22:14:18 INFO: No Stack... 22:14:19 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:19 INFO: Archiving Costs [Pipeline] sh 22:14:19 + cat /w/workspace/xfoundry_app-record-replay_PR-56/archives/cost.csv 22:14:19 + cut -d, -f6 [Pipeline] lock 22:14:19 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-1-stack-cost] 22:14:19 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-1-stack-cost] did not exist. Created. 22:14:19 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:20 + echo total: 0.2199999988079071 [Pipeline] stash 22:14:20 Stashed 1 file(s) [Pipeline] } 22:14:20 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:20 $ docker stop --time=1 23f8598e914479819a87260d9ec62fe5001bc082249fb46747393f9c3fee2a7c 22:14:21 $ docker rm -f --volumes 23f8598e914479819a87260d9ec62fe5001bc082249fb46747393f9c3fee2a7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:14:21 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:29 provisioning config files... 22:14:29 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config14676231618249379267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:30 ---> docker-login.sh 22:14:30 nexus3.edgexfoundry.org:10001 22:14:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:30 Configure a credential helper to remove this warning. See 22:14:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:30 22:14:30 Login Succeeded 22:14:30 nexus3.edgexfoundry.org:10002 22:14:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:30 Configure a credential helper to remove this warning. See 22:14:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:30 22:14:30 Login Succeeded 22:14:31 nexus3.edgexfoundry.org:10003 22:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:31 Configure a credential helper to remove this warning. See 22:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:31 22:14:31 Login Succeeded 22:14:31 nexus3.edgexfoundry.org:10004 22:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:31 Configure a credential helper to remove this warning. See 22:14:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:31 22:14:31 Login Succeeded 22:14:31 docker.io 22:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:32 Configure a credential helper to remove this warning. See 22:14:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:32 22:14:32 Login Succeeded 22:14:32 ---> docker-login.sh ends [Pipeline] } 22:14:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:32 ========================================================= 22:14:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:14:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:14:33 Sending build context to Docker daemon 203.3kB 22:14:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:14:33 Step 2/12 : FROM ${BASE} AS builder 22:14:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:33 edb6bdbacee9: Pulling fs layer 22:14:33 5f9638ab2659: Pulling fs layer 22:14:33 8d51d6327a98: Pulling fs layer 22:14:33 8b374f2dd631: Pulling fs layer 22:14:33 ec14aa9079de: Pulling fs layer 22:14:33 2f466654f4bb: Pulling fs layer 22:14:33 554e91adad29: Pulling fs layer 22:14:33 8b374f2dd631: Waiting 22:14:33 ec14aa9079de: Waiting 22:14:33 2f466654f4bb: Waiting 22:14:33 554e91adad29: Waiting 22:14:33 5f9638ab2659: Verifying Checksum 22:14:33 5f9638ab2659: Download complete 22:14:33 8b374f2dd631: Verifying Checksum 22:14:33 8b374f2dd631: Download complete 22:14:33 ec14aa9079de: Verifying Checksum 22:14:33 ec14aa9079de: Download complete 22:14:33 edb6bdbacee9: Download complete 22:14:34 edb6bdbacee9: Pull complete 22:14:34 554e91adad29: Verifying Checksum 22:14:34 554e91adad29: Download complete 22:14:35 5f9638ab2659: Pull complete 22:14:36 8d51d6327a98: Verifying Checksum 22:14:36 8d51d6327a98: Download complete 22:14:36 2f466654f4bb: Verifying Checksum 22:14:36 2f466654f4bb: Download complete 22:14:48 8d51d6327a98: Pull complete 22:14:48 8b374f2dd631: Pull complete 22:14:48 ec14aa9079de: Pull complete 22:14:55 2f466654f4bb: Pull complete 22:14:57 554e91adad29: Pull complete 22:14:57 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 22:14:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:14:57 ---> 1e15ea492957 22:14:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:14:58 ---> Running in 5eeb737126ba 22:14:58 Removing intermediate container 5eeb737126ba 22:14:58 ---> ec8684881df0 22:14:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:14:58 ---> Running in cef3ac69e902 22:14:59 Removing intermediate container cef3ac69e902 22:14:59 ---> 78532bd1f4a6 22:14:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:14:59 ---> Running in 33511cf90bbc 22:14:59 Removing intermediate container 33511cf90bbc 22:14:59 ---> deea7d52cf25 22:14:59 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:59 ---> Running in 22c42df65926 22:15:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:15:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:15:02 OK: 263 MiB in 53 packages 22:15:03 Removing intermediate container 22c42df65926 22:15:03 ---> 8dc584065151 22:15:03 Step 7/12 : WORKDIR /app 22:15:03 ---> Running in eb7826c79da4 22:15:03 Removing intermediate container eb7826c79da4 22:15:03 ---> b85724c17d89 22:15:03 Step 8/12 : COPY go.mod vendor* ./ 22:15:03 ---> bae99731cd89 22:15:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:03 ---> Running in 7952dbf40886 22:16:11 Removing intermediate container 7952dbf40886 22:16:11 ---> e52a84e38c41 22:16:11 Step 10/12 : COPY . . 22:16:11 ---> c5e720bb3723 22:16:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:16:11 ---> Running in aa88bcde5c9a 22:16:11 Removing intermediate container aa88bcde5c9a 22:16:11 ---> 366e844f26d4 22:16:11 Step 12/12 : RUN $MAKE 22:16:11 ---> Running in 088b240eb617 22:16:11 noop 22:16:11 Removing intermediate container 088b240eb617 22:16:11 ---> 181874bbda4a 22:16:11 Successfully built 181874bbda4a 22:16:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:12 + docker inspect -f . ci-base-image-arm64 22:16:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:12 prd-ubuntu20.04-docker-arm64-4c-16g-2920 does not seem to be running inside a container 22:16:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@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 ******** ci-base-image-arm64 cat 22:16:13 $ docker top c9f5a689a173046b9a3eaaf0a1816198f7673c617a982c929bc94f364271a4ad -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:14 + go version 22:16:14 go version go1.20.6 linux/arm64 [Pipeline] } 22:16:14 $ docker stop --time=1 c9f5a689a173046b9a3eaaf0a1816198f7673c617a982c929bc94f364271a4ad 22:16:16 $ docker rm -f --volumes c9f5a689a173046b9a3eaaf0a1816198f7673c617a982c929bc94f364271a4ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:17 + docker inspect -f . ci-base-image-arm64 22:16:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:17 prd-ubuntu20.04-docker-arm64-4c-16g-2920 does not seem to be running inside a container 22:16:17 $ 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/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@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 ******** ci-base-image-arm64 cat 22:16:18 $ docker top 8c9018888b4b5b861ee360958f71ee7796a92ab964cc9bdad2fa924b394dd50b -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:19 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 22:16:19 + make test 22:16:19 go test -race -coverprofile=coverage.out ./... 22:18:56 ? github.com/edgexfoundry/app-record-replay [no test files] 22:18:57 # github.com/edgexfoundry/app-record-replay/internal/controller [github.com/edgexfoundry/app-record-replay/internal/controller.test] 22:18:57 internal/controller/controller_test.go:24:2: "fmt" imported and not used 22:19:05 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 22:19:05 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 22:19:05 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 22:19:05 ok github.com/edgexfoundry/app-record-replay/internal/app 0.269s coverage: 88.0% of statements 22:19:13 ok github.com/edgexfoundry/app-record-replay/internal/application 8.848s coverage: 97.5% of statements 22:19:13 FAIL github.com/edgexfoundry/app-record-replay/internal/controller [build failed] 22:19:13 FAIL 22:19:13 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 22:19:13 $ docker stop --time=1 8c9018888b4b5b861ee360958f71ee7796a92ab964cc9bdad2fa924b394dd50b 22:19:15 $ docker rm -f --volumes 8c9018888b4b5b861ee360958f71ee7796a92ab964cc9bdad2fa924b394dd50b [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 22:19:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:17 22:19:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:18 arm64: Pulling from edgex-lftools-log-publisher 22:19:18 8998bd30e6a1: Pulling fs layer 22:19:18 04944245beec: Pulling fs layer 22:19:18 699f458cf7ca: Pulling fs layer 22:19:18 765212b225bb: Pulling fs layer 22:19:18 f23df028b6ca: Pulling fs layer 22:19:18 d65c8cfc05b1: Pulling fs layer 22:19:18 2437ff75d9bd: Pulling fs layer 22:19:18 f23df028b6ca: Waiting 22:19:18 d65c8cfc05b1: Waiting 22:19:18 2437ff75d9bd: Waiting 22:19:18 765212b225bb: Waiting 22:19:18 04944245beec: Verifying Checksum 22:19:18 04944245beec: Download complete 22:19:18 765212b225bb: Download complete 22:19:18 f23df028b6ca: Verifying Checksum 22:19:18 f23df028b6ca: Download complete 22:19:18 d65c8cfc05b1: Verifying Checksum 22:19:18 d65c8cfc05b1: Download complete 22:19:18 699f458cf7ca: Verifying Checksum 22:19:18 699f458cf7ca: Download complete 22:19:19 8998bd30e6a1: Verifying Checksum 22:19:19 8998bd30e6a1: Download complete 22:19:22 2437ff75d9bd: Verifying Checksum 22:19:22 2437ff75d9bd: Download complete 22:19:25 8998bd30e6a1: Pull complete 22:19:26 04944245beec: Pull complete 22:19:27 699f458cf7ca: Pull complete 22:19:27 765212b225bb: Pull complete 22:19:28 f23df028b6ca: Pull complete 22:19:28 d65c8cfc05b1: Pull complete 22:19:43 2437ff75d9bd: Pull complete 22:19:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:19:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:44 prd-ubuntu20.04-docker-arm64-4c-16g-2920 does not seem to be running inside a container 22:19:44 $ 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/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:19:46 $ docker top db68611fac165ab3e1908c95221f4cd3eedfbbee79fffeeb0d654f1a83c8d06b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:19:47 ---> job-cost.sh 22:19:47 lf-activate-venv: SKIPPING 22:19:47 INFO: No Stack... 22:19:47 INFO: Retrieving Pricing Info for: v3-standard-4 22:19:48 INFO: Archiving Costs [Pipeline] sh 22:19:49 + cut -d, -f6 22:19:49 + cat /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock 22:19:49 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-1-stack-cost] 22:19:49 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-1-stack-cost] did not exist. Created. 22:19:49 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:19:49 /w/workspace/app-record-replay/1@tmp/durable-b8ee2d27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:19:50 + echo total: 0.10999999940395355 [Pipeline] stash 22:19:50 Warning: overwriting stash ‘stack-cost’ 22:19:50 Stashed 1 file(s) [Pipeline] } 22:19:50 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:19:50 $ docker stop --time=1 db68611fac165ab3e1908c95221f4cd3eedfbbee79fffeeb0d654f1a83c8d06b 22:19:52 $ docker rm -f --volumes db68611fac165ab3e1908c95221f4cd3eedfbbee79fffeeb0d654f1a83c8d06b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:19:52 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 22:19:54 + [ -d /w/workspace/xfoundry_app-record-replay_PR-56/archives ] 22:19:54 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 22:19:54 total 16 22:19:54 drwxr-xr-x 3 root root 4096 Aug 4 22:14 . 22:19:54 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 22:14 .. 22:19:54 drwxr-xr-x 2 root root 4096 Aug 4 22:14 cost 22:19:54 -rw-r--r-- 1 root root 88 Aug 4 22:14 cost.csv 22:19:54 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-56/archives 22:19:54 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 22:19:54 total 16 22:19:54 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 22:14 . 22:19:54 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 22:14 .. 22:19:54 drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 22:14 cost 22:19:54 -rw-r--r-- 1 jenkins jenkins 88 Aug 4 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:19:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:19:56 ---> package-listing.sh 22:19:56 ++ facter osfamily 22:19:56 ++ tr '[:upper:]' '[:lower:]' 22:19:56 + OS_FAMILY=debian 22:19:56 + workspace=/w/workspace/xfoundry_app-record-replay_PR-56 22:19:56 + START_PACKAGES=/tmp/packages_start.txt 22:19:56 + END_PACKAGES=/tmp/packages_end.txt 22:19:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:19:56 + PACKAGES=/tmp/packages_start.txt 22:19:56 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 22:19:56 + PACKAGES=/tmp/packages_end.txt 22:19:56 + case "${OS_FAMILY}" in 22:19:56 + dpkg -l 22:19:56 + grep '^ii' 22:19:56 + '[' -f /tmp/packages_start.txt ']' 22:19:56 + '[' -f /tmp/packages_end.txt ']' 22:19:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:19:56 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 22:19:56 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-56/archives/ 22:19:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-56/archives/ [Pipeline] echo 22:19:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:19:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:19:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:57 prd-ubuntu20.04-docker-8c-8g-2919 does not seem to be running inside a container 22:19:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-56/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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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-lftools-log-publisher:latest cat 22:19:57 $ docker top b017bc71803664962b1b8ddb814cd7238a7429ea9bdcb5415ffd1be496a1f93d -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:58 + touch /tmp/pre-build-complete [Pipeline] sh 22:19:58 + mkdir -p /var/log/sysstat [Pipeline] sh 22:19:58 + ls /var/log/sa-host 22:19:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:19:59 provisioning config files... 22:19:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config6732390039521351360tmp [Pipeline] { [Pipeline] echo 22:19:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:19:59 ---> create-netrc.sh [Pipeline] } 22:19:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:19:59 ---> python-tools-install.sh [Pipeline] echo 22:19:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:20:00 ---> sudo-logs.sh 22:20:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:20:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:20:00 ---> job-cost.sh 22:20:00 lf-activate-venv: SKIPPING 22:20:00 DEBUG: total: 0.2199999988079071 22:20:00 INFO: Retrieving Stack Cost... 22:20:00 INFO: Retrieving Pricing Info for: v3-standard-8 22:20:01 INFO: Archiving Costs [Pipeline] echo 22:20:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:20:01 ---> logs-deploy.sh 22:20:01 lf-activate-venv: SKIPPING 22:20:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-56/1 22:20:01 INFO: archiving workspace using pattern(s): 22:20:02 Archives upload complete. 22:20:02 INFO: archiving logs to Nexus