Pull request #84 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/app-record-replay Obtained Jenkinsfile from 8b05ba458a9fd9747e2789f2d8de7ec991f83493+a00c23a8e4269698580118f16cad66fb2bb4df8c (bd77913052c20395da5dca9e3535861ccd5012b3) 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-ssh11114867460392072406.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3112636711636442954.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-84/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-84/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11190797415187657052.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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 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-ssh18423399125026392265.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-84/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-84/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17108042196737292566.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7951 in /w/workspace/xfoundry_app-record-replay_PR-84 [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-84 # 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 a00c23a8e4269698580118f16cad66fb2bb4df8c into PR head commit 8b05ba458a9fd9747e2789f2d8de7ec991f83493 > 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/84/head:refs/remotes/origin/PR-84 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing efa51c48c0683b4a8f3aefd5b546002edd42773f Checking out Revision efa51c48c0683b4a8f3aefd5b546002edd42773f (PR-84) > git checkout -f 8b05ba458a9fd9747e2789f2d8de7ec991f83493 # 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 a00c23a8e4269698580118f16cad66fb2bb4df8c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efa51c48c0683b4a8f3aefd5b546002edd42773f # timeout=10 Commit message: "Merge commit 'a00c23a8e4269698580118f16cad66fb2bb4df8c' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 35bb67942b51d7cc474b3d57ecd1f98cc423a0f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:15:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:15:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:15:59 ========================================================= 16:15:59 EdgeX Global Pipelines Version Info 16:15:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:16:00 ------------------- 16:16:00 stable info: 16:16:00 ------------------- 16:16:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:16:00 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 16:16:00 Message: update stable to v1.0.254 16:16:00 ------------------- 16:16:00 experimental info: 16:16:00 ------------------- 16:16:00 Commited By: **** collab-it+edgex@linuxfoundation.org 16:16:00 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 16:16:00 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:16:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-84 [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-84 [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-84 [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efa51c48c0683b4a8f3aefd5b546002edd42773f [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efa51c4 [Pipeline] echo 16:16:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:01 provisioning config files... 16:16:01 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-84@tmp/config6468976584891473381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:01 ---> docker-login.sh 16:16:01 nexus3.edgexfoundry.org:10001 16:16:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:01 Configure a credential helper to remove this warning. See 16:16:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:01 16:16:01 Login Succeeded 16:16:01 nexus3.edgexfoundry.org:10002 16:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:02 Configure a credential helper to remove this warning. See 16:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:02 16:16:02 Login Succeeded 16:16:02 nexus3.edgexfoundry.org:10003 16:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:02 Configure a credential helper to remove this warning. See 16:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:02 16:16:02 Login Succeeded 16:16:02 nexus3.edgexfoundry.org:10004 16:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:02 Configure a credential helper to remove this warning. See 16:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:02 16:16:02 Login Succeeded 16:16:02 docker.io 16:16:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:02 Configure a credential helper to remove this warning. See 16:16:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:02 16:16:02 Login Succeeded 16:16:02 ---> docker-login.sh ends [Pipeline] } 16:16:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:16:03 + git rev-list -1 --merges efa51c48c0683b4a8f3aefd5b546002edd42773f~1..efa51c48c0683b4a8f3aefd5b546002edd42773f [Pipeline] echo 16:16:03 -----------> git rev-list -1 --merges efa51c48c0683b4a8f3aefd5b546002edd42773f~1..efa51c48c0683b4a8f3aefd5b546002edd42773f efa51c48c0683b4a8f3aefd5b546002edd42773f 16:16:03 efa51c48c0683b4a8f3aefd5b546002edd42773f [false] [Pipeline] sh 16:16:03 + git log --format=format:%s -1 efa51c48c0683b4a8f3aefd5b546002edd42773f [Pipeline] echo 16:16:03 ========================================================= 16:16:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:16:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:16:03 + git log --format=format:%s -1 efa51c48c0683b4a8f3aefd5b546002edd42773f [Pipeline] echo 16:16:03 [semverPrep] GIT_COMMIT: efa51c48c0683b4a8f3aefd5b546002edd42773f, Commit Message: Merge commit 'a00c23a8e4269698580118f16cad66fb2bb4df8c' into HEAD [Pipeline] echo 16:16:03 [semverPrep] This is not a build commit. [Pipeline] sh 16:16:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:16:04 + grep -v github /etc/ssh/ssh_known_hosts 16:16:04 + [ -e /tmp/ssh_known_hosts ] 16:16:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:16:04 + + sudo tee -a /etc/ssh/ssh_known_hosts 16:16:04 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:16:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:16:04 16:16:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:16:04 0.1.4: Pulling from edgex-devops/py-git-semver 16:16:04 b85a868b505f: Pulling fs layer 16:16:04 e2be974225ed: Pulling fs layer 16:16:04 339a4e72a1f5: Pulling fs layer 16:16:04 988bab9f4d93: Pulling fs layer 16:16:04 1469e6f7b9e6: Pulling fs layer 16:16:04 eaf3925da568: Pulling fs layer 16:16:04 bab4dde63d76: Pulling fs layer 16:16:04 bde34c3a00c8: Pulling fs layer 16:16:04 b352a97aabf1: Pulling fs layer 16:16:04 4872d77fe225: Pulling fs layer 16:16:04 5851b861e8e6: Pulling fs layer 16:16:04 b352a97aabf1: Waiting 16:16:04 988bab9f4d93: Waiting 16:16:04 1469e6f7b9e6: Waiting 16:16:04 4872d77fe225: Waiting 16:16:04 bde34c3a00c8: Waiting 16:16:04 eaf3925da568: Waiting 16:16:04 5851b861e8e6: Waiting 16:16:04 bab4dde63d76: Waiting 16:16:04 e2be974225ed: Download complete 16:16:04 988bab9f4d93: Verifying Checksum 16:16:05 1469e6f7b9e6: Verifying Checksum 16:16:05 1469e6f7b9e6: Download complete 16:16:05 eaf3925da568: Verifying Checksum 16:16:05 eaf3925da568: Download complete 16:16:05 339a4e72a1f5: Verifying Checksum 16:16:05 339a4e72a1f5: Download complete 16:16:05 bde34c3a00c8: Verifying Checksum 16:16:05 bde34c3a00c8: Download complete 16:16:05 b352a97aabf1: Download complete 16:16:05 4872d77fe225: Verifying Checksum 16:16:05 4872d77fe225: Download complete 16:16:05 5851b861e8e6: Verifying Checksum 16:16:05 5851b861e8e6: Download complete 16:16:05 b85a868b505f: Verifying Checksum 16:16:05 b85a868b505f: Download complete 16:16:05 bab4dde63d76: Verifying Checksum 16:16:05 bab4dde63d76: Download complete 16:16:06 b85a868b505f: Pull complete 16:16:06 e2be974225ed: Pull complete 16:16:06 339a4e72a1f5: Pull complete 16:16:06 988bab9f4d93: Pull complete 16:16:07 1469e6f7b9e6: Pull complete 16:16:07 eaf3925da568: Pull complete 16:16:09 bab4dde63d76: Pull complete 16:16:09 bde34c3a00c8: Pull complete 16:16:09 b352a97aabf1: Pull complete 16:16:09 4872d77fe225: Pull complete 16:16:09 5851b861e8e6: Pull complete 16:16:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:16:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:16:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:09 prd-ubuntu20.04-docker-8c-8g-7951 does not seem to be running inside a container 16:16:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-84 -v /w/workspace/xfoundry_app-record-replay_PR-84:/w/workspace/xfoundry_app-record-replay_PR-84:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-84@tmp:/w/workspace/xfoundry_app-record-replay_PR-84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:16:12 $ docker top 7d78e2c1acdbb6e2ee3adcdadde963b08e65df564782cff14a06ac563b1ca0c9 -eo pid,comm 16:16:12 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). 16:16:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:16:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:16:12 [ssh-agent] Looking for ssh-agent implementation... 16:16:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:16:12 $ docker exec 7d78e2c1acdbb6e2ee3adcdadde963b08e65df564782cff14a06ac563b1ca0c9 ssh-agent 16:16:12 SSH_AUTH_SOCK=/tmp/ssh-Z7T4yUMxYfxR/agent.34 16:16:12 SSH_AGENT_PID=40 16:16:12 Running ssh-add (command line suppressed) 16:16:12 Identity added: /w/workspace/xfoundry_app-record-replay_PR-84@tmp/private_key_8547008410346485839.key (/w/workspace/xfoundry_app-record-replay_PR-84@tmp/private_key_8547008410346485839.key) 16:16:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:16:12 + git tag --points-at HEAD [Pipeline] } 16:16:12 $ docker exec --env ******** --env ******** 7d78e2c1acdbb6e2ee3adcdadde963b08e65df564782cff14a06ac563b1ca0c9 ssh-agent -k 16:16:12 unset SSH_AUTH_SOCK; 16:16:12 unset SSH_AGENT_PID; 16:16:12 echo Agent pid 40 killed; 16:16:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:16:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:16:12 [ssh-agent] Looking for ssh-agent implementation... 16:16:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:16:13 $ docker exec 7d78e2c1acdbb6e2ee3adcdadde963b08e65df564782cff14a06ac563b1ca0c9 ssh-agent 16:16:13 SSH_AUTH_SOCK=/tmp/ssh-wzybrw9yMvEn/agent.71 16:16:13 SSH_AGENT_PID=77 16:16:13 Running ssh-add (command line suppressed) 16:16:13 Identity added: /w/workspace/xfoundry_app-record-replay_PR-84@tmp/private_key_12312721915417969332.key (/w/workspace/xfoundry_app-record-replay_PR-84@tmp/private_key_12312721915417969332.key) 16:16:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:16:13 + git semver init 16:16:13 2023-09-26 16:16:13,826 [run_init] DEBUG init version:0.0.0 force:False 16:16:13 2023-09-26 16:16:13,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-84/.semver 16:16:13 2023-09-26 16:16:13,827 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-84/.semver 16:16:13 2023-09-26 16:16:13,827 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-84/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-84, universal_newlines=False, shell=None, istream=None) 16:16:14 2023-09-26 16:16:14,547 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-84/.git/info/exclude 16:16:14 2023-09-26 16:16:14,548 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-84/.semver/PR-84 with force:False 16:16:14 2023-09-26 16:16:14,548 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-84/.semver/PR-84 16:16:14 2023-09-26 16:16:14,552 [execute] INFO git cat-file --batch-check 16:16:14 2023-09-26 16:16:14,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-84/.semver, universal_newlines=False, shell=None, istream=) 16:16:14 2023-09-26 16:16:14,560 [execute] INFO git cat-file --batch 16:16:14 2023-09-26 16:16:14,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-84/.semver, universal_newlines=False, shell=None, istream=) 16:16:14 2023-09-26 16:16:14,565 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-84/.semver/PR-84 16:16:14 0.0.0 [Pipeline] } 16:16:14 $ docker exec --env ******** --env ******** 7d78e2c1acdbb6e2ee3adcdadde963b08e65df564782cff14a06ac563b1ca0c9 ssh-agent -k 16:16:14 unset SSH_AUTH_SOCK; 16:16:14 unset SSH_AGENT_PID; 16:16:14 echo Agent pid 77 killed; 16:16:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:16:15 + git semver [Pipeline] } 16:16:15 $ docker stop --time=1 7d78e2c1acdbb6e2ee3adcdadde963b08e65df564782cff14a06ac563b1ca0c9 16:16:16 $ docker rm -f --volumes 7d78e2c1acdbb6e2ee3adcdadde963b08e65df564782cff14a06ac563b1ca0c9 [Pipeline] // withDockerContainer [Pipeline] sh 16:16:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:16:17 Stashed 1 file(s) [Pipeline] echo 16:16:17 [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 16:16:17 provisioning config files... 16:16:17 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-84@tmp/config2136150819686579667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:17 ---> docker-login.sh 16:16:17 nexus3.edgexfoundry.org:10001 16:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:17 Configure a credential helper to remove this warning. See 16:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:17 16:16:17 Login Succeeded 16:16:17 nexus3.edgexfoundry.org:10002 16:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:17 Configure a credential helper to remove this warning. See 16:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:17 16:16:17 Login Succeeded 16:16:17 nexus3.edgexfoundry.org:10003 16:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:18 Configure a credential helper to remove this warning. See 16:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:18 16:16:18 Login Succeeded 16:16:18 nexus3.edgexfoundry.org:10004 16:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:18 Configure a credential helper to remove this warning. See 16:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:18 16:16:18 Login Succeeded 16:16:18 docker.io 16:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:18 Configure a credential helper to remove this warning. See 16:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:18 16:16:18 Login Succeeded 16:16:18 ---> docker-login.sh ends [Pipeline] } 16:16:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:16:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:18 ========================================================= 16:16:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 16:16:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 16:16:18 Sending build context to Docker daemon 593.9kB 16:16:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 16:16:18 Step 2/12 : FROM ${BASE} AS builder 16:16:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 16:16:18 7264a8db6415: Pulling fs layer 16:16:18 c4d48a809fc2: Pulling fs layer 16:16:18 4f1c88b9dad5: Pulling fs layer 16:16:18 ad3a456e5733: Pulling fs layer 16:16:18 33e27b845d1e: Pulling fs layer 16:16:18 c68163c4e522: Pulling fs layer 16:16:18 50da416c3ac9: Pulling fs layer 16:16:18 33e27b845d1e: Waiting 16:16:18 ad3a456e5733: Waiting 16:16:18 23d2d4c4bb30: Pulling fs layer 16:16:18 23d2d4c4bb30: Waiting 16:16:18 c4d48a809fc2: Download complete 16:16:18 ad3a456e5733: Verifying Checksum 16:16:18 ad3a456e5733: Download complete 16:16:18 33e27b845d1e: Verifying Checksum 16:16:18 33e27b845d1e: Download complete 16:16:18 7264a8db6415: Verifying Checksum 16:16:18 7264a8db6415: Download complete 16:16:18 c68163c4e522: Verifying Checksum 16:16:18 c68163c4e522: Download complete 16:16:18 7264a8db6415: Pull complete 16:16:18 23d2d4c4bb30: Verifying Checksum 16:16:18 23d2d4c4bb30: Download complete 16:16:19 c4d48a809fc2: Pull complete 16:16:19 4f1c88b9dad5: Verifying Checksum 16:16:19 4f1c88b9dad5: Download complete 16:16:19 50da416c3ac9: Verifying Checksum 16:16:19 50da416c3ac9: Download complete 16:16:22 4f1c88b9dad5: Pull complete 16:16:22 ad3a456e5733: Pull complete 16:16:22 33e27b845d1e: Pull complete 16:16:22 c68163c4e522: Pull complete 16:16:24 50da416c3ac9: Pull complete 16:16:24 23d2d4c4bb30: Pull complete 16:16:24 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 16:16:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 16:16:24 ---> 0786185ac409 16:16:24 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:16:28 ---> Running in 97bb452445fd 16:16:28 Removing intermediate container 97bb452445fd 16:16:28 ---> c1b068938fe1 16:16:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:16:28 ---> Running in 65343d929176 16:16:28 Removing intermediate container 65343d929176 16:16:28 ---> 41ad5b5b31e3 16:16:28 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:16:28 ---> Running in 2a809bd41296 16:16:28 Removing intermediate container 2a809bd41296 16:16:28 ---> 99970faa61d2 16:16:28 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:16:28 ---> Running in a9fb35c0bc98 16:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:16:29 OK: 264 MiB in 52 packages 16:16:29 Removing intermediate container a9fb35c0bc98 16:16:29 ---> 3930834d6dd9 16:16:29 Step 7/12 : WORKDIR /app 16:16:29 ---> Running in aad425173c86 16:16:29 Removing intermediate container aad425173c86 16:16:29 ---> f4bc534e7e00 16:16:29 Step 8/12 : COPY go.mod vendor* ./ 16:16:30 ---> 025ddf000815 16:16:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:16:30 ---> Running in 1d01ced404c8 16:16:32 Still waiting to schedule task 16:16:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:17:17 Removing intermediate container 1d01ced404c8 16:17:17 ---> e355d9317047 16:17:17 Step 10/12 : COPY . . 16:17:17 ---> 02dae3bf26fa 16:17:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:17:17 ---> Running in 49a62b643b0f 16:17:17 Removing intermediate container 49a62b643b0f 16:17:17 ---> 1afa6fa3e65b 16:17:17 Step 12/12 : RUN $MAKE 16:17:17 ---> Running in 290218f137b1 16:17:17 noop 16:17:17 Removing intermediate container 290218f137b1 16:17:17 ---> f318b9a63592 16:17:17 Successfully built f318b9a63592 16:17:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:18 + docker inspect -f . ci-base-image-x86_64 16:17:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:18 prd-ubuntu20.04-docker-8c-8g-7951 does not seem to be running inside a container 16:17:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-84 -v /w/workspace/xfoundry_app-record-replay_PR-84:/w/workspace/xfoundry_app-record-replay_PR-84:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-84@tmp:/w/workspace/xfoundry_app-record-replay_PR-84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:17:18 $ docker top 9746fbe16da84311910c982609764563231f89c6107bd4d935b026e132f4c81e -eo pid,comm [Pipeline] { [Pipeline] sh 16:17:18 + go version 16:17:18 go version go1.21.0 linux/amd64 [Pipeline] } 16:17:19 $ docker stop --time=1 9746fbe16da84311910c982609764563231f89c6107bd4d935b026e132f4c81e 16:17:20 $ docker rm -f --volumes 9746fbe16da84311910c982609764563231f89c6107bd4d935b026e132f4c81e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:20 + docker inspect -f . ci-base-image-x86_64 16:17:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:20 prd-ubuntu20.04-docker-8c-8g-7951 does not seem to be running inside a container 16:17:20 $ 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-84 -v /w/workspace/xfoundry_app-record-replay_PR-84:/w/workspace/xfoundry_app-record-replay_PR-84:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-84@tmp:/w/workspace/xfoundry_app-record-replay_PR-84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:17:21 $ docker top 59e6a9a3a7dc253af2c28648aff1fbcd60774d5b364cda390f0e43ccc076b808 -eo pid,comm [Pipeline] { [Pipeline] sh 16:17:21 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-84 [Pipeline] fileExists [Pipeline] sh 16:17:21 + make test 16:17:21 go test -race -coverprofile=coverage.out ./... 16:17:43 ? github.com/edgexfoundry/app-record-replay [no test files] 16:17:43 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 16:17:43 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 16:17:43 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 16:17:43 ok github.com/edgexfoundry/app-record-replay/internal/app 1.054s coverage: 88.0% of statements 16:17:51 ok github.com/edgexfoundry/app-record-replay/internal/application 9.612s coverage: 98.7% of statements 16:17:51 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.102s coverage: 90.1% of statements 16:17:51 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.041s coverage: 100.0% of statements 16:18:09 internal/controller/controller_test.go:738:10: Error return value is not checked (errcheck) 16:18:09 handler(ctx) 16:18:09 ^ 16:18:09 make: *** [Makefile:63: lint] Error 1 [Pipeline] } 16:18:09 $ docker stop --time=1 59e6a9a3a7dc253af2c28648aff1fbcd60774d5b364cda390f0e43ccc076b808 16:18:13 $ docker rm -f --volumes 59e6a9a3a7dc253af2c28648aff1fbcd60774d5b364cda390f0e43ccc076b808 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:14 16:18:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:14 latest: Pulling from edgex-lftools-log-publisher 16:18:14 5eb5b503b376: Pulling fs layer 16:18:14 5c69ac0246d0: Pulling fs layer 16:18:14 ec43610c2a17: Pulling fs layer 16:18:14 3a2ae6a8a46f: Pulling fs layer 16:18:14 33b1e0a273af: Pulling fs layer 16:18:14 5d3b04190fa2: Pulling fs layer 16:18:14 2f39f015ded8: Pulling fs layer 16:18:14 3a2ae6a8a46f: Waiting 16:18:14 33b1e0a273af: Waiting 16:18:14 5c69ac0246d0: Download complete 16:18:14 3a2ae6a8a46f: Verifying Checksum 16:18:14 3a2ae6a8a46f: Download complete 16:18:14 33b1e0a273af: Verifying Checksum 16:18:14 33b1e0a273af: Download complete 16:18:14 5d3b04190fa2: Verifying Checksum 16:18:14 5d3b04190fa2: Download complete 16:18:14 ec43610c2a17: Verifying Checksum 16:18:14 ec43610c2a17: Download complete 16:18:14 5eb5b503b376: Download complete 16:18:15 2f39f015ded8: Download complete 16:18:15 5eb5b503b376: Pull complete 16:18:16 5c69ac0246d0: Pull complete 16:18:16 ec43610c2a17: Pull complete 16:18:16 3a2ae6a8a46f: Pull complete 16:18:16 33b1e0a273af: Pull complete 16:18:16 5d3b04190fa2: Pull complete 16:18:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7953 in /w/workspace/xfoundry_app-record-replay_PR-84 [Pipeline] { [Pipeline] ws 16:18:18 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 16:18:18 Selected Git installation does not exist. Using Default 16:18:18 The recommended git tool is: NONE 16:18:21 2f39f015ded8: Pull complete 16:18:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:18:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:18:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:21 prd-ubuntu20.04-docker-8c-8g-7951 does not seem to be running inside a container 16:18:21 $ 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-84 -v /w/workspace/xfoundry_app-record-replay_PR-84:/w/workspace/xfoundry_app-record-replay_PR-84:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-84@tmp:/w/workspace/xfoundry_app-record-replay_PR-84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:18:23 using credential edgex-jenkins-ssh 16:18:24 Cloning the remote Git repository 16:18:24 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 16:18:24 > git init /w/workspace/app-record-replay/2 # timeout=10 16:18:24 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 16:18:24 > git --version # timeout=10 16:18:24 > git --version # 'git version 2.25.1' 16:18:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:18:24 $ docker top 239a8f11a7b66b12da727bfb4a3d7dbe6eb4d54b3e1dc3fcba16a654ec1e91c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:25 ---> job-cost.sh 16:18:25 lf-activate-venv: SKIPPING 16:18:25 INFO: No Stack... 16:18:25 INFO: Retrieving Pricing Info for: v3-standard-8 16:18:25 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 16:18:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:18:26 INFO: Archiving Costs [Pipeline] sh 16:18:26 + cat /w/workspace/xfoundry_app-record-replay_PR-84/archives/cost.csv 16:18:26 + cut -d, -f6 [Pipeline] lock 16:18:26 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-84-2-stack-cost] 16:18:26 Resource [jenkins-edgexfoundry-app-record-replay-PR-84-2-stack-cost] did not exist. Created. 16:18:26 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-84-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:18:26 Merging remotes/origin/main commit a00c23a8e4269698580118f16cad66fb2bb4df8c into PR head commit 8b05ba458a9fd9747e2789f2d8de7ec991f83493 16:18:26 + echo total: 0.2199999988079071 [Pipeline] stash 16:18:26 Stashed 1 file(s) [Pipeline] } 16:18:26 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-84-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:18:26 $ docker stop --time=1 239a8f11a7b66b12da727bfb4a3d7dbe6eb4d54b3e1dc3fcba16a654ec1e91c4 16:18:26 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 16:18:26 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 16:18:26 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/84/head:refs/remotes/origin/PR-84 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:18:26 > git config core.sparsecheckout # timeout=10 16:18:27 > git checkout -f 8b05ba458a9fd9747e2789f2d8de7ec991f83493 # timeout=10 16:18:27 > git remote # timeout=10 16:18:27 > git config --get remote.origin.url # timeout=10 16:18:27 Merge succeeded, producing 8c82008f7e1a00c8ea03339b5b520033ec37b753 16:18:27 Checking out Revision 8c82008f7e1a00c8ea03339b5b520033ec37b753 (PR-84) 16:18:28 $ docker rm -f --volumes 239a8f11a7b66b12da727bfb4a3d7dbe6eb4d54b3e1dc3fcba16a654ec1e91c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:18:28 Failed in branch amd64 16:18:27 using GIT_SSH to set credentials SSH Credentials for GitHub 16:18:27 > git merge a00c23a8e4269698580118f16cad66fb2bb4df8c # timeout=10 16:18:27 > git rev-parse HEAD^{commit} # timeout=10 16:18:27 > git config core.sparsecheckout # timeout=10 16:18:27 > git checkout -f 8c82008f7e1a00c8ea03339b5b520033ec37b753 # timeout=10 16:18:30 Commit message: "Merge commit 'a00c23a8e4269698580118f16cad66fb2bb4df8c' into HEAD" 16:18:30 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:18:30 > git rev-list --no-walk 35bb67942b51d7cc474b3d57ecd1f98cc423a0f9 # timeout=10 16:18:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:18:31 % Total % Received % Xferd Average Speed Time Time Time Current 16:18:31 Dload Upload Total Spent Left Speed 16:18:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh 16:18:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:18:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:18:32 + sudo tee /etc/docker/daemon.new 16:18:32 { 16:18:32 "registry-mirrors": [ 16:18:32 "https://nexus3.edgexfoundry.org:10001" 16:18:32 ], 16:18:32 "bip": "10.250.0.254/24", 16:18:32 "hosts": [ 16:18:32 "tcp://0.0.0.0:5555", 16:18:32 "unix:///var/run/docker.sock" 16:18:32 ], 16:18:32 "mtu": 1458, 16:18:32 "selinux-enabled": true, 16:18:32 "seccomp-profile": "/etc/docker/seccomp.json" 16:18:32 } [Pipeline] sh 16:18:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:18:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:18:51 provisioning config files... 16:18:51 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config15878522915090531150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:52 ---> docker-login.sh 16:18:52 nexus3.edgexfoundry.org:10001 16:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:52 Configure a credential helper to remove this warning. See 16:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:52 16:18:52 Login Succeeded 16:18:52 nexus3.edgexfoundry.org:10002 16:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:53 Configure a credential helper to remove this warning. See 16:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:53 16:18:53 Login Succeeded 16:18:53 nexus3.edgexfoundry.org:10003 16:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:53 Configure a credential helper to remove this warning. See 16:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:53 16:18:53 Login Succeeded 16:18:53 nexus3.edgexfoundry.org:10004 16:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:53 Configure a credential helper to remove this warning. See 16:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:53 16:18:53 Login Succeeded 16:18:53 docker.io 16:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:18:54 Configure a credential helper to remove this warning. See 16:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:18:54 16:18:54 Login Succeeded 16:18:54 ---> docker-login.sh ends [Pipeline] } 16:18:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:18:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:18:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:18:54 ========================================================= 16:18:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 16:18:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 16:18:55 Sending build context to Docker daemon 259.6kB 16:18:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 16:18:55 Step 2/12 : FROM ${BASE} AS builder 16:18:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:18:56 9fda8d8052c6: Pulling fs layer 16:18:56 5d54e960e981: Pulling fs layer 16:18:56 c4a7e357bf2a: Pulling fs layer 16:18:56 f0e02332f6b5: Pulling fs layer 16:18:56 cefa15bbcfad: Pulling fs layer 16:18:56 17808c966233: Pulling fs layer 16:18:56 f4c1fc716caa: Pulling fs layer 16:18:56 f0e02332f6b5: Waiting 16:18:56 cefa15bbcfad: Waiting 16:18:56 17808c966233: Waiting 16:18:56 f4c1fc716caa: Waiting 16:18:56 5d54e960e981: Verifying Checksum 16:18:56 5d54e960e981: Download complete 16:18:56 f0e02332f6b5: Verifying Checksum 16:18:56 f0e02332f6b5: Download complete 16:18:56 cefa15bbcfad: Verifying Checksum 16:18:56 cefa15bbcfad: Download complete 16:18:56 9fda8d8052c6: Verifying Checksum 16:18:56 9fda8d8052c6: Download complete 16:18:57 f4c1fc716caa: Verifying Checksum 16:18:57 f4c1fc716caa: Download complete 16:18:57 9fda8d8052c6: Pull complete 16:18:58 5d54e960e981: Pull complete 16:18:58 c4a7e357bf2a: Verifying Checksum 16:18:58 c4a7e357bf2a: Download complete 16:18:59 17808c966233: Verifying Checksum 16:18:59 17808c966233: Download complete 16:19:09 c4a7e357bf2a: Pull complete 16:19:09 f0e02332f6b5: Pull complete 16:19:09 cefa15bbcfad: Pull complete 16:19:14 17808c966233: Pull complete 16:19:16 f4c1fc716caa: Pull complete 16:19:16 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 16:19:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 16:19:16 ---> ea914061e18c 16:19:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:19:18 ---> Running in ad71555aba79 16:19:18 Removing intermediate container ad71555aba79 16:19:18 ---> 249710d3c43e 16:19:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:19:18 ---> Running in 119a99a8f485 16:19:18 Removing intermediate container 119a99a8f485 16:19:18 ---> b044de329a17 16:19:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:19:18 ---> Running in d79dcc7c7a27 16:19:19 Removing intermediate container d79dcc7c7a27 16:19:19 ---> 13fb40c15b59 16:19:19 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:19:19 ---> Running in e5a099055c8a 16:19:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:19:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:19:22 OK: 266 MiB in 52 packages 16:19:23 Removing intermediate container e5a099055c8a 16:19:23 ---> 2779168943bd 16:19:23 Step 7/12 : WORKDIR /app 16:19:23 ---> Running in d76cde561b42 16:19:23 Removing intermediate container d76cde561b42 16:19:23 ---> c3651b1e0a9a 16:19:23 Step 8/12 : COPY go.mod vendor* ./ 16:19:24 ---> f1fa3315538c 16:19:24 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:19:24 ---> Running in 660bde056d22 16:21:01 Removing intermediate container 660bde056d22 16:21:01 ---> a73a82875d5c 16:21:01 Step 10/12 : COPY . . 16:21:01 ---> 7e4a65d583c7 16:21:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:21:01 ---> Running in 6cc5442c9df2 16:21:01 Removing intermediate container 6cc5442c9df2 16:21:01 ---> 12b173ca7deb 16:21:01 Step 12/12 : RUN $MAKE 16:21:01 ---> Running in 8e77737a7d67 16:21:01 noop 16:21:01 Removing intermediate container 8e77737a7d67 16:21:01 ---> b3c971011576 16:21:01 Successfully built b3c971011576 16:21:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:01 + docker inspect -f . ci-base-image-arm64 16:21:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:01 prd-ubuntu20.04-docker-arm64-4c-16g-7953 does not seem to be running inside a container 16:21:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:21:02 $ docker top 5ec2ffa422b2c2991c9a5656f57fd52ab895c430f6d22430a3c92400cfb95a89 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:03 + go version 16:21:03 go version go1.21.0 linux/arm64 [Pipeline] } 16:21:03 $ docker stop --time=1 5ec2ffa422b2c2991c9a5656f57fd52ab895c430f6d22430a3c92400cfb95a89 16:21:05 $ docker rm -f --volumes 5ec2ffa422b2c2991c9a5656f57fd52ab895c430f6d22430a3c92400cfb95a89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:06 + docker inspect -f . ci-base-image-arm64 16:21:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:06 prd-ubuntu20.04-docker-arm64-4c-16g-7953 does not seem to be running inside a container 16:21:06 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:21:07 $ docker top 32071b2af58627dfb3decbbf447fddf61a7ffa7044ff07e416532c05ec8f92e3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:08 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 16:21:08 + make test 16:21:12 go test -race -coverprofile=coverage.out ./... 16:24:18 ? github.com/edgexfoundry/app-record-replay [no test files] 16:24:18 ok github.com/edgexfoundry/app-record-replay/internal/app 1.235s coverage: 88.0% of statements 16:24:19 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 16:24:19 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 16:24:21 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 16:24:29 ok github.com/edgexfoundry/app-record-replay/internal/application 10.030s coverage: 98.7% of statements 16:24:29 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.491s coverage: 90.1% of statements 16:24:29 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.172s coverage: 100.0% of statements 16:24:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:24:30 go vet ./... 16:26:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:26:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:26:52 ./bin/test-attribution-txt.sh [Pipeline] echo 16:26:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:26:52 $ docker stop --time=1 32071b2af58627dfb3decbbf447fddf61a7ffa7044ff07e416532c05ec8f92e3 16:26:54 $ docker rm -f --volumes 32071b2af58627dfb3decbbf447fddf61a7ffa7044ff07e416532c05ec8f92e3 [Pipeline] // withDockerContainer [Pipeline] sh 16:26:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:26:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:26:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:26:57 + ls -al . 16:26:57 total 184 16:26:57 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 16:21 . 16:26:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:18 .. 16:26:57 -rw-rw-r-- 1 jenkins jenkins 119 Sep 26 16:18 .dockerignore 16:26:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 16:18 .git 16:26:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:18 .github 16:26:57 -rw-rw-r-- 1 jenkins jenkins 164 Sep 26 16:18 .gitignore 16:26:57 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 16:18 .golangci.yml 16:26:57 -rw-rw-r-- 1 jenkins jenkins 11301 Sep 26 16:18 Attribution.txt 16:26:57 -rw-rw-r-- 1 jenkins jenkins 258 Sep 26 16:18 CHANGELOG.md 16:26:57 -rw-rw-r-- 1 jenkins jenkins 1616 Sep 26 16:18 Dockerfile 16:26:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 16:18 GOVERNANCE.md 16:26:57 -rw-rw-r-- 1 jenkins jenkins 681 Sep 26 16:18 Jenkinsfile 16:26:57 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 16:18 LICENSE 16:26:57 -rw-rw-r-- 1 jenkins jenkins 3139 Sep 26 16:18 Makefile 16:26:57 -rw-rw-r-- 1 jenkins jenkins 611 Sep 26 16:18 OWNERS.md 16:26:57 -rw-rw-r-- 1 jenkins jenkins 2363 Sep 26 16:18 README.md 16:26:57 -rw-rw-r-- 1 jenkins jenkins 7594 Sep 26 16:18 Record and Reply.postman_collection.json 16:26:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 16:16 VERSION 16:26:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:18 bin 16:26:57 -rw-r--r-- 1 jenkins jenkins 24667 Sep 26 16:24 coverage.out 16:26:57 -rw-rw-r-- 1 jenkins jenkins 3905 Sep 26 16:18 go.mod 16:26:57 -rw-rw-r-- 1 jenkins jenkins 35420 Sep 26 16:18 go.sum 16:26:57 drwxrwxr-x 7 jenkins jenkins 4096 Sep 26 16:18 internal 16:26:57 -rw-rw-r-- 1 jenkins jenkins 913 Sep 26 16:18 main.go 16:26:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:18 openapi 16:26:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:18 pkg 16:26:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:18 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:58 + 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=8c82008f7e1a00c8ea03339b5b520033ec37b753 --label arch=arm64 --label version=0.0.0 . 16:26:58 Sending build context to Docker daemon 285.2kB 16:26:58 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 16:26:58 Step 2/26 : FROM ${BASE} AS builder 16:26:58 ---> b3c971011576 16:26:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 16:26:58 ---> Running in a26ef785865b 16:26:58 Removing intermediate container a26ef785865b 16:26:58 ---> 14031dc42932 16:26:58 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:26:58 ---> Running in 30fcc90d1ca3 16:26:59 Removing intermediate container 30fcc90d1ca3 16:26:59 ---> 326828a9e88d 16:26:59 Step 5/26 : ARG ADD_BUILD_TAGS="" 16:26:59 ---> Running in 9f5893d50a2a 16:26:59 Removing intermediate container 9f5893d50a2a 16:26:59 ---> 4636fa05253c 16:26:59 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:26:59 ---> Running in cf2d5574b610 16:27:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:27:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:27:02 OK: 266 MiB in 52 packages 16:27:05 Removing intermediate container cf2d5574b610 16:27:05 ---> 13f96cbbfd62 16:27:05 Step 7/26 : WORKDIR /app 16:27:05 ---> Running in 9ed86c0cb959 16:27:05 Removing intermediate container 9ed86c0cb959 16:27:05 ---> d43f1eaabd60 16:27:05 Step 8/26 : COPY go.mod vendor* ./ 16:27:06 ---> ba4bd9c85d17 16:27:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:27:06 ---> Running in a7ad34e7a8f0 16:27:09 Removing intermediate container a7ad34e7a8f0 16:27:09 ---> 39fee63fd507 16:27:09 Step 10/26 : COPY . . 16:27:09 ---> ae07ac37c841 16:27:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:27:09 ---> Running in a0308f85651f 16:27:10 Removing intermediate container a0308f85651f 16:27:10 ---> 4de2df5b2126 16:27:10 Step 12/26 : RUN $MAKE 16:27:10 ---> Running in c165d1fb471a 16:27:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.35 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 16:29:18 Removing intermediate container c165d1fb471a 16:29:18 ---> cb0b06b117d1 16:29:18 Step 13/26 : FROM alpine:3.18 16:29:18 3.18: Pulling from library/alpine 16:29:18 9fda8d8052c6: Already exists 16:29:18 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 16:29:18 Status: Downloaded newer image for alpine:3.18 16:29:18 ---> f6648c04cd6c 16:29:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:29:18 ---> Running in 0a2f8a75a85a 16:29:18 Removing intermediate container 0a2f8a75a85a 16:29:18 ---> a72f7dd94f0c 16:29:18 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 16:29:18 ---> Running in c76e072a7894 16:29:18 Removing intermediate container c76e072a7894 16:29:18 ---> eb0f392ef1ae 16:29:18 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 16:29:18 ---> Running in 6edf9dec2065 16:29:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:29:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:29:18 (1/2) Installing ca-certificates (20230506-r0) 16:29:18 (2/2) Installing dumb-init (1.2.5-r2) 16:29:18 Executing busybox-1.36.1-r2.trigger 16:29:18 Executing ca-certificates-20230506-r0.trigger 16:29:18 OK: 9 MiB in 17 packages 16:29:20 Removing intermediate container 6edf9dec2065 16:29:20 ---> e56530ecc48c 16:29:20 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:29:20 ---> 20762c9fec23 16:29:20 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 16:29:21 ---> 350d4faabf17 16:29:21 Step 19/26 : COPY --from=builder /app/res/ /res/ 16:29:21 ---> ecb97dcdc523 16:29:21 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 16:29:23 ---> 14917782843c 16:29:23 Step 21/26 : EXPOSE 59712 16:29:23 ---> Running in b1db389fb303 16:29:23 Removing intermediate container b1db389fb303 16:29:23 ---> 7eaa8fadd9fb 16:29:23 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 16:29:23 ---> Running in 783bc1f65379 16:29:24 Removing intermediate container 783bc1f65379 16:29:24 ---> 0107100eff82 16:29:24 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:29:24 ---> Running in c13bb7fbe87b 16:29:24 Removing intermediate container c13bb7fbe87b 16:29:24 ---> 5b653bec516d 16:29:24 Step 24/26 : LABEL arch=arm64 16:29:24 ---> Running in db395a0c9e90 16:29:24 Removing intermediate container db395a0c9e90 16:29:24 ---> 06a9ce6e4639 16:29:24 Step 25/26 : LABEL git_sha=8c82008f7e1a00c8ea03339b5b520033ec37b753 16:29:24 ---> Running in 811d8902630b 16:29:25 Removing intermediate container 811d8902630b 16:29:25 ---> 093536489b54 16:29:25 Step 26/26 : LABEL version=0.0.0 16:29:25 ---> Running in d1d6cefb8365 16:29:25 Removing intermediate container d1d6cefb8365 16:29:25 ---> 36b2fa5fd852 16:29:25 [Warning] One or more build-args [ARCH] were not consumed 16:29:25 Successfully built 36b2fa5fd852 16:29:25 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 16:29:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:29:26 16:29:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:29:26 arm64: Pulling from edgex-lftools-log-publisher 16:29:26 8998bd30e6a1: Pulling fs layer 16:29:26 04944245beec: Pulling fs layer 16:29:26 699f458cf7ca: Pulling fs layer 16:29:26 765212b225bb: Pulling fs layer 16:29:26 f23df028b6ca: Pulling fs layer 16:29:26 d65c8cfc05b1: Pulling fs layer 16:29:26 2437ff75d9bd: Pulling fs layer 16:29:26 765212b225bb: Waiting 16:29:26 f23df028b6ca: Waiting 16:29:26 d65c8cfc05b1: Waiting 16:29:26 2437ff75d9bd: Waiting 16:29:26 04944245beec: Verifying Checksum 16:29:26 04944245beec: Download complete 16:29:26 765212b225bb: Verifying Checksum 16:29:26 765212b225bb: Download complete 16:29:26 f23df028b6ca: Verifying Checksum 16:29:26 f23df028b6ca: Download complete 16:29:26 d65c8cfc05b1: Verifying Checksum 16:29:26 d65c8cfc05b1: Download complete 16:29:27 699f458cf7ca: Verifying Checksum 16:29:27 699f458cf7ca: Download complete 16:29:27 8998bd30e6a1: Verifying Checksum 16:29:27 8998bd30e6a1: Download complete 16:29:30 2437ff75d9bd: Verifying Checksum 16:29:30 2437ff75d9bd: Download complete 16:29:31 8998bd30e6a1: Pull complete 16:29:31 04944245beec: Pull complete 16:29:33 699f458cf7ca: Pull complete 16:29:33 765212b225bb: Pull complete 16:29:34 f23df028b6ca: Pull complete 16:29:34 d65c8cfc05b1: Pull complete 16:29:49 2437ff75d9bd: Pull complete 16:29:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:29:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:29:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:49 prd-ubuntu20.04-docker-arm64-4c-16g-7953 does not seem to be running inside a container 16:29:49 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:29:52 $ docker top f8f9ca9ea2e19390d68e847b94c4dffd7cced0122883ad1df0495f2df6724f04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:53 ---> job-cost.sh 16:29:53 lf-activate-venv: SKIPPING 16:29:53 INFO: No Stack... 16:29:53 INFO: Retrieving Pricing Info for: v3-standard-4 16:29:54 INFO: Archiving Costs [Pipeline] sh 16:29:55 + cat+ /w/workspace/app-record-replay/2/archives/cost.csv 16:29:55 cut -d, -f6 [Pipeline] lock 16:29:55 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-84-2-stack-cost] 16:29:55 Resource [jenkins-edgexfoundry-app-record-replay-PR-84-2-stack-cost] did not exist. Created. 16:29:55 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-84-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:29:55 /w/workspace/app-record-replay/2@tmp/durable-10c1f7ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:29:56 + echo total: 0.10999999940395355 [Pipeline] stash 16:29:56 Warning: overwriting stash ‘stack-cost’ 16:29:56 Stashed 1 file(s) [Pipeline] } 16:29:56 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-84-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:29:56 $ docker stop --time=1 f8f9ca9ea2e19390d68e847b94c4dffd7cced0122883ad1df0495f2df6724f04 16:29:59 $ docker rm -f --volumes f8f9ca9ea2e19390d68e847b94c4dffd7cced0122883ad1df0495f2df6724f04 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:30:00 + [ -d /w/workspace/xfoundry_app-record-replay_PR-84/archives ] 16:30:00 + ls -al /w/workspace/xfoundry_app-record-replay_PR-84/archives 16:30:00 total 16 16:30:00 drwxr-xr-x 3 root root 4096 Sep 26 16:18 . 16:30:00 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 16:18 .. 16:30:00 drwxr-xr-x 2 root root 4096 Sep 26 16:18 cost 16:30:00 -rw-r--r-- 1 root root 88 Sep 26 16:18 cost.csv 16:30:00 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-84/archives 16:30:00 + ls -al /w/workspace/xfoundry_app-record-replay_PR-84/archives 16:30:00 total 16 16:30:00 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 16:18 . 16:30:00 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 16:18 .. 16:30:00 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 16:18 cost 16:30:00 -rw-r--r-- 1 jenkins jenkins 88 Sep 26 16:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:30:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:30:01 ---> package-listing.sh 16:30:01 ++ facter osfamily 16:30:01 ++ tr '[:upper:]' '[:lower:]' 16:30:01 + OS_FAMILY=debian 16:30:01 + workspace=/w/workspace/xfoundry_app-record-replay_PR-84 16:30:01 + START_PACKAGES=/tmp/packages_start.txt 16:30:01 + END_PACKAGES=/tmp/packages_end.txt 16:30:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:30:01 + PACKAGES=/tmp/packages_start.txt 16:30:01 + '[' /w/workspace/xfoundry_app-record-replay_PR-84 ']' 16:30:01 + PACKAGES=/tmp/packages_end.txt 16:30:01 + case "${OS_FAMILY}" in 16:30:01 + dpkg -l 16:30:01 + grep '^ii' 16:30:01 + '[' -f /tmp/packages_start.txt ']' 16:30:01 + '[' -f /tmp/packages_end.txt ']' 16:30:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:30:01 + '[' /w/workspace/xfoundry_app-record-replay_PR-84 ']' 16:30:01 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-84/archives/ 16:30:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-84/archives/ [Pipeline] echo 16:30:01 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-84/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:30:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:30:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:02 prd-ubuntu20.04-docker-8c-8g-7951 does not seem to be running inside a container 16:30:02 $ 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-84/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-84 -v /w/workspace/xfoundry_app-record-replay_PR-84:/w/workspace/xfoundry_app-record-replay_PR-84:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-84@tmp:/w/workspace/xfoundry_app-record-replay_PR-84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:30:03 $ docker top 63aa29708632468792ec296ce8a277366476139d26298d839c35abfdea901f39 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:03 + touch /tmp/pre-build-complete [Pipeline] sh 16:30:03 + mkdir -p /var/log/sysstat [Pipeline] sh 16:30:03 + ls /var/log/sa-host 16:30:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:30:04 provisioning config files... 16:30:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-84@tmp/config483737082379038419tmp [Pipeline] { [Pipeline] echo 16:30:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:30:04 ---> create-netrc.sh [Pipeline] } 16:30:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:30:04 ---> python-tools-install.sh [Pipeline] echo 16:30:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:30:04 ---> sudo-logs.sh 16:30:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:30:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:30:05 ---> job-cost.sh 16:30:05 lf-activate-venv: SKIPPING 16:30:05 DEBUG: total: 0.2199999988079071 16:30:05 INFO: Retrieving Stack Cost... 16:30:05 INFO: Retrieving Pricing Info for: v3-standard-8 16:30:06 INFO: Archiving Costs [Pipeline] echo 16:30:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:30:06 ---> logs-deploy.sh 16:30:06 lf-activate-venv: SKIPPING 16:30:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-84/2 16:30:06 INFO: archiving workspace using pattern(s): 16:30:07 Archives upload complete. 16:30:07 INFO: archiving logs to Nexus