Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 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-ssh1464052256292062815.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3260208385212272060.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/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-ssh16312572755173488004.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2489712197697936526.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-ssh8492314703543134718.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5994 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 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 (main) Commit message: "Merge pull request #78 from lenny-intel/go-1.21" > 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 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 # timeout=10 > git rev-list --no-walk f72b809072588f7f20ded4abbecd19f9d2a97259 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:20:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:20:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:20:22 ========================================================= 21:20:22 EdgeX Global Pipelines Version Info 21:20:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:20:23 ------------------- 21:20:23 stable info: 21:20:23 ------------------- 21:20:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:20:23 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:20:23 Message: update stable to v1.0.254 21:20:23 ------------------- 21:20:23 experimental info: 21:20:23 ------------------- 21:20:23 Commited By: **** collab-it+edgex@linuxfoundation.org 21:20:23 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:20:23 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:20:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6115a19 [Pipeline] echo 21:20:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:24 provisioning config files... 21:20:24 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config12877652471756289215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:24 ---> docker-login.sh 21:20:24 nexus3.edgexfoundry.org:10001 21:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:24 Configure a credential helper to remove this warning. See 21:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:24 21:20:24 Login Succeeded 21:20:24 nexus3.edgexfoundry.org:10002 21:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:25 Configure a credential helper to remove this warning. See 21:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:25 21:20:25 Login Succeeded 21:20:25 nexus3.edgexfoundry.org:10003 21:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:25 Configure a credential helper to remove this warning. See 21:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:25 21:20:25 Login Succeeded 21:20:25 nexus3.edgexfoundry.org:10004 21:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:25 Configure a credential helper to remove this warning. See 21:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:25 21:20:25 Login Succeeded 21:20:25 docker.io 21:20:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:25 Configure a credential helper to remove this warning. See 21:20:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:25 21:20:25 Login Succeeded 21:20:25 ---> docker-login.sh ends [Pipeline] } 21:20:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:20:26 + git rev-list -1 --merges 6115a198ddbadbbc7b91aec3ff43fce5bdb74432~1..6115a198ddbadbbc7b91aec3ff43fce5bdb74432 [Pipeline] echo 21:20:26 -----------> git rev-list -1 --merges 6115a198ddbadbbc7b91aec3ff43fce5bdb74432~1..6115a198ddbadbbc7b91aec3ff43fce5bdb74432 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 21:20:26 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 [false] [Pipeline] sh 21:20:26 + git log --format=format:%s -1 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 [Pipeline] echo 21:20:26 ========================================================= 21:20:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:20:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:20:26 + git log --format=format:%s -1 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 [Pipeline] echo 21:20:26 [semverPrep] GIT_COMMIT: 6115a198ddbadbbc7b91aec3ff43fce5bdb74432, Commit Message: Merge pull request #78 from lenny-intel/go-1.21 [Pipeline] echo 21:20:26 [semverPrep] This is not a build commit. [Pipeline] sh 21:20:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:20:27 + grep -v github /etc/ssh/ssh_known_hosts 21:20:27 + [ -e /tmp/ssh_known_hosts ] 21:20:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:20:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:20:27 + sudo tee -a /etc/ssh/ssh_known_hosts 21:20:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:20:27 21:20:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:20:27 0.1.4: Pulling from edgex-devops/py-git-semver 21:20:27 b85a868b505f: Pulling fs layer 21:20:27 e2be974225ed: Pulling fs layer 21:20:27 339a4e72a1f5: Pulling fs layer 21:20:27 988bab9f4d93: Pulling fs layer 21:20:27 1469e6f7b9e6: Pulling fs layer 21:20:27 eaf3925da568: Pulling fs layer 21:20:27 bab4dde63d76: Pulling fs layer 21:20:27 bde34c3a00c8: Pulling fs layer 21:20:27 b352a97aabf1: Pulling fs layer 21:20:27 4872d77fe225: Pulling fs layer 21:20:27 5851b861e8e6: Pulling fs layer 21:20:27 988bab9f4d93: Waiting 21:20:27 bab4dde63d76: Waiting 21:20:27 bde34c3a00c8: Waiting 21:20:27 b352a97aabf1: Waiting 21:20:27 4872d77fe225: Waiting 21:20:27 1469e6f7b9e6: Waiting 21:20:27 5851b861e8e6: Waiting 21:20:27 eaf3925da568: Waiting 21:20:27 e2be974225ed: Download complete 21:20:27 988bab9f4d93: Verifying Checksum 21:20:27 988bab9f4d93: Download complete 21:20:27 1469e6f7b9e6: Verifying Checksum 21:20:27 1469e6f7b9e6: Download complete 21:20:28 339a4e72a1f5: Verifying Checksum 21:20:28 339a4e72a1f5: Download complete 21:20:28 eaf3925da568: Download complete 21:20:28 bde34c3a00c8: Download complete 21:20:28 b352a97aabf1: Verifying Checksum 21:20:28 b352a97aabf1: Download complete 21:20:28 4872d77fe225: Verifying Checksum 21:20:28 4872d77fe225: Download complete 21:20:28 5851b861e8e6: Download complete 21:20:28 b85a868b505f: Download complete 21:20:28 bab4dde63d76: Verifying Checksum 21:20:28 bab4dde63d76: Download complete 21:20:29 b85a868b505f: Pull complete 21:20:29 e2be974225ed: Pull complete 21:20:29 339a4e72a1f5: Pull complete 21:20:29 988bab9f4d93: Pull complete 21:20:30 1469e6f7b9e6: Pull complete 21:20:30 eaf3925da568: Pull complete 21:20:31 bab4dde63d76: Pull complete 21:20:31 bde34c3a00c8: Pull complete 21:20:31 b352a97aabf1: Pull complete 21:20:32 4872d77fe225: Pull complete 21:20:32 5851b861e8e6: Pull complete 21:20:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:20:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:20:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:32 prd-ubuntu20.04-docker-8c-8g-5994 does not seem to be running inside a container 21:20:32 $ 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:20:34 $ docker top dc5ba801ad0aba8016c5c1a7bff84d4bd54ded094bb3bd8bdf296a29285964b0 -eo pid,comm 21:20:34 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:20:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:20:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:20:34 [ssh-agent] Looking for ssh-agent implementation... 21:20:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:20:34 $ docker exec dc5ba801ad0aba8016c5c1a7bff84d4bd54ded094bb3bd8bdf296a29285964b0 ssh-agent 21:20:35 SSH_AUTH_SOCK=/tmp/ssh-GkXmDfbrSe5N/agent.32 21:20:35 SSH_AGENT_PID=38 21:20:35 Running ssh-add (command line suppressed) 21:20:35 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_1645010239216308148.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_1645010239216308148.key) 21:20:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:20:35 + git tag --points-at HEAD [Pipeline] } 21:20:35 $ docker exec --env ******** --env ******** dc5ba801ad0aba8016c5c1a7bff84d4bd54ded094bb3bd8bdf296a29285964b0 ssh-agent -k 21:20:35 unset SSH_AUTH_SOCK; 21:20:35 unset SSH_AGENT_PID; 21:20:35 echo Agent pid 38 killed; 21:20:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:20:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:20:35 [ssh-agent] Looking for ssh-agent implementation... 21:20:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:20:35 $ docker exec dc5ba801ad0aba8016c5c1a7bff84d4bd54ded094bb3bd8bdf296a29285964b0 ssh-agent 21:20:35 SSH_AUTH_SOCK=/tmp/ssh-WvM9hLbA7gxc/agent.70 21:20:35 SSH_AGENT_PID=76 21:20:35 Running ssh-add (command line suppressed) 21:20:35 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_16158900872941235627.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_16158900872941235627.key) 21:20:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:20:36 + git semver init 21:20:36 2023-09-12 21:20:36,433 [run_init] DEBUG init version:0.0.0 force:False 21:20:36 2023-09-12 21:20:36,433 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_app-record-replay_main/.semver 21:20:36 2023-09-12 21:20:36,434 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/exfoundry_app-record-replay_main/.semver 21:20:36 2023-09-12 21:20:36,434 [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:20:37 2023-09-12 21:20:37,069 [append_file] DEBUG append to file:/w/workspace/exfoundry_app-record-replay_main/.git/info/exclude 21:20:37 2023-09-12 21:20:37,069 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_app-record-replay_main/.semver/main with force:False 21:20:37 2023-09-12 21:20:37,069 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 21:20:37 2023-09-12 21:20:37,070 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 21:20:37 3.1.0-dev.45 [Pipeline] } 21:20:37 $ docker exec --env ******** --env ******** dc5ba801ad0aba8016c5c1a7bff84d4bd54ded094bb3bd8bdf296a29285964b0 ssh-agent -k 21:20:37 unset SSH_AUTH_SOCK; 21:20:37 unset SSH_AGENT_PID; 21:20:37 echo Agent pid 76 killed; 21:20:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:20:37 + git semver [Pipeline] } 21:20:38 $ docker stop --time=1 dc5ba801ad0aba8016c5c1a7bff84d4bd54ded094bb3bd8bdf296a29285964b0 21:20:39 $ docker rm -f --volumes dc5ba801ad0aba8016c5c1a7bff84d4bd54ded094bb3bd8bdf296a29285964b0 [Pipeline] // withDockerContainer [Pipeline] sh 21:20:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:20:39 Stashed 1 file(s) [Pipeline] echo 21:20:39 [edgeXSemver]: initialized semver on version 3.1.0-dev.45 [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:20:40 provisioning config files... 21:20:40 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config17005078829947172288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:40 ---> docker-login.sh 21:20:40 nexus3.edgexfoundry.org:10001 21:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:40 Configure a credential helper to remove this warning. See 21:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:40 21:20:40 Login Succeeded 21:20:40 nexus3.edgexfoundry.org:10002 21:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:40 Configure a credential helper to remove this warning. See 21:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:40 21:20:40 Login Succeeded 21:20:40 nexus3.edgexfoundry.org:10003 21:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:40 Configure a credential helper to remove this warning. See 21:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:40 21:20:40 Login Succeeded 21:20:40 nexus3.edgexfoundry.org:10004 21:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:40 Configure a credential helper to remove this warning. See 21:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:40 21:20:40 Login Succeeded 21:20:40 docker.io 21:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:40 Configure a credential helper to remove this warning. See 21:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:40 21:20:40 Login Succeeded 21:20:40 ---> docker-login.sh ends [Pipeline] } 21:20:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:20:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:20:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:20:41 ========================================================= 21:20:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:20:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:41 + 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:20:41 Sending build context to Docker daemon 565.2kB 21:20:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:20:41 Step 2/12 : FROM ${BASE} AS builder 21:20:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:20:41 7264a8db6415: Pulling fs layer 21:20:41 c4d48a809fc2: Pulling fs layer 21:20:41 4f1c88b9dad5: Pulling fs layer 21:20:41 ad3a456e5733: Pulling fs layer 21:20:41 9e4f439ed901: Pulling fs layer 21:20:41 feaf6a47b606: Pulling fs layer 21:20:41 5e8b037d7d82: Pulling fs layer 21:20:41 8ac70367396e: Pulling fs layer 21:20:41 6db16350a2e2: Pulling fs layer 21:20:41 9250d5d63582: Pulling fs layer 21:20:41 6db16350a2e2: Waiting 21:20:41 9250d5d63582: Waiting 21:20:41 9e4f439ed901: Waiting 21:20:41 feaf6a47b606: Waiting 21:20:41 8ac70367396e: Waiting 21:20:41 ad3a456e5733: Waiting 21:20:41 c4d48a809fc2: Verifying Checksum 21:20:41 c4d48a809fc2: Download complete 21:20:41 ad3a456e5733: Verifying Checksum 21:20:41 ad3a456e5733: Download complete 21:20:41 9e4f439ed901: Verifying Checksum 21:20:41 9e4f439ed901: Download complete 21:20:41 7264a8db6415: Verifying Checksum 21:20:41 7264a8db6415: Download complete 21:20:41 feaf6a47b606: Verifying Checksum 21:20:41 feaf6a47b606: Download complete 21:20:41 7264a8db6415: Pull complete 21:20:41 c4d48a809fc2: Pull complete 21:20:41 8ac70367396e: Verifying Checksum 21:20:41 8ac70367396e: Download complete 21:20:42 4f1c88b9dad5: Verifying Checksum 21:20:42 4f1c88b9dad5: Download complete 21:20:42 6db16350a2e2: Verifying Checksum 21:20:42 6db16350a2e2: Download complete 21:20:42 9250d5d63582: Verifying Checksum 21:20:42 9250d5d63582: Download complete 21:20:42 5e8b037d7d82: Verifying Checksum 21:20:42 5e8b037d7d82: Download complete 21:20:44 4f1c88b9dad5: Pull complete 21:20:44 ad3a456e5733: Pull complete 21:20:44 9e4f439ed901: Pull complete 21:20:44 feaf6a47b606: Pull complete 21:20:47 5e8b037d7d82: Pull complete 21:20:47 8ac70367396e: Pull complete 21:20:48 6db16350a2e2: Pull complete 21:20:48 9250d5d63582: Pull complete 21:20:48 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 21:20:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:20:48 ---> fa269f55d9b9 21:20:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:20:53 ---> Running in 3bd773020d05 21:20:53 Removing intermediate container 3bd773020d05 21:20:53 ---> 8aedd6f4076b 21:20:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:20:53 ---> Running in 608765d2eebb 21:20:53 Removing intermediate container 608765d2eebb 21:20:53 ---> 6674892dc00b 21:20:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:20:53 ---> Running in 972f734e9232 21:20:53 Removing intermediate container 972f734e9232 21:20:53 ---> 2abd738fbb9e 21:20:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:20:54 ---> Running in f733595ecadd 21:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:20:54 OK: 265 MiB in 56 packages 21:20:55 Still waiting to schedule task 21:20:55 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:20:55 Removing intermediate container f733595ecadd 21:20:55 ---> e95e429ad68f 21:20:55 Step 7/12 : WORKDIR /app 21:20:55 ---> Running in 19fcc24324fd 21:20:55 Removing intermediate container 19fcc24324fd 21:20:55 ---> 98ff7611964d 21:20:55 Step 8/12 : COPY go.mod vendor* ./ 21:20:55 ---> 5d27a2d29f8b 21:20:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:20:55 ---> Running in 2ce1d87f8bf7 21:21:33 Removing intermediate container 2ce1d87f8bf7 21:21:33 ---> 45bdd0b2d470 21:21:33 Step 10/12 : COPY . . 21:21:33 ---> 5d71404e7ffc 21:21:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:33 ---> Running in 56599aaa61b9 21:21:33 Removing intermediate container 56599aaa61b9 21:21:33 ---> c91a2cbb9450 21:21:33 Step 12/12 : RUN $MAKE 21:21:33 ---> Running in 386d8f10c0a7 21:21:33 noop 21:21:33 Removing intermediate container 386d8f10c0a7 21:21:33 ---> f69fef2667d1 21:21:33 Successfully built f69fef2667d1 21:21:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:34 + docker inspect -f . ci-base-image-x86_64 21:21:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:34 prd-ubuntu20.04-docker-8c-8g-5994 does not seem to be running inside a container 21:21:34 $ 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:21:34 $ docker top 8b8b1151765e0d16c376b15ea602a58cb8756ba436f222857f92cf450c74cf3e -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:35 + go version 21:21:35 go version go1.21.0 linux/amd64 [Pipeline] } 21:21:35 $ docker stop --time=1 8b8b1151765e0d16c376b15ea602a58cb8756ba436f222857f92cf450c74cf3e 21:21:36 $ docker rm -f --volumes 8b8b1151765e0d16c376b15ea602a58cb8756ba436f222857f92cf450c74cf3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:36 + docker inspect -f . ci-base-image-x86_64 21:21:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:36 prd-ubuntu20.04-docker-8c-8g-5994 does not seem to be running inside a container 21:21:36 $ 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:21:37 $ docker top 8cfdf4721b2521e2003420b372b96f50411abc3e7c55e92c7ca201e932625364 -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:37 + git config --global --add safe.directory /w/workspace/exfoundry_app-record-replay_main [Pipeline] fileExists [Pipeline] sh 21:21:37 + make test 21:21:37 go test -race -coverprofile=coverage.out ./... 21:21:59 ? github.com/edgexfoundry/app-record-replay [no test files] 21:21:59 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:21:59 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:21:59 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:21:59 ok github.com/edgexfoundry/app-record-replay/internal/app 1.044s coverage: 88.0% of statements 21:22:07 ok github.com/edgexfoundry/app-record-replay/internal/application 9.597s coverage: 98.7% of statements 21:22:07 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.098s coverage: 78.7% of statements 21:22:07 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.036s coverage: 100.0% of statements 21:22:29 go vet ./... 21:22:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:22:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:22:29 ./bin/test-attribution-txt.sh [Pipeline] echo 21:22:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:22:30 $ docker stop --time=1 8cfdf4721b2521e2003420b372b96f50411abc3e7c55e92c7ca201e932625364 21:22:33 $ docker rm -f --volumes 8cfdf4721b2521e2003420b372b96f50411abc3e7c55e92c7ca201e932625364 [Pipeline] // withDockerContainer [Pipeline] sh 21:22:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:22:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:22:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:22:34 + ls -al . 21:22:34 total 184 21:22:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 21:21 . 21:22:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:20 .. 21:22:34 -rw-rw-r-- 1 jenkins jenkins 119 Sep 12 21:20 .dockerignore 21:22:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:22 .git 21:22:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:20 .github 21:22:34 -rw-rw-r-- 1 jenkins jenkins 164 Sep 12 21:20 .gitignore 21:22:34 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:20 .golangci.yml 21:22:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:20 .semver 21:22:34 -rw-rw-r-- 1 jenkins jenkins 11301 Sep 12 21:20 Attribution.txt 21:22:34 -rw-rw-r-- 1 jenkins jenkins 258 Sep 12 21:20 CHANGELOG.md 21:22:34 -rw-rw-r-- 1 jenkins jenkins 1616 Sep 12 21:20 Dockerfile 21:22:34 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:20 GOVERNANCE.md 21:22:34 -rw-rw-r-- 1 jenkins jenkins 681 Sep 12 21:20 Jenkinsfile 21:22:34 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 12 21:20 LICENSE 21:22:34 -rw-rw-r-- 1 jenkins jenkins 3139 Sep 12 21:20 Makefile 21:22:34 -rw-rw-r-- 1 jenkins jenkins 611 Sep 12 21:20 OWNERS.md 21:22:34 -rw-rw-r-- 1 jenkins jenkins 2363 Sep 12 21:20 README.md 21:22:34 -rw-rw-r-- 1 jenkins jenkins 7594 Sep 12 21:20 Record and Reply.postman_collection.json 21:22:34 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 21:20 VERSION 21:22:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:20 bin 21:22:34 -rw-r--r-- 1 jenkins jenkins 24553 Sep 12 21:22 coverage.out 21:22:34 -rw-rw-r-- 1 jenkins jenkins 3916 Sep 12 21:20 go.mod 21:22:34 -rw-rw-r-- 1 jenkins jenkins 34159 Sep 12 21:20 go.sum 21:22:34 drwxrwxr-x 7 jenkins jenkins 4096 Sep 12 21:20 internal 21:22:34 -rw-rw-r-- 1 jenkins jenkins 913 Sep 12 21:20 main.go 21:22:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:20 openapi 21:22:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:20 pkg 21:22:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:20 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:35 + 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=6115a198ddbadbbc7b91aec3ff43fce5bdb74432 --label arch=amd64 --label version=3.1.0-dev.45 . 21:22:35 Sending build context to Docker daemon 590.3kB 21:22:35 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:22:35 Step 2/26 : FROM ${BASE} AS builder 21:22:35 ---> f69fef2667d1 21:22:35 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:22:35 ---> Running in afaebdcbcc19 21:22:35 Removing intermediate container afaebdcbcc19 21:22:35 ---> 2e67a5bf1c31 21:22:35 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:22:35 ---> Running in ab505d712432 21:22:35 Removing intermediate container ab505d712432 21:22:35 ---> dd382eafe4b0 21:22:35 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:22:35 ---> Running in bf8531f5f409 21:22:35 Removing intermediate container bf8531f5f409 21:22:35 ---> 5b84397ee29b 21:22:35 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:22:35 ---> Running in b8caf7b3b96b 21:22:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:22:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:22:36 OK: 265 MiB in 56 packages 21:22:37 Removing intermediate container b8caf7b3b96b 21:22:37 ---> 035b661e8e70 21:22:37 Step 7/26 : WORKDIR /app 21:22:37 ---> Running in e61de9a105e8 21:22:37 Removing intermediate container e61de9a105e8 21:22:37 ---> c035dd99dff9 21:22:37 Step 8/26 : COPY go.mod vendor* ./ 21:22:37 ---> 682613586bf7 21:22:37 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:37 ---> Running in c8bc6609abc8 21:22:38 Removing intermediate container c8bc6609abc8 21:22:38 ---> 350d1e2781f2 21:22:38 Step 10/26 : COPY . . 21:22:38 ---> b77c7a2f8e49 21:22:38 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:22:38 ---> Running in 1b048482990f 21:22:38 Removing intermediate container 1b048482990f 21:22:38 ---> 5090ec76fa3c 21:22:38 Step 12/26 : RUN $MAKE 21:22:38 ---> Running in 0cfe8a8c740d 21:22:39 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.26 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.1.0-dev.45" -trimpath -mod=readonly -o app-record-replay 21:22:57 Removing intermediate container 0cfe8a8c740d 21:22:57 ---> 3747b0be1713 21:22:57 Step 13/26 : FROM alpine:3.18 21:22:57 3.18: Pulling from library/alpine 21:22:57 7264a8db6415: Already exists 21:22:58 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:22:58 Status: Downloaded newer image for alpine:3.18 21:22:58 ---> 7e01a0d0a1dc 21:22:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:22:58 ---> Running in 9169fc53372c 21:22:58 Removing intermediate container 9169fc53372c 21:22:58 ---> dd9cb7b46a8b 21:22:58 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:22:58 ---> Running in 0f4cf09ac404 21:22:58 Removing intermediate container 0f4cf09ac404 21:22:58 ---> af1453c4fb10 21:22:58 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:22:58 ---> Running in 60f617116c53 21:22:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:22:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:22:58 (1/2) Installing ca-certificates (20230506-r0) 21:22:58 (2/2) Installing dumb-init (1.2.5-r2) 21:22:58 Executing busybox-1.36.1-r2.trigger 21:22:58 Executing ca-certificates-20230506-r0.trigger 21:22:58 OK: 8 MiB in 17 packages 21:22:59 Removing intermediate container 60f617116c53 21:22:59 ---> 9645ed1eea60 21:22:59 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:22:59 ---> 45770a61c911 21:22:59 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:22:59 ---> c63ae3631368 21:22:59 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:22:59 ---> 452f3a35248f 21:22:59 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:23:00 ---> 0b24835d1f1d 21:23:00 Step 21/26 : EXPOSE 59712 21:23:00 ---> Running in 838dfba7d1cb 21:23:00 Removing intermediate container 838dfba7d1cb 21:23:00 ---> fea9600c2c97 21:23:00 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:23:00 ---> Running in 0047955cd248 21:23:00 Removing intermediate container 0047955cd248 21:23:00 ---> ed1562a9d04e 21:23:00 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:23:00 ---> Running in e07edab4f437 21:23:01 Removing intermediate container e07edab4f437 21:23:01 ---> 3bdc3f6c6650 21:23:01 Step 24/26 : LABEL arch=amd64 21:23:01 ---> Running in 3f6b6544fd60 21:23:01 Removing intermediate container 3f6b6544fd60 21:23:01 ---> 4804d71d273d 21:23:01 Step 25/26 : LABEL git_sha=6115a198ddbadbbc7b91aec3ff43fce5bdb74432 21:23:01 ---> Running in 4489ccdefcdd 21:23:01 Removing intermediate container 4489ccdefcdd 21:23:01 ---> bda94daaea58 21:23:01 Step 26/26 : LABEL version=3.1.0-dev.45 21:23:01 ---> Running in 9176c1a647fe 21:23:01 Removing intermediate container 9176c1a647fe 21:23:01 ---> 5d3e70cc820f 21:23:01 [Warning] One or more build-args [ARCH] were not consumed 21:23:01 Successfully built 5d3e70cc820f 21:23:01 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:23:01 provisioning config files... 21:23:01 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config12420148939634248465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:01 ---> docker-login.sh 21:23:01 nexus3.edgexfoundry.org:10001 21:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:01 Configure a credential helper to remove this warning. See 21:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:01 21:23:01 Login Succeeded 21:23:01 nexus3.edgexfoundry.org:10002 21:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:01 Configure a credential helper to remove this warning. See 21:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:01 21:23:01 Login Succeeded 21:23:01 nexus3.edgexfoundry.org:10003 21:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:02 Configure a credential helper to remove this warning. See 21:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:02 21:23:02 Login Succeeded 21:23:02 nexus3.edgexfoundry.org:10004 21:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:02 Configure a credential helper to remove this warning. See 21:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:02 21:23:02 Login Succeeded 21:23:02 docker.io 21:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:02 Configure a credential helper to remove this warning. See 21:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:02 21:23:02 Login Succeeded 21:23:02 ---> docker-login.sh ends [Pipeline] } 21:23:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:23:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:02 [edgeXDocker.push] Tagging docker image app-record-replay with the following tags: 21:23:02 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 21:23:02 latest 21:23:02 3.1.0-dev.45 21:23:02 6115a198ddbadbbc7b91aec3ff43fce5bdb74432-3.1.0-dev.45 21:23:02 main 21:23:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:02 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:6115a198ddbadbbc7b91aec3ff43fce5bdb74432 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:03 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:6115a198ddbadbbc7b91aec3ff43fce5bdb74432 21:23:03 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 21:23:03 657b12b6a0ae: Preparing 21:23:03 a36db6b76b60: Preparing 21:23:03 b271625cd2eb: Preparing 21:23:03 1172351b5ec2: Preparing 21:23:03 cfc5fbefa4a2: Preparing 21:23:03 4693057ce236: Preparing 21:23:03 4693057ce236: Waiting 21:23:03 a36db6b76b60: Pushed 21:23:03 b271625cd2eb: Pushed 21:23:03 1172351b5ec2: Pushed 21:23:03 4693057ce236: Layer already exists 21:23:03 cfc5fbefa4a2: Pushed 21:23:05 657b12b6a0ae: Pushed 21:23:05 6115a198ddbadbbc7b91aec3ff43fce5bdb74432: digest: sha256:033d654e94c708a484c584d6eae2fc7eb0b664d87a50cd5fc9e99fc102a9770d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:06 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:06 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:latest 21:23:06 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 21:23:06 657b12b6a0ae: Preparing 21:23:06 a36db6b76b60: Preparing 21:23:06 b271625cd2eb: Preparing 21:23:06 1172351b5ec2: Preparing 21:23:06 cfc5fbefa4a2: Preparing 21:23:06 4693057ce236: Preparing 21:23:06 4693057ce236: Waiting 21:23:06 b271625cd2eb: Layer already exists 21:23:06 1172351b5ec2: Layer already exists 21:23:06 a36db6b76b60: Layer already exists 21:23:06 657b12b6a0ae: Layer already exists 21:23:06 cfc5fbefa4a2: Layer already exists 21:23:06 4693057ce236: Layer already exists 21:23:06 latest: digest: sha256:033d654e94c708a484c584d6eae2fc7eb0b664d87a50cd5fc9e99fc102a9770d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:06 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:07 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.45 21:23:07 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 21:23:07 657b12b6a0ae: Preparing 21:23:07 a36db6b76b60: Preparing 21:23:07 b271625cd2eb: Preparing 21:23:07 1172351b5ec2: Preparing 21:23:07 cfc5fbefa4a2: Preparing 21:23:07 4693057ce236: Preparing 21:23:07 4693057ce236: Waiting 21:23:07 1172351b5ec2: Layer already exists 21:23:07 cfc5fbefa4a2: Layer already exists 21:23:07 657b12b6a0ae: Layer already exists 21:23:07 a36db6b76b60: Layer already exists 21:23:07 b271625cd2eb: Layer already exists 21:23:07 4693057ce236: Layer already exists 21:23:07 3.1.0-dev.45: digest: sha256:033d654e94c708a484c584d6eae2fc7eb0b664d87a50cd5fc9e99fc102a9770d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:07 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:6115a198ddbadbbc7b91aec3ff43fce5bdb74432-3.1.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:07 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:6115a198ddbadbbc7b91aec3ff43fce5bdb74432-3.1.0-dev.45 21:23:07 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 21:23:07 657b12b6a0ae: Preparing 21:23:07 a36db6b76b60: Preparing 21:23:07 b271625cd2eb: Preparing 21:23:07 1172351b5ec2: Preparing 21:23:07 cfc5fbefa4a2: Preparing 21:23:07 4693057ce236: Preparing 21:23:07 4693057ce236: Waiting 21:23:07 a36db6b76b60: Layer already exists 21:23:07 cfc5fbefa4a2: Layer already exists 21:23:07 b271625cd2eb: Layer already exists 21:23:07 657b12b6a0ae: Layer already exists 21:23:07 1172351b5ec2: Layer already exists 21:23:07 4693057ce236: Layer already exists 21:23:07 6115a198ddbadbbc7b91aec3ff43fce5bdb74432-3.1.0-dev.45: digest: sha256:033d654e94c708a484c584d6eae2fc7eb0b664d87a50cd5fc9e99fc102a9770d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:08 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:08 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:main 21:23:08 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 21:23:08 657b12b6a0ae: Preparing 21:23:08 a36db6b76b60: Preparing 21:23:08 b271625cd2eb: Preparing 21:23:08 1172351b5ec2: Preparing 21:23:08 cfc5fbefa4a2: Preparing 21:23:08 4693057ce236: Preparing 21:23:08 4693057ce236: Waiting 21:23:08 cfc5fbefa4a2: Layer already exists 21:23:08 a36db6b76b60: Layer already exists 21:23:08 1172351b5ec2: Layer already exists 21:23:08 b271625cd2eb: Layer already exists 21:23:08 657b12b6a0ae: Layer already exists 21:23:08 4693057ce236: Layer already exists 21:23:08 main: digest: sha256:033d654e94c708a484c584d6eae2fc7eb0b664d87a50cd5fc9e99fc102a9770d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:23:08 ===================================================== [Pipeline] echo 21:23:08 taggedImages: 21:23:08 - nexus3.edgexfoundry.org:10004/app-record-replay:6115a198ddbadbbc7b91aec3ff43fce5bdb74432 21:23:08 - nexus3.edgexfoundry.org:10004/app-record-replay:latest 21:23:08 - nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.45 21:23:08 - nexus3.edgexfoundry.org:10004/app-record-replay:6115a198ddbadbbc7b91aec3ff43fce5bdb74432-3.1.0-dev.45 21:23:08 - 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:23:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:08 21:23:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:09 latest: Pulling from edgex-lftools-log-publisher 21:23:09 5eb5b503b376: Pulling fs layer 21:23:09 5c69ac0246d0: Pulling fs layer 21:23:09 ec43610c2a17: Pulling fs layer 21:23:09 3a2ae6a8a46f: Pulling fs layer 21:23:09 33b1e0a273af: Pulling fs layer 21:23:09 3a2ae6a8a46f: Waiting 21:23:09 33b1e0a273af: Waiting 21:23:09 5d3b04190fa2: Pulling fs layer 21:23:09 2f39f015ded8: Pulling fs layer 21:23:09 2f39f015ded8: Waiting 21:23:09 5d3b04190fa2: Waiting 21:23:09 5c69ac0246d0: Verifying Checksum 21:23:09 5c69ac0246d0: Download complete 21:23:09 3a2ae6a8a46f: Verifying Checksum 21:23:09 3a2ae6a8a46f: Download complete 21:23:09 33b1e0a273af: Verifying Checksum 21:23:09 33b1e0a273af: Download complete 21:23:09 ec43610c2a17: Verifying Checksum 21:23:09 ec43610c2a17: Download complete 21:23:09 5d3b04190fa2: Verifying Checksum 21:23:09 5d3b04190fa2: Download complete 21:23:09 5eb5b503b376: Verifying Checksum 21:23:09 5eb5b503b376: Download complete 21:23:09 2f39f015ded8: Download complete 21:23:10 5eb5b503b376: Pull complete 21:23:10 5c69ac0246d0: Pull complete 21:23:11 ec43610c2a17: Pull complete 21:23:11 3a2ae6a8a46f: Pull complete 21:23:11 33b1e0a273af: Pull complete 21:23:11 5d3b04190fa2: Pull complete 21:23:16 2f39f015ded8: Pull complete 21:23:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:23:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:16 prd-ubuntu20.04-docker-8c-8g-5994 does not seem to be running inside a container 21:23:16 $ 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:23:23 $ docker top 90a66942fb52220170ce5c73b7ce85de0168e5d8b195a204933321a5ce526dd9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:23 ---> job-cost.sh 21:23:23 lf-activate-venv: SKIPPING 21:23:23 INFO: No Stack... 21:23:24 INFO: Retrieving Pricing Info for: v3-standard-8 21:23:24 INFO: Archiving Costs [Pipeline] sh 21:23:24 + cat /w/workspace/exfoundry_app-record-replay_main/archives/cost.csv 21:23:24 + cut -d, -f6 [Pipeline] lock 21:23:24 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-main-49-stack-cost] 21:23:24 Resource [jenkins-edgexfoundry-app-record-replay-main-49-stack-cost] did not exist. Created. 21:23:24 Lock acquired on [jenkins-edgexfoundry-app-record-replay-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:23:24 + echo total: 0.2199999988079071 [Pipeline] stash 21:23:24 Stashed 1 file(s) [Pipeline] } 21:23:24 Lock released on resource [jenkins-edgexfoundry-app-record-replay-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 21:23:24 $ docker stop --time=1 90a66942fb52220170ce5c73b7ce85de0168e5d8b195a204933321a5ce526dd9 21:23:26 $ docker rm -f --volumes 90a66942fb52220170ce5c73b7ce85de0168e5d8b195a204933321a5ce526dd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:23:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5996 in /w/workspace/exfoundry_app-record-replay_main [Pipeline] { [Pipeline] ws 21:23:44 Running in /w/workspace/app-record-replay/49 [Pipeline] { [Pipeline] checkout 21:23:44 Selected Git installation does not exist. Using Default 21:23:44 The recommended git tool is: NONE 21:23:50 using credential edgex-jenkins-ssh 21:23:50 Cloning the remote Git repository 21:23:50 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 21:23:50 > git init /w/workspace/app-record-replay/49 # timeout=10 21:23:50 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:23:50 > git --version # timeout=10 21:23:51 > git --version # 'git version 2.25.1' 21:23:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:23:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:53 Avoid second fetch 21:23:53 Checking out Revision 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 (main) 21:23:51 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:23:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:53 > git config core.sparsecheckout # timeout=10 21:23:53 Commit message: "Merge pull request #78 from lenny-intel/go-1.21" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:53 > git checkout -f 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 # timeout=10 21:23:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:23:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:23:54 Dload Upload Total Spent Left Speed 21:23:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 21:23:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:23:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:23:55 + sudo tee /etc/docker/daemon.new 21:23:55 { 21:23:55 "registry-mirrors": [ 21:23:55 "https://nexus3.edgexfoundry.org:10001" 21:23:55 ], 21:23:55 "bip": "10.250.0.254/24", 21:23:55 "hosts": [ 21:23:55 "tcp://0.0.0.0:5555", 21:23:55 "unix:///var/run/docker.sock" 21:23:55 ], 21:23:55 "mtu": 1458, 21:23:55 "selinux-enabled": true, 21:23:55 "seccomp-profile": "/etc/docker/seccomp.json" 21:23:55 } [Pipeline] sh 21:23:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:23:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:24:14 provisioning config files... 21:24:14 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/49@tmp/config11233151902660741863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:15 ---> docker-login.sh 21:24:15 nexus3.edgexfoundry.org:10001 21:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:15 Configure a credential helper to remove this warning. See 21:24:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:15 21:24:15 Login Succeeded 21:24:15 nexus3.edgexfoundry.org:10002 21:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:16 Configure a credential helper to remove this warning. See 21:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:16 21:24:16 Login Succeeded 21:24:16 nexus3.edgexfoundry.org:10003 21:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:16 Configure a credential helper to remove this warning. See 21:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:16 21:24:16 Login Succeeded 21:24:16 nexus3.edgexfoundry.org:10004 21:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:16 Configure a credential helper to remove this warning. See 21:24:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:16 21:24:16 Login Succeeded 21:24:16 docker.io 21:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:24:17 Configure a credential helper to remove this warning. See 21:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:24:17 21:24:17 Login Succeeded 21:24:17 ---> docker-login.sh ends [Pipeline] } 21:24:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:24:17 ========================================================= 21:24:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:24:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:18 + 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:24:18 Sending build context to Docker daemon 256.5kB 21:24:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:24:18 Step 2/12 : FROM ${BASE} AS builder 21:24:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:24:20 9fda8d8052c6: Pulling fs layer 21:24:20 5d54e960e981: Pulling fs layer 21:24:20 c4a7e357bf2a: Pulling fs layer 21:24:20 f0e02332f6b5: Pulling fs layer 21:24:20 66412af1f25a: Pulling fs layer 21:24:20 1baf3a5c0e64: Pulling fs layer 21:24:20 9a37bb91b891: Pulling fs layer 21:24:20 a29adfc67d43: Pulling fs layer 21:24:20 d5de9f91c1a4: Pulling fs layer 21:24:20 1baf3a5c0e64: Waiting 21:24:20 9a37bb91b891: Waiting 21:24:20 a29adfc67d43: Waiting 21:24:20 d5de9f91c1a4: Waiting 21:24:20 66412af1f25a: Waiting 21:24:20 f0e02332f6b5: Waiting 21:24:20 5d54e960e981: Verifying Checksum 21:24:20 5d54e960e981: Download complete 21:24:20 f0e02332f6b5: Verifying Checksum 21:24:20 f0e02332f6b5: Download complete 21:24:20 66412af1f25a: Download complete 21:24:20 9fda8d8052c6: Verifying Checksum 21:24:20 9fda8d8052c6: Download complete 21:24:21 9a37bb91b891: Verifying Checksum 21:24:21 9a37bb91b891: Download complete 21:24:21 9fda8d8052c6: Pull complete 21:24:21 a29adfc67d43: Verifying Checksum 21:24:21 a29adfc67d43: Download complete 21:24:22 5d54e960e981: Pull complete 21:24:22 d5de9f91c1a4: Verifying Checksum 21:24:22 d5de9f91c1a4: Download complete 21:24:22 c4a7e357bf2a: Verifying Checksum 21:24:22 c4a7e357bf2a: Download complete 21:24:23 1baf3a5c0e64: Verifying Checksum 21:24:23 1baf3a5c0e64: Download complete 21:24:35 c4a7e357bf2a: Pull complete 21:24:35 f0e02332f6b5: Pull complete 21:24:35 66412af1f25a: Pull complete 21:24:42 1baf3a5c0e64: Pull complete 21:24:42 9a37bb91b891: Pull complete 21:24:44 a29adfc67d43: Pull complete 21:24:45 d5de9f91c1a4: Pull complete 21:24:45 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 21:24:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:24:45 ---> 746ca1b523b5 21:24:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:24:47 ---> Running in ddd182e86cd1 21:24:47 Removing intermediate container ddd182e86cd1 21:24:47 ---> 92518ac81205 21:24:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:24:47 ---> Running in 6324548051f6 21:24:48 Removing intermediate container 6324548051f6 21:24:48 ---> ecdc76ff7a65 21:24:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:24:48 ---> Running in b3bb57c86838 21:24:48 Removing intermediate container b3bb57c86838 21:24:48 ---> c8f0c09c0df3 21:24:48 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:24:48 ---> Running in 66241dd50981 21:24:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:24:51 OK: 267 MiB in 56 packages 21:24:52 Removing intermediate container 66241dd50981 21:24:52 ---> 85ad8ee1e64b 21:24:52 Step 7/12 : WORKDIR /app 21:24:52 ---> Running in c97feda6d856 21:24:52 Removing intermediate container c97feda6d856 21:24:52 ---> 5f29cab98a28 21:24:52 Step 8/12 : COPY go.mod vendor* ./ 21:24:53 ---> a71e9454cd21 21:24:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:53 ---> Running in 253f1121a43d 21:26:15 Removing intermediate container 253f1121a43d 21:26:15 ---> 5221b9940fa2 21:26:15 Step 10/12 : COPY . . 21:26:15 ---> 7e308135bb9d 21:26:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:26:15 ---> Running in 58cd26e3e162 21:26:15 Removing intermediate container 58cd26e3e162 21:26:15 ---> f30254dcf9ff 21:26:15 Step 12/12 : RUN $MAKE 21:26:15 ---> Running in d406c344fb6c 21:26:15 noop 21:26:15 Removing intermediate container d406c344fb6c 21:26:15 ---> a0b4774f0ccb 21:26:15 Successfully built a0b4774f0ccb 21:26:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:15 + docker inspect -f . ci-base-image-arm64 21:26:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:15 prd-ubuntu20.04-docker-arm64-4c-16g-5996 does not seem to be running inside a container 21:26:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/49 -v /w/workspace/app-record-replay/49:/w/workspace/app-record-replay/49:rw,z -v /w/workspace/app-record-replay/49@tmp:/w/workspace/app-record-replay/49@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:26:16 $ docker top 4c5701fed4876e8d0505f40e21cc50db072741ea8d83c9c819fa66fc9278e5fb -eo pid,comm [Pipeline] { [Pipeline] sh 21:26:17 + go version 21:26:17 go version go1.21.0 linux/arm64 [Pipeline] } 21:26:17 $ docker stop --time=1 4c5701fed4876e8d0505f40e21cc50db072741ea8d83c9c819fa66fc9278e5fb 21:26:22 $ docker rm -f --volumes 4c5701fed4876e8d0505f40e21cc50db072741ea8d83c9c819fa66fc9278e5fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:22 + docker inspect -f . ci-base-image-arm64 21:26:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:22 prd-ubuntu20.04-docker-arm64-4c-16g-5996 does not seem to be running inside a container 21:26:22 $ 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/49 -v /w/workspace/app-record-replay/49:/w/workspace/app-record-replay/49:rw,z -v /w/workspace/app-record-replay/49@tmp:/w/workspace/app-record-replay/49@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:26:24 $ docker top fecb792a02763a535970e126fb17b27f4b43876f190d4fafaa74c531602de8aa -eo pid,comm [Pipeline] { [Pipeline] sh 21:26:24 + git config --global --add safe.directory /w/workspace/app-record-replay/49 [Pipeline] fileExists [Pipeline] sh 21:26:25 + make test 21:26:25 go test -race -coverprofile=coverage.out ./... 21:29:02 ? github.com/edgexfoundry/app-record-replay [no test files] 21:29:02 ok github.com/edgexfoundry/app-record-replay/internal/app 1.238s coverage: 88.0% of statements 21:29:02 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:29:02 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:29:02 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:29:10 ok github.com/edgexfoundry/app-record-replay/internal/application 10.017s coverage: 98.7% of statements 21:29:10 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.520s coverage: 78.7% of statements 21:29:10 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.183s coverage: 100.0% of statements 21:29:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:29:10 go vet ./... 21:31:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:31:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:31:02 ./bin/test-attribution-txt.sh [Pipeline] echo 21:31:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:31:02 $ docker stop --time=1 fecb792a02763a535970e126fb17b27f4b43876f190d4fafaa74c531602de8aa 21:31:05 $ docker rm -f --volumes fecb792a02763a535970e126fb17b27f4b43876f190d4fafaa74c531602de8aa [Pipeline] // withDockerContainer [Pipeline] sh 21:31:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:31:06 Warning: overwriting stash ‘coverage-report’ 21:31:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:31:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:31:07 + ls -al . 21:31:07 total 180 21:31:07 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 21:26 . 21:31:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:23 .. 21:31:07 -rw-rw-r-- 1 jenkins jenkins 119 Sep 12 21:23 .dockerignore 21:31:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:23 .git 21:31:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:23 .github 21:31:07 -rw-rw-r-- 1 jenkins jenkins 164 Sep 12 21:23 .gitignore 21:31:07 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:23 .golangci.yml 21:31:07 -rw-rw-r-- 1 jenkins jenkins 11301 Sep 12 21:23 Attribution.txt 21:31:07 -rw-rw-r-- 1 jenkins jenkins 258 Sep 12 21:23 CHANGELOG.md 21:31:07 -rw-rw-r-- 1 jenkins jenkins 1616 Sep 12 21:23 Dockerfile 21:31:07 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:23 GOVERNANCE.md 21:31:07 -rw-rw-r-- 1 jenkins jenkins 681 Sep 12 21:23 Jenkinsfile 21:31:07 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 12 21:23 LICENSE 21:31:07 -rw-rw-r-- 1 jenkins jenkins 3139 Sep 12 21:23 Makefile 21:31:07 -rw-rw-r-- 1 jenkins jenkins 611 Sep 12 21:23 OWNERS.md 21:31:07 -rw-rw-r-- 1 jenkins jenkins 2363 Sep 12 21:23 README.md 21:31:07 -rw-rw-r-- 1 jenkins jenkins 7594 Sep 12 21:23 Record and Reply.postman_collection.json 21:31:07 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 21:20 VERSION 21:31:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:23 bin 21:31:07 -rw-r--r-- 1 jenkins jenkins 24552 Sep 12 21:29 coverage.out 21:31:07 -rw-rw-r-- 1 jenkins jenkins 3916 Sep 12 21:23 go.mod 21:31:07 -rw-rw-r-- 1 jenkins jenkins 34159 Sep 12 21:23 go.sum 21:31:07 drwxrwxr-x 7 jenkins jenkins 4096 Sep 12 21:23 internal 21:31:07 -rw-rw-r-- 1 jenkins jenkins 913 Sep 12 21:23 main.go 21:31:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:23 openapi 21:31:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:23 pkg 21:31:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:23 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:08 + 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=6115a198ddbadbbc7b91aec3ff43fce5bdb74432 --label arch=arm64 --label version=3.1.0-dev.45 . 21:31:08 Sending build context to Docker daemon 281.6kB 21:31:08 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 21:31:08 Step 2/26 : FROM ${BASE} AS builder 21:31:08 ---> a0b4774f0ccb 21:31:08 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:31:08 ---> Running in 8df1473d4e50 21:31:08 Removing intermediate container 8df1473d4e50 21:31:08 ---> c12c4eec1556 21:31:08 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:31:09 ---> Running in df68b3b8cab6 21:31:09 Removing intermediate container df68b3b8cab6 21:31:09 ---> e835f02933a3 21:31:09 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:31:09 ---> Running in 593cd1344a9c 21:31:09 Removing intermediate container 593cd1344a9c 21:31:09 ---> dc4acbd78600 21:31:09 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:09 ---> Running in e97ebf2eb4bc 21:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:31:12 OK: 267 MiB in 56 packages 21:31:13 Removing intermediate container e97ebf2eb4bc 21:31:13 ---> c4b89a28e003 21:31:13 Step 7/26 : WORKDIR /app 21:31:13 ---> Running in 9cee3412010e 21:31:13 Removing intermediate container 9cee3412010e 21:31:13 ---> a6ffaa8b3a49 21:31:13 Step 8/26 : COPY go.mod vendor* ./ 21:31:14 ---> 734ef2762fd0 21:31:14 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:14 ---> Running in 1bf73d1f5ec7 21:31:18 Removing intermediate container 1bf73d1f5ec7 21:31:18 ---> 1ff5ba34cb88 21:31:18 Step 10/26 : COPY . . 21:31:18 ---> 30e09238169a 21:31:18 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:31:18 ---> Running in aba248c61071 21:31:18 Removing intermediate container aba248c61071 21:31:18 ---> 75f9744240de 21:31:18 Step 12/26 : RUN $MAKE 21:31:18 ---> Running in f00db8821613 21:31:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.26 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.1.0-dev.45" -trimpath -mod=readonly -o app-record-replay 21:33:26 Removing intermediate container f00db8821613 21:33:26 ---> 82cd64eb152c 21:33:26 Step 13/26 : FROM alpine:3.18 21:33:26 3.18: Pulling from library/alpine 21:33:26 9fda8d8052c6: Already exists 21:33:26 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:33:26 Status: Downloaded newer image for alpine:3.18 21:33:26 ---> f6648c04cd6c 21:33:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:33:26 ---> Running in 064a30e0f8b4 21:33:26 Removing intermediate container 064a30e0f8b4 21:33:26 ---> e3e28b01b0a8 21:33:26 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:33:26 ---> Running in ece2d4db2011 21:33:26 Removing intermediate container ece2d4db2011 21:33:26 ---> 50ead2d89bd5 21:33:26 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:33:26 ---> Running in adb44befec51 21:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:33:26 (1/2) Installing ca-certificates (20230506-r0) 21:33:26 (2/2) Installing dumb-init (1.2.5-r2) 21:33:26 Executing busybox-1.36.1-r2.trigger 21:33:26 Executing ca-certificates-20230506-r0.trigger 21:33:26 OK: 9 MiB in 17 packages 21:33:26 Removing intermediate container adb44befec51 21:33:26 ---> 6b391e71843b 21:33:26 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:33:26 ---> b6895f27ec50 21:33:26 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:33:26 ---> 187c2803ce96 21:33:26 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:33:26 ---> 671b51c0e420 21:33:26 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:33:27 ---> ee642252d9a3 21:33:27 Step 21/26 : EXPOSE 59712 21:33:27 ---> Running in f304e15cd395 21:33:27 Removing intermediate container f304e15cd395 21:33:27 ---> d474218d62e7 21:33:27 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:33:27 ---> Running in 86f1018d5fde 21:33:27 Removing intermediate container 86f1018d5fde 21:33:27 ---> 6abb38c5a897 21:33:27 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:33:27 ---> Running in 1aab0cce4320 21:33:28 Removing intermediate container 1aab0cce4320 21:33:28 ---> 63b2c4993e36 21:33:28 Step 24/26 : LABEL arch=arm64 21:33:28 ---> Running in 48e4419609cd 21:33:28 Removing intermediate container 48e4419609cd 21:33:28 ---> d7bc6c14315f 21:33:28 Step 25/26 : LABEL git_sha=6115a198ddbadbbc7b91aec3ff43fce5bdb74432 21:33:28 ---> Running in a4282cd9559b 21:33:29 Removing intermediate container a4282cd9559b 21:33:29 ---> e750944ff991 21:33:29 Step 26/26 : LABEL version=3.1.0-dev.45 21:33:29 ---> Running in 5311254fd897 21:33:29 Removing intermediate container 5311254fd897 21:33:29 ---> aca64e6df548 21:33:29 [Warning] One or more build-args [ARCH] were not consumed 21:33:29 Successfully built aca64e6df548 21:33:29 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 21:33:29 provisioning config files... 21:33:29 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/49@tmp/config7843246200135084994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:30 ---> docker-login.sh 21:33:30 nexus3.edgexfoundry.org:10001 21:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:30 Configure a credential helper to remove this warning. See 21:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:30 21:33:30 Login Succeeded 21:33:30 nexus3.edgexfoundry.org:10002 21:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:30 Configure a credential helper to remove this warning. See 21:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:30 21:33:30 Login Succeeded 21:33:30 nexus3.edgexfoundry.org:10003 21:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:31 Configure a credential helper to remove this warning. See 21:33:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:31 21:33:31 Login Succeeded 21:33:31 nexus3.edgexfoundry.org:10004 21:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:31 Configure a credential helper to remove this warning. See 21:33:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:31 21:33:31 Login Succeeded 21:33:31 docker.io 21:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:31 Configure a credential helper to remove this warning. See 21:33:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:31 21:33:31 Login Succeeded 21:33:31 ---> docker-login.sh ends [Pipeline] } 21:33:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:33:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:32 [edgeXDocker.push] Tagging docker image app-record-replay-arm64 with the following tags: 21:33:32 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 21:33:32 latest 21:33:32 3.1.0-dev.45 21:33:32 6115a198ddbadbbc7b91aec3ff43fce5bdb74432-3.1.0-dev.45 21:33:32 main 21:33:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:32 + docker tag app-record-replay-arm64 nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6115a198ddbadbbc7b91aec3ff43fce5bdb74432 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:32 + docker push nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6115a198ddbadbbc7b91aec3ff43fce5bdb74432 21:33:32 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay-arm64] 21:33:32 fc886cc752cb: Preparing 21:33:32 5d9b5aa5de67: Preparing 21:33:32 9ed8b5af4734: Preparing 21:33:32 1c943ad0711c: Preparing 21:33:32 3deb508643c4: Preparing 21:33:32 b2191e2be29d: Preparing 21:33:32 b2191e2be29d: Waiting 21:33:33 5d9b5aa5de67: Pushed 21:33:33 9ed8b5af4734: Pushed 21:33:33 1c943ad0711c: Pushed 21:33:33 b2191e2be29d: Layer already exists 21:33:33 3deb508643c4: Pushed 21:33:38 fc886cc752cb: Pushed 21:33:38 6115a198ddbadbbc7b91aec3ff43fce5bdb74432: digest: sha256:b76e94fdfd0b39c92915e6c791510e441c7eed80daca19cd55edd5f355c40699 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:38 + 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 21:33:39 + docker push nexus3.edgexfoundry.org:10004/app-record-replay-arm64:latest 21:33:39 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay-arm64] 21:33:39 fc886cc752cb: Preparing 21:33:39 5d9b5aa5de67: Preparing 21:33:39 9ed8b5af4734: Preparing 21:33:39 1c943ad0711c: Preparing 21:33:39 3deb508643c4: Preparing 21:33:39 b2191e2be29d: Preparing 21:33:39 b2191e2be29d: Waiting 21:33:39 fc886cc752cb: Layer already exists 21:33:39 9ed8b5af4734: Layer already exists 21:33:39 5d9b5aa5de67: Layer already exists 21:33:39 1c943ad0711c: Layer already exists 21:33:39 3deb508643c4: Layer already exists 21:33:39 b2191e2be29d: Layer already exists 21:33:39 latest: digest: sha256:b76e94fdfd0b39c92915e6c791510e441c7eed80daca19cd55edd5f355c40699 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:39 + docker tag app-record-replay-arm64 nexus3.edgexfoundry.org:10004/app-record-replay-arm64:3.1.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:40 + docker push nexus3.edgexfoundry.org:10004/app-record-replay-arm64:3.1.0-dev.45 21:33:40 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay-arm64] 21:33:40 fc886cc752cb: Preparing 21:33:40 5d9b5aa5de67: Preparing 21:33:40 9ed8b5af4734: Preparing 21:33:40 1c943ad0711c: Preparing 21:33:40 3deb508643c4: Preparing 21:33:40 b2191e2be29d: Preparing 21:33:40 b2191e2be29d: Waiting 21:33:40 fc886cc752cb: Layer already exists 21:33:40 1c943ad0711c: Layer already exists 21:33:40 3deb508643c4: Layer already exists 21:33:40 9ed8b5af4734: Layer already exists 21:33:40 5d9b5aa5de67: Layer already exists 21:33:40 b2191e2be29d: Layer already exists 21:33:40 3.1.0-dev.45: digest: sha256:b76e94fdfd0b39c92915e6c791510e441c7eed80daca19cd55edd5f355c40699 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:40 + docker tag app-record-replay-arm64 nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6115a198ddbadbbc7b91aec3ff43fce5bdb74432-3.1.0-dev.45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:41 + docker push nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6115a198ddbadbbc7b91aec3ff43fce5bdb74432-3.1.0-dev.45 21:33:41 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay-arm64] 21:33:41 fc886cc752cb: Preparing 21:33:41 5d9b5aa5de67: Preparing 21:33:41 9ed8b5af4734: Preparing 21:33:41 1c943ad0711c: Preparing 21:33:41 3deb508643c4: Preparing 21:33:41 b2191e2be29d: Preparing 21:33:41 b2191e2be29d: Waiting 21:33:41 1c943ad0711c: Layer already exists 21:33:41 3deb508643c4: Layer already exists 21:33:41 fc886cc752cb: Layer already exists 21:33:41 5d9b5aa5de67: Layer already exists 21:33:41 9ed8b5af4734: Layer already exists 21:33:41 b2191e2be29d: Layer already exists 21:33:41 6115a198ddbadbbc7b91aec3ff43fce5bdb74432-3.1.0-dev.45: digest: sha256:b76e94fdfd0b39c92915e6c791510e441c7eed80daca19cd55edd5f355c40699 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:41 + 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 21:33:42 + docker push nexus3.edgexfoundry.org:10004/app-record-replay-arm64:main 21:33:42 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay-arm64] 21:33:42 fc886cc752cb: Preparing 21:33:42 5d9b5aa5de67: Preparing 21:33:42 9ed8b5af4734: Preparing 21:33:42 1c943ad0711c: Preparing 21:33:42 3deb508643c4: Preparing 21:33:42 b2191e2be29d: Preparing 21:33:42 b2191e2be29d: Waiting 21:33:42 9ed8b5af4734: Layer already exists 21:33:42 fc886cc752cb: Layer already exists 21:33:42 5d9b5aa5de67: Layer already exists 21:33:42 3deb508643c4: Layer already exists 21:33:42 1c943ad0711c: Layer already exists 21:33:42 b2191e2be29d: Layer already exists 21:33:42 main: digest: sha256:b76e94fdfd0b39c92915e6c791510e441c7eed80daca19cd55edd5f355c40699 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:33:42 ===================================================== [Pipeline] echo 21:33:42 taggedImages: 21:33:42 - nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6115a198ddbadbbc7b91aec3ff43fce5bdb74432 21:33:42 - nexus3.edgexfoundry.org:10004/app-record-replay-arm64:latest 21:33:42 - nexus3.edgexfoundry.org:10004/app-record-replay-arm64:3.1.0-dev.45 21:33:42 - nexus3.edgexfoundry.org:10004/app-record-replay-arm64:6115a198ddbadbbc7b91aec3ff43fce5bdb74432-3.1.0-dev.45 21:33:42 - 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 21:33:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:33:42 21:33:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:33:43 arm64: Pulling from edgex-lftools-log-publisher 21:33:43 8998bd30e6a1: Pulling fs layer 21:33:43 04944245beec: Pulling fs layer 21:33:43 699f458cf7ca: Pulling fs layer 21:33:43 765212b225bb: Pulling fs layer 21:33:43 f23df028b6ca: Pulling fs layer 21:33:43 d65c8cfc05b1: Pulling fs layer 21:33:43 2437ff75d9bd: Pulling fs layer 21:33:43 765212b225bb: Waiting 21:33:43 f23df028b6ca: Waiting 21:33:43 d65c8cfc05b1: Waiting 21:33:43 2437ff75d9bd: Waiting 21:33:43 04944245beec: Verifying Checksum 21:33:43 04944245beec: Download complete 21:33:43 765212b225bb: Verifying Checksum 21:33:43 765212b225bb: Download complete 21:33:43 f23df028b6ca: Verifying Checksum 21:33:43 f23df028b6ca: Download complete 21:33:43 d65c8cfc05b1: Verifying Checksum 21:33:43 d65c8cfc05b1: Download complete 21:33:43 699f458cf7ca: Verifying Checksum 21:33:43 699f458cf7ca: Download complete 21:33:44 8998bd30e6a1: Download complete 21:33:46 2437ff75d9bd: Verifying Checksum 21:33:46 2437ff75d9bd: Download complete 21:33:48 8998bd30e6a1: Pull complete 21:33:49 04944245beec: Pull complete 21:33:50 699f458cf7ca: Pull complete 21:33:51 765212b225bb: Pull complete 21:33:52 f23df028b6ca: Pull complete 21:33:52 d65c8cfc05b1: Pull complete 21:34:07 2437ff75d9bd: Pull complete 21:34:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:34:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:34:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:07 prd-ubuntu20.04-docker-arm64-4c-16g-5996 does not seem to be running inside a container 21:34:07 $ 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/49 -v /w/workspace/app-record-replay/49:/w/workspace/app-record-replay/49:rw,z -v /w/workspace/app-record-replay/49@tmp:/w/workspace/app-record-replay/49@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 21:34:10 $ docker top b502a31a870179014f03a42c9d47e8cb10148deb5de5020828b30b126733a6c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:10 ---> job-cost.sh 21:34:10 lf-activate-venv: SKIPPING 21:34:10 INFO: No Stack... 21:34:11 INFO: Retrieving Pricing Info for: v3-standard-4 21:34:12 INFO: Archiving Costs [Pipeline] sh 21:34:12 + cat /w/workspace/app-record-replay/49/archives/cost.csv 21:34:12 + cut -d, -f6 [Pipeline] lock 21:34:12 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-main-49-stack-cost] 21:34:12 Resource [jenkins-edgexfoundry-app-record-replay-main-49-stack-cost] did not exist. Created. 21:34:12 Lock acquired on [jenkins-edgexfoundry-app-record-replay-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:34:13 /w/workspace/app-record-replay/49@tmp/durable-db502eb0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:34:14 + echo total: 0.10999999940395355 [Pipeline] stash 21:34:14 Warning: overwriting stash ‘stack-cost’ 21:34:14 Stashed 1 file(s) [Pipeline] } 21:34:14 Lock released on resource [jenkins-edgexfoundry-app-record-replay-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 21:34:14 $ docker stop --time=1 b502a31a870179014f03a42c9d47e8cb10148deb5de5020828b30b126733a6c9 21:34:18 $ docker rm -f --volumes b502a31a870179014f03a42c9d47e8cb10148deb5de5020828b30b126733a6c9 [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 21:34:18 provisioning config files... 21:34:18 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config12442018953035182007tmp [Pipeline] { [Pipeline] sh 21:34:19 + set +x 21:34:19 + curl -s https://codecov.io/bash 21:34:19 + bash -s -- 21:34:19 21:34:19 _____ _ 21:34:19 / ____| | | 21:34:19 | | ___ __| | ___ ___ _____ __ 21:34:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:34:19 | |___| (_) | (_| | __/ (_| (_) \ V / 21:34:19 \_____\___/ \__,_|\___|\___\___/ \_/ 21:34:19 Bash-1.0.6 21:34:19 21:34:19 21:34:19 ==> git version 2.25.1 found 21:34:19 ==> 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 21:34:19 Release-Date: 2020-01-08 21:34:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:34:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:34:19 ==> Jenkins CI detected. 21:34:19 current dir:  /w/workspace/exfoundry_app-record-replay_main 21:34:19 project root: . 21:34:19 --> token set from env 21:34:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:34:19 ==> Running gcov in . (disable via -X gcov) 21:34:19 ==> Python coveragepy not found 21:34:19 ==> Searching for coverage reports in: 21:34:19 + . 21:34:19 -> Found 1 reports 21:34:19 ==> Detecting git/mercurial file structure 21:34:19 ==> Reading reports 21:34:19 + ./coverage.out bytes=24552 21:34:19 ==> Appending adjustments 21:34:19 https://docs.codecov.io/docs/fixing-reports 21:34:19 + Found adjustments 21:34:19 ==> Gzipping contents 21:34:19 8.0K /tmp/codecov.j4mpaf.gz 21:34:19 ==> Uploading reports 21:34:19 url: https://codecov.io 21:34:19 query: branch=main&commit=6115a198ddbadbbc7b91aec3ff43fce5bdb74432&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=&job=&cmd_args= 21:34:19 -> Pinging Codecov 21:34:19 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=6115a198ddbadbbc7b91aec3ff43fce5bdb74432&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=&job=&cmd_args= 21:34:19 -> Uploading to 21:34:19 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/F467761B9912B4F32F9BC62907045C81/6115a198ddbadbbc7b91aec3ff43fce5bdb74432/dbd149e4-417f-4dfb-850b-01af8262c894.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T213419Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9735ae0963b69cd4461658169737c6d054046f44fe28d17e513f3dbe1af50849 21:34:19 % Total % Received % Xferd Average Speed Time Time Time Current 21:34:19 Dload Upload Total Spent Left Speed 21:34:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4841 0 0 100 4841 0 23052 --:--:-- --:--:-- --:--:-- 23052 21:34:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/6115a198ddbadbbc7b91aec3ff43fce5bdb74432 [Pipeline] } 21:34:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:34:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:34:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:34:20 21:34:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:34:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:34:20 df9b9388f04a: Pulling fs layer 21:34:20 52dc419b0ee2: Pulling fs layer 21:34:20 25bc292e5bac: Pulling fs layer 21:34:20 114826534d7a: Pulling fs layer 21:34:20 4657fd5d0bcf: Pulling fs layer 21:34:20 6ad1cebc031e: Pulling fs layer 21:34:20 8a3aa393b2d8: Pulling fs layer 21:34:20 6ad1cebc031e: Waiting 21:34:20 114826534d7a: Waiting 21:34:20 8a3aa393b2d8: Waiting 21:34:20 4657fd5d0bcf: Waiting 21:34:20 25bc292e5bac: Verifying Checksum 21:34:20 25bc292e5bac: Download complete 21:34:20 52dc419b0ee2: Download complete 21:34:20 4657fd5d0bcf: Verifying Checksum 21:34:20 4657fd5d0bcf: Download complete 21:34:20 df9b9388f04a: Download complete 21:34:20 df9b9388f04a: Pull complete 21:34:20 52dc419b0ee2: Pull complete 21:34:20 6ad1cebc031e: Verifying Checksum 21:34:20 6ad1cebc031e: Download complete 21:34:21 25bc292e5bac: Pull complete 21:34:21 114826534d7a: Verifying Checksum 21:34:21 114826534d7a: Download complete 21:34:21 8a3aa393b2d8: Verifying Checksum 21:34:21 8a3aa393b2d8: Download complete 21:34:24 114826534d7a: Pull complete 21:34:24 4657fd5d0bcf: Pull complete 21:34:24 6ad1cebc031e: Pull complete 21:34:27 8a3aa393b2d8: Pull complete 21:34:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:34:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:34:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:27 prd-ubuntu20.04-docker-8c-8g-5994 does not seem to be running inside a container 21:34:27 $ 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 21:34:32 $ docker top e52d7b435c3ebe16982fba682151303e9871082a09c0b11097eb63d013e73e62 -eo pid,comm [Pipeline] { [Pipeline] echo 21:34:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/app-record-replay:main' [Pipeline] sh 21:34:32 + set -o pipefail 21:34:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/app-record-replay:main' 21:34:37 21:34:37 Monitoring /w/workspace/exfoundry_app-record-replay_main (github.com/edgexfoundry/app-record-replay)... 21:34:37 21:34:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/117236b2-a4f5-43c5-8b9f-1eb0bbdb5478/history/a49b915c-7707-4e9b-9735-cbfc14cb57e3 21:34:37 21:34:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:34:37 21:34:38 21:34:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:34:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:34:38 More details here: https://snyk.co/ue1NS 21:34:38 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 21:34:38 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:34:38 $ docker stop --time=1 e52d7b435c3ebe16982fba682151303e9871082a09c0b11097eb63d013e73e62 21:34:41 $ docker rm -f --volumes e52d7b435c3ebe16982fba682151303e9871082a09c0b11097eb63d013e73e62 [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 21:34:42 + git log --format=format:%s -1 6115a198ddbadbbc7b91aec3ff43fce5bdb74432 [Pipeline] sh 21:34:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:34:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:34:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:43 prd-ubuntu20.04-docker-8c-8g-5994 does not seem to be running inside a container 21:34:43 $ 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 21:34:43 $ docker top 052ec8555fbd643ab0708dca7989530ee47c003257d10c35c0564af9d19e1a90 -eo pid,comm 21:34:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:34:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:34:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:34:43 [ssh-agent] Looking for ssh-agent implementation... 21:34:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:34:43 $ docker exec 052ec8555fbd643ab0708dca7989530ee47c003257d10c35c0564af9d19e1a90 ssh-agent 21:34:43 SSH_AUTH_SOCK=/tmp/ssh-MarIoxPkHGha/agent.32 21:34:43 SSH_AGENT_PID=38 21:34:43 Running ssh-add (command line suppressed) 21:34:44 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_13399423893253854884.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_13399423893253854884.key) 21:34:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:34:44 + git semver tag 21:34:44 2023-09-12 21:34:44,514 [run_tag] DEBUG tag force:False 21:34:44 2023-09-12 21:34:44,514 [check_head_tag] DEBUG check head tag 21:34:44 2023-09-12 21:34:44,515 [execute] INFO git cat-file --batch-check 21:34:44 2023-09-12 21:34:44,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_app-record-replay_main, universal_newlines=False, shell=None, istream=) 21:34:44 2023-09-12 21:34:44,519 [execute] INFO git cat-file --batch 21:34:44 2023-09-12 21:34:44,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_app-record-replay_main, universal_newlines=False, shell=None, istream=) 21:34:44 2023-09-12 21:34:44,533 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 21:34:44 2023-09-12 21:34:44,533 [execute] INFO git tag -a v3.1.0-dev.45 -m v3.1.0-dev.45 21:34:44 2023-09-12 21:34:44,533 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.45', '-m', 'v3.1.0-dev.45'], cwd=/w/workspace/exfoundry_app-record-replay_main, universal_newlines=False, shell=None, istream=None) 21:34:44 2023-09-12 21:34:44,537 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 21:34:44 3.1.0-dev.45 [Pipeline] } 21:34:44 $ docker exec --env ******** --env ******** 052ec8555fbd643ab0708dca7989530ee47c003257d10c35c0564af9d19e1a90 ssh-agent -k 21:34:44 unset SSH_AUTH_SOCK; 21:34:44 unset SSH_AGENT_PID; 21:34:44 echo Agent pid 38 killed; 21:34:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:34:45 + git semver [Pipeline] } 21:34:45 $ docker stop --time=1 052ec8555fbd643ab0708dca7989530ee47c003257d10c35c0564af9d19e1a90 21:34:46 $ docker rm -f --volumes 052ec8555fbd643ab0708dca7989530ee47c003257d10c35c0564af9d19e1a90 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:34:47 21:34:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:34:47 0.23.1-centos7: Pulling from edgex-lftools 21:34:47 ab5ef0e58194: Pulling fs layer 21:34:47 9712f1f96733: Pulling fs layer 21:34:47 63f879dbbcfc: Pulling fs layer 21:34:47 0d9ebad4ef96: Pulling fs layer 21:34:47 e9a5061849ea: Pulling fs layer 21:34:47 d747dcd14b5f: Pulling fs layer 21:34:47 2de7ff778b66: Pulling fs layer 21:34:47 0d9ebad4ef96: Waiting 21:34:47 e9a5061849ea: Waiting 21:34:47 d747dcd14b5f: Waiting 21:34:47 2de7ff778b66: Waiting 21:34:47 9712f1f96733: Download complete 21:34:47 63f879dbbcfc: Verifying Checksum 21:34:47 63f879dbbcfc: Download complete 21:34:48 e9a5061849ea: Verifying Checksum 21:34:48 e9a5061849ea: Download complete 21:34:48 0d9ebad4ef96: Verifying Checksum 21:34:48 0d9ebad4ef96: Download complete 21:34:48 d747dcd14b5f: Verifying Checksum 21:34:48 d747dcd14b5f: Download complete 21:34:48 ab5ef0e58194: Verifying Checksum 21:34:48 ab5ef0e58194: Download complete 21:34:48 2de7ff778b66: Verifying Checksum 21:34:48 2de7ff778b66: Download complete 21:34:50 ab5ef0e58194: Pull complete 21:34:50 9712f1f96733: Pull complete 21:34:51 63f879dbbcfc: Pull complete 21:34:54 0d9ebad4ef96: Pull complete 21:34:54 e9a5061849ea: Pull complete 21:34:54 d747dcd14b5f: Pull complete 21:34:55 2de7ff778b66: Pull complete 21:34:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:34:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:34:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:55 prd-ubuntu20.04-docker-8c-8g-5994 does not seem to be running inside a container 21:34:55 $ 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 21:35:00 $ docker top 1ed36ca304662f19641d449802c75ef6081c04d49d6365735487d69378fb1b2b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:35:00 provisioning config files... 21:35:00 copy managed file [sigul-config] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config9589298776822836924tmp 21:35:00 copy managed file [sigul-password] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config2115439735450087556tmp 21:35:00 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config11556499586997994512tmp [Pipeline] { [Pipeline] echo 21:35:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:35:00 ---> sigul-configuration.sh 21:35:00 gpg: directory `/root/.gnupg' created 21:35:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:35:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:35:00 gpg: keyring `/root/.gnupg/secring.gpg' created 21:35:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:35:00 gpg: CAST5 encrypted data 21:35:00 gpg: encrypted with 1 passphrase 21:35:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:35:01 + mkdir /home/jenkins 21:35:01 + mkdir /home/jenkins/sigul [Pipeline] sh 21:35:01 + 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 21:35:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:35:01 ---> sigul-install.sh 21:35:01 Sigul already installed; skipping installation. [Pipeline] sh 21:35:01 + git tag --list 21:35:01 v3.1.0-dev.0 21:35:01 v3.1.0-dev.1 21:35:01 v3.1.0-dev.10 21:35:01 v3.1.0-dev.11 21:35:01 v3.1.0-dev.12 21:35:01 v3.1.0-dev.13 21:35:01 v3.1.0-dev.14 21:35:01 v3.1.0-dev.15 21:35:01 v3.1.0-dev.16 21:35:01 v3.1.0-dev.17 21:35:01 v3.1.0-dev.18 21:35:01 v3.1.0-dev.19 21:35:01 v3.1.0-dev.2 21:35:01 v3.1.0-dev.20 21:35:01 v3.1.0-dev.21 21:35:01 v3.1.0-dev.22 21:35:01 v3.1.0-dev.23 21:35:01 v3.1.0-dev.24 21:35:01 v3.1.0-dev.25 21:35:01 v3.1.0-dev.26 21:35:01 v3.1.0-dev.27 21:35:01 v3.1.0-dev.28 21:35:01 v3.1.0-dev.29 21:35:01 v3.1.0-dev.3 21:35:01 v3.1.0-dev.30 21:35:01 v3.1.0-dev.31 21:35:01 v3.1.0-dev.32 21:35:01 v3.1.0-dev.33 21:35:01 v3.1.0-dev.34 21:35:01 v3.1.0-dev.35 21:35:01 v3.1.0-dev.36 21:35:01 v3.1.0-dev.37 21:35:01 v3.1.0-dev.38 21:35:01 v3.1.0-dev.39 21:35:01 v3.1.0-dev.4 21:35:01 v3.1.0-dev.40 21:35:01 v3.1.0-dev.41 21:35:01 v3.1.0-dev.42 21:35:01 v3.1.0-dev.43 21:35:01 v3.1.0-dev.44 21:35:01 v3.1.0-dev.45 21:35:01 v3.1.0-dev.5 21:35:01 v3.1.0-dev.6 21:35:01 v3.1.0-dev.7 21:35:01 v3.1.0-dev.8 21:35:01 v3.1.0-dev.9 [Pipeline] sh 21:35:02 + lftools sign git-tag v3.1.0-dev.45 21:35:02 Signing Git tag with Sigul... 21:35:02 Signing v3.1.0-dev.45 [Pipeline] echo 21:35:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:35:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:35:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:35:03 $ docker stop --time=1 1ed36ca304662f19641d449802c75ef6081c04d49d6365735487d69378fb1b2b 21:35:04 $ docker rm -f --volumes 1ed36ca304662f19641d449802c75ef6081c04d49d6365735487d69378fb1b2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:35:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:35:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:35:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:05 prd-ubuntu20.04-docker-8c-8g-5994 does not seem to be running inside a container 21:35:05 $ 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 21:35:05 $ docker top cec75b233751e4767ad4f544b28ae313ad91199ccc47259d8b53ea0ad4195eca -eo pid,comm 21:35:05 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:35:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:35:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:35:05 [ssh-agent] Looking for ssh-agent implementation... 21:35:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:35:06 $ docker exec cec75b233751e4767ad4f544b28ae313ad91199ccc47259d8b53ea0ad4195eca ssh-agent 21:35:06 SSH_AUTH_SOCK=/tmp/ssh-YGwLNx9WPCkT/agent.33 21:35:06 SSH_AGENT_PID=39 21:35:06 Running ssh-add (command line suppressed) 21:35:06 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_418848658608723202.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_418848658608723202.key) 21:35:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:35:06 + git semver bump pre 21:35:06 2023-09-12 21:35:06,727 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 21:35:06 2023-09-12 21:35:06,728 [bump_version] DEBUG bumping version:3.1.0-dev.45 on axis:pre with prefix:dev 21:35:06 2023-09-12 21:35:06,728 [bump_version] DEBUG bumped version:3.1.0-dev.46 21:35:06 2023-09-12 21:35:06,728 [write_version] DEBUG write version:3.1.0-dev.46 to path:/w/workspace/exfoundry_app-record-replay_main/.semver/main with force:True 21:35:06 2023-09-12 21:35:06,728 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 21:35:06 2023-09-12 21:35:06,728 [write_file] DEBUG write to file:/w/workspace/exfoundry_app-record-replay_main/.semver/main 21:35:06 2023-09-12 21:35:06,730 [execute] INFO git cat-file --batch-check 21:35:06 2023-09-12 21:35:06,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=False, shell=None, istream=) 21:35:06 2023-09-12 21:35:06,736 [execute] INFO git cat-file --batch 21:35:06 2023-09-12 21:35:06,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=False, shell=None, istream=) 21:35:06 2023-09-12 21:35:06,742 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 21:35:06 3.1.0-dev.46 [Pipeline] } 21:35:06 $ docker exec --env ******** --env ******** cec75b233751e4767ad4f544b28ae313ad91199ccc47259d8b53ea0ad4195eca ssh-agent -k 21:35:06 unset SSH_AUTH_SOCK; 21:35:06 unset SSH_AGENT_PID; 21:35:06 echo Agent pid 39 killed; 21:35:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:35:07 + git semver [Pipeline] } 21:35:07 $ docker stop --time=1 cec75b233751e4767ad4f544b28ae313ad91199ccc47259d8b53ea0ad4195eca 21:35:08 $ docker rm -f --volumes cec75b233751e4767ad4f544b28ae313ad91199ccc47259d8b53ea0ad4195eca [Pipeline] // withDockerContainer [Pipeline] sh 21:35:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:35:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:35:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:09 prd-ubuntu20.04-docker-8c-8g-5994 does not seem to be running inside a container 21:35:09 $ 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 21:35:09 $ docker top ff20e98cef5b5d5e3e50e1b587abd2ce34841fa4586e156d6872827c928f3a5a -eo pid,comm 21:35:09 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:35:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:35:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:35:09 [ssh-agent] Looking for ssh-agent implementation... 21:35:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:35:10 $ docker exec ff20e98cef5b5d5e3e50e1b587abd2ce34841fa4586e156d6872827c928f3a5a ssh-agent 21:35:10 SSH_AUTH_SOCK=/tmp/ssh-EDv9jQmG7Fht/agent.32 21:35:10 SSH_AGENT_PID=38 21:35:10 Running ssh-add (command line suppressed) 21:35:10 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_15405193956546842230.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_15405193956546842230.key) 21:35:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:35:10 + git semver push 21:35:10 2023-09-12 21:35:10,737 [run_push] DEBUG push 21:35:10 2023-09-12 21:35:10,738 [execute] INFO git cat-file --batch-check 21:35:10 2023-09-12 21:35:10,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=False, shell=None, istream=) 21:35:10 2023-09-12 21:35:10,742 [execute] INFO git rev-list a3e96dd6c13e089877fbf36a1a9d5f771f254f50 -- 21:35:10 2023-09-12 21:35:10,742 [execute] DEBUG Popen(['git', 'rev-list', 'a3e96dd6c13e089877fbf36a1a9d5f771f254f50', '--'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=False, shell=None, istream=None) 21:35:10 2023-09-12 21:35:10,749 [execute] INFO git fetch -v origin 21:35:10 2023-09-12 21:35:10,749 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=True, shell=None, istream=None) 21:35:11 2023-09-12 21:35:11,224 [run_push] DEBUG no remote changes detected 21:35:11 2023-09-12 21:35:11,224 [execute] INFO git push origin semver 21:35:11 2023-09-12 21:35:11,224 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_app-record-replay_main/.semver, universal_newlines=False, shell=None, istream=None) 21:35:12 2023-09-12 21:35:12,206 [run_push] DEBUG push all version tags 21:35:12 2023-09-12 21:35:12,207 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:35:12 2023-09-12 21:35:12,207 [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) 21:35:13 2023-09-12 21:35:12,964 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 21:35:13 3.1.0-dev.46 [Pipeline] } 21:35:13 $ docker exec --env ******** --env ******** ff20e98cef5b5d5e3e50e1b587abd2ce34841fa4586e156d6872827c928f3a5a ssh-agent -k 21:35:13 unset SSH_AUTH_SOCK; 21:35:13 unset SSH_AGENT_PID; 21:35:13 echo Agent pid 38 killed; 21:35:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:35:13 + git semver [Pipeline] } 21:35:13 $ docker stop --time=1 ff20e98cef5b5d5e3e50e1b587abd2ce34841fa4586e156d6872827c928f3a5a 21:35:15 $ docker rm -f --volumes ff20e98cef5b5d5e3e50e1b587abd2ce34841fa4586e156d6872827c928f3a5a [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 21:35:15 + [ -d /w/workspace/exfoundry_app-record-replay_main/archives ] 21:35:15 + ls -al /w/workspace/exfoundry_app-record-replay_main/archives 21:35:15 total 16 21:35:15 drwxr-xr-x 3 root root 4096 Sep 12 21:23 . 21:35:15 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 21:35 .. 21:35:15 drwxr-xr-x 2 root root 4096 Sep 12 21:23 cost 21:35:15 -rw-r--r-- 1 root root 88 Sep 12 21:23 cost.csv 21:35:15 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_app-record-replay_main/archives 21:35:15 + ls -al /w/workspace/exfoundry_app-record-replay_main/archives 21:35:15 total 16 21:35:15 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:23 . 21:35:15 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 21:35 .. 21:35:15 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 21:23 cost 21:35:15 -rw-r--r-- 1 jenkins jenkins 88 Sep 12 21:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:35:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:35:16 ---> package-listing.sh 21:35:16 ++ facter osfamily 21:35:16 ++ tr '[:upper:]' '[:lower:]' 21:35:17 + OS_FAMILY=debian 21:35:17 + workspace=/w/workspace/exfoundry_app-record-replay_main 21:35:17 + START_PACKAGES=/tmp/packages_start.txt 21:35:17 + END_PACKAGES=/tmp/packages_end.txt 21:35:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:35:17 + PACKAGES=/tmp/packages_start.txt 21:35:17 + '[' /w/workspace/exfoundry_app-record-replay_main ']' 21:35:17 + PACKAGES=/tmp/packages_end.txt 21:35:17 + case "${OS_FAMILY}" in 21:35:17 + dpkg -l 21:35:17 + grep '^ii' 21:35:17 + '[' -f /tmp/packages_start.txt ']' 21:35:17 + '[' -f /tmp/packages_end.txt ']' 21:35:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:35:17 + '[' /w/workspace/exfoundry_app-record-replay_main ']' 21:35:17 + mkdir -p /w/workspace/exfoundry_app-record-replay_main/archives/ 21:35:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_app-record-replay_main/archives/ [Pipeline] echo 21:35:17 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 21:35:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:35:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:35:18 prd-ubuntu20.04-docker-8c-8g-5994 does not seem to be running inside a container 21:35:18 $ 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 21:35:18 $ docker top 08c8c0211c00722a24f9b00f147ed4db1f69614debe999d990d043495cf212ca -eo pid,comm [Pipeline] { [Pipeline] sh 21:35:18 + touch /tmp/pre-build-complete [Pipeline] sh 21:35:18 + mkdir -p /var/log/sysstat [Pipeline] sh 21:35:19 + ls /var/log/sa-host 21:35:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:35:19 provisioning config files... 21:35:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config13811386976798792073tmp [Pipeline] { [Pipeline] echo 21:35:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:35:19 ---> create-netrc.sh [Pipeline] } 21:35:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:35:19 ---> python-tools-install.sh [Pipeline] echo 21:35:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:35:20 ---> sudo-logs.sh 21:35:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:35:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:35:20 ---> job-cost.sh 21:35:20 lf-activate-venv: SKIPPING 21:35:20 DEBUG: total: 0.2199999988079071 21:35:20 INFO: Retrieving Stack Cost... 21:35:20 INFO: Retrieving Pricing Info for: v3-standard-8 21:35:21 INFO: Archiving Costs [Pipeline] echo 21:35:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:35:21 ---> logs-deploy.sh 21:35:21 lf-activate-venv: SKIPPING 21:35:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/main/49 21:35:21 INFO: archiving workspace using pattern(s): 21:35:22 Archives upload complete. 21:35:22 INFO: archiving logs to Nexus