Pull request #46 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 65179bb7d70119f567802e64e4f0913519820563+0f94376eadfc024c258e90372bc1b8c359cb76eb (d93a3d54be14671da10c9567ec085e899a123492) 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-ssh10006086315876950309.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-ssh16508202698181156242.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-46/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-46/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10917640199526030626.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-46/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2118711585036737883.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-ssh13355859218894543712.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-46/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-46/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16212652547702067750.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-1629 in /w/workspace/xfoundry_app-record-replay_PR-46 [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-46 # 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/46/head:refs/remotes/origin/PR-46 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0f94376eadfc024c258e90372bc1b8c359cb76eb into PR head commit 65179bb7d70119f567802e64e4f0913519820563 Merge succeeded, producing 65179bb7d70119f567802e64e4f0913519820563 Checking out Revision 65179bb7d70119f567802e64e4f0913519820563 (PR-46) 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:56:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:56:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:56:00 ========================================================= 03:56:00 EdgeX Global Pipelines Version Info 03:56:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 65179bb7d70119f567802e64e4f0913519820563 # 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 0f94376eadfc024c258e90372bc1b8c359cb76eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 65179bb7d70119f567802e64e4f0913519820563 # timeout=10 03:56:01 ------------------- 03:56:01 stable info: 03:56:01 ------------------- 03:56:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:56:01 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:56:01 Message: update stable to v1.0.250 03:56:02 ------------------- 03:56:02 experimental info: 03:56:02 ------------------- 03:56:02 Commited By: **** collab-it+edgex@linuxfoundation.org 03:56:02 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:56:02 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:56:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-46 [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-46 [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-46 [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65179bb7d70119f567802e64e4f0913519820563 [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65179bb [Pipeline] echo 03:56:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:56:03 provisioning config files... 03:56:03 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-46@tmp/config6734617728298814388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:04 ---> docker-login.sh 03:56:04 nexus3.edgexfoundry.org:10001 03:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:04 Configure a credential helper to remove this warning. See 03:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:04 03:56:04 Login Succeeded 03:56:04 nexus3.edgexfoundry.org:10002 03:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:04 Configure a credential helper to remove this warning. See 03:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:04 03:56:04 Login Succeeded 03:56:04 nexus3.edgexfoundry.org:10003 03:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:04 Configure a credential helper to remove this warning. See 03:56:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:04 03:56:04 Login Succeeded 03:56:04 nexus3.edgexfoundry.org:10004 03:56:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:05 Configure a credential helper to remove this warning. See 03:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:05 03:56:05 Login Succeeded 03:56:05 docker.io 03:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:05 Configure a credential helper to remove this warning. See 03:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:05 03:56:05 Login Succeeded 03:56:05 ---> docker-login.sh ends [Pipeline] } 03:56:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:56:06 + git rev-list -1 --merges 65179bb7d70119f567802e64e4f0913519820563~1..65179bb7d70119f567802e64e4f0913519820563 [Pipeline] echo 03:56:06 -----------> git rev-list -1 --merges 65179bb7d70119f567802e64e4f0913519820563~1..65179bb7d70119f567802e64e4f0913519820563 65179bb7d70119f567802e64e4f0913519820563 [false] [Pipeline] sh 03:56:06 + git log --format=format:%s -1 65179bb7d70119f567802e64e4f0913519820563 [Pipeline] echo 03:56:06 ========================================================= 03:56:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:56:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:56:07 + git log --format=format:%s -1 65179bb7d70119f567802e64e4f0913519820563 [Pipeline] echo 03:56:07 [semverPrep] GIT_COMMIT: 65179bb7d70119f567802e64e4f0913519820563, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:56:07 [semverPrep] This is not a build commit. [Pipeline] sh 03:56:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:56:07 + grep -v github /etc/ssh/ssh_known_hosts 03:56:07 + [ -e /tmp/ssh_known_hosts ] 03:56:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:56:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:56:07 + sudo tee -a /etc/ssh/ssh_known_hosts 03:56:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:56:08 03:56:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:56:08 0.1.4: Pulling from edgex-devops/py-git-semver 03:56:08 b85a868b505f: Pulling fs layer 03:56:08 e2be974225ed: Pulling fs layer 03:56:08 339a4e72a1f5: Pulling fs layer 03:56:08 988bab9f4d93: Pulling fs layer 03:56:08 1469e6f7b9e6: Pulling fs layer 03:56:08 eaf3925da568: Pulling fs layer 03:56:08 bab4dde63d76: Pulling fs layer 03:56:08 bde34c3a00c8: Pulling fs layer 03:56:08 b352a97aabf1: Pulling fs layer 03:56:08 4872d77fe225: Pulling fs layer 03:56:08 5851b861e8e6: Pulling fs layer 03:56:08 1469e6f7b9e6: Waiting 03:56:08 eaf3925da568: Waiting 03:56:08 4872d77fe225: Waiting 03:56:08 bab4dde63d76: Waiting 03:56:08 bde34c3a00c8: Waiting 03:56:08 5851b861e8e6: Waiting 03:56:08 988bab9f4d93: Waiting 03:56:08 b352a97aabf1: Waiting 03:56:08 e2be974225ed: Download complete 03:56:08 988bab9f4d93: Verifying Checksum 03:56:08 988bab9f4d93: Download complete 03:56:08 1469e6f7b9e6: Verifying Checksum 03:56:08 1469e6f7b9e6: Download complete 03:56:08 eaf3925da568: Verifying Checksum 03:56:08 eaf3925da568: Download complete 03:56:08 339a4e72a1f5: Verifying Checksum 03:56:08 339a4e72a1f5: Download complete 03:56:08 bde34c3a00c8: Download complete 03:56:08 4872d77fe225: Verifying Checksum 03:56:08 4872d77fe225: Download complete 03:56:08 5851b861e8e6: Download complete 03:56:08 b85a868b505f: Verifying Checksum 03:56:08 b85a868b505f: Download complete 03:56:08 bab4dde63d76: Verifying Checksum 03:56:08 bab4dde63d76: Download complete 03:56:09 b85a868b505f: Pull complete 03:56:10 e2be974225ed: Pull complete 03:56:10 339a4e72a1f5: Pull complete 03:56:10 988bab9f4d93: Pull complete 03:56:10 1469e6f7b9e6: Pull complete 03:56:10 eaf3925da568: Pull complete 03:56:12 bab4dde63d76: Pull complete 03:56:12 bde34c3a00c8: Pull complete 03:56:12 b352a97aabf1: Pull complete 03:56:13 4872d77fe225: Pull complete 03:56:13 5851b861e8e6: Pull complete 03:56:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:56:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:56:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:56:13 prd-ubuntu20.04-docker-8c-8g-1629 does not seem to be running inside a container 03:56:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-46 -v /w/workspace/xfoundry_app-record-replay_PR-46:/w/workspace/xfoundry_app-record-replay_PR-46:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-46@tmp:/w/workspace/xfoundry_app-record-replay_PR-46@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:56:16 $ docker top 857c51e5b48592a4316b5b3578aad1e5fbcb9150cc56fd5a600a4920eb82b8bf -eo pid,comm 03:56:16 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:56:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:56:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:56:16 [ssh-agent] Looking for ssh-agent implementation... 03:56:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:56:16 $ docker exec 857c51e5b48592a4316b5b3578aad1e5fbcb9150cc56fd5a600a4920eb82b8bf ssh-agent 03:56:16 SSH_AUTH_SOCK=/tmp/ssh-dzI0TAp0SNku/agent.32 03:56:16 SSH_AGENT_PID=38 03:56:16 Running ssh-add (command line suppressed) 03:56:16 Identity added: /w/workspace/xfoundry_app-record-replay_PR-46@tmp/private_key_1445702764365151112.key (/w/workspace/xfoundry_app-record-replay_PR-46@tmp/private_key_1445702764365151112.key) 03:56:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:56:17 + git tag --points-at HEAD [Pipeline] } 03:56:17 $ docker exec --env ******** --env ******** 857c51e5b48592a4316b5b3578aad1e5fbcb9150cc56fd5a600a4920eb82b8bf ssh-agent -k 03:56:17 unset SSH_AUTH_SOCK; 03:56:17 unset SSH_AGENT_PID; 03:56:17 echo Agent pid 38 killed; 03:56:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:56:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:56:17 [ssh-agent] Looking for ssh-agent implementation... 03:56:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:56:17 $ docker exec 857c51e5b48592a4316b5b3578aad1e5fbcb9150cc56fd5a600a4920eb82b8bf ssh-agent 03:56:17 SSH_AUTH_SOCK=/tmp/ssh-N9k1jH3vzUjA/agent.71 03:56:17 SSH_AGENT_PID=77 03:56:17 Running ssh-add (command line suppressed) 03:56:17 Identity added: /w/workspace/xfoundry_app-record-replay_PR-46@tmp/private_key_10820953885063043607.key (/w/workspace/xfoundry_app-record-replay_PR-46@tmp/private_key_10820953885063043607.key) 03:56:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:56:18 + git semver init 03:56:18 2023-07-20 03:56:18,358 [run_init] DEBUG init version:0.0.0 force:False 03:56:18 2023-07-20 03:56:18,359 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-46/.semver 03:56:18 2023-07-20 03:56:18,359 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-46/.semver 03:56:18 2023-07-20 03:56:18,359 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-46/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-46, universal_newlines=False, shell=None, istream=None) 03:56:18 2023-07-20 03:56:18,965 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-46/.git/info/exclude 03:56:18 2023-07-20 03:56:18,966 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-46/.semver/PR-46 with force:False 03:56:18 2023-07-20 03:56:18,966 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-46/.semver/PR-46 03:56:18 2023-07-20 03:56:18,968 [execute] INFO git cat-file --batch-check 03:56:18 2023-07-20 03:56:18,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-46/.semver, universal_newlines=False, shell=None, istream=) 03:56:18 2023-07-20 03:56:18,975 [execute] INFO git cat-file --batch 03:56:18 2023-07-20 03:56:18,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-46/.semver, universal_newlines=False, shell=None, istream=) 03:56:18 2023-07-20 03:56:18,980 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-46/.semver/PR-46 03:56:18 0.0.0 [Pipeline] } 03:56:19 $ docker exec --env ******** --env ******** 857c51e5b48592a4316b5b3578aad1e5fbcb9150cc56fd5a600a4920eb82b8bf ssh-agent -k 03:56:19 unset SSH_AUTH_SOCK; 03:56:19 unset SSH_AGENT_PID; 03:56:19 echo Agent pid 77 killed; 03:56:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:56:19 + git semver [Pipeline] } 03:56:20 $ docker stop --time=1 857c51e5b48592a4316b5b3578aad1e5fbcb9150cc56fd5a600a4920eb82b8bf 03:56:21 $ docker rm -f --volumes 857c51e5b48592a4316b5b3578aad1e5fbcb9150cc56fd5a600a4920eb82b8bf [Pipeline] // withDockerContainer [Pipeline] sh 03:56:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:56:22 Stashed 1 file(s) [Pipeline] echo 03:56:22 [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:56:22 provisioning config files... 03:56:22 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-46@tmp/config16503065829300857041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:23 ---> docker-login.sh 03:56:23 nexus3.edgexfoundry.org:10001 03:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:23 Configure a credential helper to remove this warning. See 03:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:23 03:56:23 Login Succeeded 03:56:23 nexus3.edgexfoundry.org:10002 03:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:23 Configure a credential helper to remove this warning. See 03:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:23 03:56:23 Login Succeeded 03:56:23 nexus3.edgexfoundry.org:10003 03:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:23 Configure a credential helper to remove this warning. See 03:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:23 03:56:23 Login Succeeded 03:56:23 nexus3.edgexfoundry.org:10004 03:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:23 Configure a credential helper to remove this warning. See 03:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:23 03:56:23 Login Succeeded 03:56:23 docker.io 03:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:23 Configure a credential helper to remove this warning. See 03:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:23 03:56:23 Login Succeeded 03:56:23 ---> docker-login.sh ends [Pipeline] } 03:56:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:56:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:56:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:56:24 ========================================================= 03:56:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:56:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:24 + 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:56:24 Sending build context to Docker daemon 356.4kB 03:56:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:56:24 Step 2/12 : FROM ${BASE} AS builder 03:56:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:56:24 4db1b89c0bd1: Pulling fs layer 03:56:24 6911f1a30b25: Pulling fs layer 03:56:24 e194b8c5c2a9: Pulling fs layer 03:56:24 6863d3e3a2b1: Pulling fs layer 03:56:24 ec0bb842ea78: Pulling fs layer 03:56:24 40a00589a448: Pulling fs layer 03:56:24 6c08303d61cc: Pulling fs layer 03:56:24 798269fcf238: Pulling fs layer 03:56:24 40a00589a448: Waiting 03:56:24 6c08303d61cc: Waiting 03:56:24 ec0bb842ea78: Waiting 03:56:24 6863d3e3a2b1: Waiting 03:56:24 798269fcf238: Waiting 03:56:24 6911f1a30b25: Download complete 03:56:24 6863d3e3a2b1: Verifying Checksum 03:56:24 6863d3e3a2b1: Download complete 03:56:24 ec0bb842ea78: Download complete 03:56:24 4db1b89c0bd1: Verifying Checksum 03:56:24 4db1b89c0bd1: Download complete 03:56:24 40a00589a448: Verifying Checksum 03:56:24 40a00589a448: Download complete 03:56:24 4db1b89c0bd1: Pull complete 03:56:24 6911f1a30b25: Pull complete 03:56:25 798269fcf238: Verifying Checksum 03:56:25 798269fcf238: Download complete 03:56:25 e194b8c5c2a9: Verifying Checksum 03:56:25 e194b8c5c2a9: Download complete 03:56:25 6c08303d61cc: Verifying Checksum 03:56:25 6c08303d61cc: Download complete 03:56:28 e194b8c5c2a9: Pull complete 03:56:28 6863d3e3a2b1: Pull complete 03:56:29 ec0bb842ea78: Pull complete 03:56:29 40a00589a448: Pull complete 03:56:31 6c08303d61cc: Pull complete 03:56:32 798269fcf238: Pull complete 03:56:32 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:56:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:56:32 ---> ec979cd7f677 03:56:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:56:37 Still waiting to schedule task 03:56:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:56:38 ---> Running in d8a3339fb2a1 03:56:38 Removing intermediate container d8a3339fb2a1 03:56:38 ---> 404d4c684d42 03:56:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:56:38 ---> Running in a107b36e5927 03:56:38 Removing intermediate container a107b36e5927 03:56:38 ---> 11eee2b1a414 03:56:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:56:38 ---> Running in 6f57aa11346f 03:56:38 Removing intermediate container 6f57aa11346f 03:56:38 ---> cea03a8945ca 03:56:38 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:56:38 ---> Running in 2aed4014fed9 03:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:56:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:56:39 OK: 265 MiB in 53 packages 03:56:39 Removing intermediate container 2aed4014fed9 03:56:39 ---> ec163da66272 03:56:39 Step 7/12 : WORKDIR /app 03:56:39 ---> Running in a595bf1fc453 03:56:39 Removing intermediate container a595bf1fc453 03:56:39 ---> 8c3b31238817 03:56:39 Step 8/12 : COPY go.mod vendor* ./ 03:56:39 ---> 28bdfd7a0a43 03:56:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:56:39 ---> Running in 214328b3bd65 03:57:36 Removing intermediate container 214328b3bd65 03:57:36 ---> 2fc6ad8748ea 03:57:36 Step 10/12 : COPY . . 03:57:36 ---> f5f5fd4f020a 03:57:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:57:36 ---> Running in 61ac30f4c059 03:57:36 Removing intermediate container 61ac30f4c059 03:57:36 ---> cb0a4acbaeff 03:57:36 Step 12/12 : RUN $MAKE 03:57:36 ---> Running in 4579edcedac4 03:57:36 noop 03:57:36 Removing intermediate container 4579edcedac4 03:57:36 ---> 15eb57317d75 03:57:36 Successfully built 15eb57317d75 03:57:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:36 + docker inspect -f . ci-base-image-x86_64 03:57:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:36 prd-ubuntu20.04-docker-8c-8g-1629 does not seem to be running inside a container 03:57:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-46 -v /w/workspace/xfoundry_app-record-replay_PR-46:/w/workspace/xfoundry_app-record-replay_PR-46:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-46@tmp:/w/workspace/xfoundry_app-record-replay_PR-46@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:57:37 $ docker top 1e3cc4a628b7f6b608f5cdf5c9517fb71406655a8545ff4d04ccb6bac77cfed9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:37 + go version 03:57:37 go version go1.20.6 linux/amd64 [Pipeline] } 03:57:37 $ docker stop --time=1 1e3cc4a628b7f6b608f5cdf5c9517fb71406655a8545ff4d04ccb6bac77cfed9 03:57:38 $ docker rm -f --volumes 1e3cc4a628b7f6b608f5cdf5c9517fb71406655a8545ff4d04ccb6bac77cfed9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:57:39 + docker inspect -f . ci-base-image-x86_64 03:57:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:57:39 prd-ubuntu20.04-docker-8c-8g-1629 does not seem to be running inside a container 03:57:39 $ 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-46 -v /w/workspace/xfoundry_app-record-replay_PR-46:/w/workspace/xfoundry_app-record-replay_PR-46:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-46@tmp:/w/workspace/xfoundry_app-record-replay_PR-46@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:57:40 $ docker top 9a52de07580f258c68ec8816fb5980b1d9885434751abe6b66d5f1b213973b7e -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:40 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-46 [Pipeline] fileExists [Pipeline] sh 03:57:40 + make test 03:57:40 go test -race -coverprofile=coverage.out ./... 03:58:02 ? github.com/edgexfoundry/app-record-replay [no test files] 03:58:02 ok github.com/edgexfoundry/app-record-replay/internal/app 0.077s coverage: 87.5% of statements 03:58:02 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:58:02 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:58:02 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:58:02 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.093s coverage: 86.0% of statements 03:58:02 ok github.com/edgexfoundry/app-record-replay/internal/data 0.061s coverage: 65.2% of statements 03:58:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1630 in /w/workspace/xfoundry_app-record-replay_PR-46 [Pipeline] { [Pipeline] ws 03:58:11 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:58:11 Selected Git installation does not exist. Using Default 03:58:11 The recommended git tool is: NONE 03:58:16 using credential edgex-jenkins-ssh 03:58:16 Cloning the remote Git repository 03:58:16 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:58:16 > git init /w/workspace/app-record-replay/1 # timeout=10 03:58:16 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:58:16 > git --version # timeout=10 03:58:16 > git --version # 'git version 2.25.1' 03:58:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:58:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:58:17 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:58:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:58:18 Merging remotes/origin/main commit 0f94376eadfc024c258e90372bc1b8c359cb76eb into PR head commit 65179bb7d70119f567802e64e4f0913519820563 03:58:18 Merge succeeded, producing 65179bb7d70119f567802e64e4f0913519820563 03:58:18 Checking out Revision 65179bb7d70119f567802e64e4f0913519820563 (PR-46) 03:58:17 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:58:17 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:58:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:58:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:58:18 > git config core.sparsecheckout # timeout=10 03:58:18 > git checkout -f 65179bb7d70119f567802e64e4f0913519820563 # timeout=10 03:58:18 > git remote # timeout=10 03:58:18 > git config --get remote.origin.url # timeout=10 03:58:18 using GIT_SSH to set credentials SSH Credentials for GitHub 03:58:18 > git merge 0f94376eadfc024c258e90372bc1b8c359cb76eb # timeout=10 03:58:18 > git rev-parse HEAD^{commit} # timeout=10 03:58:18 > git config core.sparsecheckout # timeout=10 03:58:18 > git checkout -f 65179bb7d70119f567802e64e4f0913519820563 # timeout=10 03:58:19 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:58:19 > git --version # timeout=10 03:58:19 > git --version # 'git version 2.25.1' 03:58:19 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:58:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:58:20 % Total % Received % Xferd Average Speed Time Time Time Current 03:58:20 Dload Upload Total Spent Left Speed 03:58:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62812 0 --:--:-- --:--:-- --:--:-- 63123 [Pipeline] sh 03:58:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:58:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:58:21 + sudo tee /etc/docker/daemon.new 03:58:21 { 03:58:21 "registry-mirrors": [ 03:58:21 "https://nexus3.edgexfoundry.org:10001" 03:58:21 ], 03:58:21 "bip": "10.250.0.254/24", 03:58:21 "hosts": [ 03:58:21 "tcp://0.0.0.0:5555", 03:58:21 "unix:///var/run/docker.sock" 03:58:21 ], 03:58:21 "mtu": 1458, 03:58:21 "selinux-enabled": true, 03:58:21 "seccomp-profile": "/etc/docker/seccomp.json" 03:58:21 } [Pipeline] sh 03:58:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:58:22 + sudo service docker restart 03:58:24 go vet ./... 03:58:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:58:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:58:26 ./bin/test-attribution-txt.sh [Pipeline] echo 03:58:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:58:26 $ docker stop --time=1 9a52de07580f258c68ec8816fb5980b1d9885434751abe6b66d5f1b213973b7e 03:58:31 $ docker rm -f --volumes 9a52de07580f258c68ec8816fb5980b1d9885434751abe6b66d5f1b213973b7e [Pipeline] // withDockerContainer [Pipeline] sh 03:58:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:58:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:58:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:58:33 + ls -al . 03:58:33 total 168 03:58:33 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 03:57 . 03:58:33 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 03:55 .. 03:58:33 -rw-rw-r-- 1 jenkins jenkins 119 Jul 20 03:55 .dockerignore 03:58:33 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 03:56 .git 03:58:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 03:55 .github 03:58:33 -rw-rw-r-- 1 jenkins jenkins 164 Jul 20 03:55 .gitignore 03:58:33 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 03:55 .golangci.yml 03:58:33 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 03:56 .semver 03:58:33 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 20 03:55 Attribution.txt 03:58:33 -rw-rw-r-- 1 jenkins jenkins 258 Jul 20 03:55 CHANGELOG.md 03:58:33 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 20 03:55 Dockerfile 03:58:33 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 03:55 GOVERNANCE.md 03:58:33 -rw-rw-r-- 1 jenkins jenkins 681 Jul 20 03:55 Jenkinsfile 03:58:33 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 03:55 LICENSE 03:58:33 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 20 03:55 Makefile 03:58:33 -rw-rw-r-- 1 jenkins jenkins 611 Jul 20 03:55 OWNERS.md 03:58:33 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 20 03:55 README.md 03:58:33 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 20 03:55 Record and Reply.postman_collection.json 03:58:33 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 03:56 VERSION 03:58:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 03:55 bin 03:58:33 -rw-r--r-- 1 jenkins jenkins 8853 Jul 20 03:58 coverage.out 03:58:33 -rw-rw-r-- 1 jenkins jenkins 3680 Jul 20 03:55 go.mod 03:58:33 -rw-rw-r-- 1 jenkins jenkins 32847 Jul 20 03:55 go.sum 03:58:33 drwxrwxr-x 6 jenkins jenkins 4096 Jul 20 03:55 internal 03:58:33 -rw-rw-r-- 1 jenkins jenkins 913 Jul 20 03:55 main.go 03:58:33 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 03:55 pkg 03:58:33 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 03:55 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:33 + 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=65179bb7d70119f567802e64e4f0913519820563 --label arch=amd64 --label version=0.0.0 . 03:58:33 Sending build context to Docker daemon 366.1kB 03:58:33 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:58:33 Step 2/26 : FROM ${BASE} AS builder 03:58:33 ---> 15eb57317d75 03:58:33 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:58:33 ---> Running in b65c377ac3f0 03:58:34 Removing intermediate container b65c377ac3f0 03:58:34 ---> a9a4f5c640eb 03:58:34 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:58:34 ---> Running in 852a983fb492 03:58:34 Removing intermediate container 852a983fb492 03:58:34 ---> dc79a2c986d8 03:58:34 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:58:34 ---> Running in 49d0ec50c059 03:58:34 Removing intermediate container 49d0ec50c059 03:58:34 ---> b47e0df28942 03:58:34 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:58:34 ---> Running in 46fa08b9304d 03:58:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:58:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:58:35 OK: 265 MiB in 53 packages 03:58:35 Removing intermediate container 46fa08b9304d 03:58:35 ---> bf60831a9053 03:58:35 Step 7/26 : WORKDIR /app 03:58:35 ---> Running in d9381cd06df6 03:58:35 Removing intermediate container d9381cd06df6 03:58:35 ---> c64e5346f65f 03:58:35 Step 8/26 : COPY go.mod vendor* ./ 03:58:35 ---> 2c9bef97ffc9 03:58:35 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:58:35 ---> Running in fb218279ff69 03:58:36 Removing intermediate container fb218279ff69 03:58:36 ---> 2d2b02de9e88 03:58:36 Step 10/26 : COPY . . 03:58:36 ---> d778075aa331 03:58:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:58:36 ---> Running in 95bf5646c954 03:58:36 Removing intermediate container 95bf5646c954 03:58:36 ---> 90b8b4c81297 03:58:36 Step 12/26 : RUN $MAKE 03:58:36 ---> Running in d2b3b4adaab1 03:58:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.11 -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:58:40 provisioning config files... 03:58:40 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config5722796071755178408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:40 ---> docker-login.sh 03:58:40 nexus3.edgexfoundry.org:10001 03:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:41 Configure a credential helper to remove this warning. See 03:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:41 03:58:41 Login Succeeded 03:58:41 nexus3.edgexfoundry.org:10002 03:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:41 Configure a credential helper to remove this warning. See 03:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:41 03:58:41 Login Succeeded 03:58:41 nexus3.edgexfoundry.org:10003 03:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:42 Configure a credential helper to remove this warning. See 03:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:42 03:58:42 Login Succeeded 03:58:42 nexus3.edgexfoundry.org:10004 03:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:42 Configure a credential helper to remove this warning. See 03:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:42 03:58:42 Login Succeeded 03:58:42 docker.io 03:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:43 Configure a credential helper to remove this warning. See 03:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:43 03:58:43 Login Succeeded 03:58:43 ---> docker-login.sh ends [Pipeline] } 03:58:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:58:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:58:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:58:43 ========================================================= 03:58:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:58:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:44 + 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:58:44 Sending build context to Docker daemon 163.8kB 03:58:44 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:58:44 Step 2/12 : FROM ${BASE} AS builder 03:58:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:58:44 edb6bdbacee9: Pulling fs layer 03:58:44 5f9638ab2659: Pulling fs layer 03:58:44 8d51d6327a98: Pulling fs layer 03:58:44 8b374f2dd631: Pulling fs layer 03:58:44 ec14aa9079de: Pulling fs layer 03:58:44 2f466654f4bb: Pulling fs layer 03:58:44 554e91adad29: Pulling fs layer 03:58:44 8b374f2dd631: Waiting 03:58:44 ec14aa9079de: Waiting 03:58:44 2f466654f4bb: Waiting 03:58:44 554e91adad29: Waiting 03:58:44 5f9638ab2659: Verifying Checksum 03:58:44 5f9638ab2659: Download complete 03:58:44 8b374f2dd631: Verifying Checksum 03:58:44 8b374f2dd631: Download complete 03:58:44 ec14aa9079de: Verifying Checksum 03:58:44 ec14aa9079de: Download complete 03:58:44 edb6bdbacee9: Verifying Checksum 03:58:44 edb6bdbacee9: Download complete 03:58:45 edb6bdbacee9: Pull complete 03:58:45 554e91adad29: Verifying Checksum 03:58:45 554e91adad29: Download complete 03:58:46 5f9638ab2659: Pull complete 03:58:47 8d51d6327a98: Verifying Checksum 03:58:47 8d51d6327a98: Download complete 03:58:47 2f466654f4bb: Verifying Checksum 03:58:47 2f466654f4bb: Download complete 03:58:59 Removing intermediate container d2b3b4adaab1 03:58:59 ---> 3915f63a9a47 03:58:59 Step 13/26 : FROM alpine:3.17 03:58:59 3.17: Pulling from library/alpine 03:58:59 4db1b89c0bd1: Already exists 03:58:59 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:58:59 Status: Downloaded newer image for alpine:3.17 03:58:59 ---> 1f73a9d63274 03:58:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:58:59 ---> Running in b5955cbb397d 03:58:59 Removing intermediate container b5955cbb397d 03:58:59 ---> c8f2d85ab886 03:58:59 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:58:59 ---> Running in f4b4b21bc626 03:58:59 Removing intermediate container f4b4b21bc626 03:58:59 ---> 96e548252572 03:58:59 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:58:59 ---> Running in b894847e50c9 03:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:58:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:58:59 8d51d6327a98: Pull complete 03:58:59 8b374f2dd631: Pull complete 03:58:59 ec14aa9079de: Pull complete 03:58:59 (1/2) Installing ca-certificates (20230506-r0) 03:58:59 (2/2) Installing dumb-init (1.2.5-r2) 03:58:59 Executing busybox-1.35.0-r29.trigger 03:58:59 Executing ca-certificates-20230506-r0.trigger 03:58:59 OK: 8 MiB in 17 packages 03:59:00 Removing intermediate container b894847e50c9 03:59:00 ---> 8f88ac664502 03:59:00 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:59:00 ---> bd3a3000515b 03:59:00 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:59:00 ---> f486fdf61646 03:59:00 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:59:00 ---> 809aaa44d7b7 03:59:00 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:59:01 ---> e11c00e835db 03:59:01 Step 21/26 : EXPOSE 59712 03:59:01 ---> Running in fc4bfae7e8fd 03:59:01 Removing intermediate container fc4bfae7e8fd 03:59:01 ---> 278257037d35 03:59:01 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:59:01 ---> Running in d0e254110fa6 03:59:01 Removing intermediate container d0e254110fa6 03:59:01 ---> 1c1dd1087276 03:59:01 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:59:01 ---> Running in 8f9e830a03ee 03:59:01 Removing intermediate container 8f9e830a03ee 03:59:01 ---> 00f9daf35c5c 03:59:01 Step 24/26 : LABEL arch=amd64 03:59:01 ---> Running in f65178edbea1 03:59:01 Removing intermediate container f65178edbea1 03:59:01 ---> dde3e624b2c7 03:59:01 Step 25/26 : LABEL git_sha=65179bb7d70119f567802e64e4f0913519820563 03:59:01 ---> Running in 76726f866ed3 03:59:01 Removing intermediate container 76726f866ed3 03:59:01 ---> bad968b3d7d6 03:59:01 Step 26/26 : LABEL version=0.0.0 03:59:01 ---> Running in 954fa05d16ff 03:59:01 Removing intermediate container 954fa05d16ff 03:59:01 ---> 9c83e5d834d8 03:59:01 [Warning] One or more build-args [ARCH] were not consumed 03:59:01 Successfully built 9c83e5d834d8 03:59:01 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:59:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:59:02 03:59:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:59:03 latest: Pulling from edgex-lftools-log-publisher 03:59:03 5eb5b503b376: Pulling fs layer 03:59:03 5c69ac0246d0: Pulling fs layer 03:59:03 ec43610c2a17: Pulling fs layer 03:59:03 3a2ae6a8a46f: Pulling fs layer 03:59:03 33b1e0a273af: Pulling fs layer 03:59:03 5d3b04190fa2: Pulling fs layer 03:59:03 2f39f015ded8: Pulling fs layer 03:59:03 3a2ae6a8a46f: Waiting 03:59:03 33b1e0a273af: Waiting 03:59:03 5d3b04190fa2: Waiting 03:59:03 2f39f015ded8: Waiting 03:59:03 5c69ac0246d0: Download complete 03:59:03 3a2ae6a8a46f: Verifying Checksum 03:59:03 3a2ae6a8a46f: Download complete 03:59:03 33b1e0a273af: Verifying Checksum 03:59:03 33b1e0a273af: Download complete 03:59:03 5d3b04190fa2: Verifying Checksum 03:59:03 5d3b04190fa2: Download complete 03:59:03 ec43610c2a17: Verifying Checksum 03:59:03 ec43610c2a17: Download complete 03:59:03 5eb5b503b376: Verifying Checksum 03:59:03 5eb5b503b376: Download complete 03:59:04 2f39f015ded8: Download complete 03:59:04 5eb5b503b376: Pull complete 03:59:04 5c69ac0246d0: Pull complete 03:59:05 ec43610c2a17: Pull complete 03:59:05 3a2ae6a8a46f: Pull complete 03:59:05 33b1e0a273af: Pull complete 03:59:05 5d3b04190fa2: Pull complete 03:59:06 2f466654f4bb: Pull complete 03:59:08 554e91adad29: Pull complete 03:59:08 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:59:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:59:08 ---> 1e15ea492957 03:59:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:59:09 2f39f015ded8: Pull complete 03:59:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:59:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:59:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:10 ---> Running in 506d5cfc065d 03:59:10 Removing intermediate container 506d5cfc065d 03:59:10 ---> 74907e6cc34c 03:59:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:59:10 ---> Running in 93ff511348de 03:59:10 prd-ubuntu20.04-docker-8c-8g-1629 does not seem to be running inside a container 03:59:10 $ 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-46 -v /w/workspace/xfoundry_app-record-replay_PR-46:/w/workspace/xfoundry_app-record-replay_PR-46:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-46@tmp:/w/workspace/xfoundry_app-record-replay_PR-46@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:59:10 Removing intermediate container 93ff511348de 03:59:10 ---> 26560a1baed9 03:59:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:59:10 ---> Running in 0227ca41159f 03:59:10 Removing intermediate container 0227ca41159f 03:59:10 ---> 5e0727497cb7 03:59:10 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:59:10 ---> Running in bae5f57c1e8d 03:59:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:59:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:59:13 OK: 263 MiB in 53 packages 03:59:13 $ docker top 86f39b8577dc8f80e67f4ebdfde3f34f601ba2c2618b06f54bcf58b810511678 -eo pid,comm [Pipeline] { 03:59:13 Removing intermediate container bae5f57c1e8d 03:59:13 ---> 5fe851f3b2e0 03:59:13 Step 7/12 : WORKDIR /app 03:59:13 ---> Running in 6e6e1c676e64 [Pipeline] libraryResource 03:59:14 Removing intermediate container 6e6e1c676e64 03:59:14 ---> 0b33a6950e5f 03:59:14 Step 8/12 : COPY go.mod vendor* ./ [Pipeline] sh 03:59:14 ---> job-cost.sh 03:59:14 lf-activate-venv: SKIPPING 03:59:14 INFO: No Stack... 03:59:14 INFO: Retrieving Pricing Info for: v3-standard-8 03:59:14 ---> 27b382b79f26 03:59:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:59:14 ---> Running in 3f52fba39044 03:59:15 INFO: Archiving Costs [Pipeline] sh 03:59:15 + cat /w/workspace/xfoundry_app-record-replay_PR-46/archives/cost.csv 03:59:15 + cut -d, -f6 [Pipeline] lock 03:59:15 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-46-1-stack-cost] 03:59:15 Resource [jenkins-edgexfoundry-app-record-replay-PR-46-1-stack-cost] did not exist. Created. 03:59:15 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-46-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:59:15 + echo total: 0.2199999988079071 [Pipeline] stash 03:59:15 Stashed 1 file(s) [Pipeline] } 03:59:15 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-46-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:59:15 $ docker stop --time=1 86f39b8577dc8f80e67f4ebdfde3f34f601ba2c2618b06f54bcf58b810511678 03:59:17 $ docker rm -f --volumes 86f39b8577dc8f80e67f4ebdfde3f34f601ba2c2618b06f54bcf58b810511678 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:00:22 Removing intermediate container 3f52fba39044 04:00:22 ---> 8be7f52524bd 04:00:22 Step 10/12 : COPY . . 04:00:22 ---> 5eb01c93b2d6 04:00:22 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:00:22 ---> Running in b08a6a0fcea5 04:00:22 Removing intermediate container b08a6a0fcea5 04:00:22 ---> 1027e9383b8b 04:00:22 Step 12/12 : RUN $MAKE 04:00:22 ---> Running in 6c9ab88bdc03 04:00:22 noop 04:00:22 Removing intermediate container 6c9ab88bdc03 04:00:22 ---> d8e18aff108c 04:00:22 Successfully built d8e18aff108c 04:00:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:23 + docker inspect -f . ci-base-image-arm64 04:00:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:23 prd-ubuntu20.04-docker-arm64-4c-16g-1630 does not seem to be running inside a container 04:00:23 $ 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 04:00:24 $ docker top f319c4a44f4382e1250f8a30775985b56dd47166fd746c3a5a57fbd6a0fb3ae6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:00:25 + go version 04:00:25 go version go1.20.6 linux/arm64 [Pipeline] } 04:00:25 $ docker stop --time=1 f319c4a44f4382e1250f8a30775985b56dd47166fd746c3a5a57fbd6a0fb3ae6 04:00:27 $ docker rm -f --volumes f319c4a44f4382e1250f8a30775985b56dd47166fd746c3a5a57fbd6a0fb3ae6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:28 + docker inspect -f . ci-base-image-arm64 04:00:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:28 prd-ubuntu20.04-docker-arm64-4c-16g-1630 does not seem to be running inside a container 04:00:28 $ 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 04:00:29 $ docker top c6328a77fc915887e98d3ab672fd2e6e2bc6140e52b7a074063bafba071cb78a -eo pid,comm [Pipeline] { [Pipeline] sh 04:00:30 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 04:00:30 + make test 04:00:30 go test -race -coverprofile=coverage.out ./... 04:03:07 ? github.com/edgexfoundry/app-record-replay [no test files] 04:03:17 ok github.com/edgexfoundry/app-record-replay/internal/app 0.265s coverage: 87.5% of statements 04:03:17 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.390s coverage: 86.0% of statements 04:03:21 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:03:21 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:03:21 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:03:21 ok github.com/edgexfoundry/app-record-replay/internal/data 0.209s coverage: 65.2% of statements 04:03:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:03:22 go vet ./... 04:05:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:05:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:05:43 ./bin/test-attribution-txt.sh [Pipeline] echo 04:05:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:05:43 $ docker stop --time=1 c6328a77fc915887e98d3ab672fd2e6e2bc6140e52b7a074063bafba071cb78a 04:05:45 $ docker rm -f --volumes c6328a77fc915887e98d3ab672fd2e6e2bc6140e52b7a074063bafba071cb78a [Pipeline] // withDockerContainer [Pipeline] sh 04:05:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:05:47 Warning: overwriting stash ‘coverage-report’ 04:05:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:05:48 + ls -al . 04:05:48 total 164 04:05:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 04:00 . 04:05:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 03:58 .. 04:05:48 -rw-rw-r-- 1 jenkins jenkins 119 Jul 20 03:58 .dockerignore 04:05:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 03:58 .git 04:05:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 03:58 .github 04:05:48 -rw-rw-r-- 1 jenkins jenkins 164 Jul 20 03:58 .gitignore 04:05:48 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 03:58 .golangci.yml 04:05:48 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 20 03:58 Attribution.txt 04:05:48 -rw-rw-r-- 1 jenkins jenkins 258 Jul 20 03:58 CHANGELOG.md 04:05:48 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 20 03:58 Dockerfile 04:05:48 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 03:58 GOVERNANCE.md 04:05:48 -rw-rw-r-- 1 jenkins jenkins 681 Jul 20 03:58 Jenkinsfile 04:05:48 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 03:58 LICENSE 04:05:48 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 20 03:58 Makefile 04:05:48 -rw-rw-r-- 1 jenkins jenkins 611 Jul 20 03:58 OWNERS.md 04:05:48 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 20 03:58 README.md 04:05:48 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 20 03:58 Record and Reply.postman_collection.json 04:05:48 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 03:56 VERSION 04:05:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 03:58 bin 04:05:48 -rw-r--r-- 1 jenkins jenkins 8853 Jul 20 04:03 coverage.out 04:05:48 -rw-rw-r-- 1 jenkins jenkins 3680 Jul 20 03:58 go.mod 04:05:48 -rw-rw-r-- 1 jenkins jenkins 32847 Jul 20 03:58 go.sum 04:05:48 drwxrwxr-x 6 jenkins jenkins 4096 Jul 20 03:58 internal 04:05:48 -rw-rw-r-- 1 jenkins jenkins 913 Jul 20 03:58 main.go 04:05:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 03:58 pkg 04:05:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 03:58 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:49 + 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=65179bb7d70119f567802e64e4f0913519820563 --label arch=arm64 --label version=0.0.0 . 04:05:49 Sending build context to Docker daemon 173.6kB 04:05:49 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:05:49 Step 2/26 : FROM ${BASE} AS builder 04:05:49 ---> d8e18aff108c 04:05:49 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:05:49 ---> Running in a4a8027af696 04:05:49 Removing intermediate container a4a8027af696 04:05:49 ---> 841bd85fd841 04:05:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:05:49 ---> Running in 756761b8048e 04:05:49 Removing intermediate container 756761b8048e 04:05:49 ---> 60d07c336358 04:05:49 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:05:50 ---> Running in 77af06c3b4a3 04:05:50 Removing intermediate container 77af06c3b4a3 04:05:50 ---> 3dc61514c12a 04:05:50 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:05:50 ---> Running in 2c736c429dba 04:05:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:05:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:05:52 OK: 263 MiB in 53 packages 04:05:54 Removing intermediate container 2c736c429dba 04:05:54 ---> 61e54bcdf0bb 04:05:54 Step 7/26 : WORKDIR /app 04:05:54 ---> Running in 071dbaacf511 04:05:55 Removing intermediate container 071dbaacf511 04:05:55 ---> 5551fadae791 04:05:55 Step 8/26 : COPY go.mod vendor* ./ 04:05:55 ---> 40cf4ff2fa26 04:05:55 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:55 ---> Running in 82f90983022f 04:05:58 Removing intermediate container 82f90983022f 04:05:58 ---> 95d94591e403 04:05:58 Step 10/26 : COPY . . 04:05:58 ---> da7e69f1d045 04:05:58 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:05:58 ---> Running in da1658b92be6 04:05:58 Removing intermediate container da1658b92be6 04:05:58 ---> d7fdb7f111bf 04:05:58 Step 12/26 : RUN $MAKE 04:05:58 ---> Running in 598343ca223d 04:05:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.11 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 04:08:06 Removing intermediate container 598343ca223d 04:08:06 ---> 571ea571ca4e 04:08:06 Step 13/26 : FROM alpine:3.17 04:08:06 3.17: Pulling from library/alpine 04:08:06 edb6bdbacee9: Already exists 04:08:06 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 04:08:06 Status: Downloaded newer image for alpine:3.17 04:08:06 ---> 779605e5fbc0 04:08:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:08:06 ---> Running in eb0c35a007b9 04:08:06 Removing intermediate container eb0c35a007b9 04:08:06 ---> 720bfb0907c1 04:08:06 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 04:08:06 ---> Running in 65b3307bc890 04:08:06 Removing intermediate container 65b3307bc890 04:08:06 ---> 29631b449932 04:08:06 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:08:06 ---> Running in 6dccdce901b1 04:08:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:08:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:08:06 (1/2) Installing ca-certificates (20230506-r0) 04:08:06 (2/2) Installing dumb-init (1.2.5-r2) 04:08:06 Executing busybox-1.35.0-r29.trigger 04:08:06 Executing ca-certificates-20230506-r0.trigger 04:08:06 OK: 8 MiB in 17 packages 04:08:07 Removing intermediate container 6dccdce901b1 04:08:07 ---> d60b333afdb6 04:08:07 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:08:08 ---> b6028df29fdb 04:08:08 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:08:09 ---> d6e06abf224b 04:08:09 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:08:09 ---> 4e2ee8d30d60 04:08:09 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 04:08:10 ---> a8d07cbca6ff 04:08:10 Step 21/26 : EXPOSE 59712 04:08:10 ---> Running in a2c0f62ce145 04:08:11 Removing intermediate container a2c0f62ce145 04:08:11 ---> 2babd73c84de 04:08:11 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 04:08:11 ---> Running in 7f0554deab59 04:08:11 Removing intermediate container 7f0554deab59 04:08:11 ---> b4f8a4b51103 04:08:11 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:08:11 ---> Running in 441e34ec3807 04:08:11 Removing intermediate container 441e34ec3807 04:08:11 ---> 0d218ef2d16a 04:08:11 Step 24/26 : LABEL arch=arm64 04:08:11 ---> Running in a00056baad54 04:08:12 Removing intermediate container a00056baad54 04:08:12 ---> c429f0985a4f 04:08:12 Step 25/26 : LABEL git_sha=65179bb7d70119f567802e64e4f0913519820563 04:08:12 ---> Running in db9b149b41ef 04:08:12 Removing intermediate container db9b149b41ef 04:08:12 ---> 526139880a91 04:08:12 Step 26/26 : LABEL version=0.0.0 04:08:12 ---> Running in aa1cdbcadea0 04:08:12 Removing intermediate container aa1cdbcadea0 04:08:12 ---> 478d3a45ddf5 04:08:12 [Warning] One or more build-args [ARCH] were not consumed 04:08:12 Successfully built 478d3a45ddf5 04:08:12 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:08:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:08:13 04:08:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:08:14 arm64: Pulling from edgex-lftools-log-publisher 04:08:14 8998bd30e6a1: Pulling fs layer 04:08:14 04944245beec: Pulling fs layer 04:08:14 699f458cf7ca: Pulling fs layer 04:08:14 765212b225bb: Pulling fs layer 04:08:14 f23df028b6ca: Pulling fs layer 04:08:14 d65c8cfc05b1: Pulling fs layer 04:08:14 2437ff75d9bd: Pulling fs layer 04:08:14 765212b225bb: Waiting 04:08:14 f23df028b6ca: Waiting 04:08:14 d65c8cfc05b1: Waiting 04:08:14 2437ff75d9bd: Waiting 04:08:14 04944245beec: Verifying Checksum 04:08:14 04944245beec: Download complete 04:08:14 765212b225bb: Verifying Checksum 04:08:14 765212b225bb: Download complete 04:08:14 f23df028b6ca: Verifying Checksum 04:08:14 f23df028b6ca: Download complete 04:08:14 d65c8cfc05b1: Verifying Checksum 04:08:14 d65c8cfc05b1: Download complete 04:08:14 699f458cf7ca: Verifying Checksum 04:08:14 699f458cf7ca: Download complete 04:08:15 8998bd30e6a1: Verifying Checksum 04:08:15 8998bd30e6a1: Download complete 04:08:16 2437ff75d9bd: Verifying Checksum 04:08:16 2437ff75d9bd: Download complete 04:08:18 8998bd30e6a1: Pull complete 04:08:20 04944245beec: Pull complete 04:08:22 699f458cf7ca: Pull complete 04:08:22 765212b225bb: Pull complete 04:08:23 f23df028b6ca: Pull complete 04:08:23 d65c8cfc05b1: Pull complete 04:08:38 2437ff75d9bd: Pull complete 04:08:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:08:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:08:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:38 prd-ubuntu20.04-docker-arm64-4c-16g-1630 does not seem to be running inside a container 04:08:38 $ 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:08:41 $ docker top 45d27362b106af74c65fbe20f0e7cec795fcc5d919166df5c7ef807a32949b03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:42 ---> job-cost.sh 04:08:42 lf-activate-venv: SKIPPING 04:08:42 INFO: No Stack... 04:08:42 INFO: Retrieving Pricing Info for: v3-standard-4 04:08:43 INFO: Archiving Costs [Pipeline] sh 04:08:43 + cat /w/workspace/app-record-replay/1/archives/cost.csv 04:08:43 + cut -d, -f6 [Pipeline] lock 04:08:43 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-46-1-stack-cost] 04:08:43 Resource [jenkins-edgexfoundry-app-record-replay-PR-46-1-stack-cost] did not exist. Created. 04:08:43 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-46-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:08:44 /w/workspace/app-record-replay/1@tmp/durable-1432496b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:08:44 + echo total: 0.10999999940395355 [Pipeline] stash 04:08:44 Warning: overwriting stash ‘stack-cost’ 04:08:44 Stashed 1 file(s) [Pipeline] } 04:08:44 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-46-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:08:44 $ docker stop --time=1 45d27362b106af74c65fbe20f0e7cec795fcc5d919166df5c7ef807a32949b03 04:08:46 $ docker rm -f --volumes 45d27362b106af74c65fbe20f0e7cec795fcc5d919166df5c7ef807a32949b03 [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:08:47 provisioning config files... 04:08:47 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-46 #1 04:08:47 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-46@tmp/config16850855804183786410tmp [Pipeline] { [Pipeline] sh 04:08:47 + set +x 04:08:47 + curl -s https://codecov.io/bash 04:08:47 + bash -s -- 04:08:47 04:08:47 _____ _ 04:08:47 / ____| | | 04:08:47 | | ___ __| | ___ ___ _____ __ 04:08:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:08:47 | |___| (_) | (_| | __/ (_| (_) \ V / 04:08:47 \_____\___/ \__,_|\___|\___\___/ \_/ 04:08:47 Bash-1.0.6 04:08:47 04:08:47 04:08:47 ==> git version 2.25.1 found 04:08:47 ==> 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:08:47 Release-Date: 2020-01-08 04:08:47 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:08:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:08:47 ==> Jenkins CI detected. 04:08:47 current dir:  /w/workspace/xfoundry_app-record-replay_PR-46 04:08:47 project root: . 04:08:47 --> token set from env 04:08:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:08:47 ==> Running gcov in . (disable via -X gcov) 04:08:47 ==> Python coveragepy not found 04:08:47 ==> Searching for coverage reports in: 04:08:47 + . 04:08:47 -> Found 1 reports 04:08:47 ==> Detecting git/mercurial file structure 04:08:47 ==> Reading reports 04:08:47 + ./coverage.out bytes=8853 04:08:47 ==> Appending adjustments 04:08:47 https://docs.codecov.io/docs/fixing-reports 04:08:47 + Found adjustments 04:08:47 ==> Gzipping contents 04:08:47 4.0K /tmp/codecov.pL90UX.gz 04:08:47 ==> Uploading reports 04:08:47 url: https://codecov.io 04:08:47 query: branch=PR-46&commit=65179bb7d70119f567802e64e4f0913519820563&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-46%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=46&job=&cmd_args= 04:08:47 -> Pinging Codecov 04:08:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-46&commit=65179bb7d70119f567802e64e4f0913519820563&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-46%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=46&job=&cmd_args= 04:08:47 Invalid request parameters 04:08:47 400 [Pipeline] } 04:08:47 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:08:49 + [ -d /w/workspace/xfoundry_app-record-replay_PR-46/archives ] 04:08:49 + ls -al /w/workspace/xfoundry_app-record-replay_PR-46/archives 04:08:49 total 16 04:08:49 drwxr-xr-x 3 root root 4096 Jul 20 03:59 . 04:08:49 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 03:59 .. 04:08:49 drwxr-xr-x 2 root root 4096 Jul 20 03:59 cost 04:08:49 -rw-r--r-- 1 root root 88 Jul 20 03:59 cost.csv 04:08:49 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-46/archives 04:08:49 + ls -al /w/workspace/xfoundry_app-record-replay_PR-46/archives 04:08:49 total 16 04:08:49 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 03:59 . 04:08:49 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 03:59 .. 04:08:49 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 03:59 cost 04:08:49 -rw-r--r-- 1 jenkins jenkins 88 Jul 20 03:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:08:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:08:50 ---> package-listing.sh 04:08:50 ++ facter osfamily 04:08:50 ++ tr '[:upper:]' '[:lower:]' 04:08:51 + OS_FAMILY=debian 04:08:51 + workspace=/w/workspace/xfoundry_app-record-replay_PR-46 04:08:51 + START_PACKAGES=/tmp/packages_start.txt 04:08:51 + END_PACKAGES=/tmp/packages_end.txt 04:08:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:08:51 + PACKAGES=/tmp/packages_start.txt 04:08:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-46 ']' 04:08:51 + PACKAGES=/tmp/packages_end.txt 04:08:51 + case "${OS_FAMILY}" in 04:08:51 + grep '^ii' 04:08:51 + dpkg -l 04:08:51 + '[' -f /tmp/packages_start.txt ']' 04:08:51 + '[' -f /tmp/packages_end.txt ']' 04:08:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:08:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-46 ']' 04:08:51 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-46/archives/ 04:08:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-46/archives/ [Pipeline] echo 04:08:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-46/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:08:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:52 prd-ubuntu20.04-docker-8c-8g-1629 does not seem to be running inside a container 04:08:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-46/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-46 -v /w/workspace/xfoundry_app-record-replay_PR-46:/w/workspace/xfoundry_app-record-replay_PR-46:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-46@tmp:/w/workspace/xfoundry_app-record-replay_PR-46@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:08:52 $ docker top d8f08d7224c2290ccf936bf570667a05c79f0637eed4b6da4cd199d514c47396 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:52 + touch /tmp/pre-build-complete [Pipeline] sh 04:08:52 + mkdir -p /var/log/sysstat [Pipeline] sh 04:08:53 + ls /var/log/sa-host 04:08:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:53 provisioning config files... 04:08:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-46@tmp/config10833769963761535315tmp [Pipeline] { [Pipeline] echo 04:08:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:08:53 ---> create-netrc.sh [Pipeline] } 04:08:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:08:54 ---> python-tools-install.sh [Pipeline] echo 04:08:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:08:54 ---> sudo-logs.sh 04:08:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:08:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:08:55 ---> job-cost.sh 04:08:55 lf-activate-venv: SKIPPING 04:08:55 DEBUG: total: 0.2199999988079071 04:08:55 INFO: Retrieving Stack Cost... 04:08:55 INFO: Retrieving Pricing Info for: v3-standard-8 04:08:55 INFO: Archiving Costs [Pipeline] echo 04:08:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:08:56 ---> logs-deploy.sh 04:08:56 lf-activate-venv: SKIPPING 04:08:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-46/1 04:08:56 INFO: archiving workspace using pattern(s): 04:08:57 Archives upload complete. 04:08:57 INFO: archiving logs to Nexus