Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 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-ssh14591179384721884503.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-ssh9802605677367071693.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-ssh1696198403056286752.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-ssh5361985491971253868.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-ssh2422919431096325705.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 ‘prd-ubuntu20.04-docker-8c-8g-7968’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7970 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 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 (main) Commit message: "Merge pull request #85 from ejlee3/refactor-controller-returns" > 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 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 # timeout=10 > git rev-list --no-walk 5c17f66baf3a56b007ff484558f5ea5bce0deaa7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:46:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:46:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:46:05 ========================================================= 18:46:05 EdgeX Global Pipelines Version Info 18:46:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:46:06 ------------------- 18:46:06 stable info: 18:46:06 ------------------- 18:46:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:46:06 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:46:06 Message: update stable to v1.0.254 18:46:07 ------------------- 18:46:07 experimental info: 18:46:07 ------------------- 18:46:07 Commited By: **** collab-it+edgex@linuxfoundation.org 18:46:07 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:46:07 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:46:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 18:46:07 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 18:46:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:46:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:46:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:46:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1fdeb90 [Pipeline] echo 18:46:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:08 provisioning config files... 18:46:08 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config17199852711105746251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:08 ---> docker-login.sh 18:46:08 nexus3.edgexfoundry.org:10001 18:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:09 Configure a credential helper to remove this warning. See 18:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:09 18:46:09 Login Succeeded 18:46:09 nexus3.edgexfoundry.org:10002 18:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:09 Configure a credential helper to remove this warning. See 18:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:09 18:46:09 Login Succeeded 18:46:09 nexus3.edgexfoundry.org:10003 18:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:09 Configure a credential helper to remove this warning. See 18:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:09 18:46:09 Login Succeeded 18:46:09 nexus3.edgexfoundry.org:10004 18:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:09 Configure a credential helper to remove this warning. See 18:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:09 18:46:09 Login Succeeded 18:46:09 docker.io 18:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:09 Configure a credential helper to remove this warning. See 18:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:09 18:46:09 Login Succeeded 18:46:09 ---> docker-login.sh ends [Pipeline] } 18:46:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:46:10 + git rev-list -1 --merges 1fdeb901fb6c5cc528de28f8a49385302db9cbf4~1..1fdeb901fb6c5cc528de28f8a49385302db9cbf4 [Pipeline] echo 18:46:10 -----------> git rev-list -1 --merges 1fdeb901fb6c5cc528de28f8a49385302db9cbf4~1..1fdeb901fb6c5cc528de28f8a49385302db9cbf4 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 18:46:10 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 [false] [Pipeline] sh 18:46:10 + git log --format=format:%s -1 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 [Pipeline] echo 18:46:10 ========================================================= 18:46:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:46:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:10 + git log --format=format:%s -1 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 [Pipeline] echo 18:46:10 [semverPrep] GIT_COMMIT: 1fdeb901fb6c5cc528de28f8a49385302db9cbf4, Commit Message: Merge pull request #85 from ejlee3/refactor-controller-returns [Pipeline] echo 18:46:10 [semverPrep] This is not a build commit. [Pipeline] sh 18:46:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:46:11 + grep -v github /etc/ssh/ssh_known_hosts 18:46:11 + [ -e /tmp/ssh_known_hosts ] 18:46:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:46:11 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 18:46:11 -a /etc/ssh/ssh_known_hosts 18:46:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:11 18:46:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:11 0.1.4: Pulling from edgex-devops/py-git-semver 18:46:11 b85a868b505f: Pulling fs layer 18:46:11 e2be974225ed: Pulling fs layer 18:46:11 339a4e72a1f5: Pulling fs layer 18:46:11 988bab9f4d93: Pulling fs layer 18:46:11 1469e6f7b9e6: Pulling fs layer 18:46:11 eaf3925da568: Pulling fs layer 18:46:11 bab4dde63d76: Pulling fs layer 18:46:11 bde34c3a00c8: Pulling fs layer 18:46:11 b352a97aabf1: Pulling fs layer 18:46:11 4872d77fe225: Pulling fs layer 18:46:11 5851b861e8e6: Pulling fs layer 18:46:11 bde34c3a00c8: Waiting 18:46:11 1469e6f7b9e6: Waiting 18:46:11 eaf3925da568: Waiting 18:46:11 b352a97aabf1: Waiting 18:46:11 bab4dde63d76: Waiting 18:46:11 5851b861e8e6: Waiting 18:46:11 e2be974225ed: Download complete 18:46:11 988bab9f4d93: Verifying Checksum 18:46:11 988bab9f4d93: Download complete 18:46:11 1469e6f7b9e6: Verifying Checksum 18:46:11 1469e6f7b9e6: Download complete 18:46:11 eaf3925da568: Verifying Checksum 18:46:11 eaf3925da568: Download complete 18:46:11 339a4e72a1f5: Verifying Checksum 18:46:11 339a4e72a1f5: Download complete 18:46:12 bde34c3a00c8: Verifying Checksum 18:46:12 bde34c3a00c8: Download complete 18:46:12 b352a97aabf1: Download complete 18:46:12 4872d77fe225: Verifying Checksum 18:46:12 4872d77fe225: Download complete 18:46:12 5851b861e8e6: Download complete 18:46:12 b85a868b505f: Verifying Checksum 18:46:12 b85a868b505f: Download complete 18:46:12 bab4dde63d76: Verifying Checksum 18:46:12 bab4dde63d76: Download complete 18:46:13 b85a868b505f: Pull complete 18:46:13 e2be974225ed: Pull complete 18:46:14 339a4e72a1f5: Pull complete 18:46:14 988bab9f4d93: Pull complete 18:46:14 1469e6f7b9e6: Pull complete 18:46:14 eaf3925da568: Pull complete 18:46:15 bab4dde63d76: Pull complete 18:46:16 bde34c3a00c8: Pull complete 18:46:16 b352a97aabf1: Pull complete 18:46:16 4872d77fe225: Pull complete 18:46:16 5851b861e8e6: Pull complete 18:46:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:46:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:16 prd-ubuntu20.04-docker-8c-8g-7970 does not seem to be running inside a container 18:46:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:46:18 $ docker top c991cb1a2daf1345110b35f5bf027a007cf3b5b1be5bc3ae737378033dc440ed -eo pid,comm 18:46:18 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). 18:46:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:46:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:19 [ssh-agent] Looking for ssh-agent implementation... 18:46:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:19 $ docker exec c991cb1a2daf1345110b35f5bf027a007cf3b5b1be5bc3ae737378033dc440ed ssh-agent 18:46:19 SSH_AUTH_SOCK=/tmp/ssh-la7HiPBjsjDq/agent.33 18:46:19 SSH_AGENT_PID=39 18:46:19 Running ssh-add (command line suppressed) 18:46:19 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_8332096235664342113.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_8332096235664342113.key) 18:46:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:19 + git tag --points-at HEAD [Pipeline] } 18:46:19 $ docker exec --env ******** --env ******** c991cb1a2daf1345110b35f5bf027a007cf3b5b1be5bc3ae737378033dc440ed ssh-agent -k 18:46:19 unset SSH_AUTH_SOCK; 18:46:19 unset SSH_AGENT_PID; 18:46:19 echo Agent pid 39 killed; 18:46:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:46:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:19 [ssh-agent] Looking for ssh-agent implementation... 18:46:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:19 $ docker exec c991cb1a2daf1345110b35f5bf027a007cf3b5b1be5bc3ae737378033dc440ed ssh-agent 18:46:20 SSH_AUTH_SOCK=/tmp/ssh-NqxlyRNA0AfK/agent.71 18:46:20 SSH_AGENT_PID=77 18:46:20 Running ssh-add (command line suppressed) 18:46:20 Identity added: /w/workspace/exfoundry_app-record-replay_main@tmp/private_key_15270641091116500522.key (/w/workspace/exfoundry_app-record-replay_main@tmp/private_key_15270641091116500522.key) 18:46:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:20 + git semver init 18:46:20 2023-09-26 18:46:20,648 [run_init] DEBUG init version:0.0.0 force:False 18:46:20 2023-09-26 18:46:20,648 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_app-record-replay_main/.semver 18:46:20 2023-09-26 18:46:20,649 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/exfoundry_app-record-replay_main/.semver 18:46:20 2023-09-26 18:46:20,649 [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) 18:46:21 2023-09-26 18:46:21,377 [append_file] DEBUG append to file:/w/workspace/exfoundry_app-record-replay_main/.git/info/exclude 18:46:21 2023-09-26 18:46:21,378 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_app-record-replay_main/.semver/main with force:False 18:46:21 2023-09-26 18:46:21,378 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 18:46:21 2023-09-26 18:46:21,378 [read_version] DEBUG read version from /w/workspace/exfoundry_app-record-replay_main/.semver/main 18:46:21 3.1.0-dev.52 [Pipeline] } 18:46:21 $ docker exec --env ******** --env ******** c991cb1a2daf1345110b35f5bf027a007cf3b5b1be5bc3ae737378033dc440ed ssh-agent -k 18:46:21 unset SSH_AUTH_SOCK; 18:46:21 unset SSH_AGENT_PID; 18:46:21 echo Agent pid 77 killed; 18:46:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:46:22 + git semver [Pipeline] } 18:46:22 $ docker stop --time=1 c991cb1a2daf1345110b35f5bf027a007cf3b5b1be5bc3ae737378033dc440ed 18:46:23 $ docker rm -f --volumes c991cb1a2daf1345110b35f5bf027a007cf3b5b1be5bc3ae737378033dc440ed [Pipeline] // withDockerContainer [Pipeline] sh 18:46:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:46:24 Stashed 1 file(s) [Pipeline] echo 18:46:24 [edgeXSemver]: initialized semver on version 3.1.0-dev.52 [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 18:46:24 provisioning config files... 18:46:24 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config9495999845175670123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:24 ---> docker-login.sh 18:46:24 nexus3.edgexfoundry.org:10001 18:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:24 Configure a credential helper to remove this warning. See 18:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:24 18:46:24 Login Succeeded 18:46:24 nexus3.edgexfoundry.org:10002 18:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:24 Configure a credential helper to remove this warning. See 18:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:24 18:46:24 Login Succeeded 18:46:24 nexus3.edgexfoundry.org:10003 18:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:24 Configure a credential helper to remove this warning. See 18:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:24 18:46:24 Login Succeeded 18:46:24 nexus3.edgexfoundry.org:10004 18:46:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:24 Configure a credential helper to remove this warning. See 18:46:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:24 18:46:24 Login Succeeded 18:46:24 docker.io 18:46:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:46:25 Configure a credential helper to remove this warning. See 18:46:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:46:25 18:46:25 Login Succeeded 18:46:25 ---> docker-login.sh ends [Pipeline] } 18:46:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:46:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:46:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:46:25 ========================================================= 18:46:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:46:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:25 + 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 . 18:46:25 Sending build context to Docker daemon 596kB 18:46:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:46:25 Step 2/12 : FROM ${BASE} AS builder 18:46:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:46:25 7264a8db6415: Pulling fs layer 18:46:25 c4d48a809fc2: Pulling fs layer 18:46:25 4f1c88b9dad5: Pulling fs layer 18:46:25 ad3a456e5733: Pulling fs layer 18:46:25 33e27b845d1e: Pulling fs layer 18:46:25 c68163c4e522: Pulling fs layer 18:46:25 50da416c3ac9: Pulling fs layer 18:46:25 23d2d4c4bb30: Pulling fs layer 18:46:25 c68163c4e522: Waiting 18:46:25 23d2d4c4bb30: Waiting 18:46:25 ad3a456e5733: Waiting 18:46:25 50da416c3ac9: Waiting 18:46:25 c4d48a809fc2: Verifying Checksum 18:46:25 c4d48a809fc2: Download complete 18:46:25 ad3a456e5733: Download complete 18:46:25 33e27b845d1e: Verifying Checksum 18:46:25 33e27b845d1e: Download complete 18:46:25 7264a8db6415: Verifying Checksum 18:46:25 7264a8db6415: Download complete 18:46:26 c68163c4e522: Verifying Checksum 18:46:26 c68163c4e522: Download complete 18:46:26 7264a8db6415: Pull complete 18:46:26 23d2d4c4bb30: Verifying Checksum 18:46:26 23d2d4c4bb30: Download complete 18:46:26 c4d48a809fc2: Pull complete 18:46:26 4f1c88b9dad5: Verifying Checksum 18:46:26 4f1c88b9dad5: Download complete 18:46:26 50da416c3ac9: Verifying Checksum 18:46:26 50da416c3ac9: Download complete 18:46:30 4f1c88b9dad5: Pull complete 18:46:30 ad3a456e5733: Pull complete 18:46:30 33e27b845d1e: Pull complete 18:46:30 c68163c4e522: Pull complete 18:46:32 50da416c3ac9: Pull complete 18:46:32 23d2d4c4bb30: Pull complete 18:46:32 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:46:32 ---> 0786185ac409 18:46:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:46:37 ---> Running in b7a1b6694080 18:46:37 Removing intermediate container b7a1b6694080 18:46:37 ---> 63d8276225d0 18:46:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:46:37 ---> Running in 3e7beeeffa52 18:46:37 Removing intermediate container 3e7beeeffa52 18:46:37 ---> f6d822894908 18:46:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:46:37 ---> Running in ee1b6c05193c 18:46:37 Removing intermediate container ee1b6c05193c 18:46:37 ---> 31179a53f140 18:46:37 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:46:37 ---> Running in a86911a93770 18:46:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:46:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:46:37 OK: 264 MiB in 52 packages 18:46:38 Removing intermediate container a86911a93770 18:46:38 ---> 78ed7422c632 18:46:38 Step 7/12 : WORKDIR /app 18:46:38 ---> Running in 472c3b862736 18:46:38 Removing intermediate container 472c3b862736 18:46:38 ---> 6a679bb36553 18:46:38 Step 8/12 : COPY go.mod vendor* ./ 18:46:38 ---> c1743ddc6bbb 18:46:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:38 ---> Running in ff2c29fda5ab 18:46:39 Still waiting to schedule task 18:46:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:47:16 Removing intermediate container ff2c29fda5ab 18:47:16 ---> c5ab1ddac2f5 18:47:16 Step 10/12 : COPY . . 18:47:16 ---> 603d446df0ac 18:47:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:47:16 ---> Running in a45b68a78a3c 18:47:16 Removing intermediate container a45b68a78a3c 18:47:16 ---> aca1f019616a 18:47:16 Step 12/12 : RUN $MAKE 18:47:16 ---> Running in 8849cc41f5f9 18:47:16 noop 18:47:16 Removing intermediate container 8849cc41f5f9 18:47:16 ---> 2007e06a09a4 18:47:16 Successfully built 2007e06a09a4 18:47:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:17 + docker inspect -f . ci-base-image-x86_64 18:47:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:17 prd-ubuntu20.04-docker-8c-8g-7970 does not seem to be running inside a container 18:47:17 $ 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 ******** ci-base-image-x86_64 cat 18:47:17 $ docker top d6986b2f43be98620d803cfe82df6a48ce89dfc7307168331b4eeddaf79a8133 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:18 + go version 18:47:18 go version go1.21.0 linux/amd64 [Pipeline] } 18:47:18 $ docker stop --time=1 d6986b2f43be98620d803cfe82df6a48ce89dfc7307168331b4eeddaf79a8133 18:47:19 $ docker rm -f --volumes d6986b2f43be98620d803cfe82df6a48ce89dfc7307168331b4eeddaf79a8133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:19 + docker inspect -f . ci-base-image-x86_64 18:47:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:19 prd-ubuntu20.04-docker-8c-8g-7970 does not seem to be running inside a container 18:47:19 $ 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 ******** ci-base-image-x86_64 cat 18:47:20 $ docker top b329f15802b33b8ff1d81f6ae7bbd3142ad1b596a15011cc7cf9dbf9192760e5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:20 + git config --global --add safe.directory /w/workspace/exfoundry_app-record-replay_main [Pipeline] fileExists [Pipeline] sh 18:47:20 + make test 18:47:20 go test -race -coverprofile=coverage.out ./... 18:47:38 ? github.com/edgexfoundry/app-record-replay [no test files] 18:47:39 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 18:47:39 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 18:47:39 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 18:47:40 ok github.com/edgexfoundry/app-record-replay/internal/app 1.042s coverage: 88.0% of statements 18:47:50 ok github.com/edgexfoundry/app-record-replay/internal/application 9.632s coverage: 98.7% of statements 18:47:50 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.103s coverage: 89.7% of statements 18:47:50 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.033s coverage: 100.0% of statements 18:48:12 go vet ./... 18:48:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7971 in /w/workspace/exfoundry_app-record-replay_main [Pipeline] { [Pipeline] ws 18:48:13 Running in /w/workspace/app-record-replay/56 [Pipeline] { [Pipeline] checkout 18:48:13 Selected Git installation does not exist. Using Default 18:48:13 The recommended git tool is: NONE 18:48:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:48:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:48:13 ./bin/test-attribution-txt.sh [Pipeline] echo 18:48:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:48:13 $ docker stop --time=1 b329f15802b33b8ff1d81f6ae7bbd3142ad1b596a15011cc7cf9dbf9192760e5 18:48:17 $ docker rm -f --volumes b329f15802b33b8ff1d81f6ae7bbd3142ad1b596a15011cc7cf9dbf9192760e5 [Pipeline] // withDockerContainer [Pipeline] sh 18:48:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:48:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:48:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:48:18 using credential edgex-jenkins-ssh 18:48:18 Cloning the remote Git repository 18:48:18 + ls -al . 18:48:18 total 188 18:48:18 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 18:47 . 18:48:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 18:46 .. 18:48:18 -rw-rw-r-- 1 jenkins jenkins 119 Sep 26 18:46 .dockerignore 18:48:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 18:47 .git 18:48:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 18:46 .github 18:48:18 -rw-rw-r-- 1 jenkins jenkins 164 Sep 26 18:46 .gitignore 18:48:18 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 18:46 .golangci.yml 18:48:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 18:46 .semver 18:48:18 -rw-rw-r-- 1 jenkins jenkins 11301 Sep 26 18:46 Attribution.txt 18:48:18 -rw-rw-r-- 1 jenkins jenkins 258 Sep 26 18:46 CHANGELOG.md 18:48:18 -rw-rw-r-- 1 jenkins jenkins 1616 Sep 26 18:46 Dockerfile 18:48:18 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 18:46 GOVERNANCE.md 18:48:18 -rw-rw-r-- 1 jenkins jenkins 681 Sep 26 18:46 Jenkinsfile 18:48:18 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 18:46 LICENSE 18:48:18 -rw-rw-r-- 1 jenkins jenkins 3139 Sep 26 18:46 Makefile 18:48:18 -rw-rw-r-- 1 jenkins jenkins 611 Sep 26 18:46 OWNERS.md 18:48:18 -rw-rw-r-- 1 jenkins jenkins 2363 Sep 26 18:46 README.md 18:48:18 -rw-rw-r-- 1 jenkins jenkins 7594 Sep 26 18:46 Record and Reply.postman_collection.json 18:48:18 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 18:46 VERSION 18:48:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 18:46 bin 18:48:18 -rw-r--r-- 1 jenkins jenkins 24666 Sep 26 18:47 coverage.out 18:48:18 -rw-rw-r-- 1 jenkins jenkins 3905 Sep 26 18:46 go.mod 18:48:18 -rw-rw-r-- 1 jenkins jenkins 35420 Sep 26 18:46 go.sum 18:48:18 drwxrwxr-x 7 jenkins jenkins 4096 Sep 26 18:46 internal 18:48:18 -rw-rw-r-- 1 jenkins jenkins 913 Sep 26 18:46 main.go 18:48:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 18:46 openapi 18:48:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 18:46 pkg 18:48:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 18:46 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:18 + 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=1fdeb901fb6c5cc528de28f8a49385302db9cbf4 --label arch=amd64 --label version=3.1.0-dev.52 . 18:48:18 Sending build context to Docker daemon 621.6kB 18:48:18 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:48:18 Step 2/26 : FROM ${BASE} AS builder 18:48:18 ---> 2007e06a09a4 18:48:18 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:48:18 ---> Running in 3fa7fc4b692f 18:48:19 Removing intermediate container 3fa7fc4b692f 18:48:19 ---> c1b30a1fab1c 18:48:19 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:48:19 ---> Running in cf306d763648 18:48:19 Removing intermediate container cf306d763648 18:48:19 ---> 2d8e216ea86f 18:48:19 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:48:19 ---> Running in 5c325a444ace 18:48:19 Removing intermediate container 5c325a444ace 18:48:19 ---> caf80eebb59e 18:48:19 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:48:19 ---> Running in 731d262ffbe5 18:48:18 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 18:48:18 > git init /w/workspace/app-record-replay/56 # timeout=10 18:48:18 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 18:48:18 > git --version # timeout=10 18:48:18 > git --version # 'git version 2.25.1' 18:48:18 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:48:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:48:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:48:20 OK: 264 MiB in 52 packages 18:48:20 Removing intermediate container 731d262ffbe5 18:48:20 ---> fadf4a3475c8 18:48:20 Step 7/26 : WORKDIR /app 18:48:19 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 18:48:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:48:20 ---> Running in 7d5a66ba97c6 18:48:20 Removing intermediate container 7d5a66ba97c6 18:48:20 ---> 55f949faf685 18:48:20 Step 8/26 : COPY go.mod vendor* ./ 18:48:20 ---> 0cafce6cdf21 18:48:20 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:20 ---> Running in 5b0a5c46d466 18:48:20 Avoid second fetch 18:48:20 Checking out Revision 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 (main) 18:48:21 Commit message: "Merge pull request #85 from ejlee3/refactor-controller-returns" 18:48:21 Removing intermediate container 5b0a5c46d466 18:48:21 ---> cabe318764c4 18:48:21 Step 10/26 : COPY . . 18:48:21 ---> 6d96d472e145 18:48:21 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:48:21 ---> Running in 3fc3fe2c95e7 18:48:21 Removing intermediate container 3fc3fe2c95e7 18:48:21 ---> dfb5baa6863a 18:48:21 Step 12/26 : RUN $MAKE 18:48:21 ---> Running in 0368eb1ba4d5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 18:48:20 > git config core.sparsecheckout # timeout=10 18:48:20 > git checkout -f 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.35 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=3.1.0-dev.52" -trimpath -mod=readonly -o app-record-replay 18:48:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:48:22 % Total % Received % Xferd Average Speed Time Time Time Current 18:48:22 Dload Upload Total Spent Left Speed 18:48:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 63123 0 --:--:-- --:--:-- --:--:-- 63123 [Pipeline] sh 18:48:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:48:23 + sudo tee /etc/docker/daemon.new 18:48:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:48:23 { 18:48:23 "registry-mirrors": [ 18:48:23 "https://nexus3.edgexfoundry.org:10001" 18:48:23 ], 18:48:23 "bip": "10.250.0.254/24", 18:48:23 "hosts": [ 18:48:23 "tcp://0.0.0.0:5555", 18:48:23 "unix:///var/run/docker.sock" 18:48:23 ], 18:48:23 "mtu": 1458, 18:48:23 "selinux-enabled": true, 18:48:23 "seccomp-profile": "/etc/docker/seccomp.json" 18:48:23 } [Pipeline] sh 18:48:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:48:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:42 provisioning config files... 18:48:42 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/56@tmp/config7922240034813135004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:42 ---> docker-login.sh 18:48:42 nexus3.edgexfoundry.org:10001 18:48:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:43 Configure a credential helper to remove this warning. See 18:48:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:43 18:48:43 Login Succeeded 18:48:43 nexus3.edgexfoundry.org:10002 18:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:43 Configure a credential helper to remove this warning. See 18:48:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:43 18:48:43 Login Succeeded 18:48:43 nexus3.edgexfoundry.org:10003 18:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:43 Configure a credential helper to remove this warning. See 18:48:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:43 18:48:43 Login Succeeded 18:48:43 nexus3.edgexfoundry.org:10004 18:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:44 Removing intermediate container 0368eb1ba4d5 18:48:44 ---> 464ed8205b61 18:48:44 Step 13/26 : FROM alpine:3.18 18:48:44 3.18: Pulling from library/alpine 18:48:44 7264a8db6415: Already exists 18:48:44 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 18:48:44 Status: Downloaded newer image for alpine:3.18 18:48:44 ---> 7e01a0d0a1dc 18:48:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:48:44 ---> Running in 27a7176bc741 18:48:44 Removing intermediate container 27a7176bc741 18:48:44 ---> f69a56aa7263 18:48:44 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 18:48:44 ---> Running in 0fd3175dd0d1 18:48:44 Removing intermediate container 0fd3175dd0d1 18:48:44 ---> 657eac1d9ab4 18:48:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:48:44 ---> Running in 6ef4403968a4 18:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:48:44 (1/2) Installing ca-certificates (20230506-r0) 18:48:44 (2/2) Installing dumb-init (1.2.5-r2) 18:48:44 Executing busybox-1.36.1-r2.trigger 18:48:44 Executing ca-certificates-20230506-r0.trigger 18:48:44 OK: 8 MiB in 17 packages 18:48:44 Removing intermediate container 6ef4403968a4 18:48:44 ---> b77a447cac63 18:48:44 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:48:44 ---> 65d56fb087a7 18:48:44 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:48:44 ---> c249a1d1b0fe 18:48:44 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:48:44 ---> 9d8ca0906784 18:48:44 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 18:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:44 Configure a credential helper to remove this warning. See 18:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:44 18:48:44 Login Succeeded 18:48:44 docker.io 18:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:44 Configure a credential helper to remove this warning. See 18:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:44 18:48:44 Login Succeeded 18:48:44 ---> docker-login.sh ends [Pipeline] } 18:48:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 18:48:45 ---> b210d9f3a350 18:48:45 Step 21/26 : EXPOSE 59712 18:48:45 ---> Running in cb1b7fe4fcd0 18:48:45 Removing intermediate container cb1b7fe4fcd0 18:48:45 ---> 6057246672f9 18:48:45 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 18:48:45 ---> Running in 5c6335c92732 18:48:45 Removing intermediate container 5c6335c92732 18:48:45 ---> 7e4fda5c4f89 18:48:45 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:48:45 ---> Running in 99873e151229 18:48:45 Removing intermediate container 99873e151229 18:48:45 ---> 55f4af0de3c7 18:48:45 Step 24/26 : LABEL arch=amd64 [Pipeline] echo 18:48:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:45 ========================================================= 18:48:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:48:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:45 ---> Running in 9985df708f1a 18:48:45 Removing intermediate container 9985df708f1a 18:48:45 ---> fc6ba05df1b3 18:48:45 Step 25/26 : LABEL git_sha=1fdeb901fb6c5cc528de28f8a49385302db9cbf4 18:48:45 ---> Running in 980ab6dfd7af 18:48:45 Removing intermediate container 980ab6dfd7af 18:48:45 ---> 27bc839c4847 18:48:45 Step 26/26 : LABEL version=3.1.0-dev.52 18:48:45 ---> Running in 08e3783e34d2 18:48:45 Removing intermediate container 08e3783e34d2 18:48:45 ---> b04fb671334c 18:48:45 [Warning] One or more build-args [ARCH] were not consumed 18:48:45 Successfully built b04fb671334c 18:48:45 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 18:48:45 provisioning config files... 18:48:45 copy managed file [app-record-replay-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config1842114234450763242tmp [Pipeline] { [Pipeline] libraryResource 18:48:45 + 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 . 18:48:45 Sending build context to Docker daemon 259.1kB [Pipeline] sh 18:48:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:48:45 Step 2/12 : FROM ${BASE} AS builder 18:48:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:48:45 9fda8d8052c6: Pulling fs layer 18:48:45 5d54e960e981: Pulling fs layer 18:48:45 c4a7e357bf2a: Pulling fs layer 18:48:45 f0e02332f6b5: Pulling fs layer 18:48:45 cefa15bbcfad: Pulling fs layer 18:48:45 17808c966233: Pulling fs layer 18:48:45 f4c1fc716caa: Pulling fs layer 18:48:45 cefa15bbcfad: Waiting 18:48:45 17808c966233: Waiting 18:48:45 f4c1fc716caa: Waiting 18:48:45 5d54e960e981: Verifying Checksum 18:48:45 5d54e960e981: Download complete 18:48:45 ---> docker-login.sh 18:48:45 nexus3.edgexfoundry.org:10001 18:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:45 Configure a credential helper to remove this warning. See 18:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:45 18:48:45 Login Succeeded 18:48:45 nexus3.edgexfoundry.org:10002 18:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:45 Configure a credential helper to remove this warning. See 18:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:45 18:48:45 Login Succeeded 18:48:45 nexus3.edgexfoundry.org:10003 18:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:45 Configure a credential helper to remove this warning. See 18:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:45 18:48:45 Login Succeeded 18:48:45 nexus3.edgexfoundry.org:10004 18:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:45 Configure a credential helper to remove this warning. See 18:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:45 18:48:45 Login Succeeded 18:48:45 docker.io 18:48:45 f0e02332f6b5: Verifying Checksum 18:48:45 f0e02332f6b5: Download complete 18:48:45 cefa15bbcfad: Verifying Checksum 18:48:45 cefa15bbcfad: Download complete 18:48:45 9fda8d8052c6: Verifying Checksum 18:48:45 9fda8d8052c6: Download complete 18:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:46 f4c1fc716caa: Verifying Checksum 18:48:46 f4c1fc716caa: Download complete 18:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:48:46 Configure a credential helper to remove this warning. See 18:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:48:46 18:48:46 Login Succeeded 18:48:46 ---> docker-login.sh ends [Pipeline] } 18:48:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:48:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:48:46 [edgeXDocker.push] Tagging docker image app-record-replay with the following tags: 18:48:46 1fdeb901fb6c5cc528de28f8a49385302db9cbf4 18:48:46 latest 18:48:46 3.1.0-dev.52 18:48:46 1fdeb901fb6c5cc528de28f8a49385302db9cbf4-3.1.0-dev.52 18:48:46 main 18:48:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:46 9fda8d8052c6: Pull complete 18:48:46 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:1fdeb901fb6c5cc528de28f8a49385302db9cbf4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:47 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:1fdeb901fb6c5cc528de28f8a49385302db9cbf4 18:48:47 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 18:48:47 1a07b876ac8b: Preparing 18:48:47 77e832aa8ffe: Preparing 18:48:47 11dcfa97b4c4: Preparing 18:48:47 37001fd5df2f: Preparing 18:48:47 a45da35c4e70: Preparing 18:48:47 4693057ce236: Preparing 18:48:47 4693057ce236: Waiting 18:48:47 37001fd5df2f: Pushed 18:48:47 11dcfa97b4c4: Pushed 18:48:47 77e832aa8ffe: Pushed 18:48:47 4693057ce236: Layer already exists 18:48:47 a45da35c4e70: Pushed 18:48:47 5d54e960e981: Pull complete 18:48:47 c4a7e357bf2a: Verifying Checksum 18:48:47 c4a7e357bf2a: Download complete 18:48:48 17808c966233: Verifying Checksum 18:48:48 17808c966233: Download complete 18:48:49 1a07b876ac8b: Pushed 18:48:49 1fdeb901fb6c5cc528de28f8a49385302db9cbf4: digest: sha256:23049cdff55814c4e515fb5b7fe0c60a5f8487b03b5cab6543c84abccfede414 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:50 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:50 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:latest 18:48:50 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 18:48:50 1a07b876ac8b: Preparing 18:48:50 77e832aa8ffe: Preparing 18:48:50 11dcfa97b4c4: Preparing 18:48:50 37001fd5df2f: Preparing 18:48:50 a45da35c4e70: Preparing 18:48:50 4693057ce236: Preparing 18:48:50 1a07b876ac8b: Layer already exists 18:48:50 a45da35c4e70: Layer already exists 18:48:50 11dcfa97b4c4: Layer already exists 18:48:50 77e832aa8ffe: Layer already exists 18:48:50 37001fd5df2f: Layer already exists 18:48:50 4693057ce236: Layer already exists 18:48:50 latest: digest: sha256:23049cdff55814c4e515fb5b7fe0c60a5f8487b03b5cab6543c84abccfede414 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:50 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:51 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.52 18:48:51 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 18:48:51 1a07b876ac8b: Preparing 18:48:51 77e832aa8ffe: Preparing 18:48:51 11dcfa97b4c4: Preparing 18:48:51 37001fd5df2f: Preparing 18:48:51 a45da35c4e70: Preparing 18:48:51 4693057ce236: Preparing 18:48:51 4693057ce236: Waiting 18:48:51 11dcfa97b4c4: Layer already exists 18:48:51 37001fd5df2f: Layer already exists 18:48:51 1a07b876ac8b: Layer already exists 18:48:51 77e832aa8ffe: Layer already exists 18:48:51 a45da35c4e70: Layer already exists 18:48:51 4693057ce236: Layer already exists 18:48:51 3.1.0-dev.52: digest: sha256:23049cdff55814c4e515fb5b7fe0c60a5f8487b03b5cab6543c84abccfede414 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:51 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:1fdeb901fb6c5cc528de28f8a49385302db9cbf4-3.1.0-dev.52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:51 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:1fdeb901fb6c5cc528de28f8a49385302db9cbf4-3.1.0-dev.52 18:48:51 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 18:48:51 1a07b876ac8b: Preparing 18:48:51 77e832aa8ffe: Preparing 18:48:51 11dcfa97b4c4: Preparing 18:48:51 37001fd5df2f: Preparing 18:48:51 a45da35c4e70: Preparing 18:48:51 4693057ce236: Preparing 18:48:51 4693057ce236: Waiting 18:48:51 1a07b876ac8b: Layer already exists 18:48:51 11dcfa97b4c4: Layer already exists 18:48:51 37001fd5df2f: Layer already exists 18:48:51 a45da35c4e70: Layer already exists 18:48:51 77e832aa8ffe: Layer already exists 18:48:51 4693057ce236: Layer already exists 18:48:51 1fdeb901fb6c5cc528de28f8a49385302db9cbf4-3.1.0-dev.52: digest: sha256:23049cdff55814c4e515fb5b7fe0c60a5f8487b03b5cab6543c84abccfede414 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:52 + docker tag app-record-replay nexus3.edgexfoundry.org:10004/app-record-replay:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:52 + docker push nexus3.edgexfoundry.org:10004/app-record-replay:main 18:48:52 The push refers to repository [nexus3.edgexfoundry.org:10004/app-record-replay] 18:48:52 1a07b876ac8b: Preparing 18:48:52 77e832aa8ffe: Preparing 18:48:52 11dcfa97b4c4: Preparing 18:48:52 37001fd5df2f: Preparing 18:48:52 a45da35c4e70: Preparing 18:48:52 4693057ce236: Preparing 18:48:52 4693057ce236: Waiting 18:48:52 77e832aa8ffe: Layer already exists 18:48:52 1a07b876ac8b: Layer already exists 18:48:52 11dcfa97b4c4: Layer already exists 18:48:52 37001fd5df2f: Layer already exists 18:48:52 a45da35c4e70: Layer already exists 18:48:52 4693057ce236: Layer already exists 18:48:52 main: digest: sha256:23049cdff55814c4e515fb5b7fe0c60a5f8487b03b5cab6543c84abccfede414 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:48:52 ===================================================== [Pipeline] echo 18:48:52 taggedImages: 18:48:52 - nexus3.edgexfoundry.org:10004/app-record-replay:1fdeb901fb6c5cc528de28f8a49385302db9cbf4 18:48:52 - nexus3.edgexfoundry.org:10004/app-record-replay:latest 18:48:52 - nexus3.edgexfoundry.org:10004/app-record-replay:3.1.0-dev.52 18:48:52 - nexus3.edgexfoundry.org:10004/app-record-replay:1fdeb901fb6c5cc528de28f8a49385302db9cbf4-3.1.0-dev.52 18:48:52 - 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 18:48:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:52 18:48:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:53 latest: Pulling from edgex-lftools-log-publisher 18:48:53 5eb5b503b376: Pulling fs layer 18:48:53 5c69ac0246d0: Pulling fs layer 18:48:53 ec43610c2a17: Pulling fs layer 18:48:53 3a2ae6a8a46f: Pulling fs layer 18:48:53 33b1e0a273af: Pulling fs layer 18:48:53 5d3b04190fa2: Pulling fs layer 18:48:53 2f39f015ded8: Pulling fs layer 18:48:53 3a2ae6a8a46f: Waiting 18:48:53 33b1e0a273af: Waiting 18:48:53 2f39f015ded8: Waiting 18:48:53 5d3b04190fa2: Waiting 18:48:53 5c69ac0246d0: Download complete 18:48:53 3a2ae6a8a46f: Verifying Checksum 18:48:53 3a2ae6a8a46f: Download complete 18:48:53 33b1e0a273af: Verifying Checksum 18:48:53 33b1e0a273af: Download complete 18:48:53 5d3b04190fa2: Verifying Checksum 18:48:53 5d3b04190fa2: Download complete 18:48:53 ec43610c2a17: Verifying Checksum 18:48:53 ec43610c2a17: Download complete 18:48:53 5eb5b503b376: Verifying Checksum 18:48:53 5eb5b503b376: Download complete 18:48:53 2f39f015ded8: Verifying Checksum 18:48:53 2f39f015ded8: Download complete 18:48:54 5eb5b503b376: Pull complete 18:48:54 5c69ac0246d0: Pull complete 18:48:55 ec43610c2a17: Pull complete 18:48:55 3a2ae6a8a46f: Pull complete 18:48:55 33b1e0a273af: Pull complete 18:48:55 5d3b04190fa2: Pull complete 18:48:58 c4a7e357bf2a: Pull complete 18:48:58 f0e02332f6b5: Pull complete 18:48:58 cefa15bbcfad: Pull complete 18:48:59 2f39f015ded8: Pull complete 18:48:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:48:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:59 prd-ubuntu20.04-docker-8c-8g-7970 does not seem to be running inside a container 18:48:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:49:03 $ docker top e16bf56eb3bfa159f91c3dab5d760bb4615bad191e80cf452b98ef497572f7fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:03 ---> job-cost.sh 18:49:03 lf-activate-venv: SKIPPING 18:49:03 INFO: No Stack... 18:49:03 INFO: Retrieving Pricing Info for: v3-standard-8 18:49:03 INFO: Archiving Costs [Pipeline] sh 18:49:04 + cat /w/workspace/exfoundry_app-record-replay_main/archives/cost.csv 18:49:04 + cut -d, -f6 [Pipeline] lock 18:49:04 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-main-56-stack-cost] 18:49:04 Resource [jenkins-edgexfoundry-app-record-replay-main-56-stack-cost] did not exist. Created. 18:49:04 Lock acquired on [jenkins-edgexfoundry-app-record-replay-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:49:04 + echo total: 0.2199999988079071 [Pipeline] stash 18:49:04 Stashed 1 file(s) [Pipeline] } 18:49:04 Lock released on resource [jenkins-edgexfoundry-app-record-replay-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 18:49:04 $ docker stop --time=1 e16bf56eb3bfa159f91c3dab5d760bb4615bad191e80cf452b98ef497572f7fa 18:49:05 17808c966233: Pull complete 18:49:05 $ docker rm -f --volumes e16bf56eb3bfa159f91c3dab5d760bb4615bad191e80cf452b98ef497572f7fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:49:06 f4c1fc716caa: Pull complete 18:49:06 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:49:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:49:06 ---> ea914061e18c 18:49:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:49:08 ---> Running in 2a64649431ef 18:49:08 Removing intermediate container 2a64649431ef 18:49:08 ---> 31febde377d7 18:49:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:49:08 ---> Running in ab3d175c75b9 18:49:09 Removing intermediate container ab3d175c75b9 18:49:09 ---> 7793533557f0 18:49:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:49:09 ---> Running in 3d2af4f2b0d6 18:49:09 Removing intermediate container 3d2af4f2b0d6 18:49:09 ---> 97642daa104a 18:49:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:49:09 ---> Running in fdb0ad50628e 18:49:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:49:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:49:11 OK: 266 MiB in 52 packages 18:49:12 Removing intermediate container fdb0ad50628e 18:49:12 ---> c11d88a81523 18:49:12 Step 7/12 : WORKDIR /app 18:49:12 ---> Running in 8bf6ff5daee2 18:49:13 Removing intermediate container 8bf6ff5daee2 18:49:13 ---> e6cb37c9917e 18:49:13 Step 8/12 : COPY go.mod vendor* ./ 18:49:13 ---> 070fd75504ff 18:49:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:49:13 ---> Running in c7dbaec90fab 18:50:35 Removing intermediate container c7dbaec90fab 18:50:35 ---> 61478367285f 18:50:35 Step 10/12 : COPY . . 18:50:35 ---> 5b72fa7b9b36 18:50:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:50:35 ---> Running in 939552a079d3 18:50:35 Removing intermediate container 939552a079d3 18:50:35 ---> 75001cbd1bb0 18:50:35 Step 12/12 : RUN $MAKE 18:50:35 ---> Running in 802cc6886342 18:50:35 noop 18:50:35 Removing intermediate container 802cc6886342 18:50:35 ---> ba56574b9731 18:50:35 Successfully built ba56574b9731 18:50:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:35 + docker inspect -f . ci-base-image-arm64 18:50:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:36 prd-ubuntu20.04-docker-arm64-4c-16g-7971 does not seem to be running inside a container 18:50:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/56 -v /w/workspace/app-record-replay/56:/w/workspace/app-record-replay/56:rw,z -v /w/workspace/app-record-replay/56@tmp:/w/workspace/app-record-replay/56@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 18:50:37 $ docker top 261ee461f2b7b734e77c177f5600ee71a0bb5e79530c437a99b48485ec457ff0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:38 + go version 18:50:38 go version go1.21.0 linux/arm64 [Pipeline] } 18:50:38 $ docker stop --time=1 261ee461f2b7b734e77c177f5600ee71a0bb5e79530c437a99b48485ec457ff0 18:50:39 $ docker rm -f --volumes 261ee461f2b7b734e77c177f5600ee71a0bb5e79530c437a99b48485ec457ff0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:40 + docker inspect -f . ci-base-image-arm64 18:50:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:40 prd-ubuntu20.04-docker-arm64-4c-16g-7971 does not seem to be running inside a container 18:50:40 $ 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/56 -v /w/workspace/app-record-replay/56:/w/workspace/app-record-replay/56:rw,z -v /w/workspace/app-record-replay/56@tmp:/w/workspace/app-record-replay/56@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 18:50:41 $ docker top 487a767c1896b5152d27120473947dbb687978de37a3b2a9356f7340e39f5a13 -eo pid,comm [Pipeline] { [Pipeline] sh 18:50:42 + git config --global --add safe.directory /w/workspace/app-record-replay/56 [Pipeline] fileExists [Pipeline] sh 18:50:42 + make test 18:50:42 go test -race -coverprofile=coverage.out ./... 18:52:49 ? github.com/edgexfoundry/app-record-replay [no test files] 18:52:52 ok github.com/edgexfoundry/app-record-replay/internal/app 1.278s coverage: 88.0% of statements 18:52:54 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 18:52:54 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 18:52:56 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 18:53:04 --- FAIL: TestDataManager_StartReplay (5.55s) 18:53:04 --- FAIL: TestDataManager_StartReplay/Happy_Path (4.53s) 18:53:04 manager_test.go:495: 18:53:04 Error Trace: /w/workspace/app-record-replay/56/internal/application/manager_test.go:495 18:53:04 Error: Should be zero, but was 1 18:53:04 Test: TestDataManager_StartReplay/Happy_Path 18:53:04 FAIL 18:53:04 coverage: 98.7% of statements 18:53:04 FAIL github.com/edgexfoundry/app-record-replay/internal/application 9.299s 18:53:04 ok github.com/edgexfoundry/app-record-replay/internal/controller 1.896s coverage: 89.7% of statements 18:53:04 ok github.com/edgexfoundry/app-record-replay/internal/utils 1.159s coverage: 100.0% of statements 18:53:04 FAIL 18:53:04 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 18:53:04 $ docker stop --time=1 487a767c1896b5152d27120473947dbb687978de37a3b2a9356f7340e39f5a13 18:53:06 $ docker rm -f --volumes 487a767c1896b5152d27120473947dbb687978de37a3b2a9356f7340e39f5a13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:53:07 18:53:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:53:07 arm64: Pulling from edgex-lftools-log-publisher 18:53:07 8998bd30e6a1: Pulling fs layer 18:53:07 04944245beec: Pulling fs layer 18:53:07 699f458cf7ca: Pulling fs layer 18:53:07 765212b225bb: Pulling fs layer 18:53:07 f23df028b6ca: Pulling fs layer 18:53:07 d65c8cfc05b1: Pulling fs layer 18:53:07 2437ff75d9bd: Pulling fs layer 18:53:07 f23df028b6ca: Waiting 18:53:07 d65c8cfc05b1: Waiting 18:53:07 2437ff75d9bd: Waiting 18:53:07 765212b225bb: Waiting 18:53:07 04944245beec: Verifying Checksum 18:53:07 04944245beec: Download complete 18:53:07 765212b225bb: Download complete 18:53:07 f23df028b6ca: Verifying Checksum 18:53:07 f23df028b6ca: Download complete 18:53:07 d65c8cfc05b1: Verifying Checksum 18:53:07 d65c8cfc05b1: Download complete 18:53:08 699f458cf7ca: Verifying Checksum 18:53:08 699f458cf7ca: Download complete 18:53:08 8998bd30e6a1: Verifying Checksum 18:53:08 8998bd30e6a1: Download complete 18:53:11 2437ff75d9bd: Verifying Checksum 18:53:11 2437ff75d9bd: Download complete 18:53:12 8998bd30e6a1: Pull complete 18:53:12 04944245beec: Pull complete 18:53:14 699f458cf7ca: Pull complete 18:53:14 765212b225bb: Pull complete 18:53:15 f23df028b6ca: Pull complete 18:53:15 d65c8cfc05b1: Pull complete 18:53:30 2437ff75d9bd: Pull complete 18:53:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:53:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:53:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:30 prd-ubuntu20.04-docker-arm64-4c-16g-7971 does not seem to be running inside a container 18:53:30 $ 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/56 -v /w/workspace/app-record-replay/56:/w/workspace/app-record-replay/56:rw,z -v /w/workspace/app-record-replay/56@tmp:/w/workspace/app-record-replay/56@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 18:53:32 $ docker top efafa824764a05a5afe719d5cee79b141152ca490fc0e2c955b4cfc6ff1b8f7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:33 ---> job-cost.sh 18:53:33 lf-activate-venv: SKIPPING 18:53:33 INFO: No Stack... 18:53:34 INFO: Retrieving Pricing Info for: v3-standard-4 18:53:34 INFO: Archiving Costs [Pipeline] sh 18:53:35 + cat /w/workspace/app-record-replay/56/archives/cost.csv 18:53:35 + cut -d, -f6 [Pipeline] lock 18:53:35 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-main-56-stack-cost] 18:53:35 Resource [jenkins-edgexfoundry-app-record-replay-main-56-stack-cost] did not exist. Created. 18:53:35 Lock acquired on [jenkins-edgexfoundry-app-record-replay-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:53:35 /w/workspace/app-record-replay/56@tmp/durable-af93ca77/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:53:35 + echo total: 0.10999999940395355 [Pipeline] stash 18:53:35 Warning: overwriting stash ‘stack-cost’ 18:53:36 Stashed 1 file(s) [Pipeline] } 18:53:36 Lock released on resource [jenkins-edgexfoundry-app-record-replay-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 18:53:36 $ docker stop --time=1 efafa824764a05a5afe719d5cee79b141152ca490fc0e2c955b4cfc6ff1b8f7c 18:53:41 $ docker rm -f --volumes efafa824764a05a5afe719d5cee79b141152ca490fc0e2c955b4cfc6ff1b8f7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:53:41 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:53:41 + [ -d /w/workspace/exfoundry_app-record-replay_main/archives ] 18:53:41 + ls -al /w/workspace/exfoundry_app-record-replay_main/archives 18:53:41 total 16 18:53:41 drwxr-xr-x 3 root root 4096 Sep 26 18:49 . 18:53:41 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 18:49 .. 18:53:41 drwxr-xr-x 2 root root 4096 Sep 26 18:49 cost 18:53:41 -rw-r--r-- 1 root root 88 Sep 26 18:49 cost.csv 18:53:41 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_app-record-replay_main/archives 18:53:41 + ls -al /w/workspace/exfoundry_app-record-replay_main/archives 18:53:41 total 16 18:53:41 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 18:49 . 18:53:41 drwxrwxr-x 11 jenkins jenkins 4096 Sep 26 18:49 .. 18:53:41 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 18:49 cost 18:53:41 -rw-r--r-- 1 jenkins jenkins 88 Sep 26 18:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:53:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:53:43 ---> package-listing.sh 18:53:43 ++ tr '[:upper:]' '[:lower:]' 18:53:43 ++ facter osfamily 18:53:43 + OS_FAMILY=debian 18:53:43 + workspace=/w/workspace/exfoundry_app-record-replay_main 18:53:43 + START_PACKAGES=/tmp/packages_start.txt 18:53:43 + END_PACKAGES=/tmp/packages_end.txt 18:53:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:53:43 + PACKAGES=/tmp/packages_start.txt 18:53:43 + '[' /w/workspace/exfoundry_app-record-replay_main ']' 18:53:43 + PACKAGES=/tmp/packages_end.txt 18:53:43 + case "${OS_FAMILY}" in 18:53:43 + dpkg -l 18:53:43 + grep '^ii' 18:53:43 + '[' -f /tmp/packages_start.txt ']' 18:53:43 + '[' -f /tmp/packages_end.txt ']' 18:53:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:53:43 + '[' /w/workspace/exfoundry_app-record-replay_main ']' 18:53:43 + mkdir -p /w/workspace/exfoundry_app-record-replay_main/archives/ 18:53:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_app-record-replay_main/archives/ [Pipeline] echo 18:53:43 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 18:53:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:43 prd-ubuntu20.04-docker-8c-8g-7970 does not seem to be running inside a container 18:53:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:53:44 $ docker top b2a57bf7bd8ef7aa2289956ef7a924070a3d5ae213c05c0c488b802d8160433f -eo pid,comm [Pipeline] { [Pipeline] sh 18:53:44 + touch /tmp/pre-build-complete [Pipeline] sh 18:53:44 + mkdir -p /var/log/sysstat [Pipeline] sh 18:53:45 + ls /var/log/sa-host 18:53:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:53:45 provisioning config files... 18:53:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_app-record-replay_main@tmp/config7835439640171771906tmp [Pipeline] { [Pipeline] echo 18:53:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:53:45 ---> create-netrc.sh [Pipeline] } 18:53:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:53:45 ---> python-tools-install.sh [Pipeline] echo 18:53:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:53:46 ---> sudo-logs.sh 18:53:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:53:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:53:46 ---> job-cost.sh 18:53:46 lf-activate-venv: SKIPPING 18:53:46 DEBUG: total: 0.2199999988079071 18:53:46 INFO: Retrieving Stack Cost... 18:53:46 INFO: Retrieving Pricing Info for: v3-standard-8 18:53:47 INFO: Archiving Costs [Pipeline] echo 18:53:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:53:47 ---> logs-deploy.sh 18:53:47 lf-activate-venv: SKIPPING 18:53:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/main/56 18:53:47 INFO: archiving workspace using pattern(s): 18:53:48 Archives upload complete. 18:53:48 INFO: archiving logs to Nexus