Pull request #53 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from 7e56d74b4b1d8e9d5b1c4337491d414b1763e445+1c067dd5da8bdafc1761443221fe5ec601182dbe (a10a7edcc915bde6f852740872a669a75b94d540) 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-ssh14800731701160524315.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-ssh2638276893621572183.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-53/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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14022444916597173017.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-53/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6051601688196807817.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-ssh14722085999412522934.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-53/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-53/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5279193496973011864.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-2682 in /w/workspace/xfoundry_app-record-replay_PR-53 [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-53 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1c067dd5da8bdafc1761443221fe5ec601182dbe into PR head commit 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 Merge succeeded, producing 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 Checking out Revision 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 (PR-53) > 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/53/head:refs/remotes/origin/PR-53 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 # 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 1c067dd5da8bdafc1761443221fe5ec601182dbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 # timeout=10 Commit message: "feat: Implement app level Start Replay" 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 23:27:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:27:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:27:37 ========================================================= 23:27:37 EdgeX Global Pipelines Version Info 23:27:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:27:37 ------------------- 23:27:37 stable info: 23:27:37 ------------------- 23:27:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:27:37 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:27:37 Message: update stable to v1.0.250 23:27:38 ------------------- 23:27:38 experimental info: 23:27:38 ------------------- 23:27:38 Commited By: **** collab-it+edgex@linuxfoundation.org 23:27:38 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 23:27:38 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:27:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:27:38 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:27:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:27:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:27:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:27:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:27:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:27:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-53 [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-53 [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-53 [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e56d74 [Pipeline] echo 23:27:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:27:40 provisioning config files... 23:27:40 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-53@tmp/config2698940127625293883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:40 ---> docker-login.sh 23:27:40 nexus3.edgexfoundry.org:10001 23:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:40 Configure a credential helper to remove this warning. See 23:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:40 23:27:40 Login Succeeded 23:27:40 nexus3.edgexfoundry.org:10002 23:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:40 Configure a credential helper to remove this warning. See 23:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:40 23:27:40 Login Succeeded 23:27:40 nexus3.edgexfoundry.org:10003 23:27:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:41 Configure a credential helper to remove this warning. See 23:27:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:41 23:27:41 Login Succeeded 23:27:41 nexus3.edgexfoundry.org:10004 23:27:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:41 Configure a credential helper to remove this warning. See 23:27:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:41 23:27:41 Login Succeeded 23:27:41 docker.io 23:27:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:41 Configure a credential helper to remove this warning. See 23:27:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:41 23:27:41 Login Succeeded 23:27:41 ---> docker-login.sh ends [Pipeline] } 23:27:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:27:42 + git rev-list -1 --merges 7e56d74b4b1d8e9d5b1c4337491d414b1763e445~1..7e56d74b4b1d8e9d5b1c4337491d414b1763e445 [Pipeline] echo 23:27:42 -----------> git rev-list -1 --merges 7e56d74b4b1d8e9d5b1c4337491d414b1763e445~1..7e56d74b4b1d8e9d5b1c4337491d414b1763e445 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 [false] [Pipeline] sh 23:27:42 + git log --format=format:%s -1 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 [Pipeline] echo 23:27:42 ========================================================= 23:27:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:27:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:27:43 + git log --format=format:%s -1 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 [Pipeline] echo 23:27:43 [semverPrep] GIT_COMMIT: 7e56d74b4b1d8e9d5b1c4337491d414b1763e445, Commit Message: feat: Implement app level Start Replay [Pipeline] echo 23:27:43 [semverPrep] This is not a build commit. [Pipeline] sh 23:27:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:27:43 + grep -v github /etc/ssh/ssh_known_hosts 23:27:43 + [ -e /tmp/ssh_known_hosts ] 23:27:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:27:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:27:43 + sudo tee -a /etc/ssh/ssh_known_hosts 23:27:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:27:44 23:27:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:27:44 0.1.4: Pulling from edgex-devops/py-git-semver 23:27:44 b85a868b505f: Pulling fs layer 23:27:44 e2be974225ed: Pulling fs layer 23:27:44 339a4e72a1f5: Pulling fs layer 23:27:44 988bab9f4d93: Pulling fs layer 23:27:44 1469e6f7b9e6: Pulling fs layer 23:27:44 eaf3925da568: Pulling fs layer 23:27:44 bab4dde63d76: Pulling fs layer 23:27:44 bde34c3a00c8: Pulling fs layer 23:27:44 b352a97aabf1: Pulling fs layer 23:27:44 4872d77fe225: Pulling fs layer 23:27:44 988bab9f4d93: Waiting 23:27:44 5851b861e8e6: Pulling fs layer 23:27:44 1469e6f7b9e6: Waiting 23:27:44 bde34c3a00c8: Waiting 23:27:44 eaf3925da568: Waiting 23:27:44 b352a97aabf1: Waiting 23:27:44 bab4dde63d76: Waiting 23:27:44 4872d77fe225: Waiting 23:27:44 5851b861e8e6: Waiting 23:27:44 e2be974225ed: Download complete 23:27:44 988bab9f4d93: Verifying Checksum 23:27:44 988bab9f4d93: Download complete 23:27:44 1469e6f7b9e6: Verifying Checksum 23:27:44 1469e6f7b9e6: Download complete 23:27:44 eaf3925da568: Verifying Checksum 23:27:44 eaf3925da568: Download complete 23:27:44 339a4e72a1f5: Verifying Checksum 23:27:44 339a4e72a1f5: Download complete 23:27:44 bde34c3a00c8: Verifying Checksum 23:27:44 bde34c3a00c8: Download complete 23:27:44 b352a97aabf1: Download complete 23:27:44 4872d77fe225: Verifying Checksum 23:27:44 4872d77fe225: Download complete 23:27:44 5851b861e8e6: Verifying Checksum 23:27:44 5851b861e8e6: Download complete 23:27:44 b85a868b505f: Verifying Checksum 23:27:44 b85a868b505f: Download complete 23:27:44 bab4dde63d76: Verifying Checksum 23:27:44 bab4dde63d76: Download complete 23:27:45 b85a868b505f: Pull complete 23:27:46 e2be974225ed: Pull complete 23:27:46 339a4e72a1f5: Pull complete 23:27:46 988bab9f4d93: Pull complete 23:27:46 1469e6f7b9e6: Pull complete 23:27:46 eaf3925da568: Pull complete 23:27:48 bab4dde63d76: Pull complete 23:27:48 bde34c3a00c8: Pull complete 23:27:48 b352a97aabf1: Pull complete 23:27:48 4872d77fe225: Pull complete 23:27:49 5851b861e8e6: Pull complete 23:27:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:27:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:27:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:49 prd-ubuntu20.04-docker-8c-8g-2682 does not seem to be running inside a container 23:27:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-53 -v /w/workspace/xfoundry_app-record-replay_PR-53:/w/workspace/xfoundry_app-record-replay_PR-53:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-53@tmp:/w/workspace/xfoundry_app-record-replay_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:27:51 $ docker top da63e7ba30e50ff6df85f641dd0b15974c8a201a5ee625257c2215c0153d3c04 -eo pid,comm 23:27:51 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). 23:27:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:27:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:27:52 [ssh-agent] Looking for ssh-agent implementation... 23:27:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:27:52 $ docker exec da63e7ba30e50ff6df85f641dd0b15974c8a201a5ee625257c2215c0153d3c04 ssh-agent 23:27:52 SSH_AUTH_SOCK=/tmp/ssh-RDf63DBlyZez/agent.33 23:27:52 SSH_AGENT_PID=39 23:27:52 Running ssh-add (command line suppressed) 23:27:52 Identity added: /w/workspace/xfoundry_app-record-replay_PR-53@tmp/private_key_10432906622127657949.key (/w/workspace/xfoundry_app-record-replay_PR-53@tmp/private_key_10432906622127657949.key) 23:27:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:27:52 + git tag --points-at HEAD [Pipeline] } 23:27:52 $ docker exec --env ******** --env ******** da63e7ba30e50ff6df85f641dd0b15974c8a201a5ee625257c2215c0153d3c04 ssh-agent -k 23:27:52 unset SSH_AUTH_SOCK; 23:27:52 unset SSH_AGENT_PID; 23:27:52 echo Agent pid 39 killed; 23:27:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:27:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:27:52 [ssh-agent] Looking for ssh-agent implementation... 23:27:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:27:53 $ docker exec da63e7ba30e50ff6df85f641dd0b15974c8a201a5ee625257c2215c0153d3c04 ssh-agent 23:27:53 SSH_AUTH_SOCK=/tmp/ssh-2VIPRMyqjQe5/agent.71 23:27:53 SSH_AGENT_PID=77 23:27:53 Running ssh-add (command line suppressed) 23:27:53 Identity added: /w/workspace/xfoundry_app-record-replay_PR-53@tmp/private_key_9974445127408681839.key (/w/workspace/xfoundry_app-record-replay_PR-53@tmp/private_key_9974445127408681839.key) 23:27:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:27:53 + git semver init 23:27:53 2023-08-01 23:27:53,815 [run_init] DEBUG init version:0.0.0 force:False 23:27:53 2023-08-01 23:27:53,816 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-53/.semver 23:27:53 2023-08-01 23:27:53,817 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-53/.semver 23:27:53 2023-08-01 23:27:53,817 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-53/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-53, universal_newlines=False, shell=None, istream=None) 23:27:54 2023-08-01 23:27:54,458 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-53/.git/info/exclude 23:27:54 2023-08-01 23:27:54,459 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-53/.semver/PR-53 with force:False 23:27:54 2023-08-01 23:27:54,459 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-53/.semver/PR-53 23:27:54 2023-08-01 23:27:54,464 [execute] INFO git cat-file --batch-check 23:27:54 2023-08-01 23:27:54,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-53/.semver, universal_newlines=False, shell=None, istream=) 23:27:54 2023-08-01 23:27:54,471 [execute] INFO git cat-file --batch 23:27:54 2023-08-01 23:27:54,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-53/.semver, universal_newlines=False, shell=None, istream=) 23:27:54 2023-08-01 23:27:54,477 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-53/.semver/PR-53 23:27:54 0.0.0 [Pipeline] } 23:27:54 $ docker exec --env ******** --env ******** da63e7ba30e50ff6df85f641dd0b15974c8a201a5ee625257c2215c0153d3c04 ssh-agent -k 23:27:54 unset SSH_AUTH_SOCK; 23:27:54 unset SSH_AGENT_PID; 23:27:54 echo Agent pid 77 killed; 23:27:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:27:55 + git semver [Pipeline] } 23:27:55 $ docker stop --time=1 da63e7ba30e50ff6df85f641dd0b15974c8a201a5ee625257c2215c0153d3c04 23:27:56 $ docker rm -f --volumes da63e7ba30e50ff6df85f641dd0b15974c8a201a5ee625257c2215c0153d3c04 [Pipeline] // withDockerContainer [Pipeline] sh 23:27:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:27:57 Stashed 1 file(s) [Pipeline] echo 23:27:57 [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 23:27:58 provisioning config files... 23:27:58 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-53@tmp/config4372465623825653446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:58 ---> docker-login.sh 23:27:58 nexus3.edgexfoundry.org:10001 23:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:58 Configure a credential helper to remove this warning. See 23:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:58 23:27:58 Login Succeeded 23:27:58 nexus3.edgexfoundry.org:10002 23:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:58 Configure a credential helper to remove this warning. See 23:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:58 23:27:58 Login Succeeded 23:27:58 nexus3.edgexfoundry.org:10003 23:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:58 Configure a credential helper to remove this warning. See 23:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:58 23:27:58 Login Succeeded 23:27:58 nexus3.edgexfoundry.org:10004 23:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:58 Configure a credential helper to remove this warning. See 23:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:58 23:27:58 Login Succeeded 23:27:58 docker.io 23:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:59 Configure a credential helper to remove this warning. See 23:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:59 23:27:59 Login Succeeded 23:27:59 ---> docker-login.sh ends [Pipeline] } 23:27:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:27:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:59 ========================================================= 23:27:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:27:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:59 + 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 . 23:27:59 Sending build context to Docker daemon 427kB 23:27:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:27:59 Step 2/12 : FROM ${BASE} AS builder 23:27:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:27:59 4db1b89c0bd1: Pulling fs layer 23:27:59 6911f1a30b25: Pulling fs layer 23:27:59 e194b8c5c2a9: Pulling fs layer 23:27:59 6863d3e3a2b1: Pulling fs layer 23:27:59 ec0bb842ea78: Pulling fs layer 23:27:59 40a00589a448: Pulling fs layer 23:27:59 6c08303d61cc: Pulling fs layer 23:27:59 798269fcf238: Pulling fs layer 23:27:59 ec0bb842ea78: Waiting 23:27:59 40a00589a448: Waiting 23:27:59 6863d3e3a2b1: Waiting 23:27:59 6c08303d61cc: Waiting 23:27:59 6911f1a30b25: Download complete 23:27:59 6863d3e3a2b1: Download complete 23:27:59 ec0bb842ea78: Verifying Checksum 23:27:59 ec0bb842ea78: Download complete 23:27:59 4db1b89c0bd1: Verifying Checksum 23:27:59 4db1b89c0bd1: Download complete 23:28:00 40a00589a448: Verifying Checksum 23:28:00 40a00589a448: Download complete 23:28:00 4db1b89c0bd1: Pull complete 23:28:00 6911f1a30b25: Pull complete 23:28:00 798269fcf238: Verifying Checksum 23:28:00 798269fcf238: Download complete 23:28:00 e194b8c5c2a9: Verifying Checksum 23:28:00 e194b8c5c2a9: Download complete 23:28:00 6c08303d61cc: Verifying Checksum 23:28:00 6c08303d61cc: Download complete 23:28:04 e194b8c5c2a9: Pull complete 23:28:04 6863d3e3a2b1: Pull complete 23:28:04 ec0bb842ea78: Pull complete 23:28:04 40a00589a448: Pull complete 23:28:06 6c08303d61cc: Pull complete 23:28:07 798269fcf238: Pull complete 23:28:07 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 23:28:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:28:07 ---> ec979cd7f677 23:28:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:28:11 ---> Running in d302b309b337 23:28:11 Removing intermediate container d302b309b337 23:28:11 ---> e4052a08e66c 23:28:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:28:11 ---> Running in 48bdabcbadb2 23:28:11 Removing intermediate container 48bdabcbadb2 23:28:11 ---> e07750366a01 23:28:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:28:11 ---> Running in 460a84439aee 23:28:11 Removing intermediate container 460a84439aee 23:28:11 ---> 1a26ff39c7c0 23:28:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:28:11 ---> Running in 3525f30ff3de 23:28:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:28:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:28:11 OK: 265 MiB in 53 packages 23:28:12 Removing intermediate container 3525f30ff3de 23:28:12 ---> 36c6335975ad 23:28:12 Step 7/12 : WORKDIR /app 23:28:12 ---> Running in 6c269a3a209d 23:28:12 Removing intermediate container 6c269a3a209d 23:28:12 ---> cb3a0edb3778 23:28:12 Step 8/12 : COPY go.mod vendor* ./ 23:28:12 ---> edb452d83a55 23:28:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:12 ---> Running in 7b7a09406f9f 23:28:13 Still waiting to schedule task 23:28:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:28:51 Removing intermediate container 7b7a09406f9f 23:28:51 ---> dd435e792b54 23:28:51 Step 10/12 : COPY . . 23:28:51 ---> 003d426dd322 23:28:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:28:51 ---> Running in 2b7e4e66b267 23:28:51 Removing intermediate container 2b7e4e66b267 23:28:51 ---> 679517779b1d 23:28:51 Step 12/12 : RUN $MAKE 23:28:51 ---> Running in b1cb1c0dfe85 23:28:51 noop 23:28:51 Removing intermediate container b1cb1c0dfe85 23:28:51 ---> 5cc027350a70 23:28:51 Successfully built 5cc027350a70 23:28:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:51 + docker inspect -f . ci-base-image-x86_64 23:28:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:51 prd-ubuntu20.04-docker-8c-8g-2682 does not seem to be running inside a container 23:28:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-53 -v /w/workspace/xfoundry_app-record-replay_PR-53:/w/workspace/xfoundry_app-record-replay_PR-53:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-53@tmp:/w/workspace/xfoundry_app-record-replay_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:28:52 $ docker top b599ed2a2b9d7a155b22f4c254683253804cd8b6c9141ae36b920a7736fab2da -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:52 + go version 23:28:52 go version go1.20.6 linux/amd64 [Pipeline] } 23:28:52 $ docker stop --time=1 b599ed2a2b9d7a155b22f4c254683253804cd8b6c9141ae36b920a7736fab2da 23:28:53 $ docker rm -f --volumes b599ed2a2b9d7a155b22f4c254683253804cd8b6c9141ae36b920a7736fab2da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:54 + docker inspect -f . ci-base-image-x86_64 23:28:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:54 prd-ubuntu20.04-docker-8c-8g-2682 does not seem to be running inside a container 23:28:54 $ 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-53 -v /w/workspace/xfoundry_app-record-replay_PR-53:/w/workspace/xfoundry_app-record-replay_PR-53:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-53@tmp:/w/workspace/xfoundry_app-record-replay_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:28:55 $ docker top 105fb6738855d1924d163a2503d0ee8c3eecf59d83d993fa1ccd8b5dd08c0670 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:55 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-53 [Pipeline] fileExists [Pipeline] sh 23:28:55 + make test 23:28:55 go test -race -coverprofile=coverage.out ./... 23:29:17 ? github.com/edgexfoundry/app-record-replay [no test files] 23:29:17 ok github.com/edgexfoundry/app-record-replay/internal/app 0.055s coverage: 87.5% of statements 23:29:17 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:29:17 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:29:17 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:29:17 ok github.com/edgexfoundry/app-record-replay/internal/application 2.068s coverage: 95.7% of statements 23:29:17 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.082s coverage: 85.6% of statements 23:29:35 go vet ./... 23:29:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:29:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:29:39 ./bin/test-attribution-txt.sh [Pipeline] echo 23:29:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:29:39 $ docker stop --time=1 105fb6738855d1924d163a2503d0ee8c3eecf59d83d993fa1ccd8b5dd08c0670 23:29:43 $ docker rm -f --volumes 105fb6738855d1924d163a2503d0ee8c3eecf59d83d993fa1ccd8b5dd08c0670 [Pipeline] // withDockerContainer [Pipeline] sh 23:29:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:29:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:29:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:29:45 + ls -al . 23:29:45 total 172 23:29:45 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 23:28 . 23:29:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 23:27 .. 23:29:45 -rw-rw-r-- 1 jenkins jenkins 119 Aug 1 23:27 .dockerignore 23:29:45 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 23:27 .git 23:29:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 23:27 .github 23:29:45 -rw-rw-r-- 1 jenkins jenkins 164 Aug 1 23:27 .gitignore 23:29:45 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 23:27 .golangci.yml 23:29:45 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 23:27 .semver 23:29:45 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 1 23:27 Attribution.txt 23:29:45 -rw-rw-r-- 1 jenkins jenkins 258 Aug 1 23:27 CHANGELOG.md 23:29:45 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 1 23:27 Dockerfile 23:29:45 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 23:27 GOVERNANCE.md 23:29:45 -rw-rw-r-- 1 jenkins jenkins 681 Aug 1 23:27 Jenkinsfile 23:29:45 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 1 23:27 LICENSE 23:29:45 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 1 23:27 Makefile 23:29:45 -rw-rw-r-- 1 jenkins jenkins 611 Aug 1 23:27 OWNERS.md 23:29:45 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 1 23:27 README.md 23:29:45 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 1 23:27 Record and Reply.postman_collection.json 23:29:45 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 23:27 VERSION 23:29:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 23:27 bin 23:29:45 -rw-r--r-- 1 jenkins jenkins 15375 Aug 1 23:29 coverage.out 23:29:45 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 1 23:27 go.mod 23:29:45 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 1 23:27 go.sum 23:29:45 drwxrwxr-x 6 jenkins jenkins 4096 Aug 1 23:27 internal 23:29:45 -rw-rw-r-- 1 jenkins jenkins 913 Aug 1 23:27 main.go 23:29:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 23:27 pkg 23:29:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 23:27 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:45 + 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=7e56d74b4b1d8e9d5b1c4337491d414b1763e445 --label arch=amd64 --label version=0.0.0 . 23:29:45 Sending build context to Docker daemon 443.4kB 23:29:45 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:29:45 Step 2/26 : FROM ${BASE} AS builder 23:29:45 ---> 5cc027350a70 23:29:45 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:29:45 ---> Running in 372553d013ea 23:29:45 Removing intermediate container 372553d013ea 23:29:45 ---> 77bf1af4fda5 23:29:45 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:29:45 ---> Running in 6b744ff739b0 23:29:45 Removing intermediate container 6b744ff739b0 23:29:45 ---> 28c178076b74 23:29:45 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:29:45 ---> Running in aff9cb9b58bb 23:29:45 Removing intermediate container aff9cb9b58bb 23:29:45 ---> 45c6466b915f 23:29:45 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:29:45 ---> Running in eb6bbb13e757 23:29:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:29:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:29:46 OK: 265 MiB in 53 packages 23:29:46 Removing intermediate container eb6bbb13e757 23:29:46 ---> 0cff905a8db5 23:29:46 Step 7/26 : WORKDIR /app 23:29:46 ---> Running in 4b9660822fd4 23:29:47 Removing intermediate container 4b9660822fd4 23:29:47 ---> 58b97cf84f7f 23:29:47 Step 8/26 : COPY go.mod vendor* ./ 23:29:47 ---> 4773789e1141 23:29:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:29:47 ---> Running in d85fee377e3a 23:29:48 Removing intermediate container d85fee377e3a 23:29:48 ---> cf1397ca242a 23:29:48 Step 10/26 : COPY . . 23:29:48 ---> 06193e309553 23:29:48 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:29:48 ---> Running in 2f341c6a1e00 23:29:48 Removing intermediate container 2f341c6a1e00 23:29:48 ---> dcf16fbb88e0 23:29:48 Step 12/26 : RUN $MAKE 23:29:48 ---> Running in 89c1e0c7c3e0 23:29:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:29:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2683 in /w/workspace/xfoundry_app-record-replay_PR-53 [Pipeline] { [Pipeline] ws 23:29:49 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 23:29:49 Selected Git installation does not exist. Using Default 23:29:49 The recommended git tool is: NONE 23:29:54 using credential edgex-jenkins-ssh 23:29:54 Cloning the remote Git repository 23:29:54 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:29:54 > git init /w/workspace/app-record-replay/1 # timeout=10 23:29:54 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:29:54 > git --version # timeout=10 23:29:54 > git --version # 'git version 2.25.1' 23:29:54 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:29:58 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:29:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:29:59 Merging remotes/origin/main commit 1c067dd5da8bdafc1761443221fe5ec601182dbe into PR head commit 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 23:29:59 Merge succeeded, producing 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 23:29:59 Checking out Revision 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 (PR-53) 23:29:58 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:29:58 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:29:58 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/53/head:refs/remotes/origin/PR-53 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:29:59 > git config core.sparsecheckout # timeout=10 23:29:59 > git checkout -f 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 # timeout=10 23:29:59 > git remote # timeout=10 23:29:59 > git config --get remote.origin.url # timeout=10 23:29:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:59 > git merge 1c067dd5da8bdafc1761443221fe5ec601182dbe # timeout=10 23:29:59 > git rev-parse HEAD^{commit} # timeout=10 23:29:59 > git config core.sparsecheckout # timeout=10 23:29:59 > git checkout -f 7e56d74b4b1d8e9d5b1c4337491d414b1763e445 # timeout=10 23:30:03 Commit message: "feat: Implement app level Start Replay" 23:30:03 > git --version # timeout=10 23:30:03 > git --version # 'git version 2.25.1' 23:30:03 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:30:04 % Total % Received % Xferd Average Speed Time Time Time Current 23:30:04 Dload Upload Total Spent Left Speed 23:30:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 23:30:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:30:05 + sudo tee /etc/docker/daemon.new 23:30:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:30:05 { 23:30:05 "registry-mirrors": [ 23:30:05 "https://nexus3.edgexfoundry.org:10001" 23:30:05 ], 23:30:05 "bip": "10.250.0.254/24", 23:30:05 "hosts": [ 23:30:05 "tcp://0.0.0.0:5555", 23:30:05 "unix:///var/run/docker.sock" 23:30:05 ], 23:30:05 "mtu": 1458, 23:30:05 "selinux-enabled": true, 23:30:05 "seccomp-profile": "/etc/docker/seccomp.json" 23:30:05 } [Pipeline] sh 23:30:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:30:06 + sudo service docker restart 23:30:10 Removing intermediate container 89c1e0c7c3e0 23:30:10 ---> 5bdd2cf52c82 23:30:10 Step 13/26 : FROM alpine:3.17 23:30:10 3.17: Pulling from library/alpine 23:30:10 4db1b89c0bd1: Already exists 23:30:10 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:30:10 Status: Downloaded newer image for alpine:3.17 23:30:10 ---> 1f73a9d63274 23:30:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:30:10 ---> Running in b37c30f6f4a1 23:30:10 Removing intermediate container b37c30f6f4a1 23:30:10 ---> b13e2fc8e25e 23:30:10 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:30:10 ---> Running in 8ff6d3f3b120 23:30:10 Removing intermediate container 8ff6d3f3b120 23:30:10 ---> bc3ebdfdec06 23:30:10 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:30:10 ---> Running in 25656051eb6c 23:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:30:10 (1/2) Installing ca-certificates (20230506-r0) 23:30:10 (2/2) Installing dumb-init (1.2.5-r2) 23:30:10 Executing busybox-1.35.0-r29.trigger 23:30:10 Executing ca-certificates-20230506-r0.trigger 23:30:10 OK: 8 MiB in 17 packages 23:30:10 Removing intermediate container 25656051eb6c 23:30:10 ---> 9328eeef8cf6 23:30:10 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:30:10 ---> 4597e073fd0a 23:30:10 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:30:11 ---> 24e403a41455 23:30:11 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:30:11 ---> d48e4996a3b5 23:30:11 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:30:12 ---> 03ea6c913b28 23:30:12 Step 21/26 : EXPOSE 59712 23:30:12 ---> Running in 1910176d7067 23:30:12 Removing intermediate container 1910176d7067 23:30:12 ---> 05901807fac5 23:30:12 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:30:12 ---> Running in 837cd13f3cf3 23:30:12 Removing intermediate container 837cd13f3cf3 23:30:12 ---> efd17368e74e 23:30:12 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:30:12 ---> Running in 34bdb9bf428a 23:30:12 Removing intermediate container 34bdb9bf428a 23:30:12 ---> c06eaf1f309e 23:30:12 Step 24/26 : LABEL arch=amd64 23:30:12 ---> Running in c40afbfc95fb 23:30:12 Removing intermediate container c40afbfc95fb 23:30:12 ---> 373b357a5664 23:30:12 Step 25/26 : LABEL git_sha=7e56d74b4b1d8e9d5b1c4337491d414b1763e445 23:30:12 ---> Running in 497bdca29840 23:30:12 Removing intermediate container 497bdca29840 23:30:12 ---> 2f32e2187221 23:30:12 Step 26/26 : LABEL version=0.0.0 23:30:12 ---> Running in 24eacc2d0ebf 23:30:12 Removing intermediate container 24eacc2d0ebf 23:30:12 ---> d23de5c87f43 23:30:12 [Warning] One or more build-args [ARCH] were not consumed 23:30:12 Successfully built d23de5c87f43 23:30:12 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 23:30:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:13 23:30:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:13 latest: Pulling from edgex-lftools-log-publisher 23:30:13 5eb5b503b376: Pulling fs layer 23:30:13 5c69ac0246d0: Pulling fs layer 23:30:13 ec43610c2a17: Pulling fs layer 23:30:13 3a2ae6a8a46f: Pulling fs layer 23:30:13 33b1e0a273af: Pulling fs layer 23:30:13 5d3b04190fa2: Pulling fs layer 23:30:13 2f39f015ded8: Pulling fs layer 23:30:13 33b1e0a273af: Waiting 23:30:13 5d3b04190fa2: Waiting 23:30:13 2f39f015ded8: Waiting 23:30:13 3a2ae6a8a46f: Waiting 23:30:13 5c69ac0246d0: Verifying Checksum 23:30:13 5c69ac0246d0: Download complete 23:30:13 3a2ae6a8a46f: Verifying Checksum 23:30:13 3a2ae6a8a46f: Download complete 23:30:14 33b1e0a273af: Verifying Checksum 23:30:14 33b1e0a273af: Download complete 23:30:14 5d3b04190fa2: Verifying Checksum 23:30:14 5d3b04190fa2: Download complete 23:30:14 ec43610c2a17: Verifying Checksum 23:30:14 ec43610c2a17: Download complete 23:30:14 5eb5b503b376: Verifying Checksum 23:30:14 5eb5b503b376: Download complete 23:30:14 2f39f015ded8: Verifying Checksum 23:30:14 2f39f015ded8: Download complete 23:30:15 5eb5b503b376: Pull complete 23:30:15 5c69ac0246d0: Pull complete 23:30:15 ec43610c2a17: Pull complete 23:30:15 3a2ae6a8a46f: Pull complete 23:30:15 33b1e0a273af: Pull complete 23:30:16 5d3b04190fa2: Pull complete 23:30:20 2f39f015ded8: Pull complete 23:30:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:30:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:22 prd-ubuntu20.04-docker-8c-8g-2682 does not seem to be running inside a container 23:30:22 $ 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-53 -v /w/workspace/xfoundry_app-record-replay_PR-53:/w/workspace/xfoundry_app-record-replay_PR-53:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-53@tmp:/w/workspace/xfoundry_app-record-replay_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:30:26 $ docker top baa907c3c97ba4d710fb9f742b5bb63f89d6221cb9fbcc55f1fc2ef6973d0706 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:26 ---> job-cost.sh 23:30:26 lf-activate-venv: SKIPPING 23:30:26 INFO: No Stack... 23:30:26 INFO: Retrieving Pricing Info for: v3-standard-8 23:30:27 INFO: Archiving Costs [Pipeline] sh 23:30:27 + cat /w/workspace/xfoundry_app-record-replay_PR-53/archives/cost.csv 23:30:27 + cut -d, -f6 [Pipeline] lock 23:30:27 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-53-1-stack-cost] 23:30:27 Resource [jenkins-edgexfoundry-app-record-replay-PR-53-1-stack-cost] did not exist. Created. 23:30:27 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-53-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:30:27 + echo total: 0.2199999988079071 [Pipeline] stash 23:30:27 Stashed 1 file(s) [Pipeline] } 23:30:27 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-53-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:30:28 $ docker stop --time=1 baa907c3c97ba4d710fb9f742b5bb63f89d6221cb9fbcc55f1fc2ef6973d0706 23:30:29 $ docker rm -f --volumes baa907c3c97ba4d710fb9f742b5bb63f89d6221cb9fbcc55f1fc2ef6973d0706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 23:30:29 provisioning config files... [Pipeline] } 23:30:29 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config4797129688561509575tmp [Pipeline] // withEnv [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] } 23:30:29 ---> docker-login.sh 23:30:29 nexus3.edgexfoundry.org:10001 23:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:30 Configure a credential helper to remove this warning. See 23:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:30 23:30:30 Login Succeeded 23:30:30 nexus3.edgexfoundry.org:10002 23:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:30 Configure a credential helper to remove this warning. See 23:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:30 23:30:30 Login Succeeded 23:30:30 nexus3.edgexfoundry.org:10003 23:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:31 Configure a credential helper to remove this warning. See 23:30:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:31 23:30:31 Login Succeeded 23:30:31 nexus3.edgexfoundry.org:10004 23:30:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:31 Configure a credential helper to remove this warning. See 23:30:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:31 23:30:31 Login Succeeded 23:30:31 docker.io 23:30:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:32 Configure a credential helper to remove this warning. See 23:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:32 23:30:32 Login Succeeded 23:30:32 ---> docker-login.sh ends [Pipeline] } 23:30:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:30:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:32 ========================================================= 23:30:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:30:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:30:33 Sending build context to Docker daemon 191kB 23:30:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:30:33 Step 2/12 : FROM ${BASE} AS builder 23:30:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:30:33 edb6bdbacee9: Pulling fs layer 23:30:33 5f9638ab2659: Pulling fs layer 23:30:33 8d51d6327a98: Pulling fs layer 23:30:33 8b374f2dd631: Pulling fs layer 23:30:33 ec14aa9079de: Pulling fs layer 23:30:33 2f466654f4bb: Pulling fs layer 23:30:33 554e91adad29: Pulling fs layer 23:30:33 ec14aa9079de: Waiting 23:30:33 2f466654f4bb: Waiting 23:30:33 8b374f2dd631: Waiting 23:30:33 554e91adad29: Waiting 23:30:33 5f9638ab2659: Verifying Checksum 23:30:33 5f9638ab2659: Download complete 23:30:33 8b374f2dd631: Verifying Checksum 23:30:33 8b374f2dd631: Download complete 23:30:33 ec14aa9079de: Verifying Checksum 23:30:33 ec14aa9079de: Download complete 23:30:33 edb6bdbacee9: Verifying Checksum 23:30:33 edb6bdbacee9: Download complete 23:30:34 edb6bdbacee9: Pull complete 23:30:34 554e91adad29: Verifying Checksum 23:30:34 554e91adad29: Download complete 23:30:35 5f9638ab2659: Pull complete 23:30:36 8d51d6327a98: Verifying Checksum 23:30:36 8d51d6327a98: Download complete 23:30:36 2f466654f4bb: Verifying Checksum 23:30:36 2f466654f4bb: Download complete 23:30:48 8d51d6327a98: Pull complete 23:30:48 8b374f2dd631: Pull complete 23:30:48 ec14aa9079de: Pull complete 23:30:53 2f466654f4bb: Pull complete 23:30:56 554e91adad29: Pull complete 23:30:56 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 23:30:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:30:56 ---> 1e15ea492957 23:30:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:30:57 ---> Running in 716c873e9433 23:30:58 Removing intermediate container 716c873e9433 23:30:58 ---> 655f31aa6152 23:30:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:30:58 ---> Running in 4ddbb6eb753e 23:30:58 Removing intermediate container 4ddbb6eb753e 23:30:58 ---> a1cd78926135 23:30:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:30:58 ---> Running in e43a25366124 23:30:58 Removing intermediate container e43a25366124 23:30:58 ---> fa31326a994e 23:30:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:30:58 ---> Running in 4192e6eae3a2 23:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:31:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:31:01 OK: 263 MiB in 53 packages 23:31:02 Removing intermediate container 4192e6eae3a2 23:31:02 ---> a398c670be78 23:31:02 Step 7/12 : WORKDIR /app 23:31:02 ---> Running in a35ffb09c66a 23:31:02 Removing intermediate container a35ffb09c66a 23:31:02 ---> 666851ea041d 23:31:02 Step 8/12 : COPY go.mod vendor* ./ 23:31:03 ---> 16963ba17a61 23:31:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:03 ---> Running in 1321d0e2c9a7 23:32:11 Removing intermediate container 1321d0e2c9a7 23:32:11 ---> 61b52270506c 23:32:11 Step 10/12 : COPY . . 23:32:11 ---> e9bad7018fe8 23:32:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:32:11 ---> Running in 7a6fec703384 23:32:11 Removing intermediate container 7a6fec703384 23:32:11 ---> 2985d6fb0885 23:32:11 Step 12/12 : RUN $MAKE 23:32:11 ---> Running in cb2d48df626b 23:32:11 noop 23:32:11 Removing intermediate container cb2d48df626b 23:32:11 ---> fce23d965262 23:32:11 Successfully built fce23d965262 23:32:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:11 + docker inspect -f . ci-base-image-arm64 23:32:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:11 prd-ubuntu20.04-docker-arm64-4c-16g-2683 does not seem to be running inside a container 23:32:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:32:13 $ docker top 47338e5fef5215f0faa8431c309774eae51750fe4092812e1a3de5850d7e7fcf -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:13 + go version 23:32:13 go version go1.20.6 linux/arm64 [Pipeline] } 23:32:14 $ docker stop --time=1 47338e5fef5215f0faa8431c309774eae51750fe4092812e1a3de5850d7e7fcf 23:32:15 $ docker rm -f --volumes 47338e5fef5215f0faa8431c309774eae51750fe4092812e1a3de5850d7e7fcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:16 + docker inspect -f . ci-base-image-arm64 23:32:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:16 prd-ubuntu20.04-docker-arm64-4c-16g-2683 does not seem to be running inside a container 23:32:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:32:17 $ docker top 9c026a8b7ff54b14fa27550211510d5b14ad4e8590e2a9eaffc249f2d159d6f3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:18 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 23:32:18 + make test 23:32:18 go test -race -coverprofile=coverage.out ./... 23:34:56 ? github.com/edgexfoundry/app-record-replay [no test files] 23:35:08 ok github.com/edgexfoundry/app-record-replay/internal/app 0.298s coverage: 87.5% of statements 23:35:10 ok github.com/edgexfoundry/app-record-replay/internal/application 2.431s coverage: 95.7% of statements 23:35:13 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:35:13 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:35:13 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:35:13 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.412s coverage: 85.6% of statements 23:35:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:35:14 go vet ./... 23:37:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:37:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:37:36 ./bin/test-attribution-txt.sh [Pipeline] echo 23:37:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:37:36 $ docker stop --time=1 9c026a8b7ff54b14fa27550211510d5b14ad4e8590e2a9eaffc249f2d159d6f3 23:37:38 $ docker rm -f --volumes 9c026a8b7ff54b14fa27550211510d5b14ad4e8590e2a9eaffc249f2d159d6f3 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:37:39 Warning: overwriting stash ‘coverage-report’ 23:37:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:37:41 + ls -al . 23:37:41 total 168 23:37:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 23:32 . 23:37:41 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 23:29 .. 23:37:41 -rw-rw-r-- 1 jenkins jenkins 119 Aug 1 23:29 .dockerignore 23:37:41 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 23:29 .git 23:37:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 23:29 .github 23:37:41 -rw-rw-r-- 1 jenkins jenkins 164 Aug 1 23:29 .gitignore 23:37:41 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 23:29 .golangci.yml 23:37:41 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 1 23:29 Attribution.txt 23:37:41 -rw-rw-r-- 1 jenkins jenkins 258 Aug 1 23:29 CHANGELOG.md 23:37:41 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 1 23:29 Dockerfile 23:37:41 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 23:29 GOVERNANCE.md 23:37:41 -rw-rw-r-- 1 jenkins jenkins 681 Aug 1 23:29 Jenkinsfile 23:37:41 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 1 23:29 LICENSE 23:37:41 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 1 23:29 Makefile 23:37:41 -rw-rw-r-- 1 jenkins jenkins 611 Aug 1 23:29 OWNERS.md 23:37:41 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 1 23:29 README.md 23:37:41 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 1 23:29 Record and Reply.postman_collection.json 23:37:41 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 23:27 VERSION 23:37:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 23:29 bin 23:37:41 -rw-r--r-- 1 jenkins jenkins 15375 Aug 1 23:35 coverage.out 23:37:41 -rw-rw-r-- 1 jenkins jenkins 3668 Aug 1 23:29 go.mod 23:37:41 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 1 23:29 go.sum 23:37:41 drwxrwxr-x 6 jenkins jenkins 4096 Aug 1 23:29 internal 23:37:41 -rw-rw-r-- 1 jenkins jenkins 913 Aug 1 23:29 main.go 23:37:41 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 23:29 pkg 23:37:41 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 23:29 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:41 + 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=7e56d74b4b1d8e9d5b1c4337491d414b1763e445 --label arch=arm64 --label version=0.0.0 . 23:37:41 Sending build context to Docker daemon 207.4kB 23:37:42 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:37:42 Step 2/26 : FROM ${BASE} AS builder 23:37:42 ---> fce23d965262 23:37:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:37:42 ---> Running in 72d62548461d 23:37:42 Removing intermediate container 72d62548461d 23:37:42 ---> 3f6521f38a36 23:37:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:37:42 ---> Running in 539ed36d8fce 23:37:42 Removing intermediate container 539ed36d8fce 23:37:42 ---> 48c6de98425b 23:37:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:37:42 ---> Running in fce83f5dd470 23:37:43 Removing intermediate container fce83f5dd470 23:37:43 ---> 68d1824c618e 23:37:43 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:43 ---> Running in 17da52741a84 23:37:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:37:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:37:46 OK: 263 MiB in 53 packages 23:37:47 Removing intermediate container 17da52741a84 23:37:47 ---> 12776a394ee1 23:37:47 Step 7/26 : WORKDIR /app 23:37:47 ---> Running in 93bdcd8258b8 23:37:47 Removing intermediate container 93bdcd8258b8 23:37:47 ---> 760722ab5d91 23:37:47 Step 8/26 : COPY go.mod vendor* ./ 23:37:47 ---> e1c51e8cb636 23:37:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:47 ---> Running in adcd34b4b5c0 23:37:50 Removing intermediate container adcd34b4b5c0 23:37:50 ---> 7d777fd8f381 23:37:50 Step 10/26 : COPY . . 23:37:50 ---> 0504a878364b 23:37:50 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:50 ---> Running in 4fac16a5ab13 23:37:51 Removing intermediate container 4fac16a5ab13 23:37:51 ---> e64e224309bf 23:37:51 Step 12/26 : RUN $MAKE 23:37:51 ---> Running in 025df86bdac2 23:37:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 23:39:59 Removing intermediate container 025df86bdac2 23:39:59 ---> 4124d39d181d 23:39:59 Step 13/26 : FROM alpine:3.17 23:39:59 3.17: Pulling from library/alpine 23:39:59 edb6bdbacee9: Already exists 23:39:59 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 23:39:59 Status: Downloaded newer image for alpine:3.17 23:39:59 ---> 779605e5fbc0 23:39:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:39:59 ---> Running in f654f3860b23 23:39:59 Removing intermediate container f654f3860b23 23:39:59 ---> ade991290100 23:39:59 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 23:39:59 ---> Running in a43b2fa1a4d6 23:39:59 Removing intermediate container a43b2fa1a4d6 23:39:59 ---> 99225e41c139 23:39:59 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:39:59 ---> Running in d88c43363de6 23:39:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:39:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:39:59 (1/2) Installing ca-certificates (20230506-r0) 23:39:59 (2/2) Installing dumb-init (1.2.5-r2) 23:39:59 Executing busybox-1.35.0-r29.trigger 23:39:59 Executing ca-certificates-20230506-r0.trigger 23:39:59 OK: 8 MiB in 17 packages 23:40:00 Removing intermediate container d88c43363de6 23:40:00 ---> ecf7ecd00689 23:40:00 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:40:00 ---> c83bab1e47d3 23:40:00 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:40:01 ---> 62dde67c4887 23:40:01 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:40:01 ---> f660c1608e3d 23:40:01 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 23:40:03 ---> 4835190b0e59 23:40:03 Step 21/26 : EXPOSE 59712 23:40:03 ---> Running in bbab30c6424f 23:40:03 Removing intermediate container bbab30c6424f 23:40:03 ---> 202275772d2b 23:40:03 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 23:40:03 ---> Running in 7b957004c1fa 23:40:03 Removing intermediate container 7b957004c1fa 23:40:03 ---> 59f2897aa538 23:40:03 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:40:03 ---> Running in 2dd801c31207 23:40:04 Removing intermediate container 2dd801c31207 23:40:04 ---> 98a4cbce4446 23:40:04 Step 24/26 : LABEL arch=arm64 23:40:04 ---> Running in 144479efe514 23:40:04 Removing intermediate container 144479efe514 23:40:04 ---> f467453b2310 23:40:04 Step 25/26 : LABEL git_sha=7e56d74b4b1d8e9d5b1c4337491d414b1763e445 23:40:04 ---> Running in 96a26fccde4c 23:40:04 Removing intermediate container 96a26fccde4c 23:40:04 ---> 5af12baaf877 23:40:04 Step 26/26 : LABEL version=0.0.0 23:40:05 ---> Running in d0adaafa6729 23:40:05 Removing intermediate container d0adaafa6729 23:40:05 ---> f9933bbbe273 23:40:05 [Warning] One or more build-args [ARCH] were not consumed 23:40:05 Successfully built f9933bbbe273 23:40:05 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 23:40:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:06 23:40:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:06 arm64: Pulling from edgex-lftools-log-publisher 23:40:06 8998bd30e6a1: Pulling fs layer 23:40:06 04944245beec: Pulling fs layer 23:40:06 699f458cf7ca: Pulling fs layer 23:40:06 765212b225bb: Pulling fs layer 23:40:06 f23df028b6ca: Pulling fs layer 23:40:06 d65c8cfc05b1: Pulling fs layer 23:40:06 2437ff75d9bd: Pulling fs layer 23:40:06 765212b225bb: Waiting 23:40:06 f23df028b6ca: Waiting 23:40:06 d65c8cfc05b1: Waiting 23:40:06 2437ff75d9bd: Waiting 23:40:06 04944245beec: Verifying Checksum 23:40:06 04944245beec: Download complete 23:40:06 765212b225bb: Verifying Checksum 23:40:06 765212b225bb: Download complete 23:40:06 f23df028b6ca: Verifying Checksum 23:40:06 f23df028b6ca: Download complete 23:40:06 d65c8cfc05b1: Download complete 23:40:06 699f458cf7ca: Verifying Checksum 23:40:06 699f458cf7ca: Download complete 23:40:07 8998bd30e6a1: Verifying Checksum 23:40:07 8998bd30e6a1: Download complete 23:40:09 2437ff75d9bd: Verifying Checksum 23:40:11 8998bd30e6a1: Pull complete 23:40:12 04944245beec: Pull complete 23:40:13 699f458cf7ca: Pull complete 23:40:13 765212b225bb: Pull complete 23:40:14 f23df028b6ca: Pull complete 23:40:14 d65c8cfc05b1: Pull complete 23:40:29 2437ff75d9bd: Pull complete 23:40:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:29 prd-ubuntu20.04-docker-arm64-4c-16g-2683 does not seem to be running inside a container 23:40:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:40:32 $ docker top c80dfa4cb8cf9fc1cc6b2d7f5959e72c06b81943b7037828726f06b7f7cd67ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:32 ---> job-cost.sh 23:40:33 lf-activate-venv: SKIPPING 23:40:33 INFO: No Stack... 23:40:33 INFO: Retrieving Pricing Info for: v3-standard-4 23:40:34 INFO: Archiving Costs [Pipeline] sh 23:40:34 + cat /w/workspace/app-record-replay/1/archives/cost.csv 23:40:34 + cut -d, -f6 [Pipeline] lock 23:40:35 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-53-1-stack-cost] 23:40:35 Resource [jenkins-edgexfoundry-app-record-replay-PR-53-1-stack-cost] did not exist. Created. 23:40:35 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-53-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:40:35 /w/workspace/app-record-replay/1@tmp/durable-ac3655b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:40:36 + echo total: 0.10999999940395355 [Pipeline] stash 23:40:36 Warning: overwriting stash ‘stack-cost’ 23:40:36 Stashed 1 file(s) [Pipeline] } 23:40:36 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-53-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:36 $ docker stop --time=1 c80dfa4cb8cf9fc1cc6b2d7f5959e72c06b81943b7037828726f06b7f7cd67ed 23:40:37 $ docker rm -f --volumes c80dfa4cb8cf9fc1cc6b2d7f5959e72c06b81943b7037828726f06b7f7cd67ed [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 23:40:38 provisioning config files... 23:40:38 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-53 #1 23:40:38 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-53@tmp/config3153333007200891251tmp [Pipeline] { [Pipeline] sh 23:40:39 + set +x 23:40:39 + curl -s https://codecov.io/bash 23:40:39 + bash -s -- 23:40:39 23:40:39 _____ _ 23:40:39 / ____| | | 23:40:39 | | ___ __| | ___ ___ _____ __ 23:40:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:40:39 | |___| (_) | (_| | __/ (_| (_) \ V / 23:40:39 \_____\___/ \__,_|\___|\___\___/ \_/ 23:40:39 Bash-1.0.6 23:40:39 23:40:39 23:40:39 ==> git version 2.25.1 found 23:40:39 ==> 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 23:40:39 Release-Date: 2020-01-08 23:40:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:40:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:40:39 ==> Jenkins CI detected. 23:40:39 current dir:  /w/workspace/xfoundry_app-record-replay_PR-53 23:40:39 project root: . 23:40:39 --> token set from env 23:40:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:40:39 ==> Running gcov in . (disable via -X gcov) 23:40:39 ==> Python coveragepy not found 23:40:39 ==> Searching for coverage reports in: 23:40:39 + . 23:40:39 -> Found 1 reports 23:40:39 ==> Detecting git/mercurial file structure 23:40:39 ==> Reading reports 23:40:39 + ./coverage.out bytes=15375 23:40:39 ==> Appending adjustments 23:40:39 https://docs.codecov.io/docs/fixing-reports 23:40:39 + Found adjustments 23:40:39 ==> Gzipping contents 23:40:39 4.0K /tmp/codecov.y8DvOp.gz 23:40:39 ==> Uploading reports 23:40:39 url: https://codecov.io 23:40:39 query: branch=PR-53&commit=7e56d74b4b1d8e9d5b1c4337491d414b1763e445&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=53&job=&cmd_args= 23:40:39 -> Pinging Codecov 23:40:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-53&commit=7e56d74b4b1d8e9d5b1c4337491d414b1763e445&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-53%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=53&job=&cmd_args= 23:40:39 Invalid request parameters 23:40:39 400 [Pipeline] } 23:40:39 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 23:40:41 + [ -d /w/workspace/xfoundry_app-record-replay_PR-53/archives ] 23:40:41 + ls -al /w/workspace/xfoundry_app-record-replay_PR-53/archives 23:40:41 total 16 23:40:41 drwxr-xr-x 3 root root 4096 Aug 1 23:30 . 23:40:41 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 23:30 .. 23:40:41 drwxr-xr-x 2 root root 4096 Aug 1 23:30 cost 23:40:41 -rw-r--r-- 1 root root 88 Aug 1 23:30 cost.csv 23:40:41 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-53/archives 23:40:41 + ls -al /w/workspace/xfoundry_app-record-replay_PR-53/archives 23:40:41 total 16 23:40:41 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 23:30 . 23:40:41 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 23:30 .. 23:40:41 drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 23:30 cost 23:40:41 -rw-r--r-- 1 jenkins jenkins 88 Aug 1 23:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:40:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:40:42 ---> package-listing.sh 23:40:42 ++ facter osfamily 23:40:42 ++ tr '[:upper:]' '[:lower:]' 23:40:42 + OS_FAMILY=debian 23:40:42 + workspace=/w/workspace/xfoundry_app-record-replay_PR-53 23:40:42 + START_PACKAGES=/tmp/packages_start.txt 23:40:42 + END_PACKAGES=/tmp/packages_end.txt 23:40:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:40:42 + PACKAGES=/tmp/packages_start.txt 23:40:42 + '[' /w/workspace/xfoundry_app-record-replay_PR-53 ']' 23:40:42 + PACKAGES=/tmp/packages_end.txt 23:40:42 + case "${OS_FAMILY}" in 23:40:42 + dpkg -l 23:40:42 + grep '^ii' 23:40:42 + '[' -f /tmp/packages_start.txt ']' 23:40:42 + '[' -f /tmp/packages_end.txt ']' 23:40:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:40:42 + '[' /w/workspace/xfoundry_app-record-replay_PR-53 ']' 23:40:42 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-53/archives/ 23:40:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-53/archives/ [Pipeline] echo 23:40:42 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-53/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:40:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:40:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:43 prd-ubuntu20.04-docker-8c-8g-2682 does not seem to be running inside a container 23:40:43 $ 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-53/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-53 -v /w/workspace/xfoundry_app-record-replay_PR-53:/w/workspace/xfoundry_app-record-replay_PR-53:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-53@tmp:/w/workspace/xfoundry_app-record-replay_PR-53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:40:44 $ docker top d481b133a120adce842e2be14be70951125c693449f6c377b0bf62e49e83ce2f -eo pid,comm [Pipeline] { [Pipeline] sh 23:40:44 + touch /tmp/pre-build-complete [Pipeline] sh 23:40:44 + mkdir -p /var/log/sysstat [Pipeline] sh 23:40:45 + ls /var/log/sa-host 23:40:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:45 provisioning config files... 23:40:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-53@tmp/config11855979634514995356tmp [Pipeline] { [Pipeline] echo 23:40:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:40:45 ---> create-netrc.sh [Pipeline] } 23:40:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:40:46 ---> python-tools-install.sh [Pipeline] echo 23:40:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:40:46 ---> sudo-logs.sh 23:40:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:40:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:40:46 ---> job-cost.sh 23:40:46 lf-activate-venv: SKIPPING 23:40:46 DEBUG: total: 0.2199999988079071 23:40:46 INFO: Retrieving Stack Cost... 23:40:47 INFO: Retrieving Pricing Info for: v3-standard-8 23:40:47 INFO: Archiving Costs [Pipeline] echo 23:40:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:40:48 ---> logs-deploy.sh 23:40:48 lf-activate-venv: SKIPPING 23:40:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-53/1 23:40:48 INFO: archiving workspace using pattern(s): 23:40:49 Archives upload complete. 23:40:49 INFO: archiving logs to Nexus