Pull request #52 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9f97a439a95b618a24682b232f0f5def60bc44fd+7ea3b939812038991b3dc7da588e54d072d9f236 (5d8720964bd6e26d7f64e3e50733a18860203e85) 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-ssh8305530345346703241.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-ssh16436590542985952941.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-52/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-52/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15218884665606109523.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-52/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3104219231148735652.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-ssh6203467297538475641.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-52/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-52/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1907505067903649253.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-2635 in /w/workspace/xfoundry_app-record-replay_PR-52 [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-52 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/52/head:refs/remotes/origin/PR-52 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7ea3b939812038991b3dc7da588e54d072d9f236 into PR head commit 9f97a439a95b618a24682b232f0f5def60bc44fd Merge succeeded, producing 9f97a439a95b618a24682b232f0f5def60bc44fd Checking out Revision 9f97a439a95b618a24682b232f0f5def60bc44fd (PR-52) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:23:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git config core.sparsecheckout # timeout=10 > git checkout -f 9f97a439a95b618a24682b232f0f5def60bc44fd # 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 7ea3b939812038991b3dc7da588e54d072d9f236 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f97a439a95b618a24682b232f0f5def60bc44fd # timeout=10 03:23:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:23:27 ========================================================= 03:23:27 EdgeX Global Pipelines Version Info 03:23:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:23:28 ------------------- 03:23:28 stable info: 03:23:28 ------------------- 03:23:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:23:28 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:23:28 Message: update stable to v1.0.250 03:23:29 ------------------- 03:23:29 experimental info: 03:23:29 ------------------- 03:23:29 Commited By: **** collab-it+edgex@linuxfoundation.org 03:23:29 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:23:29 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-52 [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-52 [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-52 [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f97a439a95b618a24682b232f0f5def60bc44fd [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f97a43 [Pipeline] echo 03:23:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:31 provisioning config files... 03:23:31 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-52@tmp/config11641841787882296167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:31 ---> docker-login.sh 03:23:31 nexus3.edgexfoundry.org:10001 03:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:31 Configure a credential helper to remove this warning. See 03:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:31 03:23:31 Login Succeeded 03:23:31 nexus3.edgexfoundry.org:10002 03:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:32 Configure a credential helper to remove this warning. See 03:23:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:32 03:23:32 Login Succeeded 03:23:32 nexus3.edgexfoundry.org:10003 03:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:32 Configure a credential helper to remove this warning. See 03:23:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:32 03:23:32 Login Succeeded 03:23:32 nexus3.edgexfoundry.org:10004 03:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:32 Configure a credential helper to remove this warning. See 03:23:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:32 03:23:32 Login Succeeded 03:23:32 docker.io 03:23:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:32 Configure a credential helper to remove this warning. See 03:23:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:32 03:23:32 Login Succeeded 03:23:32 ---> docker-login.sh ends [Pipeline] } 03:23:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:23:33 + git rev-list -1 --merges 9f97a439a95b618a24682b232f0f5def60bc44fd~1..9f97a439a95b618a24682b232f0f5def60bc44fd [Pipeline] echo 03:23:33 -----------> git rev-list -1 --merges 9f97a439a95b618a24682b232f0f5def60bc44fd~1..9f97a439a95b618a24682b232f0f5def60bc44fd 9f97a439a95b618a24682b232f0f5def60bc44fd [false] [Pipeline] sh 03:23:33 + git log --format=format:%s -1 9f97a439a95b618a24682b232f0f5def60bc44fd [Pipeline] echo 03:23:33 ========================================================= 03:23:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:23:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:34 + git log --format=format:%s -1 9f97a439a95b618a24682b232f0f5def60bc44fd [Pipeline] echo 03:23:34 [semverPrep] GIT_COMMIT: 9f97a439a95b618a24682b232f0f5def60bc44fd, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:23:34 [semverPrep] This is not a build commit. [Pipeline] sh 03:23:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:23:34 + grep -v github /etc/ssh/ssh_known_hosts 03:23:34 + [ -e /tmp/ssh_known_hosts ] 03:23:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:23:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:23:34 + sudo tee -a /etc/ssh/ssh_known_hosts 03:23:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:35 03:23:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:35 0.1.4: Pulling from edgex-devops/py-git-semver 03:23:35 b85a868b505f: Pulling fs layer 03:23:35 e2be974225ed: Pulling fs layer 03:23:35 339a4e72a1f5: Pulling fs layer 03:23:35 988bab9f4d93: Pulling fs layer 03:23:35 1469e6f7b9e6: Pulling fs layer 03:23:35 eaf3925da568: Pulling fs layer 03:23:35 bab4dde63d76: Pulling fs layer 03:23:35 bde34c3a00c8: Pulling fs layer 03:23:35 b352a97aabf1: Pulling fs layer 03:23:35 4872d77fe225: Pulling fs layer 03:23:35 5851b861e8e6: Pulling fs layer 03:23:35 988bab9f4d93: Waiting 03:23:35 bde34c3a00c8: Waiting 03:23:35 b352a97aabf1: Waiting 03:23:35 5851b861e8e6: Waiting 03:23:35 bab4dde63d76: Waiting 03:23:35 4872d77fe225: Waiting 03:23:35 1469e6f7b9e6: Waiting 03:23:35 eaf3925da568: Waiting 03:23:35 e2be974225ed: Verifying Checksum 03:23:35 e2be974225ed: Download complete 03:23:35 988bab9f4d93: Verifying Checksum 03:23:35 988bab9f4d93: Download complete 03:23:35 1469e6f7b9e6: Verifying Checksum 03:23:35 1469e6f7b9e6: Download complete 03:23:35 eaf3925da568: Verifying Checksum 03:23:35 eaf3925da568: Download complete 03:23:35 339a4e72a1f5: Verifying Checksum 03:23:35 339a4e72a1f5: Download complete 03:23:35 bde34c3a00c8: Verifying Checksum 03:23:35 bde34c3a00c8: Download complete 03:23:35 b352a97aabf1: Download complete 03:23:35 4872d77fe225: Download complete 03:23:35 5851b861e8e6: Verifying Checksum 03:23:35 5851b861e8e6: Download complete 03:23:35 b85a868b505f: Verifying Checksum 03:23:35 b85a868b505f: Download complete 03:23:36 bab4dde63d76: Verifying Checksum 03:23:36 bab4dde63d76: Download complete 03:23:37 b85a868b505f: Pull complete 03:23:37 e2be974225ed: Pull complete 03:23:38 339a4e72a1f5: Pull complete 03:23:38 988bab9f4d93: Pull complete 03:23:38 1469e6f7b9e6: Pull complete 03:23:38 eaf3925da568: Pull complete 03:23:40 bab4dde63d76: Pull complete 03:23:40 bde34c3a00c8: Pull complete 03:23:40 b352a97aabf1: Pull complete 03:23:40 4872d77fe225: Pull complete 03:23:40 5851b861e8e6: Pull complete 03:23:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:23:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:40 prd-ubuntu20.04-docker-8c-8g-2635 does not seem to be running inside a container 03:23:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-52 -v /w/workspace/xfoundry_app-record-replay_PR-52:/w/workspace/xfoundry_app-record-replay_PR-52:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-52@tmp:/w/workspace/xfoundry_app-record-replay_PR-52@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:23:43 $ docker top c753c634496fb164c6de530ff7217f9149ad2d9eca8ba3b7b56ecb051395e1f5 -eo pid,comm 03:23:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:23:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:23:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:23:43 [ssh-agent] Looking for ssh-agent implementation... 03:23:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:23:43 $ docker exec c753c634496fb164c6de530ff7217f9149ad2d9eca8ba3b7b56ecb051395e1f5 ssh-agent 03:23:43 SSH_AUTH_SOCK=/tmp/ssh-EjZEPBjhWDLJ/agent.32 03:23:43 SSH_AGENT_PID=38 03:23:43 Running ssh-add (command line suppressed) 03:23:43 Identity added: /w/workspace/xfoundry_app-record-replay_PR-52@tmp/private_key_12336570479710874706.key (/w/workspace/xfoundry_app-record-replay_PR-52@tmp/private_key_12336570479710874706.key) 03:23:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:23:44 + git tag --points-at HEAD [Pipeline] } 03:23:44 $ docker exec --env ******** --env ******** c753c634496fb164c6de530ff7217f9149ad2d9eca8ba3b7b56ecb051395e1f5 ssh-agent -k 03:23:44 unset SSH_AUTH_SOCK; 03:23:44 unset SSH_AGENT_PID; 03:23:44 echo Agent pid 38 killed; 03:23:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:23:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:23:44 [ssh-agent] Looking for ssh-agent implementation... 03:23:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:23:44 $ docker exec c753c634496fb164c6de530ff7217f9149ad2d9eca8ba3b7b56ecb051395e1f5 ssh-agent 03:23:44 SSH_AUTH_SOCK=/tmp/ssh-qroh2p3XIbNs/agent.71 03:23:44 SSH_AGENT_PID=77 03:23:44 Running ssh-add (command line suppressed) 03:23:44 Identity added: /w/workspace/xfoundry_app-record-replay_PR-52@tmp/private_key_2617932873891622207.key (/w/workspace/xfoundry_app-record-replay_PR-52@tmp/private_key_2617932873891622207.key) 03:23:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:23:45 + git semver init 03:23:45 2023-08-01 03:23:45,372 [run_init] DEBUG init version:0.0.0 force:False 03:23:45 2023-08-01 03:23:45,373 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-52/.semver 03:23:45 2023-08-01 03:23:45,373 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-52/.semver 03:23:45 2023-08-01 03:23:45,374 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-52/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-52, universal_newlines=False, shell=None, istream=None) 03:23:46 2023-08-01 03:23:45,960 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-52/.git/info/exclude 03:23:46 2023-08-01 03:23:45,961 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-52/.semver/PR-52 with force:False 03:23:46 2023-08-01 03:23:45,961 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-52/.semver/PR-52 03:23:46 2023-08-01 03:23:45,966 [execute] INFO git cat-file --batch-check 03:23:46 2023-08-01 03:23:45,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-52/.semver, universal_newlines=False, shell=None, istream=) 03:23:46 2023-08-01 03:23:45,974 [execute] INFO git cat-file --batch 03:23:46 2023-08-01 03:23:45,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-52/.semver, universal_newlines=False, shell=None, istream=) 03:23:46 2023-08-01 03:23:45,980 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-52/.semver/PR-52 03:23:46 0.0.0 [Pipeline] } 03:23:46 $ docker exec --env ******** --env ******** c753c634496fb164c6de530ff7217f9149ad2d9eca8ba3b7b56ecb051395e1f5 ssh-agent -k 03:23:46 unset SSH_AUTH_SOCK; 03:23:46 unset SSH_AGENT_PID; 03:23:46 echo Agent pid 77 killed; 03:23:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:23:46 + git semver [Pipeline] } 03:23:46 $ docker stop --time=1 c753c634496fb164c6de530ff7217f9149ad2d9eca8ba3b7b56ecb051395e1f5 03:23:48 $ docker rm -f --volumes c753c634496fb164c6de530ff7217f9149ad2d9eca8ba3b7b56ecb051395e1f5 [Pipeline] // withDockerContainer [Pipeline] sh 03:23:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:23:48 Stashed 1 file(s) [Pipeline] echo 03:23:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:49 provisioning config files... 03:23:49 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-52@tmp/config5507700517163767121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:49 ---> docker-login.sh 03:23:49 nexus3.edgexfoundry.org:10001 03:23:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:49 Configure a credential helper to remove this warning. See 03:23:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:49 03:23:49 Login Succeeded 03:23:49 nexus3.edgexfoundry.org:10002 03:23:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:49 Configure a credential helper to remove this warning. See 03:23:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:49 03:23:49 Login Succeeded 03:23:49 nexus3.edgexfoundry.org:10003 03:23:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:50 Configure a credential helper to remove this warning. See 03:23:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:50 03:23:50 Login Succeeded 03:23:50 nexus3.edgexfoundry.org:10004 03:23:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:50 Configure a credential helper to remove this warning. See 03:23:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:50 03:23:50 Login Succeeded 03:23:50 docker.io 03:23:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:50 Configure a credential helper to remove this warning. See 03:23:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:50 03:23:50 Login Succeeded 03:23:50 ---> docker-login.sh ends [Pipeline] } 03:23:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:23:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:23:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:23:50 ========================================================= 03:23:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:23:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:51 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:23:51 Sending build context to Docker daemon 405kB 03:23:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:23:51 Step 2/12 : FROM ${BASE} AS builder 03:23:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:23:51 4db1b89c0bd1: Pulling fs layer 03:23:51 6911f1a30b25: Pulling fs layer 03:23:51 e194b8c5c2a9: Pulling fs layer 03:23:51 6863d3e3a2b1: Pulling fs layer 03:23:51 ec0bb842ea78: Pulling fs layer 03:23:51 40a00589a448: Pulling fs layer 03:23:51 6c08303d61cc: Pulling fs layer 03:23:51 798269fcf238: Pulling fs layer 03:23:51 6863d3e3a2b1: Waiting 03:23:51 ec0bb842ea78: Waiting 03:23:51 798269fcf238: Waiting 03:23:51 40a00589a448: Waiting 03:23:51 6c08303d61cc: Waiting 03:23:51 6911f1a30b25: Verifying Checksum 03:23:51 6911f1a30b25: Download complete 03:23:51 6863d3e3a2b1: Download complete 03:23:51 ec0bb842ea78: Download complete 03:23:51 4db1b89c0bd1: Download complete 03:23:51 40a00589a448: Verifying Checksum 03:23:51 40a00589a448: Download complete 03:23:51 4db1b89c0bd1: Pull complete 03:23:51 6911f1a30b25: Pull complete 03:23:52 798269fcf238: Verifying Checksum 03:23:52 798269fcf238: Download complete 03:23:52 e194b8c5c2a9: Verifying Checksum 03:23:52 e194b8c5c2a9: Download complete 03:23:52 6c08303d61cc: Verifying Checksum 03:23:52 6c08303d61cc: Download complete 03:23:55 e194b8c5c2a9: Pull complete 03:23:55 6863d3e3a2b1: Pull complete 03:23:55 ec0bb842ea78: Pull complete 03:23:55 40a00589a448: Pull complete 03:23:58 6c08303d61cc: Pull complete 03:23:58 798269fcf238: Pull complete 03:23:58 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:23:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:23:59 ---> ec979cd7f677 03:23:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:24:03 ---> Running in e9b8854717a1 03:24:03 Removing intermediate container e9b8854717a1 03:24:03 ---> a24746eb7a98 03:24:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:24:03 ---> Running in df94bdc2d9ba 03:24:03 Removing intermediate container df94bdc2d9ba 03:24:03 ---> 4743547e6370 03:24:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:24:03 ---> Running in 4cf9452d2705 03:24:03 Removing intermediate container 4cf9452d2705 03:24:03 ---> b5fce5f3cc47 03:24:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:24:03 ---> Running in 9e64a08360df 03:24:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:24:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:24:04 OK: 265 MiB in 53 packages 03:24:04 Still waiting to schedule task 03:24:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:24:04 Removing intermediate container 9e64a08360df 03:24:04 ---> 83c50e2c5b03 03:24:04 Step 7/12 : WORKDIR /app 03:24:04 ---> Running in f91ec5b10eb4 03:24:04 Removing intermediate container f91ec5b10eb4 03:24:04 ---> 01ac59add6cc 03:24:04 Step 8/12 : COPY go.mod vendor* ./ 03:24:04 ---> 21ca0a9475be 03:24:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:04 ---> Running in cc9a7b9cc1f0 03:25:12 Removing intermediate container cc9a7b9cc1f0 03:25:12 ---> f54256e6a98b 03:25:12 Step 10/12 : COPY . . 03:25:12 ---> 18ce8bd691b8 03:25:12 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:25:12 ---> Running in 28748a7ffca1 03:25:12 Removing intermediate container 28748a7ffca1 03:25:12 ---> a5988e347f02 03:25:12 Step 12/12 : RUN $MAKE 03:25:12 ---> Running in 4fc8f11532da 03:25:12 noop 03:25:12 Removing intermediate container 4fc8f11532da 03:25:12 ---> e68a8ebaa040 03:25:12 Successfully built e68a8ebaa040 03:25:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:12 + docker inspect -f . ci-base-image-x86_64 03:25:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:12 prd-ubuntu20.04-docker-8c-8g-2635 does not seem to be running inside a container 03:25:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-52 -v /w/workspace/xfoundry_app-record-replay_PR-52:/w/workspace/xfoundry_app-record-replay_PR-52:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-52@tmp:/w/workspace/xfoundry_app-record-replay_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:25:13 $ docker top f4e9fb9eac34f41746a061dec1eeb50bab34c50eed7ab2e6aa3cba60a47ae161 -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:13 + go version 03:25:13 go version go1.20.6 linux/amd64 [Pipeline] } 03:25:13 $ docker stop --time=1 f4e9fb9eac34f41746a061dec1eeb50bab34c50eed7ab2e6aa3cba60a47ae161 03:25:14 $ docker rm -f --volumes f4e9fb9eac34f41746a061dec1eeb50bab34c50eed7ab2e6aa3cba60a47ae161 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:15 + docker inspect -f . ci-base-image-x86_64 03:25:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:15 prd-ubuntu20.04-docker-8c-8g-2635 does not seem to be running inside a container 03:25:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-52 -v /w/workspace/xfoundry_app-record-replay_PR-52:/w/workspace/xfoundry_app-record-replay_PR-52:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-52@tmp:/w/workspace/xfoundry_app-record-replay_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:25:16 $ docker top 6c023e1a0541457549d77ffd675ac4577ea9829ff58f08c1e02736699c31b977 -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:16 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-52 [Pipeline] fileExists [Pipeline] sh 03:25:17 + make test 03:25:17 go test -race -coverprofile=coverage.out ./... 03:25:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2636 in /w/workspace/xfoundry_app-record-replay_PR-52 [Pipeline] { [Pipeline] ws 03:25:32 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:25:32 Selected Git installation does not exist. Using Default 03:25:32 The recommended git tool is: NONE 03:25:37 using credential edgex-jenkins-ssh 03:25:37 Cloning the remote Git repository 03:25:37 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:25:39 ? github.com/edgexfoundry/app-record-replay [no test files] 03:25:39 ok github.com/edgexfoundry/app-record-replay/internal/app 0.063s coverage: 87.5% of statements 03:25:39 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:25:39 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:25:39 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:25:39 ok github.com/edgexfoundry/app-record-replay/internal/application 0.063s coverage: 95.3% of statements 03:25:39 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.089s coverage: 85.6% of statements 03:25:37 > git init /w/workspace/app-record-replay/1 # timeout=10 03:25:38 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:25:38 > git --version # timeout=10 03:25:38 > git --version # 'git version 2.25.1' 03:25:38 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:25:41 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:25:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:25:42 Merging remotes/origin/main commit 7ea3b939812038991b3dc7da588e54d072d9f236 into PR head commit 9f97a439a95b618a24682b232f0f5def60bc44fd 03:25:42 Merge succeeded, producing 9f97a439a95b618a24682b232f0f5def60bc44fd 03:25:42 Checking out Revision 9f97a439a95b618a24682b232f0f5def60bc44fd (PR-52) 03:25:41 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:25:41 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:25:41 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/52/head:refs/remotes/origin/PR-52 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:25:42 > git config core.sparsecheckout # timeout=10 03:25:42 > git checkout -f 9f97a439a95b618a24682b232f0f5def60bc44fd # timeout=10 03:25:42 > git remote # timeout=10 03:25:42 > git config --get remote.origin.url # timeout=10 03:25:42 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:42 > git merge 7ea3b939812038991b3dc7da588e54d072d9f236 # timeout=10 03:25:42 > git rev-parse HEAD^{commit} # timeout=10 03:25:42 > git config core.sparsecheckout # timeout=10 03:25:42 > git checkout -f 9f97a439a95b618a24682b232f0f5def60bc44fd # timeout=10 03:25:43 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:25:43 > git --version # timeout=10 03:25:43 > git --version # 'git version 2.25.1' 03:25:43 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:25:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:25:44 % Total % Received % Xferd Average Speed Time Time Time Current 03:25:44 Dload Upload Total Spent Left Speed 03:25:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 03:25:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:25:45 + sudo tee /etc/docker/daemon.new 03:25:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:25:45 { 03:25:45 "registry-mirrors": [ 03:25:45 "https://nexus3.edgexfoundry.org:10001" 03:25:45 ], 03:25:45 "bip": "10.250.0.254/24", 03:25:45 "hosts": [ 03:25:45 "tcp://0.0.0.0:5555", 03:25:45 "unix:///var/run/docker.sock" 03:25:45 ], 03:25:45 "mtu": 1458, 03:25:45 "selinux-enabled": true, 03:25:45 "seccomp-profile": "/etc/docker/seccomp.json" 03:25:45 } [Pipeline] sh 03:25:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:25:46 + sudo service docker restart 03:25:57 go vet ./... 03:26:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:26:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:26:00 ./bin/test-attribution-txt.sh [Pipeline] echo 03:26:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:26:00 $ docker stop --time=1 6c023e1a0541457549d77ffd675ac4577ea9829ff58f08c1e02736699c31b977 03:26:05 $ docker rm -f --volumes 6c023e1a0541457549d77ffd675ac4577ea9829ff58f08c1e02736699c31b977 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:05 provisioning config files... 03:26:05 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config7782916809153220922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:26:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 03:26:06 ---> docker-login.sh 03:26:06 nexus3.edgexfoundry.org:10001 [Pipeline] sh 03:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:06 + sudo chown -R jenkins:jenkins . 03:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:26:06 Configure a credential helper to remove this warning. See 03:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:26:06 03:26:06 Login Succeeded 03:26:06 nexus3.edgexfoundry.org:10002 [Pipeline] sh 03:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:26:07 Configure a credential helper to remove this warning. See 03:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:26:07 03:26:07 Login Succeeded 03:26:07 nexus3.edgexfoundry.org:10003 03:26:07 + ls -al . 03:26:07 total 168 03:26:07 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 03:25 . 03:26:07 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 03:23 .. 03:26:07 -rw-rw-r-- 1 jenkins jenkins 119 Aug 1 03:23 .dockerignore 03:26:07 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 03:23 .git 03:26:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 03:23 .github 03:26:07 -rw-rw-r-- 1 jenkins jenkins 164 Aug 1 03:23 .gitignore 03:26:07 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 03:23 .golangci.yml 03:26:07 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 03:23 .semver 03:26:07 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 1 03:23 Attribution.txt 03:26:07 -rw-rw-r-- 1 jenkins jenkins 258 Aug 1 03:23 CHANGELOG.md 03:26:07 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 1 03:23 Dockerfile 03:26:07 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 03:23 GOVERNANCE.md 03:26:07 -rw-rw-r-- 1 jenkins jenkins 681 Aug 1 03:23 Jenkinsfile 03:26:07 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 1 03:23 LICENSE 03:26:07 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 1 03:23 Makefile 03:26:07 -rw-rw-r-- 1 jenkins jenkins 611 Aug 1 03:23 OWNERS.md 03:26:07 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 1 03:23 README.md 03:26:07 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 1 03:23 Record and Reply.postman_collection.json 03:26:07 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 03:23 VERSION 03:26:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 03:23 bin 03:26:07 -rw-r--r-- 1 jenkins jenkins 11988 Aug 1 03:25 coverage.out 03:26:07 -rw-rw-r-- 1 jenkins jenkins 3680 Aug 1 03:23 go.mod 03:26:07 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 1 03:23 go.sum 03:26:07 drwxrwxr-x 6 jenkins jenkins 4096 Aug 1 03:23 internal 03:26:07 -rw-rw-r-- 1 jenkins jenkins 913 Aug 1 03:23 main.go 03:26:07 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 03:23 pkg 03:26:07 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 03:23 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:07 + 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=9f97a439a95b618a24682b232f0f5def60bc44fd --label arch=amd64 --label version=0.0.0 . 03:26:07 Sending build context to Docker daemon 417.8kB 03:26:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:26:07 Step 2/26 : FROM ${BASE} AS builder 03:26:07 ---> e68a8ebaa040 03:26:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:26:07 ---> Running in a1db581c2d92 03:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:26:07 Configure a credential helper to remove this warning. See 03:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:26:07 03:26:07 Login Succeeded 03:26:07 nexus3.edgexfoundry.org:10004 03:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:07 Removing intermediate container a1db581c2d92 03:26:07 ---> 6cdeb036adcf 03:26:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:26:07 ---> Running in cee0e8731bf2 03:26:07 Removing intermediate container cee0e8731bf2 03:26:07 ---> 7a21fd3183b2 03:26:07 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:26:07 ---> Running in d84d8ee8dc6b 03:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:26:07 Configure a credential helper to remove this warning. See 03:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:26:07 03:26:07 Login Succeeded 03:26:07 docker.io 03:26:08 Removing intermediate container d84d8ee8dc6b 03:26:08 ---> 8ace153ef330 03:26:08 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:26:08 ---> Running in 997ba817711a 03:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:26:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:26:08 Configure a credential helper to remove this warning. See 03:26:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:26:08 03:26:08 Login Succeeded 03:26:08 ---> docker-login.sh ends [Pipeline] } 03:26:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:26:08 OK: 265 MiB in 53 packages [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:26:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:26:09 ========================================================= 03:26:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:26:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 03:26:09 Removing intermediate container 997ba817711a 03:26:09 ---> 4751c68d1290 03:26:09 Step 7/26 : WORKDIR /app 03:26:09 ---> Running in 86a78de598d7 03:26:09 Removing intermediate container 86a78de598d7 03:26:09 ---> 9c5cb9ad74af 03:26:09 Step 8/26 : COPY go.mod vendor* ./ 03:26:09 ---> dd5faf6692f7 03:26:09 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:26:09 ---> Running in 60ee35ac5e9a [Pipeline] sh 03:26:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:26:09 Sending build context to Docker daemon 178.7kB 03:26:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:26:09 Step 2/12 : FROM ${BASE} AS builder 03:26:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:26:09 edb6bdbacee9: Pulling fs layer 03:26:09 5f9638ab2659: Pulling fs layer 03:26:09 8d51d6327a98: Pulling fs layer 03:26:09 8b374f2dd631: Pulling fs layer 03:26:09 ec14aa9079de: Pulling fs layer 03:26:09 2f466654f4bb: Pulling fs layer 03:26:09 554e91adad29: Pulling fs layer 03:26:09 ec14aa9079de: Waiting 03:26:09 2f466654f4bb: Waiting 03:26:09 554e91adad29: Waiting 03:26:09 8b374f2dd631: Waiting 03:26:09 5f9638ab2659: Verifying Checksum 03:26:09 5f9638ab2659: Download complete 03:26:10 8b374f2dd631: Download complete 03:26:10 ec14aa9079de: Download complete 03:26:10 edb6bdbacee9: Verifying Checksum 03:26:10 Removing intermediate container 60ee35ac5e9a 03:26:10 ---> 0f232ea68426 03:26:10 Step 10/26 : COPY . . 03:26:10 ---> 8b3d3bca30a8 03:26:10 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:26:10 ---> Running in bca372b6e519 03:26:10 Removing intermediate container bca372b6e519 03:26:10 ---> 5772bab96a36 03:26:10 Step 12/26 : RUN $MAKE 03:26:10 ---> Running in 9ac758e5bfc9 03:26:10 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 03:26:11 edb6bdbacee9: Pull complete 03:26:11 554e91adad29: Verifying Checksum 03:26:11 554e91adad29: Download complete 03:26:11 5f9638ab2659: Pull complete 03:26:12 8d51d6327a98: Verifying Checksum 03:26:12 8d51d6327a98: Download complete 03:26:12 2f466654f4bb: Verifying Checksum 03:26:12 2f466654f4bb: Download complete 03:26:25 8d51d6327a98: Pull complete 03:26:25 8b374f2dd631: Pull complete 03:26:25 ec14aa9079de: Pull complete 03:26:31 2f466654f4bb: Pull complete 03:26:32 Removing intermediate container 9ac758e5bfc9 03:26:32 ---> a2214785f87f 03:26:32 Step 13/26 : FROM alpine:3.17 03:26:32 3.17: Pulling from library/alpine 03:26:32 4db1b89c0bd1: Already exists 03:26:32 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:26:32 Status: Downloaded newer image for alpine:3.17 03:26:32 ---> 1f73a9d63274 03:26:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:26:32 ---> Running in 25f34d92bef8 03:26:32 Removing intermediate container 25f34d92bef8 03:26:32 ---> 923c89100502 03:26:32 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:26:32 ---> Running in 2ee516c17410 03:26:32 Removing intermediate container 2ee516c17410 03:26:32 ---> d5e076586f60 03:26:32 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:26:32 ---> Running in 15da96db8352 03:26:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:26:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:26:33 (1/2) Installing ca-certificates (20230506-r0) 03:26:33 (2/2) Installing dumb-init (1.2.5-r2) 03:26:33 Executing busybox-1.35.0-r29.trigger 03:26:33 Executing ca-certificates-20230506-r0.trigger 03:26:33 OK: 8 MiB in 17 packages 03:26:33 554e91adad29: Pull complete 03:26:33 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:26:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:26:33 ---> 1e15ea492957 03:26:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:26:33 Removing intermediate container 15da96db8352 03:26:33 ---> a884aba4ed6c 03:26:33 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:26:33 ---> 5cf86b23f5b9 03:26:33 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:26:34 ---> 7074b1bfdfed 03:26:34 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:26:34 ---> 85a03de444f0 03:26:34 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:26:34 ---> Running in e647f92524b6 03:26:34 Removing intermediate container e647f92524b6 03:26:34 ---> 6a042969299e 03:26:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:26:34 ---> Running in 4252b5a012ef 03:26:35 Removing intermediate container 4252b5a012ef 03:26:35 ---> 71eff1200ad6 03:26:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:26:35 ---> bf1bc7177bcf 03:26:35 Step 21/26 : EXPOSE 59712 03:26:35 ---> Running in ed5a9bea5c77 03:26:35 Removing intermediate container ed5a9bea5c77 03:26:35 ---> f04cdf0050fc 03:26:35 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:26:35 ---> Running in bdd2ec316ffb 03:26:35 Removing intermediate container bdd2ec316ffb 03:26:35 ---> abc92ef4ff6b 03:26:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:26:35 ---> Running in f1f59c4bfaac 03:26:35 ---> Running in a487d122b230 03:26:35 Removing intermediate container f1f59c4bfaac 03:26:35 ---> d1f5e304daf9 03:26:35 Step 24/26 : LABEL arch=amd64 03:26:35 ---> Running in 27cf6d6db37d 03:26:35 Removing intermediate container 27cf6d6db37d 03:26:35 ---> ac74762271b3 03:26:35 Step 25/26 : LABEL git_sha=9f97a439a95b618a24682b232f0f5def60bc44fd 03:26:35 ---> Running in 7c8dc7d85349 03:26:35 Removing intermediate container a487d122b230 03:26:35 ---> 2322ed88d56b 03:26:35 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:26:35 ---> Running in ab9d9c8ef6af 03:26:35 Removing intermediate container 7c8dc7d85349 03:26:35 ---> 463ffbcb878a 03:26:35 Step 26/26 : LABEL version=0.0.0 03:26:35 ---> Running in 4228ec36853b 03:26:35 Removing intermediate container 4228ec36853b 03:26:35 ---> ef2354c809ea 03:26:35 [Warning] One or more build-args [ARCH] were not consumed 03:26:35 Successfully built ef2354c809ea 03:26:35 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:36 03:26:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:37 latest: Pulling from edgex-lftools-log-publisher 03:26:37 5eb5b503b376: Pulling fs layer 03:26:37 5c69ac0246d0: Pulling fs layer 03:26:37 ec43610c2a17: Pulling fs layer 03:26:37 3a2ae6a8a46f: Pulling fs layer 03:26:37 33b1e0a273af: Pulling fs layer 03:26:37 5d3b04190fa2: Pulling fs layer 03:26:37 2f39f015ded8: Pulling fs layer 03:26:37 33b1e0a273af: Waiting 03:26:37 3a2ae6a8a46f: Waiting 03:26:37 5d3b04190fa2: Waiting 03:26:37 2f39f015ded8: Waiting 03:26:37 5c69ac0246d0: Download complete 03:26:37 3a2ae6a8a46f: Download complete 03:26:37 33b1e0a273af: Verifying Checksum 03:26:37 33b1e0a273af: Download complete 03:26:37 5d3b04190fa2: Verifying Checksum 03:26:37 5d3b04190fa2: Download complete 03:26:37 ec43610c2a17: Verifying Checksum 03:26:37 ec43610c2a17: Download complete 03:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:26:37 5eb5b503b376: Verifying Checksum 03:26:37 5eb5b503b376: Download complete 03:26:38 2f39f015ded8: Download complete 03:26:38 OK: 263 MiB in 53 packages 03:26:38 5eb5b503b376: Pull complete 03:26:38 5c69ac0246d0: Pull complete 03:26:39 ec43610c2a17: Pull complete 03:26:39 3a2ae6a8a46f: Pull complete 03:26:39 Removing intermediate container ab9d9c8ef6af 03:26:39 ---> 8660b8dfd8e7 03:26:39 Step 7/12 : WORKDIR /app 03:26:39 ---> Running in c6c954b849a0 03:26:39 33b1e0a273af: Pull complete 03:26:39 5d3b04190fa2: Pull complete 03:26:39 Removing intermediate container c6c954b849a0 03:26:39 ---> 172bcb3ff8f6 03:26:39 Step 8/12 : COPY go.mod vendor* ./ 03:26:40 ---> 2e6b3e1d2302 03:26:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:26:40 ---> Running in bd447bc088f3 03:26:43 2f39f015ded8: Pull complete 03:26:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:26:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:43 prd-ubuntu20.04-docker-8c-8g-2635 does not seem to be running inside a container 03:26:43 $ 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-52 -v /w/workspace/xfoundry_app-record-replay_PR-52:/w/workspace/xfoundry_app-record-replay_PR-52:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-52@tmp:/w/workspace/xfoundry_app-record-replay_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:49 $ docker top ffa87e3bebd953d1507b805b7498f70793bd19cbe1645ace1f87542157fc9910 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:50 ---> job-cost.sh 03:26:50 lf-activate-venv: SKIPPING 03:26:50 INFO: No Stack... 03:26:50 INFO: Retrieving Pricing Info for: v3-standard-8 03:26:50 INFO: Archiving Costs [Pipeline] sh 03:26:50 + cat /w/workspace/xfoundry_app-record-replay_PR-52/archives/cost.csv 03:26:50 + cut -d, -f6 [Pipeline] lock 03:26:50 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-52-1-stack-cost] 03:26:50 Resource [jenkins-edgexfoundry-app-record-replay-PR-52-1-stack-cost] did not exist. Created. 03:26:50 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-52-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:26:51 + echo total: 0.2199999988079071 [Pipeline] stash 03:26:51 Stashed 1 file(s) [Pipeline] } 03:26:51 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-52-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:26:51 $ docker stop --time=1 ffa87e3bebd953d1507b805b7498f70793bd19cbe1645ace1f87542157fc9910 03:26:52 $ docker rm -f --volumes ffa87e3bebd953d1507b805b7498f70793bd19cbe1645ace1f87542157fc9910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:27:47 Removing intermediate container bd447bc088f3 03:27:47 ---> e0a7fbf1d49b 03:27:47 Step 10/12 : COPY . . 03:27:47 ---> 619c78064ae8 03:27:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:27:47 ---> Running in 5ed7ff4b64c1 03:27:47 Removing intermediate container 5ed7ff4b64c1 03:27:47 ---> 160247ee5e32 03:27:47 Step 12/12 : RUN $MAKE 03:27:47 ---> Running in 9ed46078a7a7 03:27:47 noop 03:27:47 Removing intermediate container 9ed46078a7a7 03:27:47 ---> a51ad0ffee3c 03:27:47 Successfully built a51ad0ffee3c 03:27:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:48 + docker inspect -f . ci-base-image-arm64 03:27:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:48 prd-ubuntu20.04-docker-arm64-4c-16g-2636 does not seem to be running inside a container 03:27:48 $ 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 ******** ci-base-image-arm64 cat 03:27:49 $ docker top 18e0b0ddab7853e1f13ba821a2fbefc1e8745d1d7984e92fde5c977666c643b5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:50 + go version 03:27:50 go version go1.20.6 linux/arm64 [Pipeline] } 03:27:50 $ docker stop --time=1 18e0b0ddab7853e1f13ba821a2fbefc1e8745d1d7984e92fde5c977666c643b5 03:27:52 $ docker rm -f --volumes 18e0b0ddab7853e1f13ba821a2fbefc1e8745d1d7984e92fde5c977666c643b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:53 + docker inspect -f . ci-base-image-arm64 03:27:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:53 prd-ubuntu20.04-docker-arm64-4c-16g-2636 does not seem to be running inside a container 03:27:53 $ 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 ******** ci-base-image-arm64 cat 03:27:56 $ docker top 132473a747977aa5d7ffeffeed70ef8c4a4ec455758a80aa98bb268d6d3c2a75 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:56 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 03:27:57 + make test 03:27:57 go test -race -coverprofile=coverage.out ./... 03:30:34 ? github.com/edgexfoundry/app-record-replay [no test files] 03:30:42 ok github.com/edgexfoundry/app-record-replay/internal/app 0.265s coverage: 87.5% of statements 03:30:42 ok github.com/edgexfoundry/app-record-replay/internal/application 0.308s coverage: 95.3% of statements 03:30:46 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:30:46 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:30:46 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:30:47 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.326s coverage: 85.6% of statements 03:30:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:30:47 go vet ./... 03:33:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:33:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:33:09 ./bin/test-attribution-txt.sh [Pipeline] echo 03:33:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:33:09 $ docker stop --time=1 132473a747977aa5d7ffeffeed70ef8c4a4ec455758a80aa98bb268d6d3c2a75 03:33:11 $ docker rm -f --volumes 132473a747977aa5d7ffeffeed70ef8c4a4ec455758a80aa98bb268d6d3c2a75 [Pipeline] // withDockerContainer [Pipeline] sh 03:33:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:33:13 Warning: overwriting stash ‘coverage-report’ 03:33:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:33:14 + ls -al . 03:33:14 total 164 03:33:14 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 03:28 . 03:33:14 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 03:25 .. 03:33:14 -rw-rw-r-- 1 jenkins jenkins 119 Aug 1 03:25 .dockerignore 03:33:14 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 03:25 .git 03:33:14 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 03:25 .github 03:33:14 -rw-rw-r-- 1 jenkins jenkins 164 Aug 1 03:25 .gitignore 03:33:14 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 03:25 .golangci.yml 03:33:14 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 1 03:25 Attribution.txt 03:33:14 -rw-rw-r-- 1 jenkins jenkins 258 Aug 1 03:25 CHANGELOG.md 03:33:14 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 1 03:25 Dockerfile 03:33:14 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 03:25 GOVERNANCE.md 03:33:14 -rw-rw-r-- 1 jenkins jenkins 681 Aug 1 03:25 Jenkinsfile 03:33:14 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 1 03:25 LICENSE 03:33:14 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 1 03:25 Makefile 03:33:14 -rw-rw-r-- 1 jenkins jenkins 611 Aug 1 03:25 OWNERS.md 03:33:14 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 1 03:25 README.md 03:33:14 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 1 03:25 Record and Reply.postman_collection.json 03:33:14 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 03:23 VERSION 03:33:14 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 03:25 bin 03:33:14 -rw-r--r-- 1 jenkins jenkins 11988 Aug 1 03:30 coverage.out 03:33:14 -rw-rw-r-- 1 jenkins jenkins 3680 Aug 1 03:25 go.mod 03:33:14 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 1 03:25 go.sum 03:33:14 drwxrwxr-x 6 jenkins jenkins 4096 Aug 1 03:25 internal 03:33:14 -rw-rw-r-- 1 jenkins jenkins 913 Aug 1 03:25 main.go 03:33:14 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 03:25 pkg 03:33:14 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 03:25 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:14 + 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=9f97a439a95b618a24682b232f0f5def60bc44fd --label arch=arm64 --label version=0.0.0 . 03:33:14 Sending build context to Docker daemon 191.5kB 03:33:15 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:33:15 Step 2/26 : FROM ${BASE} AS builder 03:33:15 ---> a51ad0ffee3c 03:33:15 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:33:15 ---> Running in 9c8a6dcfcc1e 03:33:15 Removing intermediate container 9c8a6dcfcc1e 03:33:15 ---> aac42e77d654 03:33:15 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:33:15 ---> Running in bb60bf7c88eb 03:33:15 Removing intermediate container bb60bf7c88eb 03:33:15 ---> a4ebaac60779 03:33:15 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:33:15 ---> Running in 036e2da353de 03:33:16 Removing intermediate container 036e2da353de 03:33:16 ---> 3095c39f8739 03:33:16 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:33:16 ---> Running in 6fae307cbad9 03:33:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:33:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:33:18 OK: 263 MiB in 53 packages 03:33:20 Removing intermediate container 6fae307cbad9 03:33:20 ---> 968e2af35127 03:33:20 Step 7/26 : WORKDIR /app 03:33:20 ---> Running in d76249e7d2a2 03:33:20 Removing intermediate container d76249e7d2a2 03:33:20 ---> a6a9c1185e81 03:33:20 Step 8/26 : COPY go.mod vendor* ./ 03:33:20 ---> c6b6ef67ee13 03:33:20 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:33:20 ---> Running in 232977851af2 03:33:23 Removing intermediate container 232977851af2 03:33:23 ---> b9bf47c46dda 03:33:23 Step 10/26 : COPY . . 03:33:23 ---> 9bfec7ad0e2c 03:33:23 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:33:23 ---> Running in ccf63c5807d6 03:33:24 Removing intermediate container ccf63c5807d6 03:33:24 ---> b73ec544610e 03:33:24 Step 12/26 : RUN $MAKE 03:33:24 ---> Running in ce3d1cc0d65c 03:33:25 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 03:35:31 Removing intermediate container ce3d1cc0d65c 03:35:31 ---> baa4d59ab898 03:35:31 Step 13/26 : FROM alpine:3.17 03:35:31 3.17: Pulling from library/alpine 03:35:31 edb6bdbacee9: Already exists 03:35:31 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:35:31 Status: Downloaded newer image for alpine:3.17 03:35:31 ---> 779605e5fbc0 03:35:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:35:31 ---> Running in 4ec6c5bba72a 03:35:31 Removing intermediate container 4ec6c5bba72a 03:35:31 ---> d5388c0a85aa 03:35:31 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:35:31 ---> Running in 69b5a26e2918 03:35:31 Removing intermediate container 69b5a26e2918 03:35:31 ---> c8299ccff1d4 03:35:31 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:35:31 ---> Running in 03edb648194b 03:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:35:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:35:31 (1/2) Installing ca-certificates (20230506-r0) 03:35:31 (2/2) Installing dumb-init (1.2.5-r2) 03:35:31 Executing busybox-1.35.0-r29.trigger 03:35:31 Executing ca-certificates-20230506-r0.trigger 03:35:31 OK: 8 MiB in 17 packages 03:35:33 Removing intermediate container 03edb648194b 03:35:33 ---> c5ac8c4c41e6 03:35:33 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:35:33 ---> ab632a1dd9a3 03:35:33 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:35:34 ---> 458f83881645 03:35:34 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:35:34 ---> 7b34afe32d33 03:35:34 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:35:35 ---> 368c743d335f 03:35:35 Step 21/26 : EXPOSE 59712 03:35:35 ---> Running in 9bfb5c247f76 03:35:36 Removing intermediate container 9bfb5c247f76 03:35:36 ---> eccd2bc4bfec 03:35:36 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:35:36 ---> Running in 61d41fdbede4 03:35:36 Removing intermediate container 61d41fdbede4 03:35:36 ---> 9dcd67ea2713 03:35:36 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:35:36 ---> Running in b4f4b844d5c8 03:35:37 Removing intermediate container b4f4b844d5c8 03:35:37 ---> d63c78d74a4b 03:35:37 Step 24/26 : LABEL arch=arm64 03:35:37 ---> Running in 51e3fb9a0987 03:35:37 Removing intermediate container 51e3fb9a0987 03:35:37 ---> 07fba8dfc727 03:35:37 Step 25/26 : LABEL git_sha=9f97a439a95b618a24682b232f0f5def60bc44fd 03:35:37 ---> Running in fc19379b60b4 03:35:37 Removing intermediate container fc19379b60b4 03:35:37 ---> ae0f3a2dee13 03:35:37 Step 26/26 : LABEL version=0.0.0 03:35:37 ---> Running in a260fab5f0fa 03:35:37 Removing intermediate container a260fab5f0fa 03:35:37 ---> c5c53d654019 03:35:37 [Warning] One or more build-args [ARCH] were not consumed 03:35:37 Successfully built c5c53d654019 03:35:37 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 03:35:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:38 03:35:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:39 arm64: Pulling from edgex-lftools-log-publisher 03:35:39 8998bd30e6a1: Pulling fs layer 03:35:39 04944245beec: Pulling fs layer 03:35:39 699f458cf7ca: Pulling fs layer 03:35:39 765212b225bb: Pulling fs layer 03:35:39 f23df028b6ca: Pulling fs layer 03:35:39 d65c8cfc05b1: Pulling fs layer 03:35:39 2437ff75d9bd: Pulling fs layer 03:35:39 f23df028b6ca: Waiting 03:35:39 d65c8cfc05b1: Waiting 03:35:39 2437ff75d9bd: Waiting 03:35:39 765212b225bb: Waiting 03:35:39 04944245beec: Verifying Checksum 03:35:39 04944245beec: Download complete 03:35:39 765212b225bb: Verifying Checksum 03:35:39 765212b225bb: Download complete 03:35:39 f23df028b6ca: Verifying Checksum 03:35:39 f23df028b6ca: Download complete 03:35:39 d65c8cfc05b1: Verifying Checksum 03:35:39 d65c8cfc05b1: Download complete 03:35:39 699f458cf7ca: Verifying Checksum 03:35:39 699f458cf7ca: Download complete 03:35:40 8998bd30e6a1: Verifying Checksum 03:35:40 8998bd30e6a1: Download complete 03:35:42 2437ff75d9bd: Verifying Checksum 03:35:42 2437ff75d9bd: Download complete 03:35:44 8998bd30e6a1: Pull complete 03:35:44 04944245beec: Pull complete 03:35:45 699f458cf7ca: Pull complete 03:35:45 765212b225bb: Pull complete 03:35:46 f23df028b6ca: Pull complete 03:35:46 d65c8cfc05b1: Pull complete 03:36:01 2437ff75d9bd: Pull complete 03:36:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:36:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:36:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:02 prd-ubuntu20.04-docker-arm64-4c-16g-2636 does not seem to be running inside a container 03:36:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:36:04 $ docker top deb5fa0e3074c50e49a7f2e158444873d705a745d951c30032d0fae717018f08 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:36:05 ---> job-cost.sh 03:36:05 lf-activate-venv: SKIPPING 03:36:05 INFO: No Stack... 03:36:05 INFO: Retrieving Pricing Info for: v3-standard-4 03:36:06 INFO: Archiving Costs [Pipeline] sh 03:36:07 + cat /w/workspace/app-record-replay/1/archives/cost.csv 03:36:07 + cut -d, -f6 [Pipeline] lock 03:36:07 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-52-1-stack-cost] 03:36:07 Resource [jenkins-edgexfoundry-app-record-replay-PR-52-1-stack-cost] did not exist. Created. 03:36:07 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-52-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:36:07 /w/workspace/app-record-replay/1@tmp/durable-748778bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:36:08 + echo total: 0.10999999940395355 [Pipeline] stash 03:36:08 Warning: overwriting stash ‘stack-cost’ 03:36:08 Stashed 1 file(s) [Pipeline] } 03:36:08 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-52-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:36:08 $ docker stop --time=1 deb5fa0e3074c50e49a7f2e158444873d705a745d951c30032d0fae717018f08 03:36:11 $ docker rm -f --volumes deb5fa0e3074c50e49a7f2e158444873d705a745d951c30032d0fae717018f08 [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 03:36:12 provisioning config files... 03:36:12 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-52 #1 03:36:12 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-52@tmp/config10866522048845738708tmp [Pipeline] { [Pipeline] sh 03:36:12 + set +x 03:36:12 + curl -s https://codecov.io/bash 03:36:12 + bash -s -- 03:36:12 03:36:12 _____ _ 03:36:12 / ____| | | 03:36:12 | | ___ __| | ___ ___ _____ __ 03:36:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:36:12 | |___| (_) | (_| | __/ (_| (_) \ V / 03:36:12 \_____\___/ \__,_|\___|\___\___/ \_/ 03:36:12 Bash-1.0.6 03:36:12 03:36:12 03:36:12 ==> git version 2.25.1 found 03:36:12 ==> 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 03:36:12 Release-Date: 2020-01-08 03:36:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:36:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:36:12 ==> Jenkins CI detected. 03:36:12 current dir:  /w/workspace/xfoundry_app-record-replay_PR-52 03:36:12 project root: . 03:36:12 --> token set from env 03:36:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:36:12 ==> Running gcov in . (disable via -X gcov) 03:36:12 ==> Python coveragepy not found 03:36:12 ==> Searching for coverage reports in: 03:36:12 + . 03:36:12 -> Found 1 reports 03:36:12 ==> Detecting git/mercurial file structure 03:36:12 ==> Reading reports 03:36:12 + ./coverage.out bytes=11988 03:36:12 ==> Appending adjustments 03:36:12 https://docs.codecov.io/docs/fixing-reports 03:36:12 + Found adjustments 03:36:12 ==> Gzipping contents 03:36:12 4.0K /tmp/codecov.Fo8Iba.gz 03:36:12 ==> Uploading reports 03:36:12 url: https://codecov.io 03:36:12 query: branch=PR-52&commit=9f97a439a95b618a24682b232f0f5def60bc44fd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-52%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=52&job=&cmd_args= 03:36:12 -> Pinging Codecov 03:36:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-52&commit=9f97a439a95b618a24682b232f0f5def60bc44fd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-52%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=52&job=&cmd_args= 03:36:12 Invalid request parameters 03:36:12 400 [Pipeline] } 03:36:12 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 03:36:14 + [ -d /w/workspace/xfoundry_app-record-replay_PR-52/archives ] 03:36:14 + ls -al /w/workspace/xfoundry_app-record-replay_PR-52/archives 03:36:14 total 16 03:36:14 drwxr-xr-x 3 root root 4096 Aug 1 03:26 . 03:36:14 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 03:26 .. 03:36:14 drwxr-xr-x 2 root root 4096 Aug 1 03:26 cost 03:36:14 -rw-r--r-- 1 root root 88 Aug 1 03:26 cost.csv 03:36:14 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-52/archives 03:36:14 + ls -al /w/workspace/xfoundry_app-record-replay_PR-52/archives 03:36:14 total 16 03:36:14 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 03:26 . 03:36:14 drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 03:26 .. 03:36:14 drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 03:26 cost 03:36:14 -rw-r--r-- 1 jenkins jenkins 88 Aug 1 03:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:36:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:36:15 ---> package-listing.sh 03:36:15 ++ facter osfamily 03:36:15 ++ tr '[:upper:]' '[:lower:]' 03:36:16 + OS_FAMILY=debian 03:36:16 + workspace=/w/workspace/xfoundry_app-record-replay_PR-52 03:36:16 + START_PACKAGES=/tmp/packages_start.txt 03:36:16 + END_PACKAGES=/tmp/packages_end.txt 03:36:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:36:16 + PACKAGES=/tmp/packages_start.txt 03:36:16 + '[' /w/workspace/xfoundry_app-record-replay_PR-52 ']' 03:36:16 + PACKAGES=/tmp/packages_end.txt 03:36:16 + case "${OS_FAMILY}" in 03:36:16 + dpkg -l 03:36:16 + grep '^ii' 03:36:16 + '[' -f /tmp/packages_start.txt ']' 03:36:16 + '[' -f /tmp/packages_end.txt ']' 03:36:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:36:16 + '[' /w/workspace/xfoundry_app-record-replay_PR-52 ']' 03:36:16 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-52/archives/ 03:36:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-52/archives/ [Pipeline] echo 03:36:16 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-52/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:36:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:36:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:36:17 prd-ubuntu20.04-docker-8c-8g-2635 does not seem to be running inside a container 03:36:17 $ 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-52/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-52 -v /w/workspace/xfoundry_app-record-replay_PR-52:/w/workspace/xfoundry_app-record-replay_PR-52:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-52@tmp:/w/workspace/xfoundry_app-record-replay_PR-52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:36:17 $ docker top f536ce0fc4103f860aeeb9116a76bf63ebc1f4c0d88090d76f58b600550c6a0a -eo pid,comm [Pipeline] { [Pipeline] sh 03:36:17 + touch /tmp/pre-build-complete [Pipeline] sh 03:36:18 + mkdir -p /var/log/sysstat [Pipeline] sh 03:36:18 + ls /var/log/sa-host 03:36:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:36:18 provisioning config files... 03:36:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-52@tmp/config13936856199469220254tmp [Pipeline] { [Pipeline] echo 03:36:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:36:19 ---> create-netrc.sh [Pipeline] } 03:36:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:36:19 ---> python-tools-install.sh [Pipeline] echo 03:36:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:36:19 ---> sudo-logs.sh 03:36:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:36:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:36:20 ---> job-cost.sh 03:36:20 lf-activate-venv: SKIPPING 03:36:20 DEBUG: total: 0.2199999988079071 03:36:20 INFO: Retrieving Stack Cost... 03:36:20 INFO: Retrieving Pricing Info for: v3-standard-8 03:36:21 INFO: Archiving Costs [Pipeline] echo 03:36:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:36:21 ---> logs-deploy.sh 03:36:21 lf-activate-venv: SKIPPING 03:36:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-52/1 03:36:21 INFO: archiving workspace using pattern(s): 03:36:22 Archives upload complete. 03:36:22 INFO: archiving logs to Nexus