Pull request #51 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d632d56116551d1ad5f4f5bdd61b88617328df44+c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 (1c8a4ad49f0ac51807d1c92d203c492f6f3fe242) 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-ssh5674658854773869612.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-ssh3417906923961915218.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-51/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-51/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11956789421501913273.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-51/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7123631381659332156.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-ssh8865643744426575902.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-51/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-51/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11442711658832284070.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-2344 in /w/workspace/xfoundry_app-record-replay_PR-51 [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-51 # 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/51/head:refs/remotes/origin/PR-51 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 into PR head commit d632d56116551d1ad5f4f5bdd61b88617328df44 Merge succeeded, producing d632d56116551d1ad5f4f5bdd61b88617328df44 Checking out Revision d632d56116551d1ad5f4f5bdd61b88617328df44 (PR-51) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 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 03:53:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:53:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:53:39 ========================================================= 03:53:39 EdgeX Global Pipelines Version Info 03:53:39 ========================================================= [Pipeline] libraryResource > git config core.sparsecheckout # timeout=10 > git checkout -f d632d56116551d1ad5f4f5bdd61b88617328df44 # 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 c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d632d56116551d1ad5f4f5bdd61b88617328df44 # timeout=10 [Pipeline] sh 03:53:39 ------------------- 03:53:39 stable info: 03:53:39 ------------------- 03:53:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:53:39 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:53:39 Message: update stable to v1.0.250 03:53:40 ------------------- 03:53:40 experimental info: 03:53:40 ------------------- 03:53:40 Commited By: **** collab-it+edgex@linuxfoundation.org 03:53:40 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:53:40 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:53:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:53:40 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:53:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:53:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:53:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:53:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:53:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:53:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-51 [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-51 [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-51 [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d632d56116551d1ad5f4f5bdd61b88617328df44 [Pipeline] echo 03:53:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d632d56 [Pipeline] echo 03:53:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:53:42 provisioning config files... 03:53:42 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-51@tmp/config15585041111808339226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:53:42 ---> docker-login.sh 03:53:42 nexus3.edgexfoundry.org:10001 03:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:42 Configure a credential helper to remove this warning. See 03:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:42 03:53:42 Login Succeeded 03:53:42 nexus3.edgexfoundry.org:10002 03:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:43 Configure a credential helper to remove this warning. See 03:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:43 03:53:43 Login Succeeded 03:53:43 nexus3.edgexfoundry.org:10003 03:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:43 Configure a credential helper to remove this warning. See 03:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:43 03:53:43 Login Succeeded 03:53:43 nexus3.edgexfoundry.org:10004 03:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:43 Configure a credential helper to remove this warning. See 03:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:43 03:53:43 Login Succeeded 03:53:43 docker.io 03:53:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:43 Configure a credential helper to remove this warning. See 03:53:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:43 03:53:43 Login Succeeded 03:53:43 ---> docker-login.sh ends [Pipeline] } 03:53:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:53:44 + git rev-list -1 --merges d632d56116551d1ad5f4f5bdd61b88617328df44~1..d632d56116551d1ad5f4f5bdd61b88617328df44 [Pipeline] echo 03:53:44 -----------> git rev-list -1 --merges d632d56116551d1ad5f4f5bdd61b88617328df44~1..d632d56116551d1ad5f4f5bdd61b88617328df44 d632d56116551d1ad5f4f5bdd61b88617328df44 [false] [Pipeline] sh 03:53:44 + git log --format=format:%s -1 d632d56116551d1ad5f4f5bdd61b88617328df44 [Pipeline] echo 03:53:44 ========================================================= 03:53:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:53:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:53:45 + git log --format=format:%s -1 d632d56116551d1ad5f4f5bdd61b88617328df44 [Pipeline] echo 03:53:45 [semverPrep] GIT_COMMIT: d632d56116551d1ad5f4f5bdd61b88617328df44, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:53:45 [semverPrep] This is not a build commit. [Pipeline] sh 03:53:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:53:45 + grep -v github /etc/ssh/ssh_known_hosts 03:53:45 + [ -e /tmp/ssh_known_hosts ] 03:53:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:53:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:53:45 + sudo tee -a /etc/ssh/ssh_known_hosts 03:53:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:45 03:53:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:46 0.1.4: Pulling from edgex-devops/py-git-semver 03:53:46 b85a868b505f: Pulling fs layer 03:53:46 e2be974225ed: Pulling fs layer 03:53:46 339a4e72a1f5: Pulling fs layer 03:53:46 988bab9f4d93: Pulling fs layer 03:53:46 1469e6f7b9e6: Pulling fs layer 03:53:46 eaf3925da568: Pulling fs layer 03:53:46 bab4dde63d76: Pulling fs layer 03:53:46 bde34c3a00c8: Pulling fs layer 03:53:46 988bab9f4d93: Waiting 03:53:46 eaf3925da568: Waiting 03:53:46 bab4dde63d76: Waiting 03:53:46 b352a97aabf1: Pulling fs layer 03:53:46 bde34c3a00c8: Waiting 03:53:46 4872d77fe225: Pulling fs layer 03:53:46 5851b861e8e6: Pulling fs layer 03:53:46 b352a97aabf1: Waiting 03:53:46 4872d77fe225: Waiting 03:53:46 5851b861e8e6: Waiting 03:53:46 e2be974225ed: Download complete 03:53:46 988bab9f4d93: Verifying Checksum 03:53:46 988bab9f4d93: Download complete 03:53:46 339a4e72a1f5: Verifying Checksum 03:53:46 339a4e72a1f5: Download complete 03:53:46 1469e6f7b9e6: Verifying Checksum 03:53:46 1469e6f7b9e6: Download complete 03:53:46 eaf3925da568: Verifying Checksum 03:53:46 eaf3925da568: Download complete 03:53:46 bde34c3a00c8: Download complete 03:53:46 b352a97aabf1: Download complete 03:53:46 4872d77fe225: Verifying Checksum 03:53:46 4872d77fe225: Download complete 03:53:46 5851b861e8e6: Verifying Checksum 03:53:46 5851b861e8e6: Download complete 03:53:46 b85a868b505f: Verifying Checksum 03:53:46 b85a868b505f: Download complete 03:53:46 bab4dde63d76: Verifying Checksum 03:53:47 b85a868b505f: Pull complete 03:53:48 e2be974225ed: Pull complete 03:53:48 339a4e72a1f5: Pull complete 03:53:48 988bab9f4d93: Pull complete 03:53:48 1469e6f7b9e6: Pull complete 03:53:49 eaf3925da568: Pull complete 03:53:51 bab4dde63d76: Pull complete 03:53:51 bde34c3a00c8: Pull complete 03:53:51 b352a97aabf1: Pull complete 03:53:51 4872d77fe225: Pull complete 03:53:51 5851b861e8e6: Pull complete 03:53:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:53:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:51 prd-ubuntu20.04-docker-8c-8g-2344 does not seem to be running inside a container 03:53:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-51 -v /w/workspace/xfoundry_app-record-replay_PR-51:/w/workspace/xfoundry_app-record-replay_PR-51:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-51@tmp:/w/workspace/xfoundry_app-record-replay_PR-51@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:53:54 $ docker top ba62ed5f3736622ef00d4eae83c4a0c79b60da858af5a9a7a2f75ff3922a58d2 -eo pid,comm 03:53:54 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). 03:53:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:53:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:54 [ssh-agent] Looking for ssh-agent implementation... 03:53:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:54 $ docker exec ba62ed5f3736622ef00d4eae83c4a0c79b60da858af5a9a7a2f75ff3922a58d2 ssh-agent 03:53:54 SSH_AUTH_SOCK=/tmp/ssh-IhChYEs0EEqq/agent.32 03:53:54 SSH_AGENT_PID=38 03:53:54 Running ssh-add (command line suppressed) 03:53:54 Identity added: /w/workspace/xfoundry_app-record-replay_PR-51@tmp/private_key_16106208660675454766.key (/w/workspace/xfoundry_app-record-replay_PR-51@tmp/private_key_16106208660675454766.key) 03:53:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:55 + git tag --points-at HEAD [Pipeline] } 03:53:55 $ docker exec --env ******** --env ******** ba62ed5f3736622ef00d4eae83c4a0c79b60da858af5a9a7a2f75ff3922a58d2 ssh-agent -k 03:53:55 unset SSH_AUTH_SOCK; 03:53:55 unset SSH_AGENT_PID; 03:53:55 echo Agent pid 38 killed; 03:53:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:53:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:55 [ssh-agent] Looking for ssh-agent implementation... 03:53:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:55 $ docker exec ba62ed5f3736622ef00d4eae83c4a0c79b60da858af5a9a7a2f75ff3922a58d2 ssh-agent 03:53:55 SSH_AUTH_SOCK=/tmp/ssh-tOQQIWojzYO5/agent.70 03:53:55 SSH_AGENT_PID=76 03:53:55 Running ssh-add (command line suppressed) 03:53:55 Identity added: /w/workspace/xfoundry_app-record-replay_PR-51@tmp/private_key_9869609498709718215.key (/w/workspace/xfoundry_app-record-replay_PR-51@tmp/private_key_9869609498709718215.key) 03:53:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:56 + git semver init 03:53:56 2023-07-27 03:53:56,237 [run_init] DEBUG init version:0.0.0 force:False 03:53:56 2023-07-27 03:53:56,238 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-51/.semver 03:53:56 2023-07-27 03:53:56,238 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-51/.semver 03:53:56 2023-07-27 03:53:56,238 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-51/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-51, universal_newlines=False, shell=None, istream=None) 03:53:57 2023-07-27 03:53:56,972 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-51/.git/info/exclude 03:53:57 2023-07-27 03:53:56,972 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-51/.semver/PR-51 with force:False 03:53:57 2023-07-27 03:53:56,973 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-51/.semver/PR-51 03:53:57 2023-07-27 03:53:56,976 [execute] INFO git cat-file --batch-check 03:53:57 2023-07-27 03:53:56,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-51/.semver, universal_newlines=False, shell=None, istream=) 03:53:57 2023-07-27 03:53:56,982 [execute] INFO git cat-file --batch 03:53:57 2023-07-27 03:53:56,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-51/.semver, universal_newlines=False, shell=None, istream=) 03:53:57 2023-07-27 03:53:56,988 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-51/.semver/PR-51 03:53:57 0.0.0 [Pipeline] } 03:53:57 $ docker exec --env ******** --env ******** ba62ed5f3736622ef00d4eae83c4a0c79b60da858af5a9a7a2f75ff3922a58d2 ssh-agent -k 03:53:57 unset SSH_AUTH_SOCK; 03:53:57 unset SSH_AGENT_PID; 03:53:57 echo Agent pid 76 killed; 03:53:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:53:57 + git semver [Pipeline] } 03:53:58 $ docker stop --time=1 ba62ed5f3736622ef00d4eae83c4a0c79b60da858af5a9a7a2f75ff3922a58d2 03:53:59 $ docker rm -f --volumes ba62ed5f3736622ef00d4eae83c4a0c79b60da858af5a9a7a2f75ff3922a58d2 [Pipeline] // withDockerContainer [Pipeline] sh 03:53:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:54:00 Stashed 1 file(s) [Pipeline] echo 03:54:00 [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 03:54:00 provisioning config files... 03:54:00 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-51@tmp/config1113870893866793291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:54:01 ---> docker-login.sh 03:54:01 nexus3.edgexfoundry.org:10001 03:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:01 Configure a credential helper to remove this warning. See 03:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:01 03:54:01 Login Succeeded 03:54:01 nexus3.edgexfoundry.org:10002 03:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:01 Configure a credential helper to remove this warning. See 03:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:01 03:54:01 Login Succeeded 03:54:01 nexus3.edgexfoundry.org:10003 03:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:01 Configure a credential helper to remove this warning. See 03:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:01 03:54:01 Login Succeeded 03:54:01 nexus3.edgexfoundry.org:10004 03:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:01 Configure a credential helper to remove this warning. See 03:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:01 03:54:01 Login Succeeded 03:54:01 docker.io 03:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:54:01 Configure a credential helper to remove this warning. See 03:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:54:01 03:54:01 Login Succeeded 03:54:01 ---> docker-login.sh ends [Pipeline] } 03:54:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:54:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:54:02 ========================================================= 03:54:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:54:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:02 + 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 . 03:54:02 Sending build context to Docker daemon 389.1kB 03:54:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:54:02 Step 2/12 : FROM ${BASE} AS builder 03:54:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:54:02 4db1b89c0bd1: Pulling fs layer 03:54:02 6911f1a30b25: Pulling fs layer 03:54:02 e194b8c5c2a9: Pulling fs layer 03:54:02 6863d3e3a2b1: Pulling fs layer 03:54:02 ec0bb842ea78: Pulling fs layer 03:54:02 40a00589a448: Pulling fs layer 03:54:02 6c08303d61cc: Pulling fs layer 03:54:02 798269fcf238: Pulling fs layer 03:54:02 ec0bb842ea78: Waiting 03:54:02 40a00589a448: Waiting 03:54:02 6c08303d61cc: Waiting 03:54:02 798269fcf238: Waiting 03:54:02 6863d3e3a2b1: Waiting 03:54:02 6911f1a30b25: Download complete 03:54:02 6863d3e3a2b1: Download complete 03:54:02 ec0bb842ea78: Verifying Checksum 03:54:02 ec0bb842ea78: Download complete 03:54:02 4db1b89c0bd1: Verifying Checksum 03:54:02 4db1b89c0bd1: Download complete 03:54:02 40a00589a448: Verifying Checksum 03:54:02 40a00589a448: Download complete 03:54:02 4db1b89c0bd1: Pull complete 03:54:03 6911f1a30b25: Pull complete 03:54:03 798269fcf238: Verifying Checksum 03:54:03 798269fcf238: Download complete 03:54:03 e194b8c5c2a9: Verifying Checksum 03:54:03 e194b8c5c2a9: Download complete 03:54:03 6c08303d61cc: Verifying Checksum 03:54:03 6c08303d61cc: Download complete 03:54:06 e194b8c5c2a9: Pull complete 03:54:06 6863d3e3a2b1: Pull complete 03:54:06 ec0bb842ea78: Pull complete 03:54:06 40a00589a448: Pull complete 03:54:09 6c08303d61cc: Pull complete 03:54:09 798269fcf238: Pull complete 03:54:09 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:54:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:54:09 ---> ec979cd7f677 03:54:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:54:14 ---> Running in 93e06a5d46b4 03:54:14 Removing intermediate container 93e06a5d46b4 03:54:14 ---> 682d4804230e 03:54:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:54:14 ---> Running in 5eb0d8284b92 03:54:14 Removing intermediate container 5eb0d8284b92 03:54:14 ---> ac531f86ede3 03:54:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:54:14 ---> Running in 9d39b98b9379 03:54:14 Removing intermediate container 9d39b98b9379 03:54:14 ---> 2626ca87819e 03:54:14 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:54:14 ---> Running in b0a6415d3cc8 03:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:54:14 OK: 265 MiB in 53 packages 03:54:15 Removing intermediate container b0a6415d3cc8 03:54:15 ---> ad78c5c4f4fb 03:54:15 Step 7/12 : WORKDIR /app 03:54:15 ---> Running in 95183a35ba17 03:54:15 Removing intermediate container 95183a35ba17 03:54:15 ---> 880bc3ef0132 03:54:15 Step 8/12 : COPY go.mod vendor* ./ 03:54:15 Still waiting to schedule task 03:54:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:54:15 ---> 5fc5bb8d33a0 03:54:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:54:15 ---> Running in a19d4158a640 03:55:11 Removing intermediate container a19d4158a640 03:55:11 ---> 490f8dc29404 03:55:11 Step 10/12 : COPY . . 03:55:11 ---> f07230f2c12a 03:55:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:55:11 ---> Running in 73a10fa599b9 03:55:11 Removing intermediate container 73a10fa599b9 03:55:11 ---> 8336379d32cd 03:55:11 Step 12/12 : RUN $MAKE 03:55:11 ---> Running in 1cc2f1951909 03:55:11 noop 03:55:11 Removing intermediate container 1cc2f1951909 03:55:11 ---> d6ed2bc91f71 03:55:11 Successfully built d6ed2bc91f71 03:55:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:12 + docker inspect -f . ci-base-image-x86_64 03:55:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:12 prd-ubuntu20.04-docker-8c-8g-2344 does not seem to be running inside a container 03:55:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-51 -v /w/workspace/xfoundry_app-record-replay_PR-51:/w/workspace/xfoundry_app-record-replay_PR-51:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-51@tmp:/w/workspace/xfoundry_app-record-replay_PR-51@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 ******** ci-base-image-x86_64 cat 03:55:12 $ docker top b3f10ff3198f0d30f42897a78aa90a7dd515271799ef0cecd23fce7e3e074886 -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:13 + go version 03:55:13 go version go1.20.6 linux/amd64 [Pipeline] } 03:55:13 $ docker stop --time=1 b3f10ff3198f0d30f42897a78aa90a7dd515271799ef0cecd23fce7e3e074886 03:55:14 $ docker rm -f --volumes b3f10ff3198f0d30f42897a78aa90a7dd515271799ef0cecd23fce7e3e074886 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:15 + docker inspect -f . ci-base-image-x86_64 03:55:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:15 prd-ubuntu20.04-docker-8c-8g-2344 does not seem to be running inside a container 03:55:15 $ 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-51 -v /w/workspace/xfoundry_app-record-replay_PR-51:/w/workspace/xfoundry_app-record-replay_PR-51:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-51@tmp:/w/workspace/xfoundry_app-record-replay_PR-51@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 ******** ci-base-image-x86_64 cat 03:55:15 $ docker top 8aab99014b0b141abd89e77933571fab79a907548c128baa191953afc8142921 -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:16 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-51 [Pipeline] fileExists [Pipeline] sh 03:55:16 + make test 03:55:16 go test -race -coverprofile=coverage.out ./... 03:55:38 ? github.com/edgexfoundry/app-record-replay [no test files] 03:55:38 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:55:38 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:55:38 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:55:38 ok github.com/edgexfoundry/app-record-replay/internal/app 0.067s coverage: 87.5% of statements 03:55:38 ok github.com/edgexfoundry/app-record-replay/internal/application 0.062s coverage: 93.8% of statements 03:55:38 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.083s coverage: 86.0% of statements 03:55:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2345 in /w/workspace/xfoundry_app-record-replay_PR-51 [Pipeline] { [Pipeline] ws 03:55:45 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:55:45 Selected Git installation does not exist. Using Default 03:55:45 The recommended git tool is: NONE 03:55:50 using credential edgex-jenkins-ssh 03:55:50 Cloning the remote Git repository 03:55:50 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:55:50 > git init /w/workspace/app-record-replay/1 # timeout=10 03:55:50 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:55:50 > git --version # timeout=10 03:55:50 > git --version # 'git version 2.25.1' 03:55:50 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:51 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:55:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:53 Merging remotes/origin/main commit c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 into PR head commit d632d56116551d1ad5f4f5bdd61b88617328df44 03:55:52 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:55:52 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:55:52 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/51/head:refs/remotes/origin/PR-51 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:55:53 > git config core.sparsecheckout # timeout=10 03:55:53 Merge succeeded, producing d632d56116551d1ad5f4f5bdd61b88617328df44 03:55:53 Checking out Revision d632d56116551d1ad5f4f5bdd61b88617328df44 (PR-51) 03:55:53 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:55:53 > git --version # timeout=10 03:55:53 > git --version # 'git version 2.25.1' 03:55:53 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 03:55:53 > git checkout -f d632d56116551d1ad5f4f5bdd61b88617328df44 # timeout=10 03:55:53 > git remote # timeout=10 03:55:53 > git config --get remote.origin.url # timeout=10 03:55:53 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:53 > git merge c67d61a7c566b572b3baccd8d55fde2bd55fa4d8 # timeout=10 03:55:53 > git rev-parse HEAD^{commit} # timeout=10 03:55:53 > git config core.sparsecheckout # timeout=10 03:55:53 > git checkout -f d632d56116551d1ad5f4f5bdd61b88617328df44 # timeout=10 [Pipeline] sh 03:55:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:55:54 % Total % Received % Xferd Average Speed Time Time Time Current 03:55:54 Dload Upload Total Spent Left Speed 03:55:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 03:55:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:55:55 + + sudo teesudo /etc/docker/daemon.new jq 03:55:55 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:55:55 { 03:55:55 "registry-mirrors": [ 03:55:55 "https://nexus3.edgexfoundry.org:10001" 03:55:55 ], 03:55:55 "bip": "10.250.0.254/24", 03:55:55 "hosts": [ 03:55:55 "tcp://0.0.0.0:5555", 03:55:55 "unix:///var/run/docker.sock" 03:55:55 ], 03:55:55 "mtu": 1458, 03:55:55 "selinux-enabled": true, 03:55:55 "seccomp-profile": "/etc/docker/seccomp.json" 03:55:55 } [Pipeline] sh 03:55:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:55:56 go vet ./... 03:55:56 + sudo service docker restart 03:55:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:55:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:55:58 ./bin/test-attribution-txt.sh [Pipeline] echo 03:55:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:55:59 $ docker stop --time=1 8aab99014b0b141abd89e77933571fab79a907548c128baa191953afc8142921 03:56:03 $ docker rm -f --volumes 8aab99014b0b141abd89e77933571fab79a907548c128baa191953afc8142921 [Pipeline] // withDockerContainer [Pipeline] sh 03:56:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:56:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:56:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:56:05 + ls -al . 03:56:05 total 168 03:56:05 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 03:55 . 03:56:05 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 03:53 .. 03:56:05 -rw-rw-r-- 1 jenkins jenkins 119 Jul 27 03:53 .dockerignore 03:56:05 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 03:53 .git 03:56:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 03:53 .github 03:56:05 -rw-rw-r-- 1 jenkins jenkins 164 Jul 27 03:53 .gitignore 03:56:05 -rw-rw-r-- 1 jenkins jenkins 41 Jul 27 03:53 .golangci.yml 03:56:05 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 03:53 .semver 03:56:05 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 27 03:53 Attribution.txt 03:56:05 -rw-rw-r-- 1 jenkins jenkins 258 Jul 27 03:53 CHANGELOG.md 03:56:05 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 27 03:53 Dockerfile 03:56:05 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 03:53 GOVERNANCE.md 03:56:05 -rw-rw-r-- 1 jenkins jenkins 681 Jul 27 03:53 Jenkinsfile 03:56:05 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 27 03:53 LICENSE 03:56:05 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 27 03:53 Makefile 03:56:05 -rw-rw-r-- 1 jenkins jenkins 611 Jul 27 03:53 OWNERS.md 03:56:05 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 27 03:53 README.md 03:56:05 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 27 03:53 Record and Reply.postman_collection.json 03:56:05 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 03:53 VERSION 03:56:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 03:53 bin 03:56:05 -rw-r--r-- 1 jenkins jenkins 11809 Jul 27 03:55 coverage.out 03:56:05 -rw-rw-r-- 1 jenkins jenkins 3680 Jul 27 03:53 go.mod 03:56:05 -rw-rw-r-- 1 jenkins jenkins 32847 Jul 27 03:53 go.sum 03:56:05 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 03:53 internal 03:56:05 -rw-rw-r-- 1 jenkins jenkins 913 Jul 27 03:53 main.go 03:56:05 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 03:53 pkg 03:56:05 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 03:53 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:05 + docker build -t app-record-replay -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d632d56116551d1ad5f4f5bdd61b88617328df44 --label arch=amd64 --label version=0.0.0 . 03:56:05 Sending build context to Docker daemon 401.9kB 03:56:05 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:56:05 Step 2/26 : FROM ${BASE} AS builder 03:56:05 ---> d6ed2bc91f71 03:56:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:56:05 ---> Running in 0692ce454f70 03:56:05 Removing intermediate container 0692ce454f70 03:56:05 ---> 7692c2b77474 03:56:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:56:05 ---> Running in 145d4b48b607 03:56:05 Removing intermediate container 145d4b48b607 03:56:05 ---> 288b1a3cf96c 03:56:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:56:05 ---> Running in 8646b2dca762 03:56:05 Removing intermediate container 8646b2dca762 03:56:05 ---> 0b356fbd2c7a 03:56:05 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:56:05 ---> Running in 7db27ded8c8f 03:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:56:06 OK: 265 MiB in 53 packages 03:56:06 Removing intermediate container 7db27ded8c8f 03:56:06 ---> e8fd7d5995cb 03:56:06 Step 7/26 : WORKDIR /app 03:56:06 ---> Running in 04775f7e1052 03:56:06 Removing intermediate container 04775f7e1052 03:56:06 ---> 1cfc30ec026e 03:56:06 Step 8/26 : COPY go.mod vendor* ./ 03:56:07 ---> e1f8d2fc30c8 03:56:07 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:56:07 ---> Running in c1882111e523 03:56:08 Removing intermediate container c1882111e523 03:56:08 ---> cba661faf8b0 03:56:08 Step 10/26 : COPY . . 03:56:08 ---> 8981632096a1 03:56:08 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:56:08 ---> Running in a7037bacc361 03:56:08 Removing intermediate container a7037bacc361 03:56:08 ---> 372179600b67 03:56:08 Step 12/26 : RUN $MAKE 03:56:08 ---> Running in 90c1a5225eb6 03:56:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.13 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:56:14 provisioning config files... 03:56:14 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config5646802627193043316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:15 ---> docker-login.sh 03:56:15 nexus3.edgexfoundry.org:10001 03:56:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:15 Configure a credential helper to remove this warning. See 03:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:15 03:56:15 Login Succeeded 03:56:15 nexus3.edgexfoundry.org:10002 03:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:16 Configure a credential helper to remove this warning. See 03:56:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:16 03:56:16 Login Succeeded 03:56:16 nexus3.edgexfoundry.org:10003 03:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:16 Configure a credential helper to remove this warning. See 03:56:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:16 03:56:16 Login Succeeded 03:56:16 nexus3.edgexfoundry.org:10004 03:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:16 Configure a credential helper to remove this warning. See 03:56:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:16 03:56:16 Login Succeeded 03:56:16 docker.io 03:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:17 Configure a credential helper to remove this warning. See 03:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:17 03:56:17 Login Succeeded 03:56:17 ---> docker-login.sh ends [Pipeline] } 03:56:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:56:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:56:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:56:17 ========================================================= 03:56:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:56:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:18 + 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 . 03:56:18 Sending build context to Docker daemon 176.1kB 03:56:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:56:18 Step 2/12 : FROM ${BASE} AS builder 03:56:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:56:18 edb6bdbacee9: Pulling fs layer 03:56:18 5f9638ab2659: Pulling fs layer 03:56:18 8d51d6327a98: Pulling fs layer 03:56:18 8b374f2dd631: Pulling fs layer 03:56:18 ec14aa9079de: Pulling fs layer 03:56:18 2f466654f4bb: Pulling fs layer 03:56:18 554e91adad29: Pulling fs layer 03:56:18 8b374f2dd631: Waiting 03:56:18 ec14aa9079de: Waiting 03:56:18 2f466654f4bb: Waiting 03:56:18 554e91adad29: Waiting 03:56:18 5f9638ab2659: Verifying Checksum 03:56:18 5f9638ab2659: Download complete 03:56:19 8b374f2dd631: Verifying Checksum 03:56:19 8b374f2dd631: Download complete 03:56:19 ec14aa9079de: Download complete 03:56:19 edb6bdbacee9: Verifying Checksum 03:56:20 edb6bdbacee9: Pull complete 03:56:20 554e91adad29: Verifying Checksum 03:56:20 554e91adad29: Download complete 03:56:20 5f9638ab2659: Pull complete 03:56:21 8d51d6327a98: Verifying Checksum 03:56:21 8d51d6327a98: Download complete 03:56:21 2f466654f4bb: Verifying Checksum 03:56:21 2f466654f4bb: Download complete 03:56:30 Removing intermediate container 90c1a5225eb6 03:56:30 ---> a15b7605bc97 03:56:30 Step 13/26 : FROM alpine:3.17 03:56:30 3.17: Pulling from library/alpine 03:56:30 4db1b89c0bd1: Already exists 03:56:30 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:56:30 Status: Downloaded newer image for alpine:3.17 03:56:30 ---> 1f73a9d63274 03:56:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:56:30 ---> Running in 01652c516376 03:56:30 Removing intermediate container 01652c516376 03:56:30 ---> 01f7942f04fa 03:56:30 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:56:30 ---> Running in 5c65f413da23 03:56:30 Removing intermediate container 5c65f413da23 03:56:30 ---> 344be9a31a37 03:56:30 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:56:30 ---> Running in 83c1a02d4368 03:56:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:56:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:56:30 (1/2) Installing ca-certificates (20230506-r0) 03:56:30 (2/2) Installing dumb-init (1.2.5-r2) 03:56:30 Executing busybox-1.35.0-r29.trigger 03:56:30 Executing ca-certificates-20230506-r0.trigger 03:56:30 OK: 8 MiB in 17 packages 03:56:30 Removing intermediate container 83c1a02d4368 03:56:30 ---> cab4db022422 03:56:30 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:56:30 ---> e17be1cd6cbb 03:56:30 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:56:30 ---> 3fc17168cf2b 03:56:30 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:56:30 ---> bbad72c50a6f 03:56:30 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:56:31 ---> 034cbd065a84 03:56:31 Step 21/26 : EXPOSE 59712 03:56:31 ---> Running in 5043e0022626 03:56:31 Removing intermediate container 5043e0022626 03:56:31 ---> 8905b400df4e 03:56:31 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:56:31 ---> Running in 5586a2b954d7 03:56:31 Removing intermediate container 5586a2b954d7 03:56:31 ---> 5b51312ce3c8 03:56:31 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:56:31 ---> Running in fc6d33b8a402 03:56:31 Removing intermediate container fc6d33b8a402 03:56:31 ---> d4a29de17778 03:56:31 Step 24/26 : LABEL arch=amd64 03:56:31 ---> Running in 5c35c7cd70ab 03:56:32 Removing intermediate container 5c35c7cd70ab 03:56:32 ---> a1715eed56d4 03:56:32 Step 25/26 : LABEL git_sha=d632d56116551d1ad5f4f5bdd61b88617328df44 03:56:32 ---> Running in cb8758c560a9 03:56:32 Removing intermediate container cb8758c560a9 03:56:32 ---> 74a3203b0ff0 03:56:32 Step 26/26 : LABEL version=0.0.0 03:56:32 ---> Running in 1125fbf2b2b7 03:56:32 Removing intermediate container 1125fbf2b2b7 03:56:32 ---> 8592ebf2f498 03:56:32 [Warning] One or more build-args [ARCH] were not consumed 03:56:32 Successfully built 8592ebf2f498 03:56:32 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:33 03:56:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:33 latest: Pulling from edgex-lftools-log-publisher 03:56:33 5eb5b503b376: Pulling fs layer 03:56:33 5c69ac0246d0: Pulling fs layer 03:56:33 ec43610c2a17: Pulling fs layer 03:56:33 3a2ae6a8a46f: Pulling fs layer 03:56:33 33b1e0a273af: Pulling fs layer 03:56:33 5d3b04190fa2: Pulling fs layer 03:56:33 2f39f015ded8: Pulling fs layer 03:56:33 3a2ae6a8a46f: Waiting 03:56:33 33b1e0a273af: Waiting 03:56:33 5d3b04190fa2: Waiting 03:56:33 2f39f015ded8: Waiting 03:56:33 5c69ac0246d0: Verifying Checksum 03:56:33 5c69ac0246d0: Download complete 03:56:33 3a2ae6a8a46f: Verifying Checksum 03:56:33 3a2ae6a8a46f: Download complete 03:56:33 ec43610c2a17: Verifying Checksum 03:56:33 ec43610c2a17: Download complete 03:56:33 33b1e0a273af: Verifying Checksum 03:56:33 33b1e0a273af: Download complete 03:56:33 5d3b04190fa2: Download complete 03:56:33 5eb5b503b376: Verifying Checksum 03:56:33 5eb5b503b376: Download complete 03:56:34 8d51d6327a98: Pull complete 03:56:34 8b374f2dd631: Pull complete 03:56:34 ec14aa9079de: Pull complete 03:56:34 2f39f015ded8: Download complete 03:56:34 5eb5b503b376: Pull complete 03:56:35 5c69ac0246d0: Pull complete 03:56:35 ec43610c2a17: Pull complete 03:56:35 3a2ae6a8a46f: Pull complete 03:56:35 33b1e0a273af: Pull complete 03:56:35 5d3b04190fa2: Pull complete 03:56:40 2f39f015ded8: Pull complete 03:56:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:56:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:40 prd-ubuntu20.04-docker-8c-8g-2344 does not seem to be running inside a container 03:56:40 $ 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-51 -v /w/workspace/xfoundry_app-record-replay_PR-51:/w/workspace/xfoundry_app-record-replay_PR-51:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-51@tmp:/w/workspace/xfoundry_app-record-replay_PR-51@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:56:40 2f466654f4bb: Pull complete 03:56:42 554e91adad29: Pull complete 03:56:42 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:56:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:56:42 ---> 1e15ea492957 03:56:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:56:44 ---> Running in 404411c6127d 03:56:44 Removing intermediate container 404411c6127d 03:56:44 ---> 2b1eb9bfad1c 03:56:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:56:44 ---> Running in bbc0004c197b 03:56:44 Removing intermediate container bbc0004c197b 03:56:44 ---> 5c0e6309e762 03:56:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:56:44 $ docker top 82d8ff2ca0f45bc4c065fff2ff9cde1e11110e0ac959fee795efd9816faee5d8 -eo pid,comm [Pipeline] { 03:56:44 ---> Running in 537fa7dccdf3 [Pipeline] libraryResource [Pipeline] sh 03:56:45 Removing intermediate container 537fa7dccdf3 03:56:45 ---> 1e4409a390e6 03:56:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:56:45 ---> Running in 69b4c0cde841 03:56:45 ---> job-cost.sh 03:56:45 lf-activate-venv: SKIPPING 03:56:45 INFO: No Stack... 03:56:45 INFO: Retrieving Pricing Info for: v3-standard-8 03:56:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:56:46 INFO: Archiving Costs [Pipeline] sh 03:56:46 + cat /w/workspace/xfoundry_app-record-replay_PR-51/archives/cost.csv 03:56:46 + cut -d, -f6 [Pipeline] lock 03:56:46 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-51-1-stack-cost] 03:56:46 Resource [jenkins-edgexfoundry-app-record-replay-PR-51-1-stack-cost] did not exist. Created. 03:56:46 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-51-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:56:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:56:46 + echo total: 0.2199999988079071 [Pipeline] stash 03:56:46 Stashed 1 file(s) [Pipeline] } 03:56:46 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-51-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:56:47 $ docker stop --time=1 82d8ff2ca0f45bc4c065fff2ff9cde1e11110e0ac959fee795efd9816faee5d8 03:56:48 OK: 263 MiB in 53 packages 03:56:48 $ docker rm -f --volumes 82d8ff2ca0f45bc4c065fff2ff9cde1e11110e0ac959fee795efd9816faee5d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:56:48 Removing intermediate container 69b4c0cde841 03:56:48 ---> bd88f0ad193a 03:56:48 Step 7/12 : WORKDIR /app 03:56:48 ---> Running in 55975ea78f88 03:56:48 Removing intermediate container 55975ea78f88 03:56:48 ---> 8effb9a693a4 03:56:48 Step 8/12 : COPY go.mod vendor* ./ 03:56:49 ---> 5542f71f60dd 03:56:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:56:49 ---> Running in 1f9c634adb6f 03:57:57 Removing intermediate container 1f9c634adb6f 03:57:57 ---> d9097686d88d 03:57:57 Step 10/12 : COPY . . 03:57:57 ---> ebec76d6b841 03:57:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:57:57 ---> Running in 76d26e19a973 03:57:57 Removing intermediate container 76d26e19a973 03:57:57 ---> 5b37140e453f 03:57:57 Step 12/12 : RUN $MAKE 03:57:57 ---> Running in eb9f3ed365b7 03:57:57 noop 03:57:57 Removing intermediate container eb9f3ed365b7 03:57:57 ---> 1f30743e5cf8 03:57:57 Successfully built 1f30743e5cf8 03:57:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:57 + docker inspect -f . ci-base-image-arm64 03:57:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:58 prd-ubuntu20.04-docker-arm64-4c-16g-2345 does not seem to be running inside a container 03:57:58 $ 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 ******** ci-base-image-arm64 cat 03:57:59 $ docker top 53f17e20a44ec0fc6983fb8ed7decdc28bc1dc12156bc0198adeca5f09c24c31 -eo pid,comm [Pipeline] { [Pipeline] sh 03:58:00 + go version 03:58:00 go version go1.20.6 linux/arm64 [Pipeline] } 03:58:00 $ docker stop --time=1 53f17e20a44ec0fc6983fb8ed7decdc28bc1dc12156bc0198adeca5f09c24c31 03:58:02 $ docker rm -f --volumes 53f17e20a44ec0fc6983fb8ed7decdc28bc1dc12156bc0198adeca5f09c24c31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:03 + docker inspect -f . ci-base-image-arm64 03:58:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:58:03 prd-ubuntu20.04-docker-arm64-4c-16g-2345 does not seem to be running inside a container 03:58:03 $ 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 ******** ci-base-image-arm64 cat 03:58:04 $ docker top a04ea3ac2fd136d8250dec625d7aa16a4ee9fe5c703d408626d7d99ae79a510e -eo pid,comm [Pipeline] { [Pipeline] sh 03:58:05 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 03:58:06 + make test 03:58:06 go test -race -coverprofile=coverage.out ./... 04:00:58 ? github.com/edgexfoundry/app-record-replay [no test files] 04:00:58 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:00:58 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:00:58 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:01:00 ok github.com/edgexfoundry/app-record-replay/internal/app 0.287s coverage: 87.5% of statements 04:01:00 ok github.com/edgexfoundry/app-record-replay/internal/application 0.331s coverage: 93.8% of statements 04:01:00 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.398s coverage: 86.0% of statements 04:01:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:01:00 go vet ./... 04:03:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:03:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:03:27 ./bin/test-attribution-txt.sh [Pipeline] echo 04:03:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:03:27 $ docker stop --time=1 a04ea3ac2fd136d8250dec625d7aa16a4ee9fe5c703d408626d7d99ae79a510e 04:03:28 $ docker rm -f --volumes a04ea3ac2fd136d8250dec625d7aa16a4ee9fe5c703d408626d7d99ae79a510e [Pipeline] // withDockerContainer [Pipeline] sh 04:03:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:30 Warning: overwriting stash ‘coverage-report’ 04:03:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:31 + ls -al . 04:03:31 total 164 04:03:31 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 03:58 . 04:03:31 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 03:55 .. 04:03:31 -rw-rw-r-- 1 jenkins jenkins 119 Jul 27 03:55 .dockerignore 04:03:31 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 03:55 .git 04:03:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 03:55 .github 04:03:31 -rw-rw-r-- 1 jenkins jenkins 164 Jul 27 03:55 .gitignore 04:03:31 -rw-rw-r-- 1 jenkins jenkins 41 Jul 27 03:55 .golangci.yml 04:03:31 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 27 03:55 Attribution.txt 04:03:31 -rw-rw-r-- 1 jenkins jenkins 258 Jul 27 03:55 CHANGELOG.md 04:03:31 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 27 03:55 Dockerfile 04:03:31 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 03:55 GOVERNANCE.md 04:03:31 -rw-rw-r-- 1 jenkins jenkins 681 Jul 27 03:55 Jenkinsfile 04:03:31 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 27 03:55 LICENSE 04:03:31 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 27 03:55 Makefile 04:03:31 -rw-rw-r-- 1 jenkins jenkins 611 Jul 27 03:55 OWNERS.md 04:03:31 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 27 03:55 README.md 04:03:31 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 27 03:55 Record and Reply.postman_collection.json 04:03:31 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 03:53 VERSION 04:03:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 03:55 bin 04:03:31 -rw-r--r-- 1 jenkins jenkins 11809 Jul 27 04:00 coverage.out 04:03:31 -rw-rw-r-- 1 jenkins jenkins 3680 Jul 27 03:55 go.mod 04:03:31 -rw-rw-r-- 1 jenkins jenkins 32847 Jul 27 03:55 go.sum 04:03:31 drwxrwxr-x 6 jenkins jenkins 4096 Jul 27 03:55 internal 04:03:31 -rw-rw-r-- 1 jenkins jenkins 913 Jul 27 03:55 main.go 04:03:31 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 03:55 pkg 04:03:31 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 03:55 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:32 + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d632d56116551d1ad5f4f5bdd61b88617328df44 --label arch=arm64 --label version=0.0.0 . 04:03:32 Sending build context to Docker daemon 188.9kB 04:03:32 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:03:32 Step 2/26 : FROM ${BASE} AS builder 04:03:32 ---> 1f30743e5cf8 04:03:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:03:32 ---> Running in ed02ea080f37 04:03:32 Removing intermediate container ed02ea080f37 04:03:32 ---> 2fc686952216 04:03:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:03:32 ---> Running in de0fa168975c 04:03:33 Removing intermediate container de0fa168975c 04:03:33 ---> 28141986564e 04:03:33 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:03:33 ---> Running in 4f5c5191bdf7 04:03:33 Removing intermediate container 4f5c5191bdf7 04:03:33 ---> e7b62badb0ba 04:03:33 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:33 ---> Running in b718f50eab19 04:03:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:03:36 OK: 263 MiB in 53 packages 04:03:38 Removing intermediate container b718f50eab19 04:03:38 ---> 4a9069a7cfc1 04:03:38 Step 7/26 : WORKDIR /app 04:03:38 ---> Running in 882a2fba1b2d 04:03:39 Removing intermediate container 882a2fba1b2d 04:03:39 ---> 778f5d2f09af 04:03:39 Step 8/26 : COPY go.mod vendor* ./ 04:03:39 ---> aae5afd38a34 04:03:39 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:39 ---> Running in 7f9780ee5814 04:03:42 Removing intermediate container 7f9780ee5814 04:03:42 ---> 9a5aa8ebd679 04:03:42 Step 10/26 : COPY . . 04:03:42 ---> 30f3e46c30fc 04:03:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:03:42 ---> Running in 349062b04560 04:03:42 Removing intermediate container 349062b04560 04:03:42 ---> e572988fa299 04:03:42 Step 12/26 : RUN $MAKE 04:03:43 ---> Running in 797414f20d18 04:03:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.13 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 04:06:05 Removing intermediate container 797414f20d18 04:06:05 ---> cb8729d9c952 04:06:05 Step 13/26 : FROM alpine:3.17 04:06:05 3.17: Pulling from library/alpine 04:06:05 edb6bdbacee9: Already exists 04:06:05 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 04:06:05 Status: Downloaded newer image for alpine:3.17 04:06:05 ---> 779605e5fbc0 04:06:05 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:06:05 ---> Running in 0c9b3be17a7e 04:06:05 Removing intermediate container 0c9b3be17a7e 04:06:05 ---> e371a67c2a5e 04:06:05 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 04:06:05 ---> Running in 30233b65f4cd 04:06:05 Removing intermediate container 30233b65f4cd 04:06:05 ---> 02e7769dac0e 04:06:05 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:06:05 ---> Running in cfd6d5c682f0 04:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:06:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:06:05 (1/2) Installing ca-certificates (20230506-r0) 04:06:05 (2/2) Installing dumb-init (1.2.5-r2) 04:06:05 Executing busybox-1.35.0-r29.trigger 04:06:05 Executing ca-certificates-20230506-r0.trigger 04:06:05 OK: 8 MiB in 17 packages 04:06:05 Removing intermediate container cfd6d5c682f0 04:06:05 ---> b0389a911f5d 04:06:05 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:06:05 ---> 6d62c5720d13 04:06:05 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:06:05 ---> e4a0ea6b595e 04:06:05 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:06:05 ---> eda1ec716700 04:06:05 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 04:06:07 ---> aa85e63a234c 04:06:07 Step 21/26 : EXPOSE 59712 04:06:07 ---> Running in 002b4c714c2e 04:06:07 Removing intermediate container 002b4c714c2e 04:06:07 ---> f163adc6818a 04:06:07 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 04:06:07 ---> Running in fe1491f3b117 04:06:07 Removing intermediate container fe1491f3b117 04:06:07 ---> f9d74a9ef471 04:06:07 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:06:07 ---> Running in 8fe6c4505a5b 04:06:07 Removing intermediate container 8fe6c4505a5b 04:06:07 ---> 554d8135cbb9 04:06:07 Step 24/26 : LABEL arch=arm64 04:06:07 ---> Running in 2a0960ba774a 04:06:08 Removing intermediate container 2a0960ba774a 04:06:08 ---> e31e4d482b83 04:06:08 Step 25/26 : LABEL git_sha=d632d56116551d1ad5f4f5bdd61b88617328df44 04:06:08 ---> Running in 7971cd30eccf 04:06:08 Removing intermediate container 7971cd30eccf 04:06:08 ---> d14d1ab699a0 04:06:08 Step 26/26 : LABEL version=0.0.0 04:06:08 ---> Running in b2f3ab7c94a7 04:06:09 Removing intermediate container b2f3ab7c94a7 04:06:09 ---> d65ff5f17f54 04:06:09 [Warning] One or more build-args [ARCH] were not consumed 04:06:09 Successfully built d65ff5f17f54 04:06:09 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:06:09 04:06:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:06:10 arm64: Pulling from edgex-lftools-log-publisher 04:06:10 8998bd30e6a1: Pulling fs layer 04:06:10 04944245beec: Pulling fs layer 04:06:10 699f458cf7ca: Pulling fs layer 04:06:10 765212b225bb: Pulling fs layer 04:06:10 f23df028b6ca: Pulling fs layer 04:06:10 d65c8cfc05b1: Pulling fs layer 04:06:10 2437ff75d9bd: Pulling fs layer 04:06:10 765212b225bb: Waiting 04:06:10 f23df028b6ca: Waiting 04:06:10 d65c8cfc05b1: Waiting 04:06:10 2437ff75d9bd: Waiting 04:06:10 04944245beec: Verifying Checksum 04:06:10 04944245beec: Download complete 04:06:10 765212b225bb: Verifying Checksum 04:06:10 765212b225bb: Download complete 04:06:10 f23df028b6ca: Verifying Checksum 04:06:10 f23df028b6ca: Download complete 04:06:10 d65c8cfc05b1: Verifying Checksum 04:06:10 d65c8cfc05b1: Download complete 04:06:10 699f458cf7ca: Verifying Checksum 04:06:10 699f458cf7ca: Download complete 04:06:11 8998bd30e6a1: Verifying Checksum 04:06:11 8998bd30e6a1: Download complete 04:06:13 2437ff75d9bd: Verifying Checksum 04:06:13 2437ff75d9bd: Download complete 04:06:17 8998bd30e6a1: Pull complete 04:06:18 04944245beec: Pull complete 04:06:19 699f458cf7ca: Pull complete 04:06:20 765212b225bb: Pull complete 04:06:20 f23df028b6ca: Pull complete 04:06:20 d65c8cfc05b1: Pull complete 04:06:35 2437ff75d9bd: Pull complete 04:06:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:06:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:06:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:36 prd-ubuntu20.04-docker-arm64-4c-16g-2345 does not seem to be running inside a container 04:06:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:06:38 $ docker top f53e1d64ce6545e89a9d33bfde93c154b8ab7a583c9e261f4a308e76217e810e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:39 ---> job-cost.sh 04:06:39 lf-activate-venv: SKIPPING 04:06:39 INFO: No Stack... 04:06:40 INFO: Retrieving Pricing Info for: v3-standard-4 04:06:40 INFO: Archiving Costs [Pipeline] sh 04:06:41 + cat /w/workspace/app-record-replay/1/archives/cost.csv 04:06:41 + cut -d, -f6 [Pipeline] lock 04:06:41 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-51-1-stack-cost] 04:06:41 Resource [jenkins-edgexfoundry-app-record-replay-PR-51-1-stack-cost] did not exist. Created. 04:06:41 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-51-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:06:41 /w/workspace/app-record-replay/1@tmp/durable-81ca440d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:06:42 + echo total: 0.10999999940395355 [Pipeline] stash 04:06:42 Warning: overwriting stash ‘stack-cost’ 04:06:42 Stashed 1 file(s) [Pipeline] } 04:06:42 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-51-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:06:42 $ docker stop --time=1 f53e1d64ce6545e89a9d33bfde93c154b8ab7a583c9e261f4a308e76217e810e 04:06:44 $ docker rm -f --volumes f53e1d64ce6545e89a9d33bfde93c154b8ab7a583c9e261f4a308e76217e810e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:06:45 provisioning config files... 04:06:45 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-51 #1 04:06:45 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-51@tmp/config12853262316277747082tmp [Pipeline] { [Pipeline] sh 04:06:46 + set +x 04:06:46 + curl -s https://codecov.io/bash 04:06:46 + bash -s -- 04:06:46 04:06:46 _____ _ 04:06:46 / ____| | | 04:06:46 | | ___ __| | ___ ___ _____ __ 04:06:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:06:46 | |___| (_) | (_| | __/ (_| (_) \ V / 04:06:46 \_____\___/ \__,_|\___|\___\___/ \_/ 04:06:46 Bash-1.0.6 04:06:46 04:06:46 04:06:46 ==> git version 2.25.1 found 04:06:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:06:46 Release-Date: 2020-01-08 04:06:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:06:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:06:46 ==> Jenkins CI detected. 04:06:46 current dir:  /w/workspace/xfoundry_app-record-replay_PR-51 04:06:46 project root: . 04:06:46 --> token set from env 04:06:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:06:46 ==> Running gcov in . (disable via -X gcov) 04:06:46 ==> Python coveragepy not found 04:06:46 ==> Searching for coverage reports in: 04:06:46 + . 04:06:46 -> Found 1 reports 04:06:46 ==> Detecting git/mercurial file structure 04:06:46 ==> Reading reports 04:06:46 + ./coverage.out bytes=11809 04:06:46 ==> Appending adjustments 04:06:46 https://docs.codecov.io/docs/fixing-reports 04:06:46 + Found adjustments 04:06:46 ==> Gzipping contents 04:06:46 4.0K /tmp/codecov.FtuPhG.gz 04:06:46 ==> Uploading reports 04:06:46 url: https://codecov.io 04:06:46 query: branch=PR-51&commit=d632d56116551d1ad5f4f5bdd61b88617328df44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-51%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=51&job=&cmd_args= 04:06:46 -> Pinging Codecov 04:06:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-51&commit=d632d56116551d1ad5f4f5bdd61b88617328df44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-51%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=51&job=&cmd_args= 04:06:46 Invalid request parameters 04:06:46 400 [Pipeline] } 04:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:06:48 + [ -d /w/workspace/xfoundry_app-record-replay_PR-51/archives ] 04:06:48 + ls -al /w/workspace/xfoundry_app-record-replay_PR-51/archives 04:06:48 total 16 04:06:48 drwxr-xr-x 3 root root 4096 Jul 27 03:56 . 04:06:48 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 03:56 .. 04:06:48 drwxr-xr-x 2 root root 4096 Jul 27 03:56 cost 04:06:48 -rw-r--r-- 1 root root 88 Jul 27 03:56 cost.csv 04:06:48 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-51/archives 04:06:48 + ls -al /w/workspace/xfoundry_app-record-replay_PR-51/archives 04:06:48 total 16 04:06:48 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 03:56 . 04:06:48 drwxrwxr-x 10 jenkins jenkins 4096 Jul 27 03:56 .. 04:06:48 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 03:56 cost 04:06:48 -rw-r--r-- 1 jenkins jenkins 88 Jul 27 03:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:06:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:06:49 ---> package-listing.sh 04:06:49 ++ facter osfamily 04:06:49 ++ tr '[:upper:]' '[:lower:]' 04:06:49 + OS_FAMILY=debian 04:06:49 + workspace=/w/workspace/xfoundry_app-record-replay_PR-51 04:06:49 + START_PACKAGES=/tmp/packages_start.txt 04:06:49 + END_PACKAGES=/tmp/packages_end.txt 04:06:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:06:49 + PACKAGES=/tmp/packages_start.txt 04:06:49 + '[' /w/workspace/xfoundry_app-record-replay_PR-51 ']' 04:06:49 + PACKAGES=/tmp/packages_end.txt 04:06:49 + case "${OS_FAMILY}" in 04:06:49 + dpkg -l 04:06:49 + grep '^ii' 04:06:49 + '[' -f /tmp/packages_start.txt ']' 04:06:49 + '[' -f /tmp/packages_end.txt ']' 04:06:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:06:49 + '[' /w/workspace/xfoundry_app-record-replay_PR-51 ']' 04:06:49 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-51/archives/ 04:06:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-51/archives/ [Pipeline] echo 04:06:49 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-51/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:06:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:06:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:50 prd-ubuntu20.04-docker-8c-8g-2344 does not seem to be running inside a container 04:06:50 $ 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-51/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-51 -v /w/workspace/xfoundry_app-record-replay_PR-51:/w/workspace/xfoundry_app-record-replay_PR-51:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-51@tmp:/w/workspace/xfoundry_app-record-replay_PR-51@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:06:51 $ docker top d84202ec0ea5d0e8eff15ae8ea972fcc518bd01c5f8e89abc57ec4dccc8d47da -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:51 + touch /tmp/pre-build-complete [Pipeline] sh 04:06:51 + mkdir -p /var/log/sysstat [Pipeline] sh 04:06:52 + ls /var/log/sa-host 04:06:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:52 provisioning config files... 04:06:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-51@tmp/config11981281770154326858tmp [Pipeline] { [Pipeline] echo 04:06:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:06:52 ---> create-netrc.sh [Pipeline] } 04:06:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:06:52 ---> python-tools-install.sh [Pipeline] echo 04:06:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:06:53 ---> sudo-logs.sh 04:06:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:06:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:06:53 ---> job-cost.sh 04:06:53 lf-activate-venv: SKIPPING 04:06:53 DEBUG: total: 0.2199999988079071 04:06:53 INFO: Retrieving Stack Cost... 04:06:53 INFO: Retrieving Pricing Info for: v3-standard-8 04:06:54 INFO: Archiving Costs [Pipeline] echo 04:06:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:06:54 ---> logs-deploy.sh 04:06:54 lf-activate-venv: SKIPPING 04:06:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-51/1 04:06:54 INFO: archiving workspace using pattern(s): 04:06:55 Archives upload complete. 04:06:55 INFO: archiving logs to Nexus