Pull request #55 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eba4e3f80b183f67e9bb897e7a81b92376e02044+53d214d660c211fabaeb1f0df01625a9dcc42235 (e2904aef5ca92af663eabef398820a2a964d974b) 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-ssh9970888806026606122.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-ssh13281285464036504470.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-55/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-55/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8693713332462640395.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-55/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8775754685905981963.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-ssh2836606906988891372.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-55/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-55/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9505859891811326102.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2802’ Running on prd-ubuntu20.04-docker-8c-8g-2805 in /w/workspace/xfoundry_app-record-replay_PR-55 [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-55 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit eba4e3f80b183f67e9bb897e7a81b92376e02044 > 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/55/head:refs/remotes/origin/PR-55 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing eba4e3f80b183f67e9bb897e7a81b92376e02044 Checking out Revision eba4e3f80b183f67e9bb897e7a81b92376e02044 (PR-55) 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 04:08:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:08:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:08:06 ========================================================= 04:08:06 EdgeX Global Pipelines Version Info 04:08:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git checkout -f eba4e3f80b183f67e9bb897e7a81b92376e02044 # 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 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eba4e3f80b183f67e9bb897e7a81b92376e02044 # timeout=10 04:08:07 ------------------- 04:08:07 stable info: 04:08:07 ------------------- 04:08:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:08:07 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:08:07 Message: update stable to v1.0.250 04:08:07 ------------------- 04:08:07 experimental info: 04:08:07 ------------------- 04:08:07 Commited By: **** collab-it+edgex@linuxfoundation.org 04:08:07 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:08:07 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-55 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-55 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-55 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eba4e3f80b183f67e9bb897e7a81b92376e02044 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eba4e3f [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:09 provisioning config files... 04:08:09 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-55@tmp/config5128951600588699836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:10 ---> docker-login.sh 04:08:10 nexus3.edgexfoundry.org:10001 04:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:10 Configure a credential helper to remove this warning. See 04:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:10 04:08:10 Login Succeeded 04:08:10 nexus3.edgexfoundry.org:10002 04:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:10 Configure a credential helper to remove this warning. See 04:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:10 04:08:10 Login Succeeded 04:08:10 nexus3.edgexfoundry.org:10003 04:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:10 Configure a credential helper to remove this warning. See 04:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:10 04:08:10 Login Succeeded 04:08:10 nexus3.edgexfoundry.org:10004 04:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:10 Configure a credential helper to remove this warning. See 04:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:10 04:08:10 Login Succeeded 04:08:10 docker.io 04:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:11 Configure a credential helper to remove this warning. See 04:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:11 04:08:11 Login Succeeded 04:08:11 ---> docker-login.sh ends [Pipeline] } 04:08:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:08:11 + git rev-list -1 --merges eba4e3f80b183f67e9bb897e7a81b92376e02044~1..eba4e3f80b183f67e9bb897e7a81b92376e02044 [Pipeline] echo 04:08:11 -----------> git rev-list -1 --merges eba4e3f80b183f67e9bb897e7a81b92376e02044~1..eba4e3f80b183f67e9bb897e7a81b92376e02044 eba4e3f80b183f67e9bb897e7a81b92376e02044 [false] [Pipeline] sh 04:08:12 + git log --format=format:%s -1 eba4e3f80b183f67e9bb897e7a81b92376e02044 [Pipeline] echo 04:08:12 ========================================================= 04:08:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:08:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:12 + git log --format=format:%s -1 eba4e3f80b183f67e9bb897e7a81b92376e02044 [Pipeline] echo 04:08:12 [semverPrep] GIT_COMMIT: eba4e3f80b183f67e9bb897e7a81b92376e02044, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 04:08:12 [semverPrep] This is not a build commit. [Pipeline] sh 04:08:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:13 + grep -v github /etc/ssh/ssh_known_hosts 04:08:13 + [ -e /tmp/ssh_known_hosts ] 04:08:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:08:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:08:13 + sudo tee -a /etc/ssh/ssh_known_hosts 04:08:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:13 04:08:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:13 0.1.4: Pulling from edgex-devops/py-git-semver 04:08:13 b85a868b505f: Pulling fs layer 04:08:13 e2be974225ed: Pulling fs layer 04:08:13 339a4e72a1f5: Pulling fs layer 04:08:13 988bab9f4d93: Pulling fs layer 04:08:13 1469e6f7b9e6: Pulling fs layer 04:08:13 eaf3925da568: Pulling fs layer 04:08:13 988bab9f4d93: Waiting 04:08:13 1469e6f7b9e6: Waiting 04:08:13 bab4dde63d76: Pulling fs layer 04:08:13 bde34c3a00c8: Pulling fs layer 04:08:13 b352a97aabf1: Pulling fs layer 04:08:13 eaf3925da568: Waiting 04:08:13 bab4dde63d76: Waiting 04:08:13 4872d77fe225: Pulling fs layer 04:08:13 5851b861e8e6: Pulling fs layer 04:08:13 4872d77fe225: Waiting 04:08:13 5851b861e8e6: Waiting 04:08:13 e2be974225ed: Verifying Checksum 04:08:13 e2be974225ed: Download complete 04:08:13 988bab9f4d93: Verifying Checksum 04:08:13 988bab9f4d93: Download complete 04:08:14 1469e6f7b9e6: Verifying Checksum 04:08:14 1469e6f7b9e6: Download complete 04:08:14 eaf3925da568: Verifying Checksum 04:08:14 eaf3925da568: Download complete 04:08:14 339a4e72a1f5: Verifying Checksum 04:08:14 339a4e72a1f5: Download complete 04:08:14 bde34c3a00c8: Download complete 04:08:14 b352a97aabf1: Verifying Checksum 04:08:14 b352a97aabf1: Download complete 04:08:14 4872d77fe225: Download complete 04:08:14 5851b861e8e6: Verifying Checksum 04:08:14 5851b861e8e6: Download complete 04:08:14 b85a868b505f: Verifying Checksum 04:08:14 b85a868b505f: Download complete 04:08:14 bab4dde63d76: Verifying Checksum 04:08:14 bab4dde63d76: Download complete 04:08:15 b85a868b505f: Pull complete 04:08:15 e2be974225ed: Pull complete 04:08:15 339a4e72a1f5: Pull complete 04:08:16 988bab9f4d93: Pull complete 04:08:16 1469e6f7b9e6: Pull complete 04:08:16 eaf3925da568: Pull complete 04:08:18 bab4dde63d76: Pull complete 04:08:18 bde34c3a00c8: Pull complete 04:08:18 b352a97aabf1: Pull complete 04:08:18 4872d77fe225: Pull complete 04:08:18 5851b861e8e6: Pull complete 04:08:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:08:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:18 prd-ubuntu20.04-docker-8c-8g-2805 does not seem to be running inside a container 04:08:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-55 -v /w/workspace/xfoundry_app-record-replay_PR-55:/w/workspace/xfoundry_app-record-replay_PR-55:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-55@tmp:/w/workspace/xfoundry_app-record-replay_PR-55@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 04:08:22 $ docker top 3c42ef2f063c6cf95027163ff146a20270a9243bcbbd7a0dcc9591d8f3f55c4d -eo pid,comm 04:08:22 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). 04:08:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:22 [ssh-agent] Looking for ssh-agent implementation... 04:08:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:22 $ docker exec 3c42ef2f063c6cf95027163ff146a20270a9243bcbbd7a0dcc9591d8f3f55c4d ssh-agent 04:08:22 SSH_AUTH_SOCK=/tmp/ssh-r9OqoEQ13Ruw/agent.32 04:08:22 SSH_AGENT_PID=38 04:08:22 Running ssh-add (command line suppressed) 04:08:22 Identity added: /w/workspace/xfoundry_app-record-replay_PR-55@tmp/private_key_9341436152710517389.key (/w/workspace/xfoundry_app-record-replay_PR-55@tmp/private_key_9341436152710517389.key) 04:08:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:23 + git tag --points-at HEAD [Pipeline] } 04:08:23 $ docker exec --env ******** --env ******** 3c42ef2f063c6cf95027163ff146a20270a9243bcbbd7a0dcc9591d8f3f55c4d ssh-agent -k 04:08:23 unset SSH_AUTH_SOCK; 04:08:23 unset SSH_AGENT_PID; 04:08:23 echo Agent pid 38 killed; 04:08:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:08:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:23 [ssh-agent] Looking for ssh-agent implementation... 04:08:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:23 $ docker exec 3c42ef2f063c6cf95027163ff146a20270a9243bcbbd7a0dcc9591d8f3f55c4d ssh-agent 04:08:23 SSH_AUTH_SOCK=/tmp/ssh-ixLRg3jUhYMU/agent.69 04:08:23 SSH_AGENT_PID=75 04:08:23 Running ssh-add (command line suppressed) 04:08:23 Identity added: /w/workspace/xfoundry_app-record-replay_PR-55@tmp/private_key_10334362987562404524.key (/w/workspace/xfoundry_app-record-replay_PR-55@tmp/private_key_10334362987562404524.key) 04:08:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:24 + git semver init 04:08:24 2023-08-03 04:08:24,430 [run_init] DEBUG init version:0.0.0 force:False 04:08:24 2023-08-03 04:08:24,431 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-55/.semver 04:08:24 2023-08-03 04:08:24,431 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-55/.semver 04:08:24 2023-08-03 04:08:24,432 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-55/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-55, universal_newlines=False, shell=None, istream=None) 04:08:25 2023-08-03 04:08:25,094 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-55/.git/info/exclude 04:08:25 2023-08-03 04:08:25,095 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-55/.semver/PR-55 with force:False 04:08:25 2023-08-03 04:08:25,095 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-55/.semver/PR-55 04:08:25 2023-08-03 04:08:25,099 [execute] INFO git cat-file --batch-check 04:08:25 2023-08-03 04:08:25,100 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-55/.semver, universal_newlines=False, shell=None, istream=) 04:08:25 2023-08-03 04:08:25,105 [execute] INFO git cat-file --batch 04:08:25 2023-08-03 04:08:25,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-55/.semver, universal_newlines=False, shell=None, istream=) 04:08:25 2023-08-03 04:08:25,109 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-55/.semver/PR-55 04:08:25 0.0.0 [Pipeline] } 04:08:25 $ docker exec --env ******** --env ******** 3c42ef2f063c6cf95027163ff146a20270a9243bcbbd7a0dcc9591d8f3f55c4d ssh-agent -k 04:08:25 unset SSH_AUTH_SOCK; 04:08:25 unset SSH_AGENT_PID; 04:08:25 echo Agent pid 75 killed; 04:08:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:25 + git semver [Pipeline] } 04:08:26 $ docker stop --time=1 3c42ef2f063c6cf95027163ff146a20270a9243bcbbd7a0dcc9591d8f3f55c4d 04:08:27 $ docker rm -f --volumes 3c42ef2f063c6cf95027163ff146a20270a9243bcbbd7a0dcc9591d8f3f55c4d [Pipeline] // withDockerContainer [Pipeline] sh 04:08:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:08:28 Stashed 1 file(s) [Pipeline] echo 04:08:28 [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 04:08:28 provisioning config files... 04:08:28 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-55@tmp/config10942620663599355224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:29 ---> docker-login.sh 04:08:29 nexus3.edgexfoundry.org:10001 04:08:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:29 Configure a credential helper to remove this warning. See 04:08:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:29 04:08:29 Login Succeeded 04:08:29 nexus3.edgexfoundry.org:10002 04:08:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:29 Configure a credential helper to remove this warning. See 04:08:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:29 04:08:29 Login Succeeded 04:08:29 nexus3.edgexfoundry.org:10003 04:08:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:29 Configure a credential helper to remove this warning. See 04:08:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:29 04:08:29 Login Succeeded 04:08:29 nexus3.edgexfoundry.org:10004 04:08:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:29 Configure a credential helper to remove this warning. See 04:08:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:29 04:08:29 Login Succeeded 04:08:29 docker.io 04:08:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:29 Configure a credential helper to remove this warning. See 04:08:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:29 04:08:29 Login Succeeded 04:08:29 ---> docker-login.sh ends [Pipeline] } 04:08:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:30 ========================================================= 04:08:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:08:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:30 + 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 . 04:08:30 Sending build context to Docker daemon 435.2kB 04:08:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:08:30 Step 2/12 : FROM ${BASE} AS builder 04:08:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:08:30 4db1b89c0bd1: Pulling fs layer 04:08:30 6911f1a30b25: Pulling fs layer 04:08:30 e194b8c5c2a9: Pulling fs layer 04:08:30 6863d3e3a2b1: Pulling fs layer 04:08:30 ec0bb842ea78: Pulling fs layer 04:08:30 40a00589a448: Pulling fs layer 04:08:30 6c08303d61cc: Pulling fs layer 04:08:30 798269fcf238: Pulling fs layer 04:08:30 40a00589a448: Waiting 04:08:30 6c08303d61cc: Waiting 04:08:30 798269fcf238: Waiting 04:08:30 ec0bb842ea78: Waiting 04:08:30 6863d3e3a2b1: Waiting 04:08:30 6911f1a30b25: Verifying Checksum 04:08:30 6911f1a30b25: Download complete 04:08:30 6863d3e3a2b1: Verifying Checksum 04:08:30 6863d3e3a2b1: Download complete 04:08:30 ec0bb842ea78: Verifying Checksum 04:08:30 ec0bb842ea78: Download complete 04:08:30 4db1b89c0bd1: Verifying Checksum 04:08:30 4db1b89c0bd1: Download complete 04:08:31 40a00589a448: Verifying Checksum 04:08:31 40a00589a448: Download complete 04:08:31 4db1b89c0bd1: Pull complete 04:08:31 6911f1a30b25: Pull complete 04:08:31 798269fcf238: Verifying Checksum 04:08:31 798269fcf238: Download complete 04:08:31 e194b8c5c2a9: Verifying Checksum 04:08:31 e194b8c5c2a9: Download complete 04:08:31 6c08303d61cc: Verifying Checksum 04:08:31 6c08303d61cc: Download complete 04:08:35 e194b8c5c2a9: Pull complete 04:08:35 6863d3e3a2b1: Pull complete 04:08:35 ec0bb842ea78: Pull complete 04:08:35 40a00589a448: Pull complete 04:08:38 6c08303d61cc: Pull complete 04:08:39 798269fcf238: Pull complete 04:08:39 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:08:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:08:39 ---> ec979cd7f677 04:08:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:08:43 Still waiting to schedule task 04:08:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2803’ is offline 04:08:47 ---> Running in 291cb4f8ad8f 04:08:47 Removing intermediate container 291cb4f8ad8f 04:08:47 ---> 5ccb71819dff 04:08:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:08:47 ---> Running in 99164c0b1fad 04:08:47 Removing intermediate container 99164c0b1fad 04:08:47 ---> a8ee79069cb6 04:08:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:08:47 ---> Running in 37bf9d01f959 04:08:47 Removing intermediate container 37bf9d01f959 04:08:47 ---> de03e3ba32ed 04:08:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:08:47 ---> Running in b79a20b5ef37 04:08:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:08:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:08:47 OK: 265 MiB in 53 packages 04:08:47 Removing intermediate container b79a20b5ef37 04:08:47 ---> 9208b968d219 04:08:47 Step 7/12 : WORKDIR /app 04:08:47 ---> Running in d09231bb74fc 04:08:47 Removing intermediate container d09231bb74fc 04:08:47 ---> 579e31a2b604 04:08:47 Step 8/12 : COPY go.mod vendor* ./ 04:08:47 ---> 412fbf93c80a 04:08:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:47 ---> Running in e6ec54eb88a9 04:09:43 Removing intermediate container e6ec54eb88a9 04:09:43 ---> 035234c66e74 04:09:43 Step 10/12 : COPY . . 04:09:43 ---> d1cd7b92500a 04:09:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:09:43 ---> Running in 2956107e0a20 04:09:43 Removing intermediate container 2956107e0a20 04:09:43 ---> c816abd60424 04:09:43 Step 12/12 : RUN $MAKE 04:09:43 ---> Running in 4194b2b55b28 04:09:43 noop 04:09:43 Removing intermediate container 4194b2b55b28 04:09:43 ---> 5cf6bf3b1b0d 04:09:43 Successfully built 5cf6bf3b1b0d 04:09:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:44 + docker inspect -f . ci-base-image-x86_64 04:09:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:44 prd-ubuntu20.04-docker-8c-8g-2805 does not seem to be running inside a container 04:09:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-55 -v /w/workspace/xfoundry_app-record-replay_PR-55:/w/workspace/xfoundry_app-record-replay_PR-55:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-55@tmp:/w/workspace/xfoundry_app-record-replay_PR-55@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 04:09:44 $ docker top 29e9f6aabca48f1a3d69f5dfbbf4b8bb38f844084f2ae42bd91807f1f2a934e3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:45 + go version 04:09:45 go version go1.20.6 linux/amd64 [Pipeline] } 04:09:45 $ docker stop --time=1 29e9f6aabca48f1a3d69f5dfbbf4b8bb38f844084f2ae42bd91807f1f2a934e3 04:09:46 $ docker rm -f --volumes 29e9f6aabca48f1a3d69f5dfbbf4b8bb38f844084f2ae42bd91807f1f2a934e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:47 + docker inspect -f . ci-base-image-x86_64 04:09:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:47 prd-ubuntu20.04-docker-8c-8g-2805 does not seem to be running inside a container 04:09:47 $ 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-55 -v /w/workspace/xfoundry_app-record-replay_PR-55:/w/workspace/xfoundry_app-record-replay_PR-55:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-55@tmp:/w/workspace/xfoundry_app-record-replay_PR-55@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 04:09:47 $ docker top f90d2b0467e693c70f745a7667ac508f2d32bf3700cb878d8d8bafdf3b5c0c8d -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:48 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-55 [Pipeline] fileExists [Pipeline] sh 04:09:48 + make test 04:09:48 go test -race -coverprofile=coverage.out ./... 04:10:10 ? github.com/edgexfoundry/app-record-replay [no test files] 04:10:10 ok github.com/edgexfoundry/app-record-replay/internal/app 0.072s coverage: 88.0% of statements 04:10:10 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:10:10 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:10:10 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:10:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2807 in /w/workspace/xfoundry_app-record-replay_PR-55 [Pipeline] { [Pipeline] ws 04:10:17 Running in /w/workspace/app-record-replay/1 [Pipeline] { 04:10:17 ok github.com/edgexfoundry/app-record-replay/internal/application 8.596s coverage: 97.5% of statements 04:10:17 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.094s coverage: 85.2% of statements [Pipeline] checkout 04:10:17 Selected Git installation does not exist. Using Default 04:10:17 The recommended git tool is: NONE 04:10:22 using credential edgex-jenkins-ssh 04:10:22 Cloning the remote Git repository 04:10:22 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 04:10:22 > git init /w/workspace/app-record-replay/1 # timeout=10 04:10:22 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 04:10:22 > git --version # timeout=10 04:10:22 > git --version # 'git version 2.25.1' 04:10:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:23 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 04:10:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:24 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 04:10:24 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 04:10:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/55/head:refs/remotes/origin/PR-55 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:10:24 Merging remotes/origin/main commit 53d214d660c211fabaeb1f0df01625a9dcc42235 into PR head commit eba4e3f80b183f67e9bb897e7a81b92376e02044 04:10:25 Merge succeeded, producing eba4e3f80b183f67e9bb897e7a81b92376e02044 04:10:25 Checking out Revision eba4e3f80b183f67e9bb897e7a81b92376e02044 (PR-55) 04:10:25 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 04:10:25 > git --version # timeout=10 04:10:25 > git --version # 'git version 2.25.1' 04:10:25 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { 04:10:24 > git config core.sparsecheckout # timeout=10 04:10:24 > git checkout -f eba4e3f80b183f67e9bb897e7a81b92376e02044 # timeout=10 04:10:24 > git remote # timeout=10 04:10:24 > git config --get remote.origin.url # timeout=10 04:10:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:24 > git merge 53d214d660c211fabaeb1f0df01625a9dcc42235 # timeout=10 04:10:24 > git rev-parse HEAD^{commit} # timeout=10 04:10:25 > git config core.sparsecheckout # timeout=10 04:10:25 > git checkout -f eba4e3f80b183f67e9bb897e7a81b92376e02044 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:10:26 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:26 Dload Upload Total Spent Left Speed 04:10:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 04:10:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:10:30 + sudo tee /etc/docker/daemon.new 04:10:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:10:30 { 04:10:30 "registry-mirrors": [ 04:10:30 "https://nexus3.edgexfoundry.org:10001" 04:10:30 ], 04:10:30 "bip": "10.250.0.254/24", 04:10:30 "hosts": [ 04:10:30 "tcp://0.0.0.0:5555", 04:10:30 "unix:///var/run/docker.sock" 04:10:30 ], 04:10:30 "mtu": 1458, 04:10:30 "selinux-enabled": true, 04:10:30 "seccomp-profile": "/etc/docker/seccomp.json" 04:10:30 } [Pipeline] sh 04:10:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:10:30 + sudo service docker restart 04:10:39 go vet ./... 04:10:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:10:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:10:41 ./bin/test-attribution-txt.sh [Pipeline] echo 04:10:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:10:42 $ docker stop --time=1 f90d2b0467e693c70f745a7667ac508f2d32bf3700cb878d8d8bafdf3b5c0c8d 04:10:45 $ docker rm -f --volumes f90d2b0467e693c70f745a7667ac508f2d32bf3700cb878d8d8bafdf3b5c0c8d [Pipeline] // withDockerContainer [Pipeline] sh 04:10:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:10:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:10:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:10:47 + ls -al . 04:10:47 total 172 04:10:47 drwxrwxr-x 9 jenkins jenkins 4096 Aug 3 04:09 . 04:10:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 04:08 .. 04:10:47 -rw-rw-r-- 1 jenkins jenkins 119 Aug 3 04:08 .dockerignore 04:10:47 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 04:08 .git 04:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 04:08 .github 04:10:47 -rw-rw-r-- 1 jenkins jenkins 164 Aug 3 04:08 .gitignore 04:10:47 -rw-rw-r-- 1 jenkins jenkins 41 Aug 3 04:08 .golangci.yml 04:10:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 04:08 .semver 04:10:47 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 3 04:08 Attribution.txt 04:10:47 -rw-rw-r-- 1 jenkins jenkins 258 Aug 3 04:08 CHANGELOG.md 04:10:47 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 3 04:08 Dockerfile 04:10:47 -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 04:08 GOVERNANCE.md 04:10:47 -rw-rw-r-- 1 jenkins jenkins 681 Aug 3 04:08 Jenkinsfile 04:10:47 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 3 04:08 LICENSE 04:10:47 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 3 04:08 Makefile 04:10:47 -rw-rw-r-- 1 jenkins jenkins 611 Aug 3 04:08 OWNERS.md 04:10:47 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 3 04:08 README.md 04:10:47 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 3 04:08 Record and Reply.postman_collection.json 04:10:47 -rw-rw-r-- 1 jenkins jenkins 5 Aug 3 04:08 VERSION 04:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 04:08 bin 04:10:47 -rw-r--r-- 1 jenkins jenkins 16060 Aug 3 04:10 coverage.out 04:10:47 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 3 04:08 go.mod 04:10:47 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 3 04:08 go.sum 04:10:47 drwxrwxr-x 6 jenkins jenkins 4096 Aug 3 04:08 internal 04:10:47 -rw-rw-r-- 1 jenkins jenkins 913 Aug 3 04:08 main.go 04:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 04:08 pkg 04:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 04:08 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:47 + 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=eba4e3f80b183f67e9bb897e7a81b92376e02044 --label arch=amd64 --label version=0.0.0 . 04:10:47 Sending build context to Docker daemon 452.1kB 04:10:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:10:47 Step 2/26 : FROM ${BASE} AS builder 04:10:47 ---> 5cf6bf3b1b0d 04:10:47 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:10:47 ---> Running in 5b54ce974591 04:10:47 Removing intermediate container 5b54ce974591 04:10:47 ---> c728b5d1a653 04:10:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:10:47 ---> Running in 83777da61952 04:10:47 Removing intermediate container 83777da61952 04:10:47 ---> a8c76a49028f 04:10:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:10:47 ---> Running in 8f116b522372 04:10:47 Removing intermediate container 8f116b522372 04:10:47 ---> 20e8bb5c3170 04:10:47 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:10:48 ---> Running in c7fa46cf1bbb 04:10:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:10:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:10:48 OK: 265 MiB in 53 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:49 provisioning config files... 04:10:49 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config8749502875460506403tmp 04:10:49 Removing intermediate container c7fa46cf1bbb 04:10:49 ---> 27a934f517b3 04:10:49 Step 7/26 : WORKDIR /app 04:10:49 ---> Running in 075cfed106e0 04:10:49 Removing intermediate container 075cfed106e0 04:10:49 ---> c2dc42c57513 04:10:49 Step 8/26 : COPY go.mod vendor* ./ 04:10:49 ---> e36c6616aae2 04:10:49 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:49 ---> Running in 2fd273e47cb0 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:49 ---> docker-login.sh 04:10:49 nexus3.edgexfoundry.org:10001 04:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:50 Configure a credential helper to remove this warning. See 04:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:50 04:10:50 Login Succeeded 04:10:50 Removing intermediate container 2fd273e47cb0 04:10:50 ---> 3d17a23087b4 04:10:50 Step 10/26 : COPY . . 04:10:50 ---> 1fcc8af43a0b 04:10:50 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:10:50 ---> Running in 5fa900bef2e5 04:10:50 Removing intermediate container 5fa900bef2e5 04:10:50 ---> 312c37db4111 04:10:50 Step 12/26 : RUN $MAKE 04:10:50 ---> Running in 30dbcddbd1f8 04:10:50 nexus3.edgexfoundry.org:10002 04:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.16 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 04:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:50 Configure a credential helper to remove this warning. See 04:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:50 04:10:50 Login Succeeded 04:10:50 nexus3.edgexfoundry.org:10003 04:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:50 Configure a credential helper to remove this warning. See 04:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:50 04:10:50 Login Succeeded 04:10:50 nexus3.edgexfoundry.org:10004 04:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:51 Configure a credential helper to remove this warning. See 04:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:51 04:10:51 Login Succeeded 04:10:51 docker.io 04:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:51 Configure a credential helper to remove this warning. See 04:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:51 04:10:51 Login Succeeded 04:10:51 ---> docker-login.sh ends [Pipeline] } 04:10:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:52 ========================================================= 04:10:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:10:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:52 + 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 . 04:10:52 Sending build context to Docker daemon 197.1kB 04:10:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:10:52 Step 2/12 : FROM ${BASE} AS builder 04:10:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:10:52 edb6bdbacee9: Pulling fs layer 04:10:52 5f9638ab2659: Pulling fs layer 04:10:52 8d51d6327a98: Pulling fs layer 04:10:52 8b374f2dd631: Pulling fs layer 04:10:52 ec14aa9079de: Pulling fs layer 04:10:52 2f466654f4bb: Pulling fs layer 04:10:52 554e91adad29: Pulling fs layer 04:10:52 8b374f2dd631: Waiting 04:10:52 ec14aa9079de: Waiting 04:10:52 2f466654f4bb: Waiting 04:10:52 554e91adad29: Waiting 04:10:52 5f9638ab2659: Verifying Checksum 04:10:52 5f9638ab2659: Download complete 04:10:53 8b374f2dd631: Verifying Checksum 04:10:53 8b374f2dd631: Download complete 04:10:53 ec14aa9079de: Verifying Checksum 04:10:53 ec14aa9079de: Download complete 04:10:53 edb6bdbacee9: Verifying Checksum 04:10:53 edb6bdbacee9: Download complete 04:10:54 554e91adad29: Verifying Checksum 04:10:54 554e91adad29: Download complete 04:10:55 8d51d6327a98: Verifying Checksum 04:10:55 8d51d6327a98: Download complete 04:10:55 2f466654f4bb: Verifying Checksum 04:10:55 2f466654f4bb: Download complete 04:10:56 edb6bdbacee9: Pull complete 04:10:57 5f9638ab2659: Pull complete 04:11:12 8d51d6327a98: Pull complete 04:11:12 8b374f2dd631: Pull complete 04:11:12 ec14aa9079de: Pull complete 04:11:12 Removing intermediate container 30dbcddbd1f8 04:11:12 ---> 9cf3ed51bfbb 04:11:12 Step 13/26 : FROM alpine:3.17 04:11:12 3.17: Pulling from library/alpine 04:11:12 4db1b89c0bd1: Already exists 04:11:12 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 04:11:12 Status: Downloaded newer image for alpine:3.17 04:11:12 ---> 1f73a9d63274 04:11:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:11:12 ---> Running in 07168e93cb68 04:11:12 Removing intermediate container 07168e93cb68 04:11:12 ---> ddcbe116117e 04:11:12 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 04:11:12 ---> Running in 15d325ba80ea 04:11:12 Removing intermediate container 15d325ba80ea 04:11:12 ---> d6b8b8ea621c 04:11:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:11:12 ---> Running in f791e41661da 04:11:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:11:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:11:12 (1/2) Installing ca-certificates (20230506-r0) 04:11:12 (2/2) Installing dumb-init (1.2.5-r2) 04:11:12 Executing busybox-1.35.0-r29.trigger 04:11:12 Executing ca-certificates-20230506-r0.trigger 04:11:12 OK: 8 MiB in 17 packages 04:11:12 Removing intermediate container f791e41661da 04:11:12 ---> d1f475eea468 04:11:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:11:13 ---> 04ee643a2d48 04:11:13 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:11:13 ---> ebc9f0fd74c7 04:11:13 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:11:13 ---> 1c15e696d66a 04:11:13 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 04:11:13 ---> e4af3eef8153 04:11:13 Step 21/26 : EXPOSE 59712 04:11:13 ---> Running in 924c450cb1e1 04:11:14 Removing intermediate container 924c450cb1e1 04:11:14 ---> 68e5340a5222 04:11:14 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 04:11:14 ---> Running in dbc07aaf7ad2 04:11:14 Removing intermediate container dbc07aaf7ad2 04:11:14 ---> 0f41af90d587 04:11:14 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:11:14 ---> Running in 0d04b9a046b9 04:11:14 Removing intermediate container 0d04b9a046b9 04:11:14 ---> 3bb509ab5e84 04:11:14 Step 24/26 : LABEL arch=amd64 04:11:14 ---> Running in 4c732c37788f 04:11:14 Removing intermediate container 4c732c37788f 04:11:14 ---> 406a57fc3fb0 04:11:14 Step 25/26 : LABEL git_sha=eba4e3f80b183f67e9bb897e7a81b92376e02044 04:11:14 ---> Running in 7fcd0067db06 04:11:14 Removing intermediate container 7fcd0067db06 04:11:14 ---> a27fdc628c93 04:11:14 Step 26/26 : LABEL version=0.0.0 04:11:14 ---> Running in 3e0994cf3a00 04:11:14 Removing intermediate container 3e0994cf3a00 04:11:14 ---> ef2e95b96f35 04:11:14 [Warning] One or more build-args [ARCH] were not consumed 04:11:14 Successfully built ef2e95b96f35 04:11:14 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 04:11:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:15 04:11:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:15 latest: Pulling from edgex-lftools-log-publisher 04:11:15 5eb5b503b376: Pulling fs layer 04:11:15 5c69ac0246d0: Pulling fs layer 04:11:15 ec43610c2a17: Pulling fs layer 04:11:15 3a2ae6a8a46f: Pulling fs layer 04:11:15 33b1e0a273af: Pulling fs layer 04:11:15 5d3b04190fa2: Pulling fs layer 04:11:15 2f39f015ded8: Pulling fs layer 04:11:15 33b1e0a273af: Waiting 04:11:15 5d3b04190fa2: Waiting 04:11:15 2f39f015ded8: Waiting 04:11:15 3a2ae6a8a46f: Waiting 04:11:15 5c69ac0246d0: Verifying Checksum 04:11:15 5c69ac0246d0: Download complete 04:11:15 3a2ae6a8a46f: Verifying Checksum 04:11:15 3a2ae6a8a46f: Download complete 04:11:15 33b1e0a273af: Verifying Checksum 04:11:15 33b1e0a273af: Download complete 04:11:15 5d3b04190fa2: Verifying Checksum 04:11:15 5d3b04190fa2: Download complete 04:11:16 ec43610c2a17: Verifying Checksum 04:11:16 ec43610c2a17: Download complete 04:11:16 5eb5b503b376: Verifying Checksum 04:11:16 5eb5b503b376: Download complete 04:11:16 2f39f015ded8: Download complete 04:11:17 5eb5b503b376: Pull complete 04:11:17 5c69ac0246d0: Pull complete 04:11:17 2f466654f4bb: Pull complete 04:11:17 ec43610c2a17: Pull complete 04:11:17 3a2ae6a8a46f: Pull complete 04:11:18 33b1e0a273af: Pull complete 04:11:18 5d3b04190fa2: Pull complete 04:11:19 554e91adad29: Pull complete 04:11:19 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:11:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:11:19 ---> 1e15ea492957 04:11:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:11:20 ---> Running in e9ba8274d4b7 04:11:21 Removing intermediate container e9ba8274d4b7 04:11:21 ---> e931fb31a383 04:11:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:11:21 ---> Running in b092282c9c7d 04:11:21 Removing intermediate container b092282c9c7d 04:11:21 ---> 63b90e0312f8 04:11:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:11:21 ---> Running in 9d22a294c061 04:11:22 Removing intermediate container 9d22a294c061 04:11:22 ---> cd299c5dfb03 04:11:22 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:11:22 ---> Running in 5e7fbb92ea5c 04:11:22 2f39f015ded8: Pull complete 04:11:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:11:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:22 prd-ubuntu20.04-docker-8c-8g-2805 does not seem to be running inside a container 04:11:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-55 -v /w/workspace/xfoundry_app-record-replay_PR-55:/w/workspace/xfoundry_app-record-replay_PR-55:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-55@tmp:/w/workspace/xfoundry_app-record-replay_PR-55@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 04:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:11:24 OK: 263 MiB in 53 packages 04:11:25 Removing intermediate container 5e7fbb92ea5c 04:11:25 ---> 43c48fb98328 04:11:25 Step 7/12 : WORKDIR /app 04:11:25 ---> Running in 55ce347fbb31 04:11:25 Removing intermediate container 55ce347fbb31 04:11:25 ---> f4ee780a5688 04:11:25 Step 8/12 : COPY go.mod vendor* ./ 04:11:26 $ docker top 6e934bb4cdf220df517be2469a1ba2fa990c21bdf1439f7286a26a4f76a611f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:26 ---> 9412ebfd7682 04:11:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:26 ---> Running in 45a6608bfc6e 04:11:26 ---> job-cost.sh 04:11:26 lf-activate-venv: SKIPPING 04:11:26 INFO: No Stack... 04:11:26 INFO: Retrieving Pricing Info for: v3-standard-8 04:11:27 INFO: Archiving Costs [Pipeline] sh 04:11:27 + cat /w/workspace/xfoundry_app-record-replay_PR-55/archives/cost.csv 04:11:27 + cut -d, -f6 [Pipeline] lock 04:11:27 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-55-1-stack-cost] 04:11:27 Resource [jenkins-edgexfoundry-app-record-replay-PR-55-1-stack-cost] did not exist. Created. 04:11:27 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-55-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:11:28 + echo total: 0.2199999988079071 [Pipeline] stash 04:11:28 Stashed 1 file(s) [Pipeline] } 04:11:28 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-55-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:11:28 $ docker stop --time=1 6e934bb4cdf220df517be2469a1ba2fa990c21bdf1439f7286a26a4f76a611f9 04:11:29 $ docker rm -f --volumes 6e934bb4cdf220df517be2469a1ba2fa990c21bdf1439f7286a26a4f76a611f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:12:34 Removing intermediate container 45a6608bfc6e 04:12:34 ---> c7cd6fd7b45e 04:12:34 Step 10/12 : COPY . . 04:12:34 ---> 834d7aa573ef 04:12:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:12:34 ---> Running in f266dc914a6f 04:12:34 Removing intermediate container f266dc914a6f 04:12:34 ---> 11bb4085d608 04:12:34 Step 12/12 : RUN $MAKE 04:12:34 ---> Running in 7a43353bcdf7 04:12:34 noop 04:12:34 Removing intermediate container 7a43353bcdf7 04:12:34 ---> 7981e2ed7a18 04:12:34 Successfully built 7981e2ed7a18 04:12:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:34 + docker inspect -f . ci-base-image-arm64 04:12:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:35 prd-ubuntu20.04-docker-arm64-4c-16g-2807 does not seem to be running inside a container 04:12:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:36 $ docker top eade581c6139a5b0eac721b56b9a1a15b1491d9d811f0339f5f7aa374a874719 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:37 + go version 04:12:37 go version go1.20.6 linux/arm64 [Pipeline] } 04:12:37 $ docker stop --time=1 eade581c6139a5b0eac721b56b9a1a15b1491d9d811f0339f5f7aa374a874719 04:12:38 $ docker rm -f --volumes eade581c6139a5b0eac721b56b9a1a15b1491d9d811f0339f5f7aa374a874719 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:39 + docker inspect -f . ci-base-image-arm64 04:12:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:39 prd-ubuntu20.04-docker-arm64-4c-16g-2807 does not seem to be running inside a container 04:12:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:40 $ docker top 1782bbe00558202f4203bdf1285b115fa4e7cc8038f6b0bd808e4a461be7094f -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:41 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 04:12:41 + make test 04:12:41 go test -race -coverprofile=coverage.out ./... 04:15:18 ? github.com/edgexfoundry/app-record-replay [no test files] 04:15:36 ok github.com/edgexfoundry/app-record-replay/internal/app 0.257s coverage: 88.0% of statements 04:15:39 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 04:15:39 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 04:15:39 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 04:15:43 ok github.com/edgexfoundry/app-record-replay/internal/application 8.865s coverage: 97.5% of statements 04:15:43 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.443s coverage: 85.2% of statements 04:15:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:15:43 go vet ./... 04:18:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:18:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:18:20 ./bin/test-attribution-txt.sh [Pipeline] echo 04:18:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:18:20 $ docker stop --time=1 1782bbe00558202f4203bdf1285b115fa4e7cc8038f6b0bd808e4a461be7094f 04:18:22 $ docker rm -f --volumes 1782bbe00558202f4203bdf1285b115fa4e7cc8038f6b0bd808e4a461be7094f [Pipeline] // withDockerContainer [Pipeline] sh 04:18:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:18:24 Warning: overwriting stash ‘coverage-report’ 04:18:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:18:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:18:25 + ls -al . 04:18:25 total 168 04:18:25 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 04:12 . 04:18:25 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 04:10 .. 04:18:25 -rw-rw-r-- 1 jenkins jenkins 119 Aug 3 04:10 .dockerignore 04:18:25 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 04:10 .git 04:18:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 04:10 .github 04:18:25 -rw-rw-r-- 1 jenkins jenkins 164 Aug 3 04:10 .gitignore 04:18:25 -rw-rw-r-- 1 jenkins jenkins 41 Aug 3 04:10 .golangci.yml 04:18:25 -rw-rw-r-- 1 jenkins jenkins 10642 Aug 3 04:10 Attribution.txt 04:18:25 -rw-rw-r-- 1 jenkins jenkins 258 Aug 3 04:10 CHANGELOG.md 04:18:25 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 3 04:10 Dockerfile 04:18:25 -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 04:10 GOVERNANCE.md 04:18:25 -rw-rw-r-- 1 jenkins jenkins 681 Aug 3 04:10 Jenkinsfile 04:18:25 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 3 04:10 LICENSE 04:18:25 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 3 04:10 Makefile 04:18:25 -rw-rw-r-- 1 jenkins jenkins 611 Aug 3 04:10 OWNERS.md 04:18:25 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 3 04:10 README.md 04:18:25 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 3 04:10 Record and Reply.postman_collection.json 04:18:25 -rw-rw-r-- 1 jenkins jenkins 5 Aug 3 04:08 VERSION 04:18:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 04:10 bin 04:18:25 -rw-r--r-- 1 jenkins jenkins 16060 Aug 3 04:15 coverage.out 04:18:25 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 3 04:10 go.mod 04:18:25 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 3 04:10 go.sum 04:18:25 drwxrwxr-x 6 jenkins jenkins 4096 Aug 3 04:10 internal 04:18:25 -rw-rw-r-- 1 jenkins jenkins 913 Aug 3 04:10 main.go 04:18:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 04:10 pkg 04:18:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 04:10 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:25 + 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=eba4e3f80b183f67e9bb897e7a81b92376e02044 --label arch=arm64 --label version=0.0.0 . 04:18:25 Sending build context to Docker daemon 214kB 04:18:26 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:18:26 Step 2/26 : FROM ${BASE} AS builder 04:18:26 ---> 7981e2ed7a18 04:18:26 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:18:26 ---> Running in 5edc0a3df995 04:18:26 Removing intermediate container 5edc0a3df995 04:18:26 ---> 62f62fa1f697 04:18:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:18:26 ---> Running in c965e2a28b69 04:18:26 Removing intermediate container c965e2a28b69 04:18:26 ---> 6897b729a129 04:18:26 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:18:26 ---> Running in 614b01fc8774 04:18:27 Removing intermediate container 614b01fc8774 04:18:27 ---> 65b0f0ecf8b1 04:18:27 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:18:27 ---> Running in f04b2c320b0d 04:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:18:30 OK: 263 MiB in 53 packages 04:18:30 Removing intermediate container f04b2c320b0d 04:18:30 ---> 1ac300d3e0ec 04:18:30 Step 7/26 : WORKDIR /app 04:18:30 ---> Running in 37c547d8fa94 04:18:30 Removing intermediate container 37c547d8fa94 04:18:30 ---> 6a2ba346793d 04:18:30 Step 8/26 : COPY go.mod vendor* ./ 04:18:31 ---> b436900b280c 04:18:31 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:31 ---> Running in e2b3e41a1781 04:18:36 Removing intermediate container e2b3e41a1781 04:18:36 ---> 8a0d485a07bf 04:18:36 Step 10/26 : COPY . . 04:18:36 ---> 1b34059e8665 04:18:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:18:36 ---> Running in c1a0f2692d7d 04:18:36 Removing intermediate container c1a0f2692d7d 04:18:36 ---> f651fb28b6eb 04:18:36 Step 12/26 : RUN $MAKE 04:18:36 ---> Running in bbbf7674647e 04:18:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.16 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 04:20:59 Removing intermediate container bbbf7674647e 04:20:59 ---> a63271b9ed0b 04:20:59 Step 13/26 : FROM alpine:3.17 04:20:59 3.17: Pulling from library/alpine 04:20:59 edb6bdbacee9: Already exists 04:20:59 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 04:20:59 Status: Downloaded newer image for alpine:3.17 04:20:59 ---> 779605e5fbc0 04:20:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:20:59 ---> Running in 264b596d379b 04:20:59 Removing intermediate container 264b596d379b 04:20:59 ---> 13cd2ed5308e 04:20:59 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 04:20:59 ---> Running in f8ed14cbeb5a 04:20:59 Removing intermediate container f8ed14cbeb5a 04:20:59 ---> a0216d4c57d7 04:20:59 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:20:59 ---> Running in 983a2fa53f35 04:20:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:20:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:20:59 (1/2) Installing ca-certificates (20230506-r0) 04:20:59 (2/2) Installing dumb-init (1.2.5-r2) 04:20:59 Executing busybox-1.35.0-r29.trigger 04:20:59 Executing ca-certificates-20230506-r0.trigger 04:20:59 OK: 8 MiB in 17 packages 04:20:59 Removing intermediate container 983a2fa53f35 04:20:59 ---> f41d33d7c5d2 04:20:59 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:20:59 ---> 9a83bcdea96c 04:20:59 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:20:59 ---> 2d39ead4c915 04:20:59 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:20:59 ---> 7639ecde7ed1 04:20:59 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 04:20:59 ---> c5a854addbd1 04:20:59 Step 21/26 : EXPOSE 59712 04:20:59 ---> Running in 61a65b03f9a9 04:20:59 Removing intermediate container 61a65b03f9a9 04:20:59 ---> bad48c6868ce 04:20:59 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 04:20:59 ---> Running in 2d9dcac67aa8 04:20:59 Removing intermediate container 2d9dcac67aa8 04:20:59 ---> 59777f1e9efe 04:20:59 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:20:59 ---> Running in 0cdbd795431f 04:20:59 Removing intermediate container 0cdbd795431f 04:20:59 ---> 694c287fc3d6 04:20:59 Step 24/26 : LABEL arch=arm64 04:20:59 ---> Running in ef1943d0b353 04:20:59 Removing intermediate container ef1943d0b353 04:20:59 ---> 3782804f367c 04:20:59 Step 25/26 : LABEL git_sha=eba4e3f80b183f67e9bb897e7a81b92376e02044 04:20:59 ---> Running in 63d31cf7eec2 04:20:59 Removing intermediate container 63d31cf7eec2 04:20:59 ---> 32672111229a 04:20:59 Step 26/26 : LABEL version=0.0.0 04:20:59 ---> Running in bcc191e6f983 04:20:59 Removing intermediate container bcc191e6f983 04:20:59 ---> 425b3d7db4eb 04:20:59 [Warning] One or more build-args [ARCH] were not consumed 04:20:59 Successfully built 425b3d7db4eb 04:20:59 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:00 04:21:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:01 arm64: Pulling from edgex-lftools-log-publisher 04:21:01 8998bd30e6a1: Pulling fs layer 04:21:01 04944245beec: Pulling fs layer 04:21:01 699f458cf7ca: Pulling fs layer 04:21:01 765212b225bb: Pulling fs layer 04:21:01 f23df028b6ca: Pulling fs layer 04:21:01 d65c8cfc05b1: Pulling fs layer 04:21:01 2437ff75d9bd: Pulling fs layer 04:21:01 765212b225bb: Waiting 04:21:01 d65c8cfc05b1: Waiting 04:21:01 f23df028b6ca: Waiting 04:21:01 2437ff75d9bd: Waiting 04:21:01 04944245beec: Verifying Checksum 04:21:01 04944245beec: Download complete 04:21:01 765212b225bb: Verifying Checksum 04:21:01 765212b225bb: Download complete 04:21:01 f23df028b6ca: Verifying Checksum 04:21:01 f23df028b6ca: Download complete 04:21:01 d65c8cfc05b1: Verifying Checksum 04:21:01 d65c8cfc05b1: Download complete 04:21:01 699f458cf7ca: Verifying Checksum 04:21:01 699f458cf7ca: Download complete 04:21:02 8998bd30e6a1: Verifying Checksum 04:21:02 8998bd30e6a1: Download complete 04:21:04 2437ff75d9bd: Verifying Checksum 04:21:04 2437ff75d9bd: Download complete 04:21:06 8998bd30e6a1: Pull complete 04:21:06 04944245beec: Pull complete 04:21:08 699f458cf7ca: Pull complete 04:21:08 765212b225bb: Pull complete 04:21:09 f23df028b6ca: Pull complete 04:21:09 d65c8cfc05b1: Pull complete 04:21:24 2437ff75d9bd: Pull complete 04:21:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:21:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:24 prd-ubuntu20.04-docker-arm64-4c-16g-2807 does not seem to be running inside a container 04:21:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:21:27 $ docker top 01958184165c3318af00579b36a96f105df2a8e4e595438ea6980f1cde10f46f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:27 ---> job-cost.sh 04:21:27 lf-activate-venv: SKIPPING 04:21:27 INFO: No Stack... 04:21:28 INFO: Retrieving Pricing Info for: v3-standard-4 04:21:29 INFO: Archiving Costs [Pipeline] sh 04:21:29 + cut -d, -f6 04:21:29 + cat /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock 04:21:29 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-55-1-stack-cost] 04:21:29 Resource [jenkins-edgexfoundry-app-record-replay-PR-55-1-stack-cost] did not exist. Created. 04:21:29 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-55-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:30 /w/workspace/app-record-replay/1@tmp/durable-d59a97ac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:21:30 + echo total: 0.10999999940395355 [Pipeline] stash 04:21:31 Warning: overwriting stash ‘stack-cost’ 04:21:31 Stashed 1 file(s) [Pipeline] } 04:21:31 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-55-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:31 $ docker stop --time=1 01958184165c3318af00579b36a96f105df2a8e4e595438ea6980f1cde10f46f 04:21:33 $ docker rm -f --volumes 01958184165c3318af00579b36a96f105df2a8e4e595438ea6980f1cde10f46f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:21:34 provisioning config files... 04:21:34 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-55 #1 04:21:34 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-55@tmp/config3612838474989741705tmp [Pipeline] { [Pipeline] sh 04:21:35 + set +x 04:21:35 + bash -s -- 04:21:35 + curl -s https://codecov.io/bash 04:21:35 04:21:35 _____ _ 04:21:35 / ____| | | 04:21:35 | | ___ __| | ___ ___ _____ __ 04:21:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:21:35 | |___| (_) | (_| | __/ (_| (_) \ V / 04:21:35 \_____\___/ \__,_|\___|\___\___/ \_/ 04:21:35 Bash-1.0.6 04:21:35 04:21:35 04:21:35 ==> git version 2.25.1 found 04:21:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:21:35 Release-Date: 2020-01-08 04:21:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:21:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:21:35 ==> Jenkins CI detected. 04:21:35 current dir:  /w/workspace/xfoundry_app-record-replay_PR-55 04:21:35 project root: . 04:21:35 --> token set from env 04:21:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:21:35 ==> Running gcov in . (disable via -X gcov) 04:21:35 ==> Python coveragepy not found 04:21:35 ==> Searching for coverage reports in: 04:21:35 + . 04:21:35 -> Found 1 reports 04:21:35 ==> Detecting git/mercurial file structure 04:21:35 ==> Reading reports 04:21:35 + ./coverage.out bytes=16060 04:21:35 ==> Appending adjustments 04:21:35 https://docs.codecov.io/docs/fixing-reports 04:21:35 + Found adjustments 04:21:35 ==> Gzipping contents 04:21:35 4.0K /tmp/codecov.iKnbqT.gz 04:21:35 ==> Uploading reports 04:21:35 url: https://codecov.io 04:21:35 query: branch=PR-55&commit=eba4e3f80b183f67e9bb897e7a81b92376e02044&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-55%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=55&job=&cmd_args= 04:21:35 -> Pinging Codecov 04:21:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-55&commit=eba4e3f80b183f67e9bb897e7a81b92376e02044&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-55%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=55&job=&cmd_args= 04:21:35 Invalid request parameters 04:21:35 400 [Pipeline] } 04:21:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:21:37 + [ -d /w/workspace/xfoundry_app-record-replay_PR-55/archives ] 04:21:37 + ls -al /w/workspace/xfoundry_app-record-replay_PR-55/archives 04:21:37 total 16 04:21:37 drwxr-xr-x 3 root root 4096 Aug 3 04:11 . 04:21:37 drwxrwxr-x 10 jenkins jenkins 4096 Aug 3 04:11 .. 04:21:37 drwxr-xr-x 2 root root 4096 Aug 3 04:11 cost 04:21:37 -rw-r--r-- 1 root root 88 Aug 3 04:11 cost.csv 04:21:37 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-55/archives 04:21:37 + ls -al /w/workspace/xfoundry_app-record-replay_PR-55/archives 04:21:37 total 16 04:21:37 drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 04:11 . 04:21:37 drwxrwxr-x 10 jenkins jenkins 4096 Aug 3 04:11 .. 04:21:37 drwxr-xr-x 2 jenkins jenkins 4096 Aug 3 04:11 cost 04:21:37 -rw-r--r-- 1 jenkins jenkins 88 Aug 3 04:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:21:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:21:38 ---> package-listing.sh 04:21:38 ++ facter osfamily 04:21:38 ++ tr '[:upper:]' '[:lower:]' 04:21:38 + OS_FAMILY=debian 04:21:38 + workspace=/w/workspace/xfoundry_app-record-replay_PR-55 04:21:38 + START_PACKAGES=/tmp/packages_start.txt 04:21:38 + END_PACKAGES=/tmp/packages_end.txt 04:21:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:21:38 + PACKAGES=/tmp/packages_start.txt 04:21:38 + '[' /w/workspace/xfoundry_app-record-replay_PR-55 ']' 04:21:38 + PACKAGES=/tmp/packages_end.txt 04:21:38 + case "${OS_FAMILY}" in 04:21:38 + dpkg -l 04:21:38 + grep '^ii' 04:21:38 + '[' -f /tmp/packages_start.txt ']' 04:21:38 + '[' -f /tmp/packages_end.txt ']' 04:21:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:21:38 + '[' /w/workspace/xfoundry_app-record-replay_PR-55 ']' 04:21:38 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-55/archives/ 04:21:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-55/archives/ [Pipeline] echo 04:21:38 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-55/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:21:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:39 prd-ubuntu20.04-docker-8c-8g-2805 does not seem to be running inside a container 04:21:39 $ 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-55/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-55 -v /w/workspace/xfoundry_app-record-replay_PR-55:/w/workspace/xfoundry_app-record-replay_PR-55:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-55@tmp:/w/workspace/xfoundry_app-record-replay_PR-55@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 04:21:40 $ docker top aef8ea8c4e4c05a1b4bac50959c78389cdb2fefbad0a9d4de70f0462528e4126 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:40 + touch /tmp/pre-build-complete [Pipeline] sh 04:21:40 + mkdir -p /var/log/sysstat [Pipeline] sh 04:21:41 + ls /var/log/sa-host 04:21:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:41 provisioning config files... 04:21:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-55@tmp/config16511891362603372423tmp [Pipeline] { [Pipeline] echo 04:21:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:21:41 ---> create-netrc.sh [Pipeline] } 04:21:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:21:42 ---> python-tools-install.sh [Pipeline] echo 04:21:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:21:42 ---> sudo-logs.sh 04:21:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:21:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:21:42 ---> job-cost.sh 04:21:42 lf-activate-venv: SKIPPING 04:21:42 DEBUG: total: 0.2199999988079071 04:21:42 INFO: Retrieving Stack Cost... 04:21:43 INFO: Retrieving Pricing Info for: v3-standard-8 04:21:43 INFO: Archiving Costs [Pipeline] echo 04:21:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:21:44 ---> logs-deploy.sh 04:21:44 lf-activate-venv: SKIPPING 04:21:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-55/1 04:21:44 INFO: archiving workspace using pattern(s): 04:21:44 Archives upload complete. 04:21:44 INFO: archiving logs to Nexus