Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6f96719caec97f71daa19372f5503ea6385d9957 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-ssh17294644621732086720.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh5905302348956705658.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10656319360788504425.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh11499459237137017462.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6401959262014819286.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-17542 in /w/workspace/exfoundry_app-record-replay_main [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/exfoundry_app-record-replay_main # 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 Avoid second fetch Checking out Revision 6f96719caec97f71daa19372f5503ea6385d9957 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 6f96719caec97f71daa19372f5503ea6385d9957 # timeout=10 Commit message: "Merge pull request #106 from lenny-intel/cve" > git rev-list --no-walk 17bff3b2376047bc87c499615cc452c2e61935d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:46:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:46:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:46:23 ========================================================= 21:46:23 EdgeX Global Pipelines Version Info 21:46:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:46:23 ------------------- 21:46:23 stable info: 21:46:23 ------------------- 21:46:23 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 21:46:23 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:46:23 Message: update stable to v1.0.257 21:46:24 ------------------- 21:46:24 experimental info: 21:46:24 ------------------- 21:46:24 Commited By: **** collab-it+edgex@linuxfoundation.org 21:46:24 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 21:46:24 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:46:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f96719caec97f71daa19372f5503ea6385d9957 [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f96719 [Pipeline] echo 21:46:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:46:25 provisioning config files... 21:46:25 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config14244457864537544285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:25 ---> docker-login.sh 21:46:25 nexus3.edgexfoundry.org:10001 21:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:25 Configure a credential helper to remove this warning. See 21:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:25 21:46:25 Login Succeeded 21:46:25 nexus3.edgexfoundry.org:10002 21:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:26 Configure a credential helper to remove this warning. See 21:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:26 21:46:26 Login Succeeded 21:46:26 nexus3.edgexfoundry.org:10003 21:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:26 Configure a credential helper to remove this warning. See 21:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:26 21:46:26 Login Succeeded 21:46:26 nexus3.edgexfoundry.org:10004 21:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:26 Configure a credential helper to remove this warning. See 21:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:26 21:46:26 Login Succeeded 21:46:26 docker.io 21:46:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:26 Configure a credential helper to remove this warning. See 21:46:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:26 21:46:26 Login Succeeded 21:46:26 ---> docker-login.sh ends [Pipeline] } 21:46:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:46:27 + git rev-list -1 --merges 6f96719caec97f71daa19372f5503ea6385d9957~1..6f96719caec97f71daa19372f5503ea6385d9957 [Pipeline] echo 21:46:27 -----------> git rev-list -1 --merges 6f96719caec97f71daa19372f5503ea6385d9957~1..6f96719caec97f71daa19372f5503ea6385d9957 6f96719caec97f71daa19372f5503ea6385d9957 21:46:27 6f96719caec97f71daa19372f5503ea6385d9957 [false] [Pipeline] sh 21:46:27 + git log --format=format:%s -1 6f96719caec97f71daa19372f5503ea6385d9957 [Pipeline] echo 21:46:27 ========================================================= 21:46:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:46:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:46:27 + git log --format=format:%s -1 6f96719caec97f71daa19372f5503ea6385d9957 [Pipeline] echo 21:46:27 [semverPrep] GIT_COMMIT: 6f96719caec97f71daa19372f5503ea6385d9957, Commit Message: Merge pull request #106 from lenny-intel/cve [Pipeline] echo 21:46:27 [semverPrep] This is not a build commit. [Pipeline] sh 21:46:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:46:28 + grep -v github /etc/ssh/ssh_known_hosts 21:46:28 + [ -e /tmp/ssh_known_hosts ] 21:46:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:46:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:46:28 + sudo tee -a /etc/ssh/ssh_known_hosts 21:46:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:28 21:46:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:28 0.1.4: Pulling from edgex-devops/py-git-semver 21:46:28 b85a868b505f: Pulling fs layer 21:46:28 e2be974225ed: Pulling fs layer 21:46:28 339a4e72a1f5: Pulling fs layer 21:46:28 988bab9f4d93: Pulling fs layer 21:46:28 1469e6f7b9e6: Pulling fs layer 21:46:28 eaf3925da568: Pulling fs layer 21:46:28 bab4dde63d76: Pulling fs layer 21:46:28 bde34c3a00c8: Pulling fs layer 21:46:28 b352a97aabf1: Pulling fs layer 21:46:28 4872d77fe225: Pulling fs layer 21:46:28 988bab9f4d93: Waiting 21:46:28 1469e6f7b9e6: Waiting 21:46:28 bab4dde63d76: Waiting 21:46:28 eaf3925da568: Waiting 21:46:28 bde34c3a00c8: Waiting 21:46:28 b352a97aabf1: Waiting 21:46:28 5851b861e8e6: Pulling fs layer 21:46:28 4872d77fe225: Waiting 21:46:28 5851b861e8e6: Waiting 21:46:28 e2be974225ed: Verifying Checksum 21:46:28 e2be974225ed: Download complete 21:46:28 988bab9f4d93: Verifying Checksum 21:46:28 988bab9f4d93: Download complete 21:46:29 1469e6f7b9e6: Verifying Checksum 21:46:29 1469e6f7b9e6: Download complete 21:46:29 eaf3925da568: Download complete 21:46:29 339a4e72a1f5: Verifying Checksum 21:46:29 339a4e72a1f5: Download complete 21:46:29 bde34c3a00c8: Verifying Checksum 21:46:29 bde34c3a00c8: Download complete 21:46:29 b352a97aabf1: Verifying Checksum 21:46:29 b352a97aabf1: Download complete 21:46:29 4872d77fe225: Download complete 21:46:29 5851b861e8e6: Verifying Checksum 21:46:29 5851b861e8e6: Download complete 21:46:29 b85a868b505f: Verifying Checksum 21:46:29 b85a868b505f: Download complete 21:46:29 bab4dde63d76: Verifying Checksum 21:46:29 bab4dde63d76: Download complete 21:46:30 b85a868b505f: Pull complete 21:46:30 e2be974225ed: Pull complete 21:46:31 339a4e72a1f5: Pull complete 21:46:31 988bab9f4d93: Pull complete 21:46:31 1469e6f7b9e6: Pull complete 21:46:31 eaf3925da568: Pull complete 21:46:33 bab4dde63d76: Pull complete 21:46:33 bde34c3a00c8: Pull complete 21:46:33 b352a97aabf1: Pull complete 21:46:33 4872d77fe225: Pull complete 21:46:33 5851b861e8e6: Pull complete 21:46:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:46:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:46:33 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 21:46:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:46:36 $ docker top dfa5c4210ab6f3139ba58c536ee0f4031ed0532654e39cebd765dd56447653e6 -eo pid,comm 21:46:36 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). 21:46:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:46:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:46:36 [ssh-agent] Looking for ssh-agent implementation... 21:46:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:46:36 $ docker exec dfa5c4210ab6f3139ba58c536ee0f4031ed0532654e39cebd765dd56447653e6 ssh-agent 21:46:36 SSH_AUTH_SOCK=/tmp/ssh-bRZxbZUNwg9u/agent.32 21:46:36 SSH_AGENT_PID=38 21:46:36 Running ssh-add (command line suppressed) 21:46:36 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_8660633651587988100.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_8660633651587988100.key) 21:46:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:46:37 + git tag --points-at HEAD [Pipeline] } 21:46:37 $ docker exec --env ******** --env ******** dfa5c4210ab6f3139ba58c536ee0f4031ed0532654e39cebd765dd56447653e6 ssh-agent -k 21:46:37 unset SSH_AUTH_SOCK; 21:46:37 unset SSH_AGENT_PID; 21:46:37 echo Agent pid 38 killed; 21:46:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:46:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:46:37 [ssh-agent] Looking for ssh-agent implementation... 21:46:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:46:37 $ docker exec dfa5c4210ab6f3139ba58c536ee0f4031ed0532654e39cebd765dd56447653e6 ssh-agent 21:46:37 SSH_AUTH_SOCK=/tmp/ssh-UmYYLtUA2r13/agent.70 21:46:37 SSH_AGENT_PID=76 21:46:37 Running ssh-add (command line suppressed) 21:46:37 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_6790671162723109257.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_6790671162723109257.key) 21:46:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:46:38 + git semver init 21:46:38 2023-11-14 21:46:38,268 [run_init] DEBUG init version:0.0.0 force:False 21:46:38 2023-11-14 21:46:38,269 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_app-record-replay_main/.semver 21:46:38 2023-11-14 21:46:38,269 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/exfoundry_app-record-replay_main/.semver 21:46:38 2023-11-14 21:46:38,270 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/exfoundry_app-record-replay_main/.semver'], cwd=/w/workspace/exfoundry_app-record-replay_main, universal_newlines=False, shell=None, istream=None) 21:46:39 2023-11-14 21:46:39,010 [append_file] DEBUG append to file:/w/workspace/exfoundry_app-record-replay_main/.git/info/exclude 21:46:39 2023-11-14 21:46:39,011 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_app-record-replay_main/.semver/main with force:False 21:46:39 2023-11-14 21:46:39,011 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 21:46:39 2023-11-14 21:46:39,011 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 21:46:39 3.1.0-dev.67 [Pipeline] } 21:46:39 $ docker exec --env ******** --env ******** dfa5c4210ab6f3139ba58c536ee0f4031ed0532654e39cebd765dd56447653e6 ssh-agent -k 21:46:39 unset SSH_AUTH_SOCK; 21:46:39 unset SSH_AGENT_PID; 21:46:39 echo Agent pid 76 killed; 21:46:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:46:39 + git semver [Pipeline] } 21:46:39 $ docker stop --time=1 dfa5c4210ab6f3139ba58c536ee0f4031ed0532654e39cebd765dd56447653e6 21:46:41 $ docker rm -f --volumes dfa5c4210ab6f3139ba58c536ee0f4031ed0532654e39cebd765dd56447653e6 [Pipeline] // withDockerContainer [Pipeline] sh 21:46:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:46:41 Stashed 1 file(s) [Pipeline] echo 21:46:41 [edgeXSemver]: initialized semver on version 3.1.0-dev.67 [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 21:46:42 provisioning config files... 21:46:42 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config17590053651820824812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:42 ---> docker-login.sh 21:46:42 nexus3.edgexfoundry.org:10001 21:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:42 Configure a credential helper to remove this warning. See 21:46:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:42 21:46:42 Login Succeeded 21:46:42 nexus3.edgexfoundry.org:10002 21:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:42 Configure a credential helper to remove this warning. See 21:46:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:42 21:46:42 Login Succeeded 21:46:42 nexus3.edgexfoundry.org:10003 21:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:42 Configure a credential helper to remove this warning. See 21:46:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:42 21:46:42 Login Succeeded 21:46:42 nexus3.edgexfoundry.org:10004 21:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:42 Configure a credential helper to remove this warning. See 21:46:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:42 21:46:42 Login Succeeded 21:46:42 docker.io 21:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:43 Configure a credential helper to remove this warning. See 21:46:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:43 21:46:43 Login Succeeded 21:46:43 ---> docker-login.sh ends [Pipeline] } 21:46:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:46:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:46:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:46:43 ========================================================= 21:46:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:46:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:43 + 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 . 21:46:43 Sending build context to Docker daemon 647.7kB 21:46:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:46:43 Step 2/12 : FROM ${BASE} AS builder 21:46:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:46:43 7264a8db6415: Pulling fs layer 21:46:43 c4d48a809fc2: Pulling fs layer 21:46:43 4f1c88b9dad5: Pulling fs layer 21:46:43 ad3a456e5733: Pulling fs layer 21:46:43 69c7f0334f64: Pulling fs layer 21:46:43 1f1c1a5573a3: Pulling fs layer 21:46:43 ce7588e14bc9: Pulling fs layer 21:46:43 b5e4710f87ac: Pulling fs layer 21:46:43 1f1c1a5573a3: Waiting 21:46:43 ce7588e14bc9: Waiting 21:46:43 b5e4710f87ac: Waiting 21:46:43 ad3a456e5733: Waiting 21:46:43 69c7f0334f64: Waiting 21:46:43 c4d48a809fc2: Verifying Checksum 21:46:43 ad3a456e5733: Verifying Checksum 21:46:43 ad3a456e5733: Download complete 21:46:43 69c7f0334f64: Download complete 21:46:43 7264a8db6415: Verifying Checksum 21:46:43 7264a8db6415: Download complete 21:46:43 1f1c1a5573a3: Verifying Checksum 21:46:43 1f1c1a5573a3: Download complete 21:46:43 7264a8db6415: Pull complete 21:46:44 c4d48a809fc2: Pull complete 21:46:44 b5e4710f87ac: Verifying Checksum 21:46:44 4f1c88b9dad5: Verifying Checksum 21:46:44 4f1c88b9dad5: Download complete 21:46:44 ce7588e14bc9: Verifying Checksum 21:46:44 ce7588e14bc9: Download complete 21:46:48 4f1c88b9dad5: Pull complete 21:46:48 ad3a456e5733: Pull complete 21:46:48 69c7f0334f64: Pull complete 21:46:48 1f1c1a5573a3: Pull complete 21:46:50 ce7588e14bc9: Pull complete 21:46:51 b5e4710f87ac: Pull complete 21:46:51 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 21:46:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:46:51 ---> 88b5674ff536 21:46:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:46:53 ---> Running in 6a69b39eb521 21:46:53 Removing intermediate container 6a69b39eb521 21:46:53 ---> 8dd29cc3dc6f 21:46:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:46:53 ---> Running in 70750459c63c 21:46:53 Removing intermediate container 70750459c63c 21:46:53 ---> 7fb2bbf5b204 21:46:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:46:53 ---> Running in 5b30c62a1c51 21:46:53 Removing intermediate container 5b30c62a1c51 21:46:53 ---> 899b43b3b627 21:46:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:46:53 ---> Running in 58d0ee5263ae 21:46:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:46:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:46:54 OK: 264 MiB in 52 packages 21:46:55 Removing intermediate container 58d0ee5263ae 21:46:55 ---> 88384d579769 21:46:55 Step 7/12 : WORKDIR /app 21:46:55 ---> Running in ea3050dd6b1a 21:46:55 Removing intermediate container ea3050dd6b1a 21:46:55 ---> 1d3156c2d779 21:46:55 Step 8/12 : COPY go.mod vendor* ./ 21:46:55 ---> 6231c96033fb 21:46:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:46:55 ---> Running in ae1056a2f812 21:46:57 Still waiting to schedule task 21:46:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:47:27 Removing intermediate container ae1056a2f812 21:47:27 ---> 5ca2f4b3cdcc 21:47:27 Step 10/12 : COPY . . 21:47:28 ---> 792db8bb48bb 21:47:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:47:28 ---> Running in f0a2bf48587f 21:47:28 Removing intermediate container f0a2bf48587f 21:47:28 ---> d50685dc2962 21:47:28 Step 12/12 : RUN $MAKE 21:47:28 ---> Running in b360db8bc7cf 21:47:28 noop 21:47:28 Removing intermediate container b360db8bc7cf 21:47:28 ---> 0c7b4b4f6de9 21:47:28 Successfully built 0c7b4b4f6de9 21:47:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:29 + docker inspect -f . ci-base-image-x86_64 21:47:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:29 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 21:47:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** ci-base-image-x86_64 cat 21:47:29 $ docker top c41081d08a75da92c1e0b35b5dc551b4d5bec76c7600d268832cf6399dc877da -eo pid,comm [Pipeline] { [Pipeline] sh 21:47:29 + go version 21:47:29 go version go1.21.0 linux/amd64 [Pipeline] } 21:47:29 $ docker stop --time=1 c41081d08a75da92c1e0b35b5dc551b4d5bec76c7600d268832cf6399dc877da 21:47:31 $ docker rm -f --volumes c41081d08a75da92c1e0b35b5dc551b4d5bec76c7600d268832cf6399dc877da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:31 + docker inspect -f . ci-base-image-x86_64 21:47:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:31 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 21:47:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 ******** ci-base-image-x86_64 cat 21:47:32 $ docker top 49413cb7424c430a0a16475729aa1b94997b356ec20ffcabce8b9ca01098de1d -eo pid,comm [Pipeline] { [Pipeline] sh 21:47:32 + git config --global --add safe.directory /w/workspace/exfoundry_app-record-replay_main [Pipeline] fileExists [Pipeline] sh 21:47:32 + make test 21:47:32 go test -race -coverprofile=coverage.out ./... 21:47:54 ? github.com/edgexfoundry/app-record-replay [no test files] 21:47:54 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:47:54 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:47:54 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:47:54 ok github.com/edgexfoundry/app-record-replay/internal/app 1.065s coverage: 88.0% of statements 21:48:04 ok github.com/edgexfoundry/app-record-replay/internal/application 9.627s coverage: 98.7% of statements 21:48:04 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.110s coverage: 89.7% of statements 21:48:04 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.037s coverage: 100.0% of statements 21:48:22 go vet ./... 21:48:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:48:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:48:26 ./bin/test-attribution-txt.sh [Pipeline] echo 21:48:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:48:26 $ docker stop --time=1 49413cb7424c430a0a16475729aa1b94997b356ec20ffcabce8b9ca01098de1d 21:48:28 $ docker rm -f --volumes 49413cb7424c430a0a16475729aa1b94997b356ec20ffcabce8b9ca01098de1d [Pipeline] // withDockerContainer [Pipeline] sh 21:48:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:48:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:48:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:48:30 + ls -al . 21:48:30 total 192 21:48:30 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 21:47 . 21:48:30 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:46 .. 21:48:30 -rw-rw-r-- 1 jenkins jenkins 119 Nov 14 21:46 .dockerignore 21:48:30 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:48 .git 21:48:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:46 .github 21:48:30 -rw-rw-r-- 1 jenkins jenkins 164 Nov 14 21:46 .gitignore 21:48:30 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 21:46 .golangci.yml 21:48:30 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:46 .semver 21:48:30 -rw-rw-r-- 1 jenkins jenkins 11301 Nov 14 21:46 Attribution.txt 21:48:30 -rw-rw-r-- 1 jenkins jenkins 458 Nov 14 21:46 CHANGELOG.md 21:48:30 -rw-rw-r-- 1 jenkins jenkins 1725 Nov 14 21:46 Dockerfile 21:48:30 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:46 GOVERNANCE.md 21:48:30 -rw-rw-r-- 1 jenkins jenkins 681 Nov 14 21:46 Jenkinsfile 21:48:30 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 14 21:46 LICENSE 21:48:30 -rw-rw-r-- 1 jenkins jenkins 3139 Nov 14 21:46 Makefile 21:48:30 -rw-rw-r-- 1 jenkins jenkins 611 Nov 14 21:46 OWNERS.md 21:48:30 -rw-rw-r-- 1 jenkins jenkins 4107 Nov 14 21:46 README.md 21:48:30 -rw-rw-r-- 1 jenkins jenkins 7789 Nov 14 21:46 Record and Reply.postman_collection.json 21:48:30 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:46 VERSION 21:48:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:46 bin 21:48:30 -rw-r--r-- 1 jenkins jenkins 24666 Nov 14 21:48 coverage.out 21:48:30 -rw-rw-r-- 1 jenkins jenkins 3859 Nov 14 21:46 go.mod 21:48:30 -rw-rw-r-- 1 jenkins jenkins 34797 Nov 14 21:46 go.sum 21:48:30 drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 21:46 internal 21:48:30 -rw-rw-r-- 1 jenkins jenkins 913 Nov 14 21:46 main.go 21:48:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:46 openapi 21:48:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:46 pkg 21:48:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:46 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:30 + 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=6f96719caec97f71daa19372f5503ea6385d9957 --label arch=amd64 --label version=3.1.0-dev.67 . 21:48:30 Sending build context to Docker daemon 673.3kB 21:48:30 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 21:48:30 Step 2/27 : FROM ${BASE} AS builder 21:48:30 ---> 0c7b4b4f6de9 21:48:30 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 21:48:30 ---> Running in fa430147c2eb 21:48:31 Removing intermediate container fa430147c2eb 21:48:31 ---> a02209e6873a 21:48:31 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 21:48:31 ---> Running in 59c36625c654 21:48:32 Removing intermediate container 59c36625c654 21:48:32 ---> efd528deaefd 21:48:32 Step 5/27 : ARG ADD_BUILD_TAGS="" 21:48:32 ---> Running in 55d48a98abf7 21:48:32 Removing intermediate container 55d48a98abf7 21:48:32 ---> aadbec23503a 21:48:32 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:48:32 ---> Running in 6f8368a97344 21:48:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:48:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:48:33 OK: 264 MiB in 52 packages 21:48:33 Removing intermediate container 6f8368a97344 21:48:33 ---> c05d8c955a71 21:48:33 Step 7/27 : WORKDIR /app 21:48:33 ---> Running in fe183759d26c 21:48:33 Removing intermediate container fe183759d26c 21:48:33 ---> e85190d39c35 21:48:33 Step 8/27 : COPY go.mod vendor* ./ 21:48:33 ---> 4c8524c3ae91 21:48:33 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:48:33 ---> Running in 902f69cf58d8 21:48:35 Removing intermediate container 902f69cf58d8 21:48:35 ---> a436c829d391 21:48:35 Step 10/27 : COPY . . 21:48:35 ---> 872234e4779d 21:48:35 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:48:35 ---> Running in d0fa83ad2013 21:48:35 Removing intermediate container d0fa83ad2013 21:48:35 ---> ecf19aa5f366 21:48:35 Step 12/27 : RUN $MAKE 21:48:35 ---> Running in aeeb1fbe3620 21:48:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.1.0-dev.67" -trimpath -mod=readonly -o app-record-replay 21:48:57 Removing intermediate container aeeb1fbe3620 21:48:57 ---> 79667abc33e0 21:48:57 Step 13/27 : FROM alpine:3.18 21:48:58 3.18: Pulling from library/alpine 21:48:58 96526aa774ef: Pulling fs layer 21:48:58 96526aa774ef: Verifying Checksum 21:48:58 96526aa774ef: Download complete 21:48:58 96526aa774ef: Pull complete 21:48:58 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:48:58 Status: Downloaded newer image for alpine:3.18 21:48:58 ---> 8ca4688f4f35 21:48:58 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:48:58 ---> Running in 61f483a9cc0b 21:48:58 Removing intermediate container 61f483a9cc0b 21:48:58 ---> eaa69069ed12 21:48:58 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 21:48:59 ---> Running in 731ab434ef84 21:48:59 Removing intermediate container 731ab434ef84 21:48:59 ---> f9f7ec159eb7 21:48:59 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 21:48:59 ---> Running in 5018be906691 21:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:48:59 (1/2) Installing ca-certificates (20230506-r0) 21:48:59 (2/2) Installing dumb-init (1.2.5-r2) 21:48:59 Executing busybox-1.36.1-r2.trigger 21:48:59 Executing ca-certificates-20230506-r0.trigger 21:48:59 OK: 8 MiB in 17 packages 21:49:01 Removing intermediate container 5018be906691 21:49:01 ---> a87e4e9896b2 21:49:01 Step 17/27 : RUN apk --no-cache upgrade 21:49:01 ---> Running in 3b93a264491b 21:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:49:01 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 21:49:01 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 21:49:01 Executing busybox-1.36.1-r5.post-upgrade 21:49:01 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 21:49:01 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 21:49:01 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 21:49:01 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 21:49:01 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 21:49:01 Executing busybox-1.36.1-r5.trigger 21:49:01 Executing ca-certificates-20230506-r0.trigger 21:49:01 OK: 8 MiB in 17 packages 21:49:02 Removing intermediate container 3b93a264491b 21:49:02 ---> bc1bafacb5a7 21:49:02 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:49:02 ---> 53a5dfe58387 21:49:02 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 21:49:02 ---> d507a244c782 21:49:02 Step 20/27 : COPY --from=builder /app/res/ /res/ 21:49:02 ---> 186858fcf149 21:49:02 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 21:49:03 ---> 1680af959185 21:49:03 Step 22/27 : EXPOSE 59712 21:49:03 ---> Running in 7e6d481ce5ca 21:49:03 Removing intermediate container 7e6d481ce5ca 21:49:03 ---> 38b70396389a 21:49:03 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 21:49:03 ---> Running in 3218a1914000 21:49:03 Removing intermediate container 3218a1914000 21:49:03 ---> dc93cc4ce172 21:49:03 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:49:03 ---> Running in 7486d7ef0377 21:49:03 Removing intermediate container 7486d7ef0377 21:49:03 ---> 42479f7b04e6 21:49:03 Step 25/27 : LABEL arch=amd64 21:49:03 ---> Running in c138e821d67f 21:49:03 Removing intermediate container c138e821d67f 21:49:03 ---> 18f1a594ef1a 21:49:03 Step 26/27 : LABEL git_sha=6f96719caec97f71daa19372f5503ea6385d9957 21:49:03 ---> Running in bdea38b4274e 21:49:03 Removing intermediate container bdea38b4274e 21:49:03 ---> 3912a6b6ab36 21:49:03 Step 27/27 : LABEL version=3.1.0-dev.67 21:49:03 ---> Running in c4c38c9839fd 21:49:03 Removing intermediate container c4c38c9839fd 21:49:03 ---> dee8903e8061 21:49:03 [Warning] One or more build-args [ARCH] were not consumed 21:49:03 Successfully built dee8903e8061 21:49:03 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:04 provisioning config files... 21:49:04 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config2021793330788755120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:49:04 ---> docker-login.sh 21:49:04 nexus3.edgexfoundry.org:10001 21:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:04 Configure a credential helper to remove this warning. See 21:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:04 21:49:04 Login Succeeded 21:49:04 nexus3.edgexfoundry.org:10002 21:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:04 Configure a credential helper to remove this warning. See 21:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:04 21:49:04 Login Succeeded 21:49:04 nexus3.edgexfoundry.org:10003 21:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:04 Configure a credential helper to remove this warning. See 21:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:04 21:49:04 Login Succeeded 21:49:04 nexus3.edgexfoundry.org:10004 21:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:04 Configure a credential helper to remove this warning. See 21:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:04 21:49:04 Login Succeeded 21:49:04 docker.io 21:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:49:04 Configure a credential helper to remove this warning. See 21:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:49:04 21:49:04 Login Succeeded 21:49:04 ---> docker-login.sh ends [Pipeline] } 21:49:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:49:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:49:05 [edgeXDocker.push] Tagging docker image app-record-replay with the following tags: 21:49:05 6f96719caec97f71daa19372f5503ea6385d9957 21:49:05 latest 21:49:05 3.1.0-dev.67 21:49:05 6f96719caec97f71daa19372f5503ea6385d9957-3.1.0-dev.67 21:49:05 main 21:49:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:05 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:6f96719caec97f71daa19372f5503ea6385d9957 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:05 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:6f96719caec97f71daa19372f5503ea6385d9957 21:49:05 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 21:49:05 823c30070f58: Preparing 21:49:05 5ffeb7ed3643: Preparing 21:49:05 3bb973378225: Preparing 21:49:05 e8f247b257a0: Preparing 21:49:05 f4ba22f32c7c: Preparing 21:49:05 574eee19a3e8: Preparing 21:49:05 cc2447e1835a: Preparing 21:49:05 cc2447e1835a: Waiting 21:49:05 5ffeb7ed3643: Pushed 21:49:05 e8f247b257a0: Pushed 21:49:05 3bb973378225: Pushed 21:49:05 cc2447e1835a: Layer already exists 21:49:05 574eee19a3e8: Pushed 21:49:06 f4ba22f32c7c: Pushed 21:49:09 823c30070f58: Pushed 21:49:09 6f96719caec97f71daa19372f5503ea6385d9957: digest: sha256:809a8733898c5044d8d0f7b3b528d8d354466f20b109729d989f45389c9ff835 size: 1784 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:09 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:09 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:latest 21:49:09 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 21:49:09 823c30070f58: Preparing 21:49:09 5ffeb7ed3643: Preparing 21:49:09 3bb973378225: Preparing 21:49:09 e8f247b257a0: Preparing 21:49:09 f4ba22f32c7c: Preparing 21:49:09 574eee19a3e8: Preparing 21:49:09 cc2447e1835a: Preparing 21:49:09 574eee19a3e8: Waiting 21:49:09 cc2447e1835a: Waiting 21:49:09 e8f247b257a0: Layer already exists 21:49:09 3bb973378225: Layer already exists 21:49:09 f4ba22f32c7c: Layer already exists 21:49:09 5ffeb7ed3643: Layer already exists 21:49:09 823c30070f58: Layer already exists 21:49:09 cc2447e1835a: Layer already exists 21:49:09 574eee19a3e8: Layer already exists 21:49:09 latest: digest: sha256:809a8733898c5044d8d0f7b3b528d8d354466f20b109729d989f45389c9ff835 size: 1784 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:10 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.67 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:10 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.67 21:49:10 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 21:49:10 823c30070f58: Preparing 21:49:10 5ffeb7ed3643: Preparing 21:49:10 3bb973378225: Preparing 21:49:10 e8f247b257a0: Preparing 21:49:10 f4ba22f32c7c: Preparing 21:49:10 574eee19a3e8: Preparing 21:49:10 cc2447e1835a: Preparing 21:49:10 cc2447e1835a: Waiting 21:49:10 574eee19a3e8: Waiting 21:49:10 f4ba22f32c7c: Layer already exists 21:49:10 823c30070f58: Layer already exists 21:49:10 e8f247b257a0: Layer already exists 21:49:10 3bb973378225: Layer already exists 21:49:10 5ffeb7ed3643: Layer already exists 21:49:10 cc2447e1835a: Layer already exists 21:49:10 574eee19a3e8: Layer already exists 21:49:10 3.1.0-dev.67: digest: sha256:809a8733898c5044d8d0f7b3b528d8d354466f20b109729d989f45389c9ff835 size: 1784 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:10 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:6f96719caec97f71daa19372f5503ea6385d9957-3.1.0-dev.67 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:10 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:6f96719caec97f71daa19372f5503ea6385d9957-3.1.0-dev.67 21:49:10 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 21:49:10 823c30070f58: Preparing 21:49:10 5ffeb7ed3643: Preparing 21:49:10 3bb973378225: Preparing 21:49:10 e8f247b257a0: Preparing 21:49:10 f4ba22f32c7c: Preparing 21:49:10 574eee19a3e8: Preparing 21:49:10 cc2447e1835a: Preparing 21:49:10 cc2447e1835a: Waiting 21:49:10 574eee19a3e8: Waiting 21:49:10 823c30070f58: Layer already exists 21:49:10 e8f247b257a0: Layer already exists 21:49:10 3bb973378225: Layer already exists 21:49:10 5ffeb7ed3643: Layer already exists 21:49:10 f4ba22f32c7c: Layer already exists 21:49:10 cc2447e1835a: Layer already exists 21:49:10 574eee19a3e8: Layer already exists 21:49:10 6f96719caec97f71daa19372f5503ea6385d9957-3.1.0-dev.67: digest: sha256:809a8733898c5044d8d0f7b3b528d8d354466f20b109729d989f45389c9ff835 size: 1784 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:11 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:11 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:main 21:49:11 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 21:49:11 823c30070f58: Preparing 21:49:11 5ffeb7ed3643: Preparing 21:49:11 3bb973378225: Preparing 21:49:11 e8f247b257a0: Preparing 21:49:11 f4ba22f32c7c: Preparing 21:49:11 574eee19a3e8: Preparing 21:49:11 cc2447e1835a: Preparing 21:49:11 cc2447e1835a: Waiting 21:49:11 574eee19a3e8: Waiting 21:49:11 e8f247b257a0: Layer already exists 21:49:11 3bb973378225: Layer already exists 21:49:11 f4ba22f32c7c: Layer already exists 21:49:11 823c30070f58: Layer already exists 21:49:11 5ffeb7ed3643: Layer already exists 21:49:11 cc2447e1835a: Layer already exists 21:49:11 574eee19a3e8: Layer already exists 21:49:11 main: digest: sha256:809a8733898c5044d8d0f7b3b528d8d354466f20b109729d989f45389c9ff835 size: 1784 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:49:11 ===================================================== [Pipeline] echo 21:49:11 taggedImages: 21:49:11 - nexus3.edgexfoundry.org:10004/app-record-replay:6f96719caec97f71daa19372f5503ea6385d9957 21:49:11 - nexus3.edgexfoundry.org:10004/app-record-replay:latest 21:49:11 - nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.67 21:49:11 - nexus3.edgexfoundry.org:10004/app-record-replay:6f96719caec97f71daa19372f5503ea6385d9957-3.1.0-dev.67 21:49:11 - nexus3.edgexfoundry.org:10004/app-record-replay:main [Pipeline] } [Pipeline] // script [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 21:49:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:12 21:49:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:12 latest: Pulling from edgex-lftools-log-publisher 21:49:12 5eb5b503b376: Pulling fs layer 21:49:12 5c69ac0246d0: Pulling fs layer 21:49:12 ec43610c2a17: Pulling fs layer 21:49:12 3a2ae6a8a46f: Pulling fs layer 21:49:12 33b1e0a273af: Pulling fs layer 21:49:12 5d3b04190fa2: Pulling fs layer 21:49:12 2f39f015ded8: Pulling fs layer 21:49:12 5d3b04190fa2: Waiting 21:49:12 2f39f015ded8: Waiting 21:49:12 3a2ae6a8a46f: Waiting 21:49:12 33b1e0a273af: Waiting 21:49:12 5c69ac0246d0: Verifying Checksum 21:49:12 5c69ac0246d0: Download complete 21:49:12 3a2ae6a8a46f: Verifying Checksum 21:49:12 3a2ae6a8a46f: Download complete 21:49:12 33b1e0a273af: Verifying Checksum 21:49:12 33b1e0a273af: Download complete 21:49:12 5d3b04190fa2: Verifying Checksum 21:49:12 5d3b04190fa2: Download complete 21:49:12 ec43610c2a17: Verifying Checksum 21:49:12 ec43610c2a17: Download complete 21:49:12 5eb5b503b376: Verifying Checksum 21:49:12 5eb5b503b376: Download complete 21:49:13 2f39f015ded8: Download complete 21:49:13 5eb5b503b376: Pull complete 21:49:13 5c69ac0246d0: Pull complete 21:49:14 ec43610c2a17: Pull complete 21:49:14 3a2ae6a8a46f: Pull complete 21:49:14 33b1e0a273af: Pull complete 21:49:14 5d3b04190fa2: Pull complete 21:49:18 2f39f015ded8: Pull complete 21:49:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:49:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:18 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 21:49:18 $ 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/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:49:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17552 in /w/workspace/exfoundry_app-record-replay_main 21:49:26 $ docker top 499b1e16fb6457b4cb81d3d4ea0018b0260227321e8b4cadec46dd6ffa630c70 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 21:49:26 Running in /w/workspace/app-record-replay/73 [Pipeline] { [Pipeline] checkout 21:49:26 Selected Git installation does not exist. Using Default 21:49:26 The recommended git tool is: NONE 21:49:27 ---> job-cost.sh 21:49:27 lf-activate-venv: SKIPPING 21:49:27 INFO: No Stack... 21:49:27 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:27 INFO: Archiving Costs [Pipeline] sh 21:49:28 + cut -d, -f6 21:49:28 + cat /w/workspace/exfoundry_app-record-replay_main/archives/cost.csv [Pipeline] lock 21:49:28 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-main-73-stack-cost] 21:49:28 Resource [jenkins-edgexfoundry-app-record-replay-main-73-stack-cost] did not exist. Created. 21:49:28 Lock acquired on [jenkins-edgexfoundry-app-record-replay-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:49:28 + echo total: 0.2199999988079071 [Pipeline] stash 21:49:28 Stashed 1 file(s) [Pipeline] } 21:49:28 Lock released on resource [jenkins-edgexfoundry-app-record-replay-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 21:49:28 $ docker stop --time=1 499b1e16fb6457b4cb81d3d4ea0018b0260227321e8b4cadec46dd6ffa630c70 21:49:30 $ docker rm -f --volumes 499b1e16fb6457b4cb81d3d4ea0018b0260227321e8b4cadec46dd6ffa630c70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:49:36 using credential edgex-jenkins-ssh 21:49:36 Cloning the remote Git repository 21:49:36 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 21:49:36 > git init /w/workspace/app-record-replay/73 # timeout=10 21:49:36 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:49:36 > git --version # timeout=10 21:49:36 > git --version # 'git version 2.25.1' 21:49:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:49:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:39 Avoid second fetch 21:49:39 Checking out Revision 6f96719caec97f71daa19372f5503ea6385d9957 (main) 21:49:37 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:49:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:49:40 Commit message: "Merge pull request #106 from lenny-intel/cve" 21:49:39 > git config core.sparsecheckout # timeout=10 21:49:39 > git checkout -f 6f96719caec97f71daa19372f5503ea6385d9957 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:49:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:49:41 % Total % Received % Xferd Average Speed Time Time Time Current 21:49:41 Dload Upload Total Spent Left Speed 21:49:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 182k 0 --:--:-- --:--:-- --:--:-- 182k [Pipeline] sh 21:49:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:49:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:49:42 + sudo tee /etc/docker/daemon.new 21:49:42 { 21:49:42 "registry-mirrors": [ 21:49:42 "https://nexus3.edgexfoundry.org:10001" 21:49:42 ], 21:49:42 "bip": "10.250.0.254/24", 21:49:42 "hosts": [ 21:49:42 "tcp://0.0.0.0:5555", 21:49:42 "unix:///var/run/docker.sock" 21:49:42 ], 21:49:42 "mtu": 1458, 21:49:42 "selinux-enabled": true, 21:49:42 "seccomp-profile": "/etc/docker/seccomp.json" 21:49:42 } [Pipeline] sh 21:49:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:49:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:02 provisioning config files... 21:50:02 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/73@tmp/config5493428239149096560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:02 ---> docker-login.sh 21:50:02 nexus3.edgexfoundry.org:10001 21:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:03 Configure a credential helper to remove this warning. See 21:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:03 21:50:03 Login Succeeded 21:50:03 nexus3.edgexfoundry.org:10002 21:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:03 Configure a credential helper to remove this warning. See 21:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:03 21:50:03 Login Succeeded 21:50:03 nexus3.edgexfoundry.org:10003 21:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:04 Configure a credential helper to remove this warning. See 21:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:04 21:50:04 Login Succeeded 21:50:04 nexus3.edgexfoundry.org:10004 21:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:04 Configure a credential helper to remove this warning. See 21:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:04 21:50:04 Login Succeeded 21:50:04 docker.io 21:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:05 Configure a credential helper to remove this warning. See 21:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:05 21:50:05 Login Succeeded 21:50:05 ---> docker-login.sh ends [Pipeline] } 21:50:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:50:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:50:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:50:05 ========================================================= 21:50:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:50:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:06 + 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 . 21:50:06 Sending build context to Docker daemon 258.6kB 21:50:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:50:06 Step 2/12 : FROM ${BASE} AS builder 21:50:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:50:06 9fda8d8052c6: Pulling fs layer 21:50:06 5d54e960e981: Pulling fs layer 21:50:06 c4a7e357bf2a: Pulling fs layer 21:50:06 f0e02332f6b5: Pulling fs layer 21:50:06 872ee5b61b7b: Pulling fs layer 21:50:06 f0e02332f6b5: Waiting 21:50:06 0c6a40ed1a82: Pulling fs layer 21:50:06 94ae7d8d031c: Pulling fs layer 21:50:06 872ee5b61b7b: Waiting 21:50:06 0c6a40ed1a82: Waiting 21:50:06 94ae7d8d031c: Waiting 21:50:06 5d54e960e981: Verifying Checksum 21:50:06 5d54e960e981: Download complete 21:50:06 f0e02332f6b5: Verifying Checksum 21:50:06 f0e02332f6b5: Download complete 21:50:06 872ee5b61b7b: Verifying Checksum 21:50:06 872ee5b61b7b: Download complete 21:50:06 9fda8d8052c6: Download complete 21:50:07 94ae7d8d031c: Verifying Checksum 21:50:07 94ae7d8d031c: Download complete 21:50:08 9fda8d8052c6: Pull complete 21:50:09 5d54e960e981: Pull complete 21:50:09 c4a7e357bf2a: Verifying Checksum 21:50:09 c4a7e357bf2a: Download complete 21:50:10 0c6a40ed1a82: Verifying Checksum 21:50:10 0c6a40ed1a82: Download complete 21:50:22 c4a7e357bf2a: Pull complete 21:50:22 f0e02332f6b5: Pull complete 21:50:22 872ee5b61b7b: Pull complete 21:50:31 0c6a40ed1a82: Pull complete 21:50:32 94ae7d8d031c: Pull complete 21:50:32 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 21:50:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:50:32 ---> 86de565de09d 21:50:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:50:35 ---> Running in 6f01610be00a 21:50:35 Removing intermediate container 6f01610be00a 21:50:35 ---> fdb0190108e8 21:50:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:50:35 ---> Running in fff4363c2321 21:50:35 Removing intermediate container fff4363c2321 21:50:35 ---> 454431d205ee 21:50:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:50:35 ---> Running in 199f1d8d7682 21:50:35 Removing intermediate container 199f1d8d7682 21:50:35 ---> 9d8829d68a97 21:50:35 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:50:35 ---> Running in 5f5d83441d72 21:50:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:50:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:50:39 OK: 266 MiB in 52 packages 21:50:40 Removing intermediate container 5f5d83441d72 21:50:40 ---> 60a5e6b2149b 21:50:40 Step 7/12 : WORKDIR /app 21:50:40 ---> Running in 950be3f451a9 21:50:41 Removing intermediate container 950be3f451a9 21:50:41 ---> 67691ca7eebd 21:50:41 Step 8/12 : COPY go.mod vendor* ./ 21:50:42 ---> c676533b4936 21:50:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:50:42 ---> Running in b468fdc618d1 21:52:19 Removing intermediate container b468fdc618d1 21:52:19 ---> 49f2b6f05cb4 21:52:19 Step 10/12 : COPY . . 21:52:19 ---> a5a187419def 21:52:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:52:19 ---> Running in 02fd160d8224 21:52:19 Removing intermediate container 02fd160d8224 21:52:19 ---> a95742e1fafc 21:52:19 Step 12/12 : RUN $MAKE 21:52:19 ---> Running in cf60091e090a 21:52:19 noop 21:52:19 Removing intermediate container cf60091e090a 21:52:19 ---> 7a5e071da8b1 21:52:19 Successfully built 7a5e071da8b1 21:52:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:19 + docker inspect -f . ci-base-image-arm64 21:52:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:19 prd-ubuntu20.04-docker-arm64-4c-16g-17552 does not seem to be running inside a container 21:52:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/73 -v /w/workspace/app-record-replay/73:/w/workspace/app-record-replay/73:rw,z -v /w/workspace/app-record-replay/73@tmp:/w/workspace/app-record-replay/73@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 ******** ci-base-image-arm64 cat 21:52:21 $ docker top 8e6518003d7819d3cc89174cd3f3f4875a03cdd93cb4c0b36d2a3944bbd96a6d -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:22 + go version 21:52:22 go version go1.21.0 linux/arm64 [Pipeline] } 21:52:22 $ docker stop --time=1 8e6518003d7819d3cc89174cd3f3f4875a03cdd93cb4c0b36d2a3944bbd96a6d 21:52:24 $ docker rm -f --volumes 8e6518003d7819d3cc89174cd3f3f4875a03cdd93cb4c0b36d2a3944bbd96a6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:52:24 + docker inspect -f . ci-base-image-arm64 21:52:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:52:25 prd-ubuntu20.04-docker-arm64-4c-16g-17552 does not seem to be running inside a container 21:52:25 $ 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/73 -v /w/workspace/app-record-replay/73:/w/workspace/app-record-replay/73:rw,z -v /w/workspace/app-record-replay/73@tmp:/w/workspace/app-record-replay/73@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 ******** ci-base-image-arm64 cat 21:52:26 $ docker top f9b9a706d4116c574f698b36c3609490eccdc9f0a35b6be04efad4ee94cb68ea -eo pid,comm [Pipeline] { [Pipeline] sh 21:52:27 + git config --global --add safe.directory /w/workspace/app-record-replay/73 [Pipeline] fileExists [Pipeline] sh 21:52:28 + make test 21:52:28 go test -race -coverprofile=coverage.out ./... 21:55:35 ? github.com/edgexfoundry/app-record-replay [no test files] 21:55:35 ok github.com/edgexfoundry/app-record-replay/internal/app 1.317s coverage: 88.0% of statements 21:55:36 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:55:36 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:55:38 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:55:46 ok github.com/edgexfoundry/app-record-replay/internal/application 10.094s coverage: 98.7% of statements 21:55:46 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.679s coverage: 89.7% of statements 21:55:46 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.209s coverage: 100.0% of statements 21:55:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:55:47 go vet ./... 21:58:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:58:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:58:08 ./bin/test-attribution-txt.sh [Pipeline] echo 21:58:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:58:08 $ docker stop --time=1 f9b9a706d4116c574f698b36c3609490eccdc9f0a35b6be04efad4ee94cb68ea 21:58:10 $ docker rm -f --volumes f9b9a706d4116c574f698b36c3609490eccdc9f0a35b6be04efad4ee94cb68ea [Pipeline] // withDockerContainer [Pipeline] sh 21:58:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:58:12 Warning: overwriting stash ‘coverage-report’ 21:58:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:58:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:58:14 + ls -al . 21:58:14 total 188 21:58:14 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 21:52 . 21:58:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 21:49 .. 21:58:14 -rw-rw-r-- 1 jenkins jenkins 119 Nov 14 21:49 .dockerignore 21:58:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 21:49 .git 21:58:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:49 .github 21:58:14 -rw-rw-r-- 1 jenkins jenkins 164 Nov 14 21:49 .gitignore 21:58:14 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 21:49 .golangci.yml 21:58:14 -rw-rw-r-- 1 jenkins jenkins 11301 Nov 14 21:49 Attribution.txt 21:58:14 -rw-rw-r-- 1 jenkins jenkins 458 Nov 14 21:49 CHANGELOG.md 21:58:14 -rw-rw-r-- 1 jenkins jenkins 1725 Nov 14 21:49 Dockerfile 21:58:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 21:49 GOVERNANCE.md 21:58:14 -rw-rw-r-- 1 jenkins jenkins 681 Nov 14 21:49 Jenkinsfile 21:58:14 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 14 21:49 LICENSE 21:58:14 -rw-rw-r-- 1 jenkins jenkins 3139 Nov 14 21:49 Makefile 21:58:14 -rw-rw-r-- 1 jenkins jenkins 611 Nov 14 21:49 OWNERS.md 21:58:14 -rw-rw-r-- 1 jenkins jenkins 4107 Nov 14 21:49 README.md 21:58:14 -rw-rw-r-- 1 jenkins jenkins 7789 Nov 14 21:49 Record and Reply.postman_collection.json 21:58:14 -rw-rw-r-- 1 jenkins jenkins 12 Nov 14 21:46 VERSION 21:58:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:49 bin 21:58:14 -rw-r--r-- 1 jenkins jenkins 24667 Nov 14 21:55 coverage.out 21:58:14 -rw-rw-r-- 1 jenkins jenkins 3859 Nov 14 21:49 go.mod 21:58:14 -rw-rw-r-- 1 jenkins jenkins 34797 Nov 14 21:49 go.sum 21:58:14 drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 21:49 internal 21:58:14 -rw-rw-r-- 1 jenkins jenkins 913 Nov 14 21:49 main.go 21:58:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:49 openapi 21:58:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 21:49 pkg 21:58:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 21:49 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:14 + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6f96719caec97f71daa19372f5503ea6385d9957 --label arch=arm64 --label version=3.1.0-dev.67 . 21:58:14 Sending build context to Docker daemon 284.2kB 21:58:14 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 21:58:14 Step 2/27 : FROM ${BASE} AS builder 21:58:14 ---> 7a5e071da8b1 21:58:14 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 21:58:15 ---> Running in 7e8e0e26013e 21:58:15 Removing intermediate container 7e8e0e26013e 21:58:15 ---> e01d155917e6 21:58:15 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 21:58:15 ---> Running in c7f2d258ff75 21:58:15 Removing intermediate container c7f2d258ff75 21:58:15 ---> 1a8f1fb2e4dc 21:58:15 Step 5/27 : ARG ADD_BUILD_TAGS="" 21:58:16 ---> Running in cc50d07bdcbc 21:58:16 Removing intermediate container cc50d07bdcbc 21:58:16 ---> 6070c270fb45 21:58:16 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:58:16 ---> Running in 61cc6a807d56 21:58:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:58:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:58:19 OK: 266 MiB in 52 packages 21:58:20 Removing intermediate container 61cc6a807d56 21:58:20 ---> 2484290089a4 21:58:20 Step 7/27 : WORKDIR /app 21:58:20 ---> Running in ae1d450c0b41 21:58:20 Removing intermediate container ae1d450c0b41 21:58:20 ---> d56485ab23e1 21:58:20 Step 8/27 : COPY go.mod vendor* ./ 21:58:21 ---> e38a1cc20624 21:58:21 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:58:21 ---> Running in e1a8ecc65a59 21:58:26 Removing intermediate container e1a8ecc65a59 21:58:26 ---> ef203a5109f9 21:58:26 Step 10/27 : COPY . . 21:58:26 ---> fe8b2dff3f00 21:58:26 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:58:26 ---> Running in 1735a4be989c 21:58:26 Removing intermediate container 1735a4be989c 21:58:26 ---> 224c59b9274a 21:58:26 Step 12/27 : RUN $MAKE 21:58:26 ---> Running in cacf09c65627 21:58:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.1.0-dev.67" -trimpath -mod=readonly -o app-record-replay 22:01:04 Removing intermediate container cacf09c65627 22:01:04 ---> bdb6f5a72dff 22:01:04 Step 13/27 : FROM alpine:3.18 22:01:04 3.18: Pulling from library/alpine 22:01:04 579b34f0a95b: Pulling fs layer 22:01:04 579b34f0a95b: Download complete 22:01:04 579b34f0a95b: Pull complete 22:01:04 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:01:04 Status: Downloaded newer image for alpine:3.18 22:01:04 ---> 3cc203321400 22:01:04 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:01:04 ---> Running in adc6c7ea5195 22:01:04 Removing intermediate container adc6c7ea5195 22:01:04 ---> d6e24daf398a 22:01:04 Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} 22:01:04 ---> Running in 40fcbcb8427a 22:01:04 Removing intermediate container 40fcbcb8427a 22:01:04 ---> f8f799e391a0 22:01:04 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 22:01:04 ---> Running in 1bafe10ec700 22:01:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:01:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:01:04 (1/2) Installing ca-certificates (20230506-r0) 22:01:04 (2/2) Installing dumb-init (1.2.5-r2) 22:01:04 Executing busybox-1.36.1-r2.trigger 22:01:04 Executing ca-certificates-20230506-r0.trigger 22:01:04 OK: 9 MiB in 17 packages 22:01:04 Removing intermediate container 1bafe10ec700 22:01:04 ---> 472e54f6f0c5 22:01:04 Step 17/27 : RUN apk --no-cache upgrade 22:01:04 ---> Running in 285a5e131922 22:01:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:01:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:01:04 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 22:01:04 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 22:01:04 Executing busybox-1.36.1-r5.post-upgrade 22:01:04 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 22:01:04 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 22:01:04 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 22:01:04 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 22:01:04 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 22:01:04 Executing busybox-1.36.1-r5.trigger 22:01:04 Executing ca-certificates-20230506-r0.trigger 22:01:04 OK: 9 MiB in 17 packages 22:01:04 Removing intermediate container 285a5e131922 22:01:04 ---> 4e5cdad796bd 22:01:04 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:01:04 ---> 73db07808572 22:01:04 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 22:01:04 ---> 11b31fca887b 22:01:04 Step 20/27 : COPY --from=builder /app/res/ /res/ 22:01:04 ---> f65251e8d97c 22:01:04 Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay 22:01:05 ---> c64a90c52723 22:01:05 Step 22/27 : EXPOSE 59712 22:01:05 ---> Running in 93527fcc663d 22:01:05 Removing intermediate container 93527fcc663d 22:01:05 ---> ada361cbaf01 22:01:05 Step 23/27 : ENTRYPOINT ["/app-record-replay"] 22:01:05 ---> Running in d0ded39c1436 22:01:06 Removing intermediate container d0ded39c1436 22:01:06 ---> 69873d22c807 22:01:06 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:01:06 ---> Running in 8bd2063e9737 22:01:06 Removing intermediate container 8bd2063e9737 22:01:06 ---> fb000b0b6f4e 22:01:06 Step 25/27 : LABEL arch=arm64 22:01:06 ---> Running in 9d990932c263 22:01:06 Removing intermediate container 9d990932c263 22:01:06 ---> c3c9e774a1c5 22:01:06 Step 26/27 : LABEL git_sha=6f96719caec97f71daa19372f5503ea6385d9957 22:01:06 ---> Running in 3c8877639e1a 22:01:07 Removing intermediate container 3c8877639e1a 22:01:07 ---> 3fd326db2074 22:01:07 Step 27/27 : LABEL version=3.1.0-dev.67 22:01:07 ---> Running in f938a1426ba8 22:01:07 Removing intermediate container f938a1426ba8 22:01:07 ---> 210569077f9c 22:01:07 [Warning] One or more build-args [ARCH] were not consumed 22:01:07 Successfully built 210569077f9c 22:01:07 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:07 provisioning config files... 22:01:07 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/73@tmp/config1480105549932314547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:08 ---> docker-login.sh 22:01:08 nexus3.edgexfoundry.org:10001 22:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:08 Configure a credential helper to remove this warning. See 22:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:08 22:01:08 Login Succeeded 22:01:08 nexus3.edgexfoundry.org:10002 22:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:09 Configure a credential helper to remove this warning. See 22:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:09 22:01:09 Login Succeeded 22:01:09 nexus3.edgexfoundry.org:10003 22:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:09 Configure a credential helper to remove this warning. See 22:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:09 22:01:09 Login Succeeded 22:01:09 nexus3.edgexfoundry.org:10004 22:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:09 Configure a credential helper to remove this warning. See 22:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:09 22:01:09 Login Succeeded 22:01:09 docker.io 22:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:10 Configure a credential helper to remove this warning. See 22:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:10 22:01:10 Login Succeeded 22:01:10 ---> docker-login.sh ends [Pipeline] } 22:01:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:01:10 [edgeXDocker.push] Tagging docker image app-record-replay-arm64 with the following tags: 22:01:10 6f96719caec97f71daa19372f5503ea6385d9957 22:01:10 latest 22:01:10 3.1.0-dev.67 22:01:10 6f96719caec97f71daa19372f5503ea6385d9957-3.1.0-dev.67 22:01:10 main 22:01:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:10 + docker tag app-record-replay-arm64 nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6f96719caec97f71daa19372f5503ea6385d9957 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:11 + docker push nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6f96719caec97f71daa19372f5503ea6385d9957 22:01:11 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay-arm64] 22:01:11 a53c65640021: Preparing 22:01:11 36f4f8a32ab9: Preparing 22:01:11 bd66dcfbff64: Preparing 22:01:11 0db520be575c: Preparing 22:01:11 ed34f81c4d1f: Preparing 22:01:11 903237dff946: Preparing 22:01:11 5f4d9fc4d98d: Preparing 22:01:11 903237dff946: Waiting 22:01:11 bd66dcfbff64: Pushed 22:01:11 0db520be575c: Pushed 22:01:11 36f4f8a32ab9: Pushed 22:01:11 5f4d9fc4d98d: Layer already exists 22:01:11 903237dff946: Pushed 22:01:13 ed34f81c4d1f: Pushed 22:01:18 a53c65640021: Pushed 22:01:18 6f96719caec97f71daa19372f5503ea6385d9957: digest: sha256:2d20387cc7d41f677077e526669c9252fd9de99ddcbe057c6a9734efd8d13798 size: 1784 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:18 + docker tag app-record-replay-arm64 nexus3.edgexfoundry.org:10004/app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:19 + docker push nexus3.edgexfoundry.org:10004/app-record-replay-arm64:latest 22:01:19 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay-arm64] 22:01:19 a53c65640021: Preparing 22:01:19 36f4f8a32ab9: Preparing 22:01:19 bd66dcfbff64: Preparing 22:01:19 0db520be575c: Preparing 22:01:19 ed34f81c4d1f: Preparing 22:01:19 903237dff946: Preparing 22:01:19 5f4d9fc4d98d: Preparing 22:01:19 903237dff946: Waiting 22:01:19 5f4d9fc4d98d: Waiting 22:01:19 a53c65640021: Layer already exists 22:01:19 0db520be575c: Layer already exists 22:01:19 ed34f81c4d1f: Layer already exists 22:01:19 36f4f8a32ab9: Layer already exists 22:01:19 bd66dcfbff64: Layer already exists 22:01:19 903237dff946: Layer already exists 22:01:19 5f4d9fc4d98d: Layer already exists 22:01:19 latest: digest: sha256:2d20387cc7d41f677077e526669c9252fd9de99ddcbe057c6a9734efd8d13798 size: 1784 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:19 + docker tag app-record-replay-arm64 nexus3.edgexfoundry.org:10004/app-record-replay-arm64:3.1.0-dev.67 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:20 + docker push nexus3.edgexfoundry.org:10004/app-record-replay-arm64:3.1.0-dev.67 22:01:20 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay-arm64] 22:01:20 a53c65640021: Preparing 22:01:20 36f4f8a32ab9: Preparing 22:01:20 bd66dcfbff64: Preparing 22:01:20 0db520be575c: Preparing 22:01:20 ed34f81c4d1f: Preparing 22:01:20 903237dff946: Preparing 22:01:20 5f4d9fc4d98d: Preparing 22:01:20 903237dff946: Waiting 22:01:20 5f4d9fc4d98d: Waiting 22:01:20 a53c65640021: Layer already exists 22:01:20 ed34f81c4d1f: Layer already exists 22:01:20 0db520be575c: Layer already exists 22:01:20 bd66dcfbff64: Layer already exists 22:01:20 36f4f8a32ab9: Layer already exists 22:01:20 5f4d9fc4d98d: Layer already exists 22:01:20 903237dff946: Layer already exists 22:01:20 3.1.0-dev.67: digest: sha256:2d20387cc7d41f677077e526669c9252fd9de99ddcbe057c6a9734efd8d13798 size: 1784 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:20 + docker tag app-record-replay-arm64 nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6f96719caec97f71daa19372f5503ea6385d9957-3.1.0-dev.67 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:21 + docker push nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6f96719caec97f71daa19372f5503ea6385d9957-3.1.0-dev.67 22:01:21 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay-arm64] 22:01:21 a53c65640021: Preparing 22:01:21 36f4f8a32ab9: Preparing 22:01:21 bd66dcfbff64: Preparing 22:01:21 0db520be575c: Preparing 22:01:21 ed34f81c4d1f: Preparing 22:01:21 903237dff946: Preparing 22:01:21 5f4d9fc4d98d: Preparing 22:01:21 903237dff946: Waiting 22:01:21 5f4d9fc4d98d: Waiting 22:01:21 ed34f81c4d1f: Layer already exists 22:01:21 0db520be575c: Layer already exists 22:01:21 36f4f8a32ab9: Layer already exists 22:01:21 a53c65640021: Layer already exists 22:01:21 bd66dcfbff64: Layer already exists 22:01:21 5f4d9fc4d98d: Layer already exists 22:01:21 903237dff946: Layer already exists 22:01:21 6f96719caec97f71daa19372f5503ea6385d9957-3.1.0-dev.67: digest: sha256:2d20387cc7d41f677077e526669c9252fd9de99ddcbe057c6a9734efd8d13798 size: 1784 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:21 + docker tag app-record-replay-arm64 nexus3.edgexfoundry.org:10004/app-record-replay-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:22 + docker push nexus3.edgexfoundry.org:10004/app-record-replay-arm64:main 22:01:22 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay-arm64] 22:01:22 a53c65640021: Preparing 22:01:22 36f4f8a32ab9: Preparing 22:01:22 bd66dcfbff64: Preparing 22:01:22 0db520be575c: Preparing 22:01:22 ed34f81c4d1f: Preparing 22:01:22 903237dff946: Preparing 22:01:22 5f4d9fc4d98d: Preparing 22:01:22 903237dff946: Waiting 22:01:22 5f4d9fc4d98d: Waiting 22:01:22 a53c65640021: Layer already exists 22:01:22 36f4f8a32ab9: Layer already exists 22:01:22 ed34f81c4d1f: Layer already exists 22:01:22 bd66dcfbff64: Layer already exists 22:01:22 0db520be575c: Layer already exists 22:01:22 903237dff946: Layer already exists 22:01:22 5f4d9fc4d98d: Layer already exists 22:01:22 main: digest: sha256:2d20387cc7d41f677077e526669c9252fd9de99ddcbe057c6a9734efd8d13798 size: 1784 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:01:22 ===================================================== [Pipeline] echo 22:01:22 taggedImages: 22:01:22 - nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6f96719caec97f71daa19372f5503ea6385d9957 22:01:22 - nexus3.edgexfoundry.org:10004/app-record-replay-arm64:latest 22:01:22 - nexus3.edgexfoundry.org:10004/app-record-replay-arm64:3.1.0-dev.67 22:01:22 - nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6f96719caec97f71daa19372f5503ea6385d9957-3.1.0-dev.67 22:01:22 - nexus3.edgexfoundry.org:10004/app-record-replay-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:01:22 22:01:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:01:23 arm64: Pulling from edgex-lftools-log-publisher 22:01:23 8998bd30e6a1: Pulling fs layer 22:01:23 04944245beec: Pulling fs layer 22:01:23 699f458cf7ca: Pulling fs layer 22:01:23 765212b225bb: Pulling fs layer 22:01:23 f23df028b6ca: Pulling fs layer 22:01:23 d65c8cfc05b1: Pulling fs layer 22:01:23 2437ff75d9bd: Pulling fs layer 22:01:23 f23df028b6ca: Waiting 22:01:23 d65c8cfc05b1: Waiting 22:01:23 2437ff75d9bd: Waiting 22:01:23 765212b225bb: Waiting 22:01:23 04944245beec: Verifying Checksum 22:01:23 04944245beec: Download complete 22:01:23 765212b225bb: Verifying Checksum 22:01:23 765212b225bb: Download complete 22:01:23 f23df028b6ca: Verifying Checksum 22:01:23 f23df028b6ca: Download complete 22:01:23 d65c8cfc05b1: Verifying Checksum 22:01:23 d65c8cfc05b1: Download complete 22:01:23 699f458cf7ca: Verifying Checksum 22:01:23 699f458cf7ca: Download complete 22:01:24 8998bd30e6a1: Verifying Checksum 22:01:24 8998bd30e6a1: Download complete 22:01:26 2437ff75d9bd: Verifying Checksum 22:01:26 2437ff75d9bd: Download complete 22:01:29 8998bd30e6a1: Pull complete 22:01:32 04944245beec: Pull complete 22:01:34 699f458cf7ca: Pull complete 22:01:34 765212b225bb: Pull complete 22:01:35 f23df028b6ca: Pull complete 22:01:35 d65c8cfc05b1: Pull complete 22:01:51 2437ff75d9bd: Pull complete 22:01:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:01:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:01:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:51 prd-ubuntu20.04-docker-arm64-4c-16g-17552 does not seem to be running inside a container 22:01:51 $ 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/73 -v /w/workspace/app-record-replay/73:/w/workspace/app-record-replay/73:rw,z -v /w/workspace/app-record-replay/73@tmp:/w/workspace/app-record-replay/73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:01:54 $ docker top f4b5ed63e4f24421e788cb8d70d8501e2a05b3102b9d3e6f0f4ff7e63a20af43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:55 ---> job-cost.sh 22:01:55 lf-activate-venv: SKIPPING 22:01:55 INFO: No Stack... 22:01:55 INFO: Retrieving Pricing Info for: v3-standard-4 22:01:56 INFO: Archiving Costs [Pipeline] sh 22:01:57 + cat /w/workspace/app-record-replay/73/archives/cost.csv 22:01:57 + cut -d, -f6 [Pipeline] lock 22:01:57 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-main-73-stack-cost] 22:01:57 Resource [jenkins-edgexfoundry-app-record-replay-main-73-stack-cost] did not exist. Created. 22:01:57 Lock acquired on [jenkins-edgexfoundry-app-record-replay-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:01:58 /w/workspace/app-record-replay/73@tmp/durable-9075dc7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:01:58 + echo total: 0.10999999940395355 [Pipeline] stash 22:01:58 Warning: overwriting stash ‘stack-cost’ 22:01:59 Stashed 1 file(s) [Pipeline] } 22:01:59 Lock released on resource [jenkins-edgexfoundry-app-record-replay-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 22:01:59 $ docker stop --time=1 f4b5ed63e4f24421e788cb8d70d8501e2a05b3102b9d3e6f0f4ff7e63a20af43 22:02:01 $ docker rm -f --volumes f4b5ed63e4f24421e788cb8d70d8501e2a05b3102b9d3e6f0f4ff7e63a20af43 [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 22:02:02 provisioning config files... 22:02:02 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config16947053329537906588tmp [Pipeline] { [Pipeline] sh 22:02:02 + set +x 22:02:02 + curl -s https://codecov.io/bash 22:02:02 + bash -s -- 22:02:02 22:02:02 _____ _ 22:02:02 / ____| | | 22:02:02 | | ___ __| | ___ ___ _____ __ 22:02:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:02:02 | |___| (_) | (_| | __/ (_| (_) \ V / 22:02:02 \_____\___/ \__,_|\___|\___\___/ \_/ 22:02:02 Bash-1.0.6 22:02:02 22:02:02 22:02:02 ==> git version 2.25.1 found 22:02:02 ==> 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 22:02:02 Release-Date: 2020-01-08 22:02:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:02:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:02:02 ==> Jenkins CI detected. 22:02:02 current dir:  /w/workspace/exfoundry_app-record-replay_main 22:02:02 project root: . 22:02:02 --> token set from env 22:02:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:02:02 ==> Running gcov in . (disable via -X gcov) 22:02:02 ==> Python coveragepy not found 22:02:02 ==> Searching for coverage reports in: 22:02:02 + . 22:02:02 -> Found 1 reports 22:02:02 ==> Detecting git/mercurial file structure 22:02:02 ==> Reading reports 22:02:02 + ./coverage.out bytes=24667 22:02:02 ==> Appending adjustments 22:02:02 https://docs.codecov.io/docs/fixing-reports 22:02:02 + Found adjustments 22:02:02 ==> Gzipping contents 22:02:02 8.0K /tmp/codecov.TOoy3J.gz 22:02:02 ==> Uploading reports 22:02:02 url: https://codecov.io 22:02:02 query: branch=main&commit=6f96719caec97f71daa19372f5503ea6385d9957&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=&job=&cmd_args= 22:02:02 -> Pinging Codecov 22:02:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6761a825-4501-4abd-88ee-552c6fc4520a&branch=main&commit=6f96719caec97f71daa19372f5503ea6385d9957&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=&job=&cmd_args= 22:02:02 -> Uploading to 22:02:02 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/F467761B9912B4F32F9BC62907045C81/6f96719caec97f71daa19372f5503ea6385d9957/d800fb34-9ed7-4359-86d5-f8e9fd96ecdf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T220202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff3d4917fe689a3a12e118398ed8aa8ea625456c7e9c09732e3b5b9718476b75 22:02:02 % Total % Received % Xferd Average Speed Time Time Time Current 22:02:02 Dload Upload Total Spent Left Speed 22:02:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4851 0 0 100 4851 0 19639 --:--:-- --:--:-- --:--:-- 19639 22:02:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/6f96719caec97f71daa19372f5503ea6385d9957 [Pipeline] } 22:02:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:02:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:02:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:02:03 22:02:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:02:03 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:02:03 df9b9388f04a: Pulling fs layer 22:02:03 52dc419b0ee2: Pulling fs layer 22:02:03 25bc292e5bac: Pulling fs layer 22:02:03 114826534d7a: Pulling fs layer 22:02:03 4657fd5d0bcf: Pulling fs layer 22:02:03 6ad1cebc031e: Pulling fs layer 22:02:03 8a3aa393b2d8: Pulling fs layer 22:02:03 114826534d7a: Waiting 22:02:03 4657fd5d0bcf: Waiting 22:02:03 6ad1cebc031e: Waiting 22:02:03 8a3aa393b2d8: Waiting 22:02:03 25bc292e5bac: Verifying Checksum 22:02:03 25bc292e5bac: Download complete 22:02:03 52dc419b0ee2: Verifying Checksum 22:02:03 52dc419b0ee2: Download complete 22:02:03 4657fd5d0bcf: Verifying Checksum 22:02:03 4657fd5d0bcf: Download complete 22:02:03 df9b9388f04a: Download complete 22:02:04 df9b9388f04a: Pull complete 22:02:04 52dc419b0ee2: Pull complete 22:02:04 25bc292e5bac: Pull complete 22:02:04 6ad1cebc031e: Verifying Checksum 22:02:04 114826534d7a: Verifying Checksum 22:02:04 114826534d7a: Download complete 22:02:05 8a3aa393b2d8: Verifying Checksum 22:02:05 8a3aa393b2d8: Download complete 22:02:08 114826534d7a: Pull complete 22:02:08 4657fd5d0bcf: Pull complete 22:02:08 6ad1cebc031e: Pull complete 22:02:11 8a3aa393b2d8: Pull complete 22:02:11 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:02:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:02:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:11 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 22:02:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:02:14 $ docker top 7c4f0725037330abfd8cc0955f69457c48453415bcd8deba3776b2fbf0d03fae -eo pid,comm [Pipeline] { [Pipeline] echo 22:02:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-record-replay:main' [Pipeline] sh 22:02:15 + set -o pipefail 22:02:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-record-replay:main' 22:02:20 22:02:20 Monitoring /w/workspace/exfoundry_app-record-replay_main (github.com/edgexfoundry/app-record-replay)... 22:02:20 22:02:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/117236b2-a4f5-43c5-8b9f-1eb0bbdb5478/history/1ce5b432-2aa1-446d-88bf-333d08003b67 22:02:20 22:02:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:02:20 22:02:20 22:02:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 22:02:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 22:02:20 More details here: https://snyk.co/ue1NS 22:02:20 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 22:02:20 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 22:02:20 $ docker stop --time=1 7c4f0725037330abfd8cc0955f69457c48453415bcd8deba3776b2fbf0d03fae 22:02:23 $ docker rm -f --volumes 7c4f0725037330abfd8cc0955f69457c48453415bcd8deba3776b2fbf0d03fae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:02:24 + git log --format=format:%s -1 6f96719caec97f71daa19372f5503ea6385d9957 [Pipeline] sh 22:02:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:02:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:02:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:25 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 22:02:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 22:02:25 $ docker top 89f2ecfe547f30c55d52c382e6ba3baa9ad3015e68e62ab9082fb526dc5c6a64 -eo pid,comm 22:02:25 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). 22:02:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:02:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:25 [ssh-agent] Looking for ssh-agent implementation... 22:02:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:25 $ docker exec 89f2ecfe547f30c55d52c382e6ba3baa9ad3015e68e62ab9082fb526dc5c6a64 ssh-agent 22:02:25 SSH_AUTH_SOCK=/tmp/ssh-25kR8xFnPFA2/agent.31 22:02:25 SSH_AGENT_PID=37 22:02:25 Running ssh-add (command line suppressed) 22:02:26 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_1265118354119487414.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_1265118354119487414.key) 22:02:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:26 + git semver tag 22:02:26 2023-11-14 22:02:26,512 [run_tag] DEBUG tag force:False 22:02:26 2023-11-14 22:02:26,512 [check_head_tag] DEBUG check head tag 22:02:26 2023-11-14 22:02:26,514 [execute] INFO git cat-file --batch-check 22:02:26 2023-11-14 22:02:26,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_app-record-replay_main, universal_newlines=False, shell=None, istream=) 22:02:26 2023-11-14 22:02:26,516 [execute] INFO git cat-file --batch 22:02:26 2023-11-14 22:02:26,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_app-record-replay_main, universal_newlines=False, shell=None, istream=) 22:02:26 2023-11-14 22:02:26,540 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 22:02:26 2023-11-14 22:02:26,541 [execute] INFO git tag -a v3.1.0-dev.67 -m v3.1.0-dev.67 22:02:26 2023-11-14 22:02:26,541 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.67', '-m', 'v3.1.0-dev.67'], cwd=/w/workspace/exfoundry_app-record-replay_main, universal_newlines=False, shell=None, istream=None) 22:02:26 2023-11-14 22:02:26,545 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 22:02:26 3.1.0-dev.67 [Pipeline] } 22:02:26 $ docker exec --env ******** --env ******** 89f2ecfe547f30c55d52c382e6ba3baa9ad3015e68e62ab9082fb526dc5c6a64 ssh-agent -k 22:02:26 unset SSH_AUTH_SOCK; 22:02:26 unset SSH_AGENT_PID; 22:02:26 echo Agent pid 37 killed; 22:02:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:27 + git semver [Pipeline] } 22:02:27 $ docker stop --time=1 89f2ecfe547f30c55d52c382e6ba3baa9ad3015e68e62ab9082fb526dc5c6a64 22:02:28 $ docker rm -f --volumes 89f2ecfe547f30c55d52c382e6ba3baa9ad3015e68e62ab9082fb526dc5c6a64 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:02:28 22:02:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:02:29 0.23.1-centos7: Pulling from edgex-lftools 22:02:29 ab5ef0e58194: Pulling fs layer 22:02:29 9712f1f96733: Pulling fs layer 22:02:29 63f879dbbcfc: Pulling fs layer 22:02:29 0d9ebad4ef96: Pulling fs layer 22:02:29 e9a5061849ea: Pulling fs layer 22:02:29 d747dcd14b5f: Pulling fs layer 22:02:29 2de7ff778b66: Pulling fs layer 22:02:29 e9a5061849ea: Waiting 22:02:29 2de7ff778b66: Waiting 22:02:29 d747dcd14b5f: Waiting 22:02:29 0d9ebad4ef96: Waiting 22:02:29 9712f1f96733: Verifying Checksum 22:02:29 9712f1f96733: Download complete 22:02:29 63f879dbbcfc: Verifying Checksum 22:02:29 63f879dbbcfc: Download complete 22:02:29 ab5ef0e58194: Verifying Checksum 22:02:29 ab5ef0e58194: Download complete 22:02:29 0d9ebad4ef96: Verifying Checksum 22:02:29 0d9ebad4ef96: Download complete 22:02:29 e9a5061849ea: Verifying Checksum 22:02:29 e9a5061849ea: Download complete 22:02:29 d747dcd14b5f: Verifying Checksum 22:02:29 d747dcd14b5f: Download complete 22:02:29 2de7ff778b66: Verifying Checksum 22:02:29 2de7ff778b66: Download complete 22:02:32 ab5ef0e58194: Pull complete 22:02:32 9712f1f96733: Pull complete 22:02:32 63f879dbbcfc: Pull complete 22:02:36 0d9ebad4ef96: Pull complete 22:02:36 e9a5061849ea: Pull complete 22:02:36 d747dcd14b5f: Pull complete 22:02:37 2de7ff778b66: Pull complete 22:02:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:02:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:02:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:37 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 22:02:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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-lftools:0.23.1-centos7 cat 22:02:42 $ docker top 4788a3fcdcd996b5cc02b0932351bfd95c0acec3028ec3dea1460d2b31a844ad -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:02:42 provisioning config files... 22:02:42 copy managed file [sigul-config] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config7365567926606428079tmp 22:02:42 copy managed file [sigul-password] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config2873597424729873143tmp 22:02:42 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config15487609323421673776tmp [Pipeline] { [Pipeline] echo 22:02:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:02:42 ---> sigul-configuration.sh 22:02:42 gpg: directory `/root/.gnupg' created 22:02:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:02:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:02:42 gpg: keyring `/root/.gnupg/secring.gpg' created 22:02:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:02:42 gpg: CAST5 encrypted data 22:02:42 gpg: encrypted with 1 passphrase 22:02:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:02:43 + mkdir /home/jenkins 22:02:43 + mkdir /home/jenkins/sigul [Pipeline] sh 22:02:43 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:02:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:02:43 ---> sigul-install.sh 22:02:43 Sigul already installed; skipping installation. [Pipeline] sh 22:02:43 + git tag --list 22:02:43 v3.1.0-dev.0 22:02:43 v3.1.0-dev.1 22:02:43 v3.1.0-dev.10 22:02:43 v3.1.0-dev.11 22:02:43 v3.1.0-dev.12 22:02:43 v3.1.0-dev.13 22:02:43 v3.1.0-dev.14 22:02:43 v3.1.0-dev.15 22:02:43 v3.1.0-dev.16 22:02:43 v3.1.0-dev.17 22:02:43 v3.1.0-dev.18 22:02:43 v3.1.0-dev.19 22:02:43 v3.1.0-dev.2 22:02:43 v3.1.0-dev.20 22:02:43 v3.1.0-dev.21 22:02:43 v3.1.0-dev.22 22:02:43 v3.1.0-dev.23 22:02:43 v3.1.0-dev.24 22:02:43 v3.1.0-dev.25 22:02:43 v3.1.0-dev.26 22:02:43 v3.1.0-dev.27 22:02:43 v3.1.0-dev.28 22:02:43 v3.1.0-dev.29 22:02:43 v3.1.0-dev.3 22:02:43 v3.1.0-dev.30 22:02:43 v3.1.0-dev.31 22:02:43 v3.1.0-dev.32 22:02:43 v3.1.0-dev.33 22:02:43 v3.1.0-dev.34 22:02:43 v3.1.0-dev.35 22:02:43 v3.1.0-dev.36 22:02:43 v3.1.0-dev.37 22:02:43 v3.1.0-dev.38 22:02:43 v3.1.0-dev.39 22:02:43 v3.1.0-dev.4 22:02:43 v3.1.0-dev.40 22:02:43 v3.1.0-dev.41 22:02:43 v3.1.0-dev.42 22:02:43 v3.1.0-dev.43 22:02:43 v3.1.0-dev.44 22:02:43 v3.1.0-dev.45 22:02:43 v3.1.0-dev.46 22:02:43 v3.1.0-dev.47 22:02:43 v3.1.0-dev.48 22:02:43 v3.1.0-dev.49 22:02:43 v3.1.0-dev.5 22:02:43 v3.1.0-dev.50 22:02:43 v3.1.0-dev.51 22:02:43 v3.1.0-dev.52 22:02:43 v3.1.0-dev.53 22:02:43 v3.1.0-dev.54 22:02:43 v3.1.0-dev.55 22:02:43 v3.1.0-dev.56 22:02:43 v3.1.0-dev.57 22:02:43 v3.1.0-dev.58 22:02:43 v3.1.0-dev.59 22:02:43 v3.1.0-dev.6 22:02:43 v3.1.0-dev.60 22:02:43 v3.1.0-dev.61 22:02:43 v3.1.0-dev.62 22:02:43 v3.1.0-dev.63 22:02:43 v3.1.0-dev.64 22:02:43 v3.1.0-dev.65 22:02:43 v3.1.0-dev.66 22:02:43 v3.1.0-dev.67 22:02:43 v3.1.0-dev.7 22:02:43 v3.1.0-dev.8 22:02:43 v3.1.0-dev.9 [Pipeline] sh 22:02:44 + lftools sign git-tag v3.1.0-dev.67 22:02:44 Signing Git tag with Sigul... 22:02:44 Signing v3.1.0-dev.67 [Pipeline] echo 22:02:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:02:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:02:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:02:45 $ docker stop --time=1 4788a3fcdcd996b5cc02b0932351bfd95c0acec3028ec3dea1460d2b31a844ad 22:02:46 $ docker rm -f --volumes 4788a3fcdcd996b5cc02b0932351bfd95c0acec3028ec3dea1460d2b31a844ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:02:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:02:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:02:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:47 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 22:02:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 22:02:47 $ docker top eaf2558acb96391d2bfd94df1595264fd8b70e4621c68c7546f20b852059b132 -eo pid,comm 22:02:47 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). 22:02:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:02:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:47 [ssh-agent] Looking for ssh-agent implementation... 22:02:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:48 $ docker exec eaf2558acb96391d2bfd94df1595264fd8b70e4621c68c7546f20b852059b132 ssh-agent 22:02:48 SSH_AUTH_SOCK=/tmp/ssh-1tFfAIaVrksA/agent.33 22:02:48 SSH_AGENT_PID=39 22:02:48 Running ssh-add (command line suppressed) 22:02:48 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_6436257219983836032.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_6436257219983836032.key) 22:02:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:48 + git semver bump pre 22:02:48 2023-11-14 22:02:48,733 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 22:02:48 2023-11-14 22:02:48,734 [bump_version] DEBUG bumping version:3.1.0-dev.67 on axis:pre with prefix:dev 22:02:48 2023-11-14 22:02:48,734 [bump_version] DEBUG bumped version:3.1.0-dev.68 22:02:48 2023-11-14 22:02:48,734 [write_version] DEBUG write version:3.1.0-dev.68 to path:/w/workspace/exfoundry_app-record-replay_main/.semver/main with force:True 22:02:48 2023-11-14 22:02:48,734 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 22:02:48 2023-11-14 22:02:48,734 [write_file] DEBUG write to file:/w/workspace/exfoundry_app-record-replay_main/.semver/main 22:02:48 2023-11-14 22:02:48,735 [execute] INFO git cat-file --batch-check 22:02:48 2023-11-14 22:02:48,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=False, shell=None, istream=) 22:02:48 2023-11-14 22:02:48,739 [execute] INFO git cat-file --batch 22:02:48 2023-11-14 22:02:48,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=False, shell=None, istream=) 22:02:48 2023-11-14 22:02:48,744 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 22:02:48 3.1.0-dev.68 [Pipeline] } 22:02:48 $ docker exec --env ******** --env ******** eaf2558acb96391d2bfd94df1595264fd8b70e4621c68c7546f20b852059b132 ssh-agent -k 22:02:48 unset SSH_AUTH_SOCK; 22:02:48 unset SSH_AGENT_PID; 22:02:48 echo Agent pid 39 killed; 22:02:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:49 + git semver [Pipeline] } 22:02:49 $ docker stop --time=1 eaf2558acb96391d2bfd94df1595264fd8b70e4621c68c7546f20b852059b132 22:02:50 $ docker rm -f --volumes eaf2558acb96391d2bfd94df1595264fd8b70e4621c68c7546f20b852059b132 [Pipeline] // withDockerContainer [Pipeline] sh 22:02:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:02:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:02:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:51 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 22:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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 22:02:51 $ docker top 8f9928a885cdce1f3105c74ef99048ac486365b69dc151799133ab174fe25c40 -eo pid,comm 22:02:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:02:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:02:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:51 [ssh-agent] Looking for ssh-agent implementation... 22:02:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:52 $ docker exec 8f9928a885cdce1f3105c74ef99048ac486365b69dc151799133ab174fe25c40 ssh-agent 22:02:52 SSH_AUTH_SOCK=/tmp/ssh-xEIiWXmrXtxc/agent.32 22:02:52 SSH_AGENT_PID=38 22:02:52 Running ssh-add (command line suppressed) 22:02:52 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_16420730694649250135.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_16420730694649250135.key) 22:02:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:52 + git semver push 22:02:52 2023-11-14 22:02:52,793 [run_push] DEBUG push 22:02:52 2023-11-14 22:02:52,793 [execute] INFO git cat-file --batch-check 22:02:52 2023-11-14 22:02:52,793 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=False, shell=None, istream=) 22:02:52 2023-11-14 22:02:52,797 [execute] INFO git rev-list 4f66f7af235bab6439d2adda74214eb29b66ea83 -- 22:02:52 2023-11-14 22:02:52,797 [execute] DEBUG Popen(['git', 'rev-list', '4f66f7af235bab6439d2adda74214eb29b66ea83', '--'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=False, shell=None, istream=None) 22:02:52 2023-11-14 22:02:52,803 [execute] INFO git fetch -v origin 22:02:52 2023-11-14 22:02:52,804 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=True, shell=None, istream=None) 22:02:53 2023-11-14 22:02:53,355 [run_push] DEBUG no remote changes detected 22:02:53 2023-11-14 22:02:53,355 [execute] INFO git push origin semver 22:02:53 2023-11-14 22:02:53,356 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=False, shell=None, istream=None) 22:02:54 2023-11-14 22:02:54,270 [run_push] DEBUG push all version tags 22:02:54 2023-11-14 22:02:54,270 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:02:54 2023-11-14 22:02:54,271 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_app-record-replay_main, universal_newlines=False, shell=None, istream=None) 22:02:55 2023-11-14 22:02:54,958 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 22:02:55 3.1.0-dev.68 [Pipeline] } 22:02:55 $ docker exec --env ******** --env ******** 8f9928a885cdce1f3105c74ef99048ac486365b69dc151799133ab174fe25c40 ssh-agent -k 22:02:55 unset SSH_AUTH_SOCK; 22:02:55 unset SSH_AGENT_PID; 22:02:55 echo Agent pid 38 killed; 22:02:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:55 + git semver [Pipeline] } 22:02:56 $ docker stop --time=1 8f9928a885cdce1f3105c74ef99048ac486365b69dc151799133ab174fe25c40 22:02:57 $ docker rm -f --volumes 8f9928a885cdce1f3105c74ef99048ac486365b69dc151799133ab174fe25c40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 22:02:57 + [ -d /w/workspace/exfoundry_app-record-replay_main/archives ] 22:02:57 + ls -al /w/workspace/exfoundry_app-record-replay_main/archives 22:02:57 total 16 22:02:57 drwxr-xr-x 3 root root 4096 Nov 14 21:49 . 22:02:57 drwxrwxr-x 11 jenkins jenkins 4096 Nov 14 22:02 .. 22:02:57 drwxr-xr-x 2 root root 4096 Nov 14 21:49 cost 22:02:57 -rw-r--r-- 1 root root 88 Nov 14 21:49 cost.csv 22:02:57 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_app-record-replay_main/archives 22:02:57 + ls -al /w/workspace/exfoundry_app-record-replay_main/archives 22:02:57 total 16 22:02:57 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 21:49 . 22:02:57 drwxrwxr-x 11 jenkins jenkins 4096 Nov 14 22:02 .. 22:02:57 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 21:49 cost 22:02:57 -rw-r--r-- 1 jenkins jenkins 88 Nov 14 21:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:02:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:02:59 ---> package-listing.sh 22:02:59 ++ facter osfamily 22:02:59 ++ tr '[:upper:]' '[:lower:]' 22:02:59 + OS_FAMILY=debian 22:02:59 + workspace=/w/workspace/exfoundry_app-record-replay_main 22:02:59 + START_PACKAGES=/tmp/packages_start.txt 22:02:59 + END_PACKAGES=/tmp/packages_end.txt 22:02:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:02:59 + PACKAGES=/tmp/packages_start.txt 22:02:59 + '[' /w/workspace/exfoundry_app-record-replay_main ']' 22:02:59 + PACKAGES=/tmp/packages_end.txt 22:02:59 + case "${OS_FAMILY}" in 22:02:59 + dpkg -l 22:02:59 + grep '^ii' 22:02:59 + '[' -f /tmp/packages_start.txt ']' 22:02:59 + '[' -f /tmp/packages_end.txt ']' 22:02:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:02:59 + '[' /w/workspace/exfoundry_app-record-replay_main ']' 22:02:59 + mkdir -p /w/workspace/exfoundry_app-record-replay_main/archives/ 22:02:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_app-record-replay_main/archives/ [Pipeline] echo 22:02:59 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/exfoundry_app-record-replay_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:02:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:00 prd-ubuntu20.04-docker-8c-8g-17542 does not seem to be running inside a container 22:03:00 $ 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/exfoundry_app-record-replay_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_app-record-replay_main -v /w/workspace/exfoundry_app-record-replay_main:/w/workspace/exfoundry_app-record-replay_main:rw,z -v /w/workspace/exfoundry_app-record-replay_main@tmp:/w/workspace/exfoundry_app-record-replay_main@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-lftools-log-publisher:latest cat 22:03:00 $ docker top d510bffe7944610782054a71fb1e24e5f609ac885426525139d435c630779c8d -eo pid,comm [Pipeline] { [Pipeline] sh 22:03:00 + touch /tmp/pre-build-complete [Pipeline] sh 22:03:01 + mkdir -p /var/log/sysstat [Pipeline] sh 22:03:01 + ls /var/log/sa-host 22:03:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:01 provisioning config files... 22:03:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config5565459030648211044tmp [Pipeline] { [Pipeline] echo 22:03:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:03:01 ---> create-netrc.sh [Pipeline] } 22:03:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:03:02 ---> python-tools-install.sh [Pipeline] echo 22:03:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:03:02 ---> sudo-logs.sh 22:03:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:03:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:03:02 ---> job-cost.sh 22:03:02 lf-activate-venv: SKIPPING 22:03:02 DEBUG: total: 0.2199999988079071 22:03:02 INFO: Retrieving Stack Cost... 22:03:04 INFO: Retrieving Pricing Info for: v3-standard-8 22:03:04 INFO: Archiving Costs [Pipeline] echo 22:03:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:03:04 ---> logs-deploy.sh 22:03:04 lf-activate-venv: SKIPPING 22:03:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/main/73 22:03:04 INFO: archiving workspace using pattern(s): 22:03:05 Archives upload complete. 22:03:05 INFO: archiving logs to Nexus