Pull request #24 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-record-replay Loading trusted files from base branch main at 047236f56ce2e90b3717e3891727cd37ccf4463d rather than 17c381e7495f8e1ef9bc71b65c3fbb9b14862420 Obtained Jenkinsfile from 047236f56ce2e90b3717e3891727cd37ccf4463d 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-ssh13410968433853599584.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-ssh3618463104205351483.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-24/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-24/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14739864330860759965.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-ssh12226874636469073082.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-24/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-24/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17127603679658767959.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-55 in /w/workspace/xfoundry_app-record-replay_PR-24 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/xfoundry_app-record-replay_PR-24 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 047236f56ce2e90b3717e3891727cd37ccf4463d into PR head commit 17c381e7495f8e1ef9bc71b65c3fbb9b14862420 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17c381e7495f8e1ef9bc71b65c3fbb9b14862420 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 0750ca1de59d9cb1ab4363b0b083f9ab0827c025 Checking out Revision 0750ca1de59d9cb1ab4363b0b083f9ab0827c025 (PR-24) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 047236f56ce2e90b3717e3891727cd37ccf4463d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0750ca1de59d9cb1ab4363b0b083f9ab0827c025 # timeout=10 Commit message: "Merge commit '047236f56ce2e90b3717e3891727cd37ccf4463d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:36:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:36:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:36:46 ========================================================= 18:36:46 EdgeX Global Pipelines Version Info 18:36:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0511f5963bf52e11ff196e3fc6f607ac49224b2b # timeout=10 18:36:47 ------------------- 18:36:47 stable info: 18:36:47 ------------------- 18:36:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:36:47 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:36:47 Message: update stable to v1.0.250 18:36:48 ------------------- 18:36:48 experimental info: 18:36:48 ------------------- 18:36:48 Commited By: **** collab-it+edgex@linuxfoundation.org 18:36:48 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:36:48 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-24 [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-24 [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-24 [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0750ca1de59d9cb1ab4363b0b083f9ab0827c025 [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0750ca1 [Pipeline] echo 18:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:36:48 provisioning config files... 18:36:48 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config12054986175302172961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:36:49 ---> docker-login.sh 18:36:49 nexus3.edgexfoundry.org:10001 18:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:49 Configure a credential helper to remove this warning. See 18:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:49 18:36:49 Login Succeeded 18:36:49 nexus3.edgexfoundry.org:10002 18:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:49 Configure a credential helper to remove this warning. See 18:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:49 18:36:49 Login Succeeded 18:36:49 nexus3.edgexfoundry.org:10003 18:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:49 Configure a credential helper to remove this warning. See 18:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:49 18:36:49 Login Succeeded 18:36:49 nexus3.edgexfoundry.org:10004 18:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:50 Configure a credential helper to remove this warning. See 18:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:50 18:36:50 Login Succeeded 18:36:50 docker.io 18:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:50 Configure a credential helper to remove this warning. See 18:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:50 18:36:50 Login Succeeded 18:36:50 ---> docker-login.sh ends [Pipeline] } 18:36:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:36:50 + git rev-list -1 --merges 0750ca1de59d9cb1ab4363b0b083f9ab0827c025~1..0750ca1de59d9cb1ab4363b0b083f9ab0827c025 [Pipeline] echo 18:36:50 -----------> git rev-list -1 --merges 0750ca1de59d9cb1ab4363b0b083f9ab0827c025~1..0750ca1de59d9cb1ab4363b0b083f9ab0827c025 0750ca1de59d9cb1ab4363b0b083f9ab0827c025 18:36:50 0750ca1de59d9cb1ab4363b0b083f9ab0827c025 [false] [Pipeline] sh 18:36:51 + git log --format=format:%s -1 0750ca1de59d9cb1ab4363b0b083f9ab0827c025 [Pipeline] echo 18:36:51 ========================================================= 18:36:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:36:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:36:51 + git log --format=format:%s -1 0750ca1de59d9cb1ab4363b0b083f9ab0827c025 [Pipeline] echo 18:36:51 [semverPrep] GIT_COMMIT: 0750ca1de59d9cb1ab4363b0b083f9ab0827c025, Commit Message: Merge commit '047236f56ce2e90b3717e3891727cd37ccf4463d' into HEAD [Pipeline] echo 18:36:51 [semverPrep] This is not a build commit. [Pipeline] sh 18:36:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:36:51 + grep -v github /etc/ssh/ssh_known_hosts 18:36:51 + [ -e /tmp/ssh_known_hosts ] 18:36:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:36:51 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 18:36:51 -a /etc/ssh/ssh_known_hosts 18:36:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:36:52 18:36:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:36:52 0.1.4: Pulling from edgex-devops/py-git-semver 18:36:52 b85a868b505f: Pulling fs layer 18:36:52 e2be974225ed: Pulling fs layer 18:36:52 339a4e72a1f5: Pulling fs layer 18:36:52 988bab9f4d93: Pulling fs layer 18:36:52 1469e6f7b9e6: Pulling fs layer 18:36:52 eaf3925da568: Pulling fs layer 18:36:52 988bab9f4d93: Waiting 18:36:52 1469e6f7b9e6: Waiting 18:36:52 bab4dde63d76: Pulling fs layer 18:36:52 eaf3925da568: Waiting 18:36:52 bde34c3a00c8: Pulling fs layer 18:36:52 b352a97aabf1: Pulling fs layer 18:36:52 b352a97aabf1: Waiting 18:36:52 4872d77fe225: Pulling fs layer 18:36:52 5851b861e8e6: Pulling fs layer 18:36:52 bab4dde63d76: Waiting 18:36:52 4872d77fe225: Waiting 18:36:52 e2be974225ed: Download complete 18:36:52 988bab9f4d93: Download complete 18:36:52 1469e6f7b9e6: Verifying Checksum 18:36:52 1469e6f7b9e6: Download complete 18:36:52 eaf3925da568: Download complete 18:36:52 339a4e72a1f5: Verifying Checksum 18:36:52 339a4e72a1f5: Download complete 18:36:52 bde34c3a00c8: Verifying Checksum 18:36:52 bde34c3a00c8: Download complete 18:36:52 b352a97aabf1: Download complete 18:36:52 4872d77fe225: Verifying Checksum 18:36:52 4872d77fe225: Download complete 18:36:52 5851b861e8e6: Verifying Checksum 18:36:52 5851b861e8e6: Download complete 18:36:52 b85a868b505f: Verifying Checksum 18:36:52 b85a868b505f: Download complete 18:36:53 bab4dde63d76: Verifying Checksum 18:36:53 bab4dde63d76: Download complete 18:36:54 b85a868b505f: Pull complete 18:36:54 e2be974225ed: Pull complete 18:36:54 339a4e72a1f5: Pull complete 18:36:54 988bab9f4d93: Pull complete 18:36:55 1469e6f7b9e6: Pull complete 18:36:55 eaf3925da568: Pull complete 18:36:57 bab4dde63d76: Pull complete 18:36:57 bde34c3a00c8: Pull complete 18:36:57 b352a97aabf1: Pull complete 18:36:57 4872d77fe225: Pull complete 18:36:57 5851b861e8e6: Pull complete 18:36:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:36:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:36:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:36:57 prd-ubuntu20.04-docker-8c-8g-55 does not seem to be running inside a container 18:36:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:36:59 $ docker top ddab0e5613a38fd169dcae32e43bef2833730d44db8594dca6a2c71941fe35b9 -eo pid,comm 18:36: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). 18:36:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:36:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:36:59 [ssh-agent] Looking for ssh-agent implementation... 18:36:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:36:59 $ docker exec ddab0e5613a38fd169dcae32e43bef2833730d44db8594dca6a2c71941fe35b9 ssh-agent 18:37:00 SSH_AUTH_SOCK=/tmp/ssh-0oUVOcD45uAv/agent.32 18:37:00 SSH_AGENT_PID=38 18:37:00 Running ssh-add (command line suppressed) 18:37:00 Identity added: /w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_14208145370698958859.key (/w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_14208145370698958859.key) 18:37:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:00 + git tag --points-at HEAD [Pipeline] } 18:37:00 $ docker exec --env ******** --env ******** ddab0e5613a38fd169dcae32e43bef2833730d44db8594dca6a2c71941fe35b9 ssh-agent -k 18:37:00 unset SSH_AUTH_SOCK; 18:37:00 unset SSH_AGENT_PID; 18:37:00 echo Agent pid 38 killed; 18:37:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:37:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:00 [ssh-agent] Looking for ssh-agent implementation... 18:37:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:00 $ docker exec ddab0e5613a38fd169dcae32e43bef2833730d44db8594dca6a2c71941fe35b9 ssh-agent 18:37:00 SSH_AUTH_SOCK=/tmp/ssh-uoA0tNNzyPje/agent.70 18:37:00 SSH_AGENT_PID=76 18:37:00 Running ssh-add (command line suppressed) 18:37:01 Identity added: /w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_1897792764884570871.key (/w/workspace/xfoundry_app-record-replay_PR-24@tmp/private_key_1897792764884570871.key) 18:37:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:01 + git semver init 18:37:01 2023-06-27 18:37:01,559 [run_init] DEBUG init version:0.0.0 force:False 18:37:01 2023-06-27 18:37:01,560 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-24/.semver 18:37:01 2023-06-27 18:37:01,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-24/.semver 18:37:01 2023-06-27 18:37:01,561 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-24/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24, universal_newlines=False, shell=None, istream=None) 18:37:02 2023-06-27 18:37:02,113 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-24/.git/info/exclude 18:37:02 2023-06-27 18:37:02,114 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 with force:False 18:37:02 2023-06-27 18:37:02,114 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 18:37:02 2023-06-27 18:37:02,118 [execute] INFO git cat-file --batch-check 18:37:02 2023-06-27 18:37:02,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24/.semver, universal_newlines=False, shell=None, istream=) 18:37:02 2023-06-27 18:37:02,124 [execute] INFO git cat-file --batch 18:37:02 2023-06-27 18:37:02,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-24/.semver, universal_newlines=False, shell=None, istream=) 18:37:02 2023-06-27 18:37:02,130 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-24/.semver/PR-24 18:37:02 0.0.0 [Pipeline] } 18:37:02 $ docker exec --env ******** --env ******** ddab0e5613a38fd169dcae32e43bef2833730d44db8594dca6a2c71941fe35b9 ssh-agent -k 18:37:02 unset SSH_AUTH_SOCK; 18:37:02 unset SSH_AGENT_PID; 18:37:02 echo Agent pid 76 killed; 18:37:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:37:02 + git semver [Pipeline] } 18:37:02 $ docker stop --time=1 ddab0e5613a38fd169dcae32e43bef2833730d44db8594dca6a2c71941fe35b9 18:37:04 $ docker rm -f --volumes ddab0e5613a38fd169dcae32e43bef2833730d44db8594dca6a2c71941fe35b9 [Pipeline] // withDockerContainer [Pipeline] sh 18:37:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:37:04 Stashed 1 file(s) [Pipeline] echo 18:37:04 [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 18:37:04 provisioning config files... 18:37:04 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config3793929104326067875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:05 ---> docker-login.sh 18:37:05 nexus3.edgexfoundry.org:10001 18:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:05 Configure a credential helper to remove this warning. See 18:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:05 18:37:05 Login Succeeded 18:37:05 nexus3.edgexfoundry.org:10002 18:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:05 Configure a credential helper to remove this warning. See 18:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:05 18:37:05 Login Succeeded 18:37:05 nexus3.edgexfoundry.org:10003 18:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:05 Configure a credential helper to remove this warning. See 18:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:05 18:37:05 Login Succeeded 18:37:05 nexus3.edgexfoundry.org:10004 18:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:05 Configure a credential helper to remove this warning. See 18:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:05 18:37:05 Login Succeeded 18:37:05 docker.io 18:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:06 Configure a credential helper to remove this warning. See 18:37:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:06 18:37:06 Login Succeeded 18:37:06 ---> docker-login.sh ends [Pipeline] } 18:37:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:37:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:06 ========================================================= 18:37:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:37:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:06 + 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 . 18:37:06 Sending build context to Docker daemon 263.7kB 18:37:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:37:06 Step 2/12 : FROM ${BASE} AS builder 18:37:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:37:06 f56be85fc22e: Pulling fs layer 18:37:06 85791d961cd3: Pulling fs layer 18:37:06 d694b5ae8c79: Pulling fs layer 18:37:06 9f32a84ed3da: Pulling fs layer 18:37:06 4d19c01a9841: Pulling fs layer 18:37:06 9325e15d5711: Pulling fs layer 18:37:06 556b6ee489ea: Pulling fs layer 18:37:06 c5a4b2cf53e6: Pulling fs layer 18:37:06 9f32a84ed3da: Waiting 18:37:06 4d19c01a9841: Waiting 18:37:06 9325e15d5711: Waiting 18:37:06 556b6ee489ea: Waiting 18:37:06 c5a4b2cf53e6: Waiting 18:37:06 85791d961cd3: Download complete 18:37:06 9f32a84ed3da: Verifying Checksum 18:37:06 9f32a84ed3da: Download complete 18:37:06 4d19c01a9841: Verifying Checksum 18:37:06 4d19c01a9841: Download complete 18:37:06 f56be85fc22e: Verifying Checksum 18:37:06 f56be85fc22e: Download complete 18:37:06 9325e15d5711: Verifying Checksum 18:37:06 9325e15d5711: Download complete 18:37:06 f56be85fc22e: Pull complete 18:37:06 85791d961cd3: Pull complete 18:37:06 c5a4b2cf53e6: Download complete 18:37:07 d694b5ae8c79: Verifying Checksum 18:37:07 d694b5ae8c79: Download complete 18:37:07 556b6ee489ea: Verifying Checksum 18:37:07 556b6ee489ea: Download complete 18:37:10 d694b5ae8c79: Pull complete 18:37:10 9f32a84ed3da: Pull complete 18:37:10 4d19c01a9841: Pull complete 18:37:10 9325e15d5711: Pull complete 18:37:13 556b6ee489ea: Pull complete 18:37:14 c5a4b2cf53e6: Pull complete 18:37:14 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:37:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:37:14 ---> c4be618373d6 18:37:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:37:17 ---> Running in b4af69f619d2 18:37:17 Removing intermediate container b4af69f619d2 18:37:17 ---> 800341ba32fd 18:37:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:37:17 ---> Running in d6e560e0d7b7 18:37:17 Removing intermediate container d6e560e0d7b7 18:37:17 ---> 2f92e02d72e2 18:37:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:37:17 ---> Running in cf4c930419a9 18:37:17 Removing intermediate container cf4c930419a9 18:37:17 ---> cb2cc89452e4 18:37:17 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:37:17 ---> Running in 64b51926b45a 18:37:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:37:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:37:18 OK: 265 MiB in 53 packages 18:37:18 Removing intermediate container 64b51926b45a 18:37:18 ---> 667ae45fc398 18:37:18 Step 7/12 : WORKDIR /app 18:37:18 ---> Running in a24441202799 18:37:18 Removing intermediate container a24441202799 18:37:18 ---> 050aa875596f 18:37:18 Step 8/12 : COPY go.mod vendor* ./ 18:37:18 ---> f1d9a5eeab7c 18:37:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:37:18 ---> Running in c3f793064f58 18:37:19 Still waiting to schedule task 18:37:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:37:57 Removing intermediate container c3f793064f58 18:37:57 ---> 330ec0231d35 18:37:57 Step 10/12 : COPY . . 18:37:57 ---> 82f0d0a5cf9d 18:37:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:37:57 ---> Running in 34fb6f8dd43f 18:37:57 Removing intermediate container 34fb6f8dd43f 18:37:57 ---> 99fd81b8e430 18:37:57 Step 12/12 : RUN $MAKE 18:37:57 ---> Running in c24168fcbfd0 18:37:57 noop 18:37:57 Removing intermediate container c24168fcbfd0 18:37:57 ---> 4ff38bebdfc9 18:37:57 Successfully built 4ff38bebdfc9 18:37:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:57 + docker inspect -f . ci-base-image-x86_64 18:37:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:57 prd-ubuntu20.04-docker-8c-8g-55 does not seem to be running inside a container 18:37:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:37:58 $ docker top 6c687524d1e895a8f56bda7cfda1c9bb64b8ee56fd59977aad6a1a224fd4c204 -eo pid,comm [Pipeline] { [Pipeline] sh 18:37:58 + go version 18:37:58 go version go1.20.2 linux/amd64 [Pipeline] } 18:37:58 $ docker stop --time=1 6c687524d1e895a8f56bda7cfda1c9bb64b8ee56fd59977aad6a1a224fd4c204 18:37:59 $ docker rm -f --volumes 6c687524d1e895a8f56bda7cfda1c9bb64b8ee56fd59977aad6a1a224fd4c204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:00 + docker inspect -f . ci-base-image-x86_64 18:38:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:00 prd-ubuntu20.04-docker-8c-8g-55 does not seem to be running inside a container 18:38:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:38:00 $ docker top 2096a29c5a4c90025e0c925b92ddb5f18120a25464cb130218de113102162c14 -eo pid,comm [Pipeline] { [Pipeline] sh 18:38:01 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-24 [Pipeline] fileExists [Pipeline] sh 18:38:01 + make test 18:38:01 go test -race -coverprofile=coverage.out ./... 18:38:19 ? github.com/edgexfoundry/app-record-replay [no test files] 18:38:19 ok github.com/edgexfoundry/app-record-replay/internal/app 0.051s coverage: 90.0% of statements 18:38:19 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 18:38:19 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 18:38:19 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 18:38:19 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.074s coverage: 85.1% of statements 18:38:19 ok github.com/edgexfoundry/app-record-replay/internal/data 0.045s coverage: 27.3% of statements 18:38:41 go vet ./... 18:38:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:38:43 ./internal/app/app.go 18:38:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:38:43 make: *** [Makefile:74: test] Error 1 [Pipeline] } 18:38:43 $ docker stop --time=1 2096a29c5a4c90025e0c925b92ddb5f18120a25464cb130218de113102162c14 18:38:46 $ docker rm -f --volumes 2096a29c5a4c90025e0c925b92ddb5f18120a25464cb130218de113102162c14 [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 18:38:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:38:46 18:38:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:38:47 latest: Pulling from edgex-lftools-log-publisher 18:38:47 5eb5b503b376: Pulling fs layer 18:38:47 5c69ac0246d0: Pulling fs layer 18:38:47 ec43610c2a17: Pulling fs layer 18:38:47 3a2ae6a8a46f: Pulling fs layer 18:38:47 33b1e0a273af: Pulling fs layer 18:38:47 5d3b04190fa2: Pulling fs layer 18:38:47 2f39f015ded8: Pulling fs layer 18:38:47 3a2ae6a8a46f: Waiting 18:38:47 2f39f015ded8: Waiting 18:38:47 5d3b04190fa2: Waiting 18:38:47 33b1e0a273af: Waiting 18:38:47 5c69ac0246d0: Verifying Checksum 18:38:47 5c69ac0246d0: Download complete 18:38:47 3a2ae6a8a46f: Verifying Checksum 18:38:47 3a2ae6a8a46f: Download complete 18:38:47 33b1e0a273af: Verifying Checksum 18:38:47 33b1e0a273af: Download complete 18:38:47 5d3b04190fa2: Verifying Checksum 18:38:47 5d3b04190fa2: Download complete 18:38:47 ec43610c2a17: Verifying Checksum 18:38:47 ec43610c2a17: Download complete 18:38:47 5eb5b503b376: Verifying Checksum 18:38:47 5eb5b503b376: Download complete 18:38:48 2f39f015ded8: Download complete 18:38:48 5eb5b503b376: Pull complete 18:38:48 5c69ac0246d0: Pull complete 18:38:49 ec43610c2a17: Pull complete 18:38:49 3a2ae6a8a46f: Pull complete 18:38:49 33b1e0a273af: Pull complete 18:38:49 5d3b04190fa2: Pull complete 18:38:53 2f39f015ded8: Pull complete 18:38:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:38:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:38:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:53 prd-ubuntu20.04-docker-8c-8g-55 does not seem to be running inside a container 18:38:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:38:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-56 in /w/workspace/xfoundry_app-record-replay_PR-24 18:38:56 $ docker top 3c7ab92d5467177e840870c43285e948682f18631978fca63eee1d9281c3aceb -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 18:38:56 Running in /w/workspace/app-record-replay/8 [Pipeline] { [Pipeline] checkout 18:38:56 Selected Git installation does not exist. Using Default 18:38:56 The recommended git tool is: NONE 18:38:57 ---> job-cost.sh 18:38:57 lf-activate-venv: SKIPPING 18:38:57 INFO: No Stack... 18:38:57 INFO: Retrieving Pricing Info for: v3-standard-8 18:38:57 INFO: Archiving Costs [Pipeline] sh 18:38:58 + cat /w/workspace/xfoundry_app-record-replay_PR-24/archives/cost.csv 18:38:58 + cut -d, -f6 [Pipeline] lock 18:38:58 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-24-8-stack-cost] 18:38:58 Resource [jenkins-edgexfoundry-app-record-replay-PR-24-8-stack-cost] did not exist. Created. 18:38:58 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-24-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:38:58 + echo total: 0.2199999988079071 [Pipeline] stash 18:38:58 Stashed 1 file(s) [Pipeline] } 18:38:58 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-24-8-stack-cost] [Pipeline] // lock [Pipeline] } 18:38:58 $ docker stop --time=1 3c7ab92d5467177e840870c43285e948682f18631978fca63eee1d9281c3aceb 18:38:59 $ docker rm -f --volumes 3c7ab92d5467177e840870c43285e948682f18631978fca63eee1d9281c3aceb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:38:59 Failed in branch amd64 18:39:03 using credential edgex-jenkins-ssh 18:39:03 Cloning the remote Git repository 18:39:03 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 18:39:03 > git init /w/workspace/app-record-replay/8 # timeout=10 18:39:04 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 18:39:04 > git --version # timeout=10 18:39:04 > git --version # 'git version 2.25.1' 18:39:04 using GIT_SSH to set credentials SSH Credentials for GitHub 18:39:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:39:04 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 18:39:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:39:06 Merging remotes/origin/main commit 047236f56ce2e90b3717e3891727cd37ccf4463d into PR head commit 17c381e7495f8e1ef9bc71b65c3fbb9b14862420 18:39:05 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 18:39:05 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 18:39:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:39:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/24/head:refs/remotes/origin/PR-24 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:39:06 > git config core.sparsecheckout # timeout=10 18:39:06 > git checkout -f 17c381e7495f8e1ef9bc71b65c3fbb9b14862420 # timeout=10 18:39:06 Merge succeeded, producing 1f298652509700724c469dce89099a0ffd204a3e 18:39:06 Checking out Revision 1f298652509700724c469dce89099a0ffd204a3e (PR-24) 18:39:06 > git remote # timeout=10 18:39:06 > git config --get remote.origin.url # timeout=10 18:39:06 using GIT_SSH to set credentials SSH Credentials for GitHub 18:39:06 > git merge 047236f56ce2e90b3717e3891727cd37ccf4463d # timeout=10 18:39:06 > git rev-parse HEAD^{commit} # timeout=10 18:39:06 > git config core.sparsecheckout # timeout=10 18:39:06 > git checkout -f 1f298652509700724c469dce89099a0ffd204a3e # timeout=10 18:39:10 Commit message: "Merge commit '047236f56ce2e90b3717e3891727cd37ccf4463d' into HEAD" 18:39:10 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:10 > git rev-list --no-walk 0511f5963bf52e11ff196e3fc6f607ac49224b2b # timeout=10 18:39:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:39:11 % Total % Received % Xferd Average Speed Time Time Time Current 18:39:11 Dload Upload Total Spent Left Speed 18:39:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12726 100 12726 0 0 88375 0 --:--:-- --:--:-- --:--:-- 88375 [Pipeline] sh 18:39:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:39:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:39:12 + sudo tee /etc/docker/daemon.new 18:39:12 { 18:39:12 "registry-mirrors": [ 18:39:12 "https://nexus3.edgexfoundry.org:10001" 18:39:12 ], 18:39:12 "bip": "10.250.0.254/24", 18:39:12 "hosts": [ 18:39:12 "tcp://0.0.0.0:5555", 18:39:12 "unix:///var/run/docker.sock" 18:39:12 ], 18:39:12 "mtu": 1458, 18:39:12 "selinux-enabled": true, 18:39:12 "seccomp-profile": "/etc/docker/seccomp.json" 18:39:12 } [Pipeline] sh 18:39:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:39:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:39:31 provisioning config files... 18:39:31 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/8@tmp/config1447351841505398336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:31 ---> docker-login.sh 18:39:31 nexus3.edgexfoundry.org:10001 18:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:32 Configure a credential helper to remove this warning. See 18:39:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:32 18:39:32 Login Succeeded 18:39:32 nexus3.edgexfoundry.org:10002 18:39:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:32 Configure a credential helper to remove this warning. See 18:39:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:32 18:39:32 Login Succeeded 18:39:32 nexus3.edgexfoundry.org:10003 18:39:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:32 Configure a credential helper to remove this warning. See 18:39:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:32 18:39:32 Login Succeeded 18:39:32 nexus3.edgexfoundry.org:10004 18:39:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:33 Configure a credential helper to remove this warning. See 18:39:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:33 18:39:33 Login Succeeded 18:39:33 docker.io 18:39:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:33 Configure a credential helper to remove this warning. See 18:39:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:33 18:39:33 Login Succeeded 18:39:33 ---> docker-login.sh ends [Pipeline] } 18:39:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:39:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:39:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:39:34 ========================================================= 18:39:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:39:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:34 + 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 . 18:39:34 Sending build context to Docker daemon 137.7kB 18:39:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:39:34 Step 2/12 : FROM ${BASE} AS builder 18:39:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:39:34 c41833b44d91: Pulling fs layer 18:39:34 ed15518f5707: Pulling fs layer 18:39:34 feae8fd75edb: Pulling fs layer 18:39:34 242c74f7c9fa: Pulling fs layer 18:39:34 3cdef696dda3: Pulling fs layer 18:39:34 2ced38df9373: Pulling fs layer 18:39:34 58f1dce35555: Pulling fs layer 18:39:34 242c74f7c9fa: Waiting 18:39:34 3cdef696dda3: Waiting 18:39:34 2ced38df9373: Waiting 18:39:34 58f1dce35555: Waiting 18:39:34 ed15518f5707: Verifying Checksum 18:39:34 ed15518f5707: Download complete 18:39:34 242c74f7c9fa: Verifying Checksum 18:39:34 242c74f7c9fa: Download complete 18:39:34 3cdef696dda3: Verifying Checksum 18:39:34 3cdef696dda3: Download complete 18:39:34 c41833b44d91: Verifying Checksum 18:39:35 c41833b44d91: Pull complete 18:39:36 58f1dce35555: Verifying Checksum 18:39:36 58f1dce35555: Download complete 18:39:36 ed15518f5707: Pull complete 18:39:37 feae8fd75edb: Verifying Checksum 18:39:37 feae8fd75edb: Download complete 18:39:37 2ced38df9373: Verifying Checksum 18:39:37 2ced38df9373: Download complete 18:39:49 feae8fd75edb: Pull complete 18:39:49 242c74f7c9fa: Pull complete 18:39:49 3cdef696dda3: Pull complete 18:39:56 2ced38df9373: Pull complete 18:39:59 58f1dce35555: Pull complete 18:39:59 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:39:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:39:59 ---> fadd8f120f05 18:39:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:40:00 ---> Running in 3f3c5e76c9ff 18:40:00 Removing intermediate container 3f3c5e76c9ff 18:40:00 ---> d1a861dfc90c 18:40:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:40:00 ---> Running in 1021c1a5b8f2 18:40:01 Removing intermediate container 1021c1a5b8f2 18:40:01 ---> 70137508bea2 18:40:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:40:01 ---> Running in 8402a8ce57f8 18:40:01 Removing intermediate container 8402a8ce57f8 18:40:01 ---> c2e3316f59c0 18:40:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:40:01 ---> Running in 1f3b3b34f83f 18:40:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:40:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:40:03 OK: 263 MiB in 53 packages 18:40:04 Removing intermediate container 1f3b3b34f83f 18:40:04 ---> 6f3e81053294 18:40:04 Step 7/12 : WORKDIR /app 18:40:04 ---> Running in 7ad7d2b325b2 18:40:05 Removing intermediate container 7ad7d2b325b2 18:40:05 ---> 7c5317016675 18:40:05 Step 8/12 : COPY go.mod vendor* ./ 18:40:09 ---> f68dbb80c139 18:40:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:09 ---> Running in 9e1a668cc847 18:41:05 Removing intermediate container 9e1a668cc847 18:41:05 ---> a55f8a9cb5af 18:41:05 Step 10/12 : COPY . . 18:41:06 ---> 1bc49526052c 18:41:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:41:06 ---> Running in fb7a4d2efc3b 18:41:06 Removing intermediate container fb7a4d2efc3b 18:41:06 ---> b1a9df16a40c 18:41:06 Step 12/12 : RUN $MAKE 18:41:06 ---> Running in cb39c332a43a 18:41:07 noop 18:41:08 Removing intermediate container cb39c332a43a 18:41:08 ---> a20ba3ec363a 18:41:08 Successfully built a20ba3ec363a 18:41:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:08 + docker inspect -f . ci-base-image-arm64 18:41:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:08 prd-ubuntu20.04-docker-arm64-4c-16g-56 does not seem to be running inside a container 18:41:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/8 -v /w/workspace/app-record-replay/8:/w/workspace/app-record-replay/8:rw,z -v /w/workspace/app-record-replay/8@tmp:/w/workspace/app-record-replay/8@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 18:41:09 $ docker top 831f65b41b3ec107398b82bfb2c526e070ecffdff56de4b20f073fee83f69203 -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:10 + go version 18:41:10 go version go1.20.2 linux/arm64 [Pipeline] } 18:41:10 $ docker stop --time=1 831f65b41b3ec107398b82bfb2c526e070ecffdff56de4b20f073fee83f69203 18:41:12 $ docker rm -f --volumes 831f65b41b3ec107398b82bfb2c526e070ecffdff56de4b20f073fee83f69203 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:12 + docker inspect -f . ci-base-image-arm64 18:41:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:12 prd-ubuntu20.04-docker-arm64-4c-16g-56 does not seem to be running inside a container 18:41:13 $ 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/8 -v /w/workspace/app-record-replay/8:/w/workspace/app-record-replay/8:rw,z -v /w/workspace/app-record-replay/8@tmp:/w/workspace/app-record-replay/8@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 18:41:14 $ docker top 26144bbac4c5adfa15e2ad94ef1d55174a549538701b5637ab7f65039f895ed5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:41:14 + git config --global --add safe.directory /w/workspace/app-record-replay/8 [Pipeline] fileExists [Pipeline] sh 18:41:14 + make test 18:41:14 go test -race -coverprofile=coverage.out ./... 18:43:36 ? github.com/edgexfoundry/app-record-replay [no test files] 18:43:48 ok github.com/edgexfoundry/app-record-replay/internal/app 0.208s coverage: 90.0% of statements 18:43:49 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.277s coverage: 85.1% of statements 18:43:52 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 18:43:52 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 18:43:52 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 18:43:52 ok github.com/edgexfoundry/app-record-replay/internal/data 0.217s coverage: 27.3% of statements 18:43:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:43:53 go vet ./... 18:46:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:46:14 ./internal/app/app.go 18:46:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:46:14 make: *** [Makefile:74: test] Error 1 [Pipeline] } 18:46:14 $ docker stop --time=1 26144bbac4c5adfa15e2ad94ef1d55174a549538701b5637ab7f65039f895ed5 18:46:16 $ docker rm -f --volumes 26144bbac4c5adfa15e2ad94ef1d55174a549538701b5637ab7f65039f895ed5 [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 18:46:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:46:18 18:46:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:46:18 arm64: Pulling from edgex-lftools-log-publisher 18:46:18 8998bd30e6a1: Pulling fs layer 18:46:18 04944245beec: Pulling fs layer 18:46:18 699f458cf7ca: Pulling fs layer 18:46:18 765212b225bb: Pulling fs layer 18:46:18 f23df028b6ca: Pulling fs layer 18:46:18 d65c8cfc05b1: Pulling fs layer 18:46:18 2437ff75d9bd: Pulling fs layer 18:46:18 f23df028b6ca: Waiting 18:46:18 765212b225bb: Waiting 18:46:18 2437ff75d9bd: Waiting 18:46:18 04944245beec: Verifying Checksum 18:46:18 04944245beec: Download complete 18:46:18 765212b225bb: Download complete 18:46:19 f23df028b6ca: Verifying Checksum 18:46:19 f23df028b6ca: Download complete 18:46:19 d65c8cfc05b1: Verifying Checksum 18:46:19 d65c8cfc05b1: Download complete 18:46:19 699f458cf7ca: Verifying Checksum 18:46:19 699f458cf7ca: Download complete 18:46:19 8998bd30e6a1: Verifying Checksum 18:46:19 8998bd30e6a1: Download complete 18:46:21 2437ff75d9bd: Verifying Checksum 18:46:21 2437ff75d9bd: Download complete 18:46:23 8998bd30e6a1: Pull complete 18:46:23 04944245beec: Pull complete 18:46:25 699f458cf7ca: Pull complete 18:46:25 765212b225bb: Pull complete 18:46:26 f23df028b6ca: Pull complete 18:46:26 d65c8cfc05b1: Pull complete 18:46:41 2437ff75d9bd: Pull complete 18:46:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:46:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:41 prd-ubuntu20.04-docker-arm64-4c-16g-56 does not seem to be running inside a container 18:46:41 $ 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/8 -v /w/workspace/app-record-replay/8:/w/workspace/app-record-replay/8:rw,z -v /w/workspace/app-record-replay/8@tmp:/w/workspace/app-record-replay/8@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 18:46:44 $ docker top 7f0d7fb69be22abe856a82fa58b5be7451513034e8acfa368d0a7046536fef15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:45 ---> job-cost.sh 18:46:45 lf-activate-venv: SKIPPING 18:46:45 INFO: No Stack... 18:46:45 INFO: Retrieving Pricing Info for: v3-standard-4 18:46:46 INFO: Archiving Costs [Pipeline] sh 18:46:46 + cat /w/workspace/app-record-replay/8/archives/cost.csv 18:46:46 + cut -d, -f6 [Pipeline] lock 18:46:46 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-24-8-stack-cost] 18:46:46 Resource [jenkins-edgexfoundry-app-record-replay-PR-24-8-stack-cost] did not exist. Created. 18:46:46 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-24-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:46:46 /w/workspace/app-record-replay/8@tmp/durable-898069fe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:46:47 + echo total: 0.10999999940395355 [Pipeline] stash 18:46:47 Warning: overwriting stash ‘stack-cost’ 18:46:48 Stashed 1 file(s) [Pipeline] } 18:46:48 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-24-8-stack-cost] [Pipeline] // lock [Pipeline] } 18:46:48 $ docker stop --time=1 7f0d7fb69be22abe856a82fa58b5be7451513034e8acfa368d0a7046536fef15 18:46:49 $ docker rm -f --volumes 7f0d7fb69be22abe856a82fa58b5be7451513034e8acfa368d0a7046536fef15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:46:49 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 18:46:50 + [ -d /w/workspace/xfoundry_app-record-replay_PR-24/archives ] 18:46:50 + ls -al /w/workspace/xfoundry_app-record-replay_PR-24/archives 18:46:50 total 16 18:46:50 drwxr-xr-x 3 root root 4096 Jun 27 18:38 . 18:46:50 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 18:38 .. 18:46:50 drwxr-xr-x 2 root root 4096 Jun 27 18:38 cost 18:46:50 -rw-r--r-- 1 root root 88 Jun 27 18:38 cost.csv 18:46:50 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-24/archives 18:46:50 + ls -al /w/workspace/xfoundry_app-record-replay_PR-24/archives 18:46:50 total 16 18:46:50 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 18:38 . 18:46:50 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 18:38 .. 18:46:50 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 18:38 cost 18:46:50 -rw-r--r-- 1 jenkins jenkins 88 Jun 27 18:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:46:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:46:51 ---> package-listing.sh 18:46:51 ++ facter osfamily 18:46:51 ++ tr '[:upper:]' '[:lower:]' 18:46:51 + OS_FAMILY=debian 18:46:51 + workspace=/w/workspace/xfoundry_app-record-replay_PR-24 18:46:51 + START_PACKAGES=/tmp/packages_start.txt 18:46:51 + END_PACKAGES=/tmp/packages_end.txt 18:46:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:46:51 + PACKAGES=/tmp/packages_start.txt 18:46:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-24 ']' 18:46:51 + PACKAGES=/tmp/packages_end.txt 18:46:51 + case "${OS_FAMILY}" in 18:46:51 + dpkg -l 18:46:51 + grep '^ii' 18:46:51 + '[' -f /tmp/packages_start.txt ']' 18:46:51 + '[' -f /tmp/packages_end.txt ']' 18:46:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:46:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-24 ']' 18:46:51 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-24/archives/ 18:46:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-24/archives/ [Pipeline] echo 18:46:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:46:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:52 prd-ubuntu20.04-docker-8c-8g-55 does not seem to be running inside a container 18:46:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-24/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-24 -v /w/workspace/xfoundry_app-record-replay_PR-24:/w/workspace/xfoundry_app-record-replay_PR-24:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-24@tmp:/w/workspace/xfoundry_app-record-replay_PR-24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:46:52 $ docker top 0a1bd33a8cc3f8279019447344fe1265fa69a04092223dca13f400ba7cb8c826 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:53 + touch /tmp/pre-build-complete [Pipeline] sh 18:46:53 + mkdir -p /var/log/sysstat [Pipeline] sh 18:46:53 + ls /var/log/sa-host 18:46:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:54 provisioning config files... 18:46:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-24@tmp/config3887063804497724350tmp [Pipeline] { [Pipeline] echo 18:46:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:46:54 ---> create-netrc.sh [Pipeline] } 18:46:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:46:54 ---> python-tools-install.sh [Pipeline] echo 18:46:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:46:54 ---> sudo-logs.sh 18:46:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:46:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:46:55 ---> job-cost.sh 18:46:55 lf-activate-venv: SKIPPING 18:46:55 DEBUG: total: 0.2199999988079071 18:46:55 INFO: Retrieving Stack Cost... 18:46:55 INFO: Retrieving Pricing Info for: v3-standard-8 18:46:56 INFO: Archiving Costs [Pipeline] echo 18:46:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:46:56 ---> logs-deploy.sh 18:46:56 lf-activate-venv: SKIPPING 18:46:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-24/8 18:46:56 INFO: archiving workspace using pattern(s): 18:46:57 Archives upload complete. 18:46:57 INFO: archiving logs to Nexus