Pull request #72 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from 197a96f8562f133d50695909769b8130ef14adfb+7f1db7b64a454b9b704f3777dd84590a3068f3b6 (ea4e24ae3452519128559842c16aad544551677e) 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-ssh15320267467226295547.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh18364968603519123859.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-72/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-72/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7576340867901527611.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh8029567578292824588.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-72/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-72/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11503508021818546033.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-4812’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4814 in /w/workspace/xfoundry_app-record-replay_PR-72 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/xfoundry_app-record-replay_PR-72 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7f1db7b64a454b9b704f3777dd84590a3068f3b6 into PR head commit 197a96f8562f133d50695909769b8130ef14adfb Merge succeeded, producing 197a96f8562f133d50695909769b8130ef14adfb Checking out Revision 197a96f8562f133d50695909769b8130ef14adfb (PR-72) > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/72/head:refs/remotes/origin/PR-72 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 197a96f8562f133d50695909769b8130ef14adfb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7f1db7b64a454b9b704f3777dd84590a3068f3b6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 197a96f8562f133d50695909769b8130ef14adfb # timeout=10 Commit message: "refactor: Check for 404 before Adding Profile" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:49:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:49:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:49:28 ========================================================= 15:49:28 EdgeX Global Pipelines Version Info 15:49:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cf2e9101cc63683b4890a1ec099c341decaac79d # timeout=10 15:49:31 ------------------- 15:49:31 stable info: 15:49:31 ------------------- 15:49:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:49:31 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 15:49:31 Message: update stable to v1.0.253 15:49:32 ------------------- 15:49:32 experimental info: 15:49:32 ------------------- 15:49:32 Commited By: **** collab-it+edgex@linuxfoundation.org 15:49:32 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 15:49:32 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-72 [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-72 [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-72 [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 197a96f8562f133d50695909769b8130ef14adfb [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 197a96f [Pipeline] echo 15:49:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:32 provisioning config files... 15:49:32 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-72@tmp/config595157904528421831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:33 ---> docker-login.sh 15:49:33 nexus3.edgexfoundry.org:10001 15:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:33 Configure a credential helper to remove this warning. See 15:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:33 15:49:33 Login Succeeded 15:49:33 nexus3.edgexfoundry.org:10002 15:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:33 Configure a credential helper to remove this warning. See 15:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:33 15:49:33 Login Succeeded 15:49:33 nexus3.edgexfoundry.org:10003 15:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:33 Configure a credential helper to remove this warning. See 15:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:33 15:49:33 Login Succeeded 15:49:33 nexus3.edgexfoundry.org:10004 15:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:33 Configure a credential helper to remove this warning. See 15:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:33 15:49:33 Login Succeeded 15:49:33 docker.io 15:49:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:33 Configure a credential helper to remove this warning. See 15:49:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:33 15:49:33 Login Succeeded 15:49:34 ---> docker-login.sh ends [Pipeline] } 15:49:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:49:34 + git rev-list -1 --merges 197a96f8562f133d50695909769b8130ef14adfb~1..197a96f8562f133d50695909769b8130ef14adfb [Pipeline] echo 15:49:34 -----------> git rev-list -1 --merges 197a96f8562f133d50695909769b8130ef14adfb~1..197a96f8562f133d50695909769b8130ef14adfb 197a96f8562f133d50695909769b8130ef14adfb [false] [Pipeline] sh 15:49:34 + git log --format=format:%s -1 197a96f8562f133d50695909769b8130ef14adfb [Pipeline] echo 15:49:34 ========================================================= 15:49:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:49:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:35 + git log --format=format:%s -1 197a96f8562f133d50695909769b8130ef14adfb [Pipeline] echo 15:49:35 [semverPrep] GIT_COMMIT: 197a96f8562f133d50695909769b8130ef14adfb, Commit Message: refactor: Check for 404 before Adding Profile [Pipeline] echo 15:49:35 [semverPrep] This is not a build commit. [Pipeline] sh 15:49:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:49:35 + grep -v github /etc/ssh/ssh_known_hosts 15:49:35 + [ -e /tmp/ssh_known_hosts ] 15:49:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:49:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:49:35 + sudo tee -a /etc/ssh/ssh_known_hosts 15:49:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:35 15:49:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:36 0.1.4: Pulling from edgex-devops/py-git-semver 15:49:36 b85a868b505f: Pulling fs layer 15:49:36 e2be974225ed: Pulling fs layer 15:49:36 339a4e72a1f5: Pulling fs layer 15:49:36 988bab9f4d93: Pulling fs layer 15:49:36 1469e6f7b9e6: Pulling fs layer 15:49:36 eaf3925da568: Pulling fs layer 15:49:36 bab4dde63d76: Pulling fs layer 15:49:36 bde34c3a00c8: Pulling fs layer 15:49:36 b352a97aabf1: Pulling fs layer 15:49:36 4872d77fe225: Pulling fs layer 15:49:36 5851b861e8e6: Pulling fs layer 15:49:36 bab4dde63d76: Waiting 15:49:36 bde34c3a00c8: Waiting 15:49:36 b352a97aabf1: Waiting 15:49:36 4872d77fe225: Waiting 15:49:36 5851b861e8e6: Waiting 15:49:36 988bab9f4d93: Waiting 15:49:36 1469e6f7b9e6: Waiting 15:49:36 eaf3925da568: Waiting 15:49:36 e2be974225ed: Download complete 15:49:36 988bab9f4d93: Download complete 15:49:36 339a4e72a1f5: Verifying Checksum 15:49:36 339a4e72a1f5: Download complete 15:49:36 1469e6f7b9e6: Verifying Checksum 15:49:36 1469e6f7b9e6: Download complete 15:49:36 eaf3925da568: Verifying Checksum 15:49:36 eaf3925da568: Download complete 15:49:36 bde34c3a00c8: Download complete 15:49:36 b352a97aabf1: Verifying Checksum 15:49:36 b352a97aabf1: Download complete 15:49:36 4872d77fe225: Download complete 15:49:36 5851b861e8e6: Verifying Checksum 15:49:36 5851b861e8e6: Download complete 15:49:36 b85a868b505f: Verifying Checksum 15:49:36 bab4dde63d76: Verifying Checksum 15:49:36 bab4dde63d76: Download complete 15:49:38 b85a868b505f: Pull complete 15:49:38 e2be974225ed: Pull complete 15:49:38 339a4e72a1f5: Pull complete 15:49:38 988bab9f4d93: Pull complete 15:49:38 1469e6f7b9e6: Pull complete 15:49:38 eaf3925da568: Pull complete 15:49:41 bab4dde63d76: Pull complete 15:49:41 bde34c3a00c8: Pull complete 15:49:41 b352a97aabf1: Pull complete 15:49:41 4872d77fe225: Pull complete 15:49:41 5851b861e8e6: Pull complete 15:49:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:49:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:41 prd-ubuntu20.04-docker-8c-8g-4814 does not seem to be running inside a container 15:49:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-72 -v /w/workspace/xfoundry_app-record-replay_PR-72:/w/workspace/xfoundry_app-record-replay_PR-72:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-72@tmp:/w/workspace/xfoundry_app-record-replay_PR-72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:49:50 $ docker top 13aa52d50a94462c8cb95fc3dbf97213b19190bde8b25f5fa49d5c0c1ef16808 -eo pid,comm 15:49:50 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). 15:49:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:49:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:50 [ssh-agent] Looking for ssh-agent implementation... 15:49:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:50 $ docker exec 13aa52d50a94462c8cb95fc3dbf97213b19190bde8b25f5fa49d5c0c1ef16808 ssh-agent 15:49:50 SSH_AUTH_SOCK=/tmp/ssh-AThoH8cKrSKu/agent.33 15:49:50 SSH_AGENT_PID=39 15:49:50 Running ssh-add (command line suppressed) 15:49:50 Identity added: /w/workspace/xfoundry_app-record-replay_PR-72@tmp/private_key_6192914882339503058.key (/w/workspace/xfoundry_app-record-replay_PR-72@tmp/private_key_6192914882339503058.key) 15:49:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:50 + git tag --points-at HEAD [Pipeline] } 15:49:50 $ docker exec --env ******** --env ******** 13aa52d50a94462c8cb95fc3dbf97213b19190bde8b25f5fa49d5c0c1ef16808 ssh-agent -k 15:49:51 unset SSH_AUTH_SOCK; 15:49:51 unset SSH_AGENT_PID; 15:49:51 echo Agent pid 39 killed; 15:49:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:49:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:51 [ssh-agent] Looking for ssh-agent implementation... 15:49:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:51 $ docker exec 13aa52d50a94462c8cb95fc3dbf97213b19190bde8b25f5fa49d5c0c1ef16808 ssh-agent 15:49:51 SSH_AUTH_SOCK=/tmp/ssh-5Thhlgx7nmAP/agent.71 15:49:51 SSH_AGENT_PID=77 15:49:51 Running ssh-add (command line suppressed) 15:49:51 Identity added: /w/workspace/xfoundry_app-record-replay_PR-72@tmp/private_key_8914182429658717854.key (/w/workspace/xfoundry_app-record-replay_PR-72@tmp/private_key_8914182429658717854.key) 15:49:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:51 + git semver init 15:49:51 2023-08-29 15:49:51,875 [run_init] DEBUG init version:0.0.0 force:False 15:49:51 2023-08-29 15:49:51,876 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-72/.semver 15:49:51 2023-08-29 15:49:51,876 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-72/.semver 15:49:51 2023-08-29 15:49:51,877 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-72/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-72, universal_newlines=False, shell=None, istream=None) 15:49:52 2023-08-29 15:49:52,474 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-72/.git/info/exclude 15:49:52 2023-08-29 15:49:52,475 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-72/.semver/PR-72 with force:False 15:49:52 2023-08-29 15:49:52,475 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-72/.semver/PR-72 15:49:52 2023-08-29 15:49:52,479 [execute] INFO git cat-file --batch-check 15:49:52 2023-08-29 15:49:52,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-72/.semver, universal_newlines=False, shell=None, istream=) 15:49:52 2023-08-29 15:49:52,485 [execute] INFO git cat-file --batch 15:49:52 2023-08-29 15:49:52,485 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-72/.semver, universal_newlines=False, shell=None, istream=) 15:49:52 2023-08-29 15:49:52,489 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-72/.semver/PR-72 15:49:52 0.0.0 [Pipeline] } 15:49:52 $ docker exec --env ******** --env ******** 13aa52d50a94462c8cb95fc3dbf97213b19190bde8b25f5fa49d5c0c1ef16808 ssh-agent -k 15:49:52 unset SSH_AUTH_SOCK; 15:49:52 unset SSH_AGENT_PID; 15:49:52 echo Agent pid 77 killed; 15:49:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:49:52 + git semver [Pipeline] } 15:49:53 $ docker stop --time=1 13aa52d50a94462c8cb95fc3dbf97213b19190bde8b25f5fa49d5c0c1ef16808 15:49:54 $ docker rm -f --volumes 13aa52d50a94462c8cb95fc3dbf97213b19190bde8b25f5fa49d5c0c1ef16808 [Pipeline] // withDockerContainer [Pipeline] sh 15:49:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:49:55 Stashed 1 file(s) [Pipeline] echo 15:49:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:55 provisioning config files... 15:49:55 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-72@tmp/config17472141930213667668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:55 ---> docker-login.sh 15:49:55 nexus3.edgexfoundry.org:10001 15:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:55 Configure a credential helper to remove this warning. See 15:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:55 15:49:55 Login Succeeded 15:49:55 nexus3.edgexfoundry.org:10002 15:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:55 Configure a credential helper to remove this warning. See 15:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:55 15:49:55 Login Succeeded 15:49:55 nexus3.edgexfoundry.org:10003 15:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:55 Configure a credential helper to remove this warning. See 15:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:55 15:49:55 Login Succeeded 15:49:55 nexus3.edgexfoundry.org:10004 15:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:55 Configure a credential helper to remove this warning. See 15:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:55 15:49:55 Login Succeeded 15:49:55 docker.io 15:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:56 Configure a credential helper to remove this warning. See 15:49:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:56 15:49:56 Login Succeeded 15:49:56 ---> docker-login.sh ends [Pipeline] } 15:49:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:56 ========================================================= 15:49:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:49:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:49:56 Sending build context to Docker daemon 525.8kB 15:49:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:49:56 Step 2/12 : FROM ${BASE} AS builder 15:49:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:49:56 4db1b89c0bd1: Pulling fs layer 15:49:56 6911f1a30b25: Pulling fs layer 15:49:56 e194b8c5c2a9: Pulling fs layer 15:49:56 6863d3e3a2b1: Pulling fs layer 15:49:56 ec0bb842ea78: Pulling fs layer 15:49:56 40a00589a448: Pulling fs layer 15:49:56 6c08303d61cc: Pulling fs layer 15:49:56 798269fcf238: Pulling fs layer 15:49:56 6863d3e3a2b1: Waiting 15:49:56 ec0bb842ea78: Waiting 15:49:56 6c08303d61cc: Waiting 15:49:56 798269fcf238: Waiting 15:49:56 6911f1a30b25: Download complete 15:49:56 6863d3e3a2b1: Verifying Checksum 15:49:56 ec0bb842ea78: Verifying Checksum 15:49:56 ec0bb842ea78: Download complete 15:49:56 4db1b89c0bd1: Verifying Checksum 15:49:56 4db1b89c0bd1: Download complete 15:49:56 40a00589a448: Verifying Checksum 15:49:56 40a00589a448: Download complete 15:49:56 4db1b89c0bd1: Pull complete 15:49:57 6911f1a30b25: Pull complete 15:49:57 e194b8c5c2a9: Verifying Checksum 15:49:57 e194b8c5c2a9: Download complete 15:49:57 798269fcf238: Verifying Checksum 15:49:57 798269fcf238: Download complete 15:49:57 6c08303d61cc: Verifying Checksum 15:49:57 6c08303d61cc: Download complete 15:50:00 e194b8c5c2a9: Pull complete 15:50:00 6863d3e3a2b1: Pull complete 15:50:00 ec0bb842ea78: Pull complete 15:50:00 40a00589a448: Pull complete 15:50:03 6c08303d61cc: Pull complete 15:50:03 798269fcf238: Pull complete 15:50:03 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 15:50:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:50:03 ---> ec979cd7f677 15:50:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 15:50:10 Still waiting to schedule task 15:50:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4813’ is offline 15:50:11 ---> Running in d0760642ec90 15:50:11 Removing intermediate container d0760642ec90 15:50:11 ---> ae3b95102964 15:50:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:50:11 ---> Running in e74acf9f59bf 15:50:11 Removing intermediate container e74acf9f59bf 15:50:11 ---> 1b8af022e0db 15:50:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:50:11 ---> Running in d88d02069346 15:50:11 Removing intermediate container d88d02069346 15:50:11 ---> 370eaeab4ea7 15:50:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:50:11 ---> Running in 4906a688540e 15:50:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:50:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:50:11 OK: 265 MiB in 53 packages 15:50:11 Removing intermediate container 4906a688540e 15:50:11 ---> 02639e63fba3 15:50:11 Step 7/12 : WORKDIR /app 15:50:11 ---> Running in 644c8136e775 15:50:11 Removing intermediate container 644c8136e775 15:50:11 ---> 02746a46bb5e 15:50:11 Step 8/12 : COPY go.mod vendor* ./ 15:50:12 ---> 7a613a650331 15:50:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:12 ---> Running in 5be81f5c87b6 15:50:59 Removing intermediate container 5be81f5c87b6 15:50:59 ---> 08b90a8766ec 15:50:59 Step 10/12 : COPY . . 15:50:59 ---> ca93f2b56af6 15:50:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:50:59 ---> Running in 47b932b41405 15:50:59 Removing intermediate container 47b932b41405 15:50:59 ---> 474658f52302 15:50:59 Step 12/12 : RUN $MAKE 15:50:59 ---> Running in d29ac064e035 15:50:59 noop 15:50:59 Removing intermediate container d29ac064e035 15:50:59 ---> 517b39a86ad3 15:50:59 Successfully built 517b39a86ad3 15:50:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:59 + docker inspect -f . ci-base-image-x86_64 15:50:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:59 prd-ubuntu20.04-docker-8c-8g-4814 does not seem to be running inside a container 15:50:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-72 -v /w/workspace/xfoundry_app-record-replay_PR-72:/w/workspace/xfoundry_app-record-replay_PR-72:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-72@tmp:/w/workspace/xfoundry_app-record-replay_PR-72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:50:59 $ docker top 341dbc924504d4f1a29b66daea6c14d75035d04255def77999dab0d220cde6fb -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:00 + go version 15:51:00 go version go1.20.6 linux/amd64 [Pipeline] } 15:51:00 $ docker stop --time=1 341dbc924504d4f1a29b66daea6c14d75035d04255def77999dab0d220cde6fb 15:51:01 $ docker rm -f --volumes 341dbc924504d4f1a29b66daea6c14d75035d04255def77999dab0d220cde6fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:01 + docker inspect -f . ci-base-image-x86_64 15:51:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:01 prd-ubuntu20.04-docker-8c-8g-4814 does not seem to be running inside a container 15:51:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-72 -v /w/workspace/xfoundry_app-record-replay_PR-72:/w/workspace/xfoundry_app-record-replay_PR-72:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-72@tmp:/w/workspace/xfoundry_app-record-replay_PR-72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:51:02 $ docker top 008640af07f96d73e530cffe5c3e4b8c42f1407fd6b1ffe7ee9a64101039621f -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:02 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-72 [Pipeline] fileExists [Pipeline] sh 15:51:02 + make test 15:51:02 go test -race -coverprofile=coverage.out ./... 15:51:21 ? github.com/edgexfoundry/app-record-replay [no test files] 15:51:21 ok github.com/edgexfoundry/app-record-replay/internal/app 0.062s coverage: 88.0% of statements 15:51:21 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 15:51:21 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 15:51:21 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 15:51:31 ok github.com/edgexfoundry/app-record-replay/internal/application 8.611s coverage: 98.7% of statements 15:51:31 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.112s coverage: 78.7% of statements 15:51:31 ok github.com/edgexfoundry/app-record-replay/internal/utils 0.048s coverage: 100.0% of statements 15:51:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4816 in /w/workspace/xfoundry_app-record-replay_PR-72 [Pipeline] { [Pipeline] ws 15:51:46 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 15:51:46 Selected Git installation does not exist. Using Default 15:51:46 The recommended git tool is: NONE 15:51:51 using credential edgex-jenkins-ssh 15:51:51 Cloning the remote Git repository 15:51:51 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 15:51:51 > git init /w/workspace/app-record-replay/2 # timeout=10 15:51:51 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 15:51:51 > git --version # timeout=10 15:51:51 > git --version # 'git version 2.25.1' 15:51:51 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:51:52 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 15:51:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:51:53 Merging remotes/origin/main commit 7f1db7b64a454b9b704f3777dd84590a3068f3b6 into PR head commit 197a96f8562f133d50695909769b8130ef14adfb 15:51:53 go vet ./... 15:51:53 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 15:51:53 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 15:51:53 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/72/head:refs/remotes/origin/PR-72 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:51:53 > git config core.sparsecheckout # timeout=10 15:51:53 > git checkout -f 197a96f8562f133d50695909769b8130ef14adfb # timeout=10 15:51:53 Merge succeeded, producing 197a96f8562f133d50695909769b8130ef14adfb 15:51:53 Checking out Revision 197a96f8562f133d50695909769b8130ef14adfb (PR-72) 15:51:53 > git remote # timeout=10 15:51:53 > git config --get remote.origin.url # timeout=10 15:51:53 using GIT_SSH to set credentials SSH Credentials for GitHub 15:51:53 > git merge 7f1db7b64a454b9b704f3777dd84590a3068f3b6 # timeout=10 15:51:53 > git rev-parse HEAD^{commit} # timeout=10 15:51:53 > git config core.sparsecheckout # timeout=10 15:51:53 > git checkout -f 197a96f8562f133d50695909769b8130ef14adfb # timeout=10 15:51:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:51:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:51:57 ./bin/test-attribution-txt.sh [Pipeline] echo 15:51:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:51:57 $ docker stop --time=1 008640af07f96d73e530cffe5c3e4b8c42f1407fd6b1ffe7ee9a64101039621f 15:51:57 Commit message: "refactor: Check for 404 before Adding Profile" 15:52:04 $ docker rm -f --volumes 008640af07f96d73e530cffe5c3e4b8c42f1407fd6b1ffe7ee9a64101039621f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:52:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:52:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:52:05 % Total % Received % Xferd Average Speed Time Time Time Current 15:52:05 Dload Upload Total Spent Left Speed 15:52:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 52473 0 --:--:-- --:--:-- --:--:-- 52473 15:52:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 15:52:06 + ls -al . 15:52:06 total 180 15:52:06 drwxrwxr-x 9 jenkins jenkins 4096 Aug 29 15:51 . 15:52:06 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 15:49 .. 15:52:06 -rw-rw-r-- 1 jenkins jenkins 119 Aug 29 15:49 .dockerignore 15:52:06 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 15:49 .git 15:52:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 15:49 .github 15:52:06 -rw-rw-r-- 1 jenkins jenkins 164 Aug 29 15:49 .gitignore 15:52:06 -rw-rw-r-- 1 jenkins jenkins 41 Aug 29 15:49 .golangci.yml 15:52:06 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 15:49 .semver 15:52:06 -rw-rw-r-- 1 jenkins jenkins 11301 Aug 29 15:49 Attribution.txt 15:52:06 -rw-rw-r-- 1 jenkins jenkins 258 Aug 29 15:49 CHANGELOG.md 15:52:06 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 29 15:49 Dockerfile 15:52:06 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 15:49 GOVERNANCE.md 15:52:06 -rw-rw-r-- 1 jenkins jenkins 681 Aug 29 15:49 Jenkinsfile 15:52:06 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 29 15:49 LICENSE 15:52:06 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 29 15:49 Makefile 15:52:06 -rw-rw-r-- 1 jenkins jenkins 611 Aug 29 15:49 OWNERS.md 15:52:06 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 29 15:49 README.md 15:52:06 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 29 15:49 Record and Reply.postman_collection.json 15:52:06 -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 15:49 VERSION 15:52:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 15:49 bin 15:52:06 -rw-r--r-- 1 jenkins jenkins 24552 Aug 29 15:51 coverage.out 15:52:06 -rw-rw-r-- 1 jenkins jenkins 3916 Aug 29 15:49 go.mod 15:52:06 -rw-rw-r-- 1 jenkins jenkins 34159 Aug 29 15:49 go.sum 15:52:06 drwxrwxr-x 7 jenkins jenkins 4096 Aug 29 15:49 internal 15:52:06 -rw-rw-r-- 1 jenkins jenkins 913 Aug 29 15:49 main.go 15:52:06 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 15:49 pkg 15:52:06 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 15:49 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:52:06 + 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=197a96f8562f133d50695909769b8130ef14adfb --label arch=amd64 --label version=0.0.0 . 15:52:06 Sending build context to Docker daemon 550.9kB 15:52:06 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 15:52:06 Step 2/26 : FROM ${BASE} AS builder 15:52:06 ---> 517b39a86ad3 15:52:06 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 15:52:06 ---> Running in aa450d6970c3 15:52:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:52:06 + sudo tee /etc/docker/daemon.new 15:52:06 { 15:52:06 "registry-mirrors": [ 15:52:06 "https://nexus3.edgexfoundry.org:10001" 15:52:06 ], 15:52:06 "bip": "10.250.0.254/24", 15:52:06 "hosts": [ 15:52:06 "tcp://0.0.0.0:5555", 15:52:06 "unix:///var/run/docker.sock" 15:52:06 ], 15:52:06 "mtu": 1458, 15:52:06 "selinux-enabled": true, 15:52:06 "seccomp-profile": "/etc/docker/seccomp.json" 15:52:06 } [Pipeline] sh 15:52:06 Removing intermediate container aa450d6970c3 15:52:06 ---> ed5ebbfb6024 15:52:06 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 15:52:06 ---> Running in 7ee3045ef407 15:52:06 Removing intermediate container 7ee3045ef407 15:52:06 ---> 4461ba556d67 15:52:06 Step 5/26 : ARG ADD_BUILD_TAGS="" 15:52:06 ---> Running in 02b17fc4a955 15:52:06 Removing intermediate container 02b17fc4a955 15:52:06 ---> c31a4afbfde8 15:52:06 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:52:06 ---> Running in 4f3c33baf7cf 15:52:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:52:07 + sudo service docker restart 15:52:07 OK: 265 MiB in 53 packages 15:52:08 Removing intermediate container 4f3c33baf7cf 15:52:08 ---> 622872dab036 15:52:08 Step 7/26 : WORKDIR /app 15:52:08 ---> Running in bc4b80ed789b 15:52:08 Removing intermediate container bc4b80ed789b 15:52:08 ---> 4b24e7d71b9c 15:52:08 Step 8/26 : COPY go.mod vendor* ./ 15:52:08 ---> d4a4a11638bd 15:52:08 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:52:08 ---> Running in 2382a1b2c0a4 15:52:09 Removing intermediate container 2382a1b2c0a4 15:52:09 ---> a00e99bc7a3d 15:52:09 Step 10/26 : COPY . . 15:52:09 ---> 4017d4fed40e 15:52:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:52:09 ---> Running in fccf9c9f7e5d 15:52:09 Removing intermediate container fccf9c9f7e5d 15:52:09 ---> bb1fd5f7a3ea 15:52:09 Step 12/26 : RUN $MAKE 15:52:09 ---> Running in 7929ae979cd9 15:52:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.22 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:29 provisioning config files... 15:52:29 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config16993532581196756578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:29 ---> docker-login.sh 15:52:29 nexus3.edgexfoundry.org:10001 15:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:30 Configure a credential helper to remove this warning. See 15:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:30 15:52:30 Login Succeeded 15:52:30 nexus3.edgexfoundry.org:10002 15:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:30 Configure a credential helper to remove this warning. See 15:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:30 15:52:30 Login Succeeded 15:52:30 nexus3.edgexfoundry.org:10003 15:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:31 Configure a credential helper to remove this warning. See 15:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:31 15:52:31 Login Succeeded 15:52:31 nexus3.edgexfoundry.org:10004 15:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:31 Configure a credential helper to remove this warning. See 15:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:31 15:52:31 Login Succeeded 15:52:31 docker.io 15:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:31 Configure a credential helper to remove this warning. See 15:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:31 15:52:31 Login Succeeded 15:52:31 ---> docker-login.sh ends [Pipeline] } 15:52:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 15:52:32 Removing intermediate container 7929ae979cd9 15:52:32 ---> ab6ee56ebfdf 15:52:32 Step 13/26 : FROM alpine:3.17 15:52:32 3.17: Pulling from library/alpine 15:52:32 9398808236ff: Pulling fs layer 15:52:32 9398808236ff: Verifying Checksum 15:52:32 9398808236ff: Download complete 15:52:32 9398808236ff: Pull complete 15:52:32 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 15:52:32 Status: Downloaded newer image for alpine:3.17 15:52:32 ---> 1e0b8b5322fc 15:52:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:52:32 ---> Running in 74f4186df0d1 [Pipeline] echo 15:52:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:32 ========================================================= 15:52:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:52:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:32 Removing intermediate container 74f4186df0d1 15:52:32 ---> bd76f8157235 15:52:32 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 15:52:32 ---> Running in fd255338b76d 15:52:32 Removing intermediate container fd255338b76d 15:52:32 ---> b97a96e74010 15:52:32 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 15:52:32 ---> Running in bb1e9ffd275a 15:52:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 15:52:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:52:32 Sending build context to Docker daemon 238.1kB 15:52:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:52:32 Step 2/12 : FROM ${BASE} AS builder 15:52:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:52:32 edb6bdbacee9: Pulling fs layer 15:52:32 5f9638ab2659: Pulling fs layer 15:52:32 8d51d6327a98: Pulling fs layer 15:52:32 8b374f2dd631: Pulling fs layer 15:52:32 ec14aa9079de: Pulling fs layer 15:52:32 2f466654f4bb: Pulling fs layer 15:52:32 554e91adad29: Pulling fs layer 15:52:32 ec14aa9079de: Waiting 15:52:32 2f466654f4bb: Waiting 15:52:32 554e91adad29: Waiting 15:52:32 8b374f2dd631: Waiting 15:52:32 5f9638ab2659: Verifying Checksum 15:52:32 5f9638ab2659: Download complete 15:52:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:52:33 8b374f2dd631: Verifying Checksum 15:52:33 8b374f2dd631: Download complete 15:52:33 ec14aa9079de: Verifying Checksum 15:52:33 ec14aa9079de: Download complete 15:52:33 edb6bdbacee9: Verifying Checksum 15:52:33 edb6bdbacee9: Download complete 15:52:33 (1/2) Installing ca-certificates (20230506-r0) 15:52:33 (2/2) Installing dumb-init (1.2.5-r2) 15:52:33 Executing busybox-1.35.0-r29.trigger 15:52:33 Executing ca-certificates-20230506-r0.trigger 15:52:33 OK: 8 MiB in 17 packages 15:52:34 edb6bdbacee9: Pull complete 15:52:34 Removing intermediate container bb1e9ffd275a 15:52:34 ---> f3c0a3e0047b 15:52:34 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 15:52:34 ---> 06682dee1f1d 15:52:34 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 15:52:34 ---> 8b8a80de67bd 15:52:34 Step 19/26 : COPY --from=builder /app/res/ /res/ 15:52:34 554e91adad29: Verifying Checksum 15:52:34 554e91adad29: Download complete 15:52:34 ---> d83306d1655a 15:52:34 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 15:52:34 5f9638ab2659: Pull complete 15:52:35 ---> 9177136e68dc 15:52:35 Step 21/26 : EXPOSE 59712 15:52:35 ---> Running in d90f6a0b5e5b 15:52:35 Removing intermediate container d90f6a0b5e5b 15:52:35 ---> 0c5975e42da7 15:52:35 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 15:52:35 ---> Running in b608b4eefa2c 15:52:35 Removing intermediate container b608b4eefa2c 15:52:35 ---> 5d2f04b4ad33 15:52:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:52:35 ---> Running in 3a6100abdf59 15:52:35 Removing intermediate container 3a6100abdf59 15:52:35 ---> 2ad0c8293ecd 15:52:35 Step 24/26 : LABEL arch=amd64 15:52:35 ---> Running in af5694cfb94a 15:52:35 Removing intermediate container af5694cfb94a 15:52:35 ---> 7a4c03ffb70b 15:52:35 Step 25/26 : LABEL git_sha=197a96f8562f133d50695909769b8130ef14adfb 15:52:35 ---> Running in 9e9cc5455b97 15:52:35 Removing intermediate container 9e9cc5455b97 15:52:35 ---> b34b5d5557b9 15:52:35 Step 26/26 : LABEL version=0.0.0 15:52:35 ---> Running in cedf7ec5660c 15:52:35 8d51d6327a98: Verifying Checksum 15:52:35 8d51d6327a98: Download complete 15:52:35 2f466654f4bb: Verifying Checksum 15:52:35 2f466654f4bb: Download complete 15:52:35 Removing intermediate container cedf7ec5660c 15:52:35 ---> 2156f6c7d004 15:52:35 [Warning] One or more build-args [ARCH] were not consumed 15:52:35 Successfully built 2156f6c7d004 15:52:35 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:36 15:52:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:36 latest: Pulling from edgex-lftools-log-publisher 15:52:36 5eb5b503b376: Pulling fs layer 15:52:36 5c69ac0246d0: Pulling fs layer 15:52:36 ec43610c2a17: Pulling fs layer 15:52:36 3a2ae6a8a46f: Pulling fs layer 15:52:36 33b1e0a273af: Pulling fs layer 15:52:36 5d3b04190fa2: Pulling fs layer 15:52:36 2f39f015ded8: Pulling fs layer 15:52:36 33b1e0a273af: Waiting 15:52:36 5d3b04190fa2: Waiting 15:52:36 2f39f015ded8: Waiting 15:52:36 3a2ae6a8a46f: Waiting 15:52:36 5c69ac0246d0: Verifying Checksum 15:52:36 5c69ac0246d0: Download complete 15:52:36 3a2ae6a8a46f: Download complete 15:52:36 33b1e0a273af: Verifying Checksum 15:52:36 33b1e0a273af: Download complete 15:52:36 ec43610c2a17: Verifying Checksum 15:52:36 ec43610c2a17: Download complete 15:52:36 5d3b04190fa2: Download complete 15:52:36 5eb5b503b376: Verifying Checksum 15:52:36 5eb5b503b376: Download complete 15:52:37 2f39f015ded8: Download complete 15:52:38 5eb5b503b376: Pull complete 15:52:38 5c69ac0246d0: Pull complete 15:52:38 ec43610c2a17: Pull complete 15:52:38 3a2ae6a8a46f: Pull complete 15:52:38 33b1e0a273af: Pull complete 15:52:38 5d3b04190fa2: Pull complete 15:52:42 2f39f015ded8: Pull complete 15:52:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:52:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:42 prd-ubuntu20.04-docker-8c-8g-4814 does not seem to be running inside a container 15:52:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-72 -v /w/workspace/xfoundry_app-record-replay_PR-72:/w/workspace/xfoundry_app-record-replay_PR-72:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-72@tmp:/w/workspace/xfoundry_app-record-replay_PR-72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:52:46 $ docker top d2205deed92b57b16e2afb28e454c2236c723bcc77eb4f8302d2b1c551ea586a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:46 ---> job-cost.sh 15:52:46 lf-activate-venv: SKIPPING 15:52:46 INFO: No Stack... 15:52:47 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:47 INFO: Archiving Costs [Pipeline] sh 15:52:47 + cat /w/workspace/xfoundry_app-record-replay_PR-72/archives/cost.csv 15:52:47 + cut -d, -f6 [Pipeline] lock 15:52:47 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-72-2-stack-cost] 15:52:47 Resource [jenkins-edgexfoundry-app-record-replay-PR-72-2-stack-cost] did not exist. Created. 15:52:47 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-72-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:48 8d51d6327a98: Pull complete 15:52:48 8b374f2dd631: Pull complete 15:52:48 ec14aa9079de: Pull complete 15:52:48 + echo total: 0.2199999988079071 [Pipeline] stash 15:52:48 Stashed 1 file(s) [Pipeline] } 15:52:48 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-72-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:48 $ docker stop --time=1 d2205deed92b57b16e2afb28e454c2236c723bcc77eb4f8302d2b1c551ea586a 15:52:49 $ docker rm -f --volumes d2205deed92b57b16e2afb28e454c2236c723bcc77eb4f8302d2b1c551ea586a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:52:54 2f466654f4bb: Pull complete 15:52:56 554e91adad29: Pull complete 15:52:56 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 15:52:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:52:56 ---> 1e15ea492957 15:52:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 15:52:58 ---> Running in 51abdb7ae63f 15:52:58 Removing intermediate container 51abdb7ae63f 15:52:58 ---> e499420bc399 15:52:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:52:58 ---> Running in 5b74cafcf240 15:52:58 Removing intermediate container 5b74cafcf240 15:52:58 ---> ed4df1a71694 15:52:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:52:58 ---> Running in 91bf2fd22ec7 15:52:58 Removing intermediate container 91bf2fd22ec7 15:52:58 ---> 47b32d19a19f 15:52:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:52:59 ---> Running in f86e91132cbf 15:53:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:53:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:53:01 OK: 263 MiB in 53 packages 15:53:02 Removing intermediate container f86e91132cbf 15:53:02 ---> 0496d6a8c2db 15:53:02 Step 7/12 : WORKDIR /app 15:53:02 ---> Running in dad9ba3e223f 15:53:02 Removing intermediate container dad9ba3e223f 15:53:02 ---> 4c35a03a8b2e 15:53:02 Step 8/12 : COPY go.mod vendor* ./ 15:53:02 ---> b7316b8fdb58 15:53:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:03 ---> Running in ce257d5d6508 15:54:11 Removing intermediate container ce257d5d6508 15:54:11 ---> a00ece9f320b 15:54:11 Step 10/12 : COPY . . 15:54:11 ---> 8174da0005a7 15:54:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:54:11 ---> Running in e1b7add06614 15:54:11 Removing intermediate container e1b7add06614 15:54:11 ---> b59d4aff0633 15:54:11 Step 12/12 : RUN $MAKE 15:54:11 ---> Running in 736b33b8d5b1 15:54:11 noop 15:54:11 Removing intermediate container 736b33b8d5b1 15:54:11 ---> 1b389c2e30b0 15:54:11 Successfully built 1b389c2e30b0 15:54:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:11 + docker inspect -f . ci-base-image-arm64 15:54:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:11 prd-ubuntu20.04-docker-arm64-4c-16g-4816 does not seem to be running inside a container 15:54:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:54:13 $ docker top 2d93bf0de4255f9ba48afcf410ec30fc44c7c00199b99d2916f2f985aa6a2de8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:14 + go version 15:54:14 go version go1.20.6 linux/arm64 [Pipeline] } 15:54:14 $ docker stop --time=1 2d93bf0de4255f9ba48afcf410ec30fc44c7c00199b99d2916f2f985aa6a2de8 15:54:15 $ docker rm -f --volumes 2d93bf0de4255f9ba48afcf410ec30fc44c7c00199b99d2916f2f985aa6a2de8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:16 + docker inspect -f . ci-base-image-arm64 15:54:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:16 prd-ubuntu20.04-docker-arm64-4c-16g-4816 does not seem to be running inside a container 15:54:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:54:17 $ docker top c3852015479903ae3123fbbedcbf16bdbbf55b89dba764ed15fba5eb58e40fa0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:18 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 15:54:18 + make test 15:54:18 go test -race -coverprofile=coverage.out ./... 15:57:10 ? github.com/edgexfoundry/app-record-replay [no test files] 15:57:10 ok github.com/edgexfoundry/app-record-replay/internal/app 0.252s coverage: 88.0% of statements 15:57:13 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 15:57:13 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 15:57:13 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 15:57:21 ok github.com/edgexfoundry/app-record-replay/internal/application 8.947s coverage: 98.7% of statements 15:57:21 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.516s coverage: 78.7% of statements 15:57:21 ok github.com/edgexfoundry/app-record-replay/internal/utils 0.194s coverage: 100.0% of statements 15:57:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:57:21 go vet ./... 15:59:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:59:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:59:43 ./bin/test-attribution-txt.sh [Pipeline] echo 15:59:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:59:43 $ docker stop --time=1 c3852015479903ae3123fbbedcbf16bdbbf55b89dba764ed15fba5eb58e40fa0 15:59:45 $ docker rm -f --volumes c3852015479903ae3123fbbedcbf16bdbbf55b89dba764ed15fba5eb58e40fa0 [Pipeline] // withDockerContainer [Pipeline] sh 15:59:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:59:47 Warning: overwriting stash ‘coverage-report’ 15:59:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:59:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:59:48 + ls -al . 15:59:48 total 176 15:59:48 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 15:54 . 15:59:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 29 15:51 .. 15:59:48 -rw-rw-r-- 1 jenkins jenkins 119 Aug 29 15:51 .dockerignore 15:59:48 drwxrwxr-x 8 jenkins jenkins 4096 Aug 29 15:51 .git 15:59:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 15:51 .github 15:59:48 -rw-rw-r-- 1 jenkins jenkins 164 Aug 29 15:51 .gitignore 15:59:48 -rw-rw-r-- 1 jenkins jenkins 41 Aug 29 15:51 .golangci.yml 15:59:48 -rw-rw-r-- 1 jenkins jenkins 11301 Aug 29 15:51 Attribution.txt 15:59:48 -rw-rw-r-- 1 jenkins jenkins 258 Aug 29 15:51 CHANGELOG.md 15:59:48 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 29 15:51 Dockerfile 15:59:48 -rw-rw-r-- 1 jenkins jenkins 677 Aug 29 15:51 GOVERNANCE.md 15:59:48 -rw-rw-r-- 1 jenkins jenkins 681 Aug 29 15:51 Jenkinsfile 15:59:48 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 29 15:51 LICENSE 15:59:48 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 29 15:51 Makefile 15:59:48 -rw-rw-r-- 1 jenkins jenkins 611 Aug 29 15:51 OWNERS.md 15:59:48 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 29 15:51 README.md 15:59:48 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 29 15:51 Record and Reply.postman_collection.json 15:59:48 -rw-rw-r-- 1 jenkins jenkins 5 Aug 29 15:49 VERSION 15:59:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 15:51 bin 15:59:48 -rw-r--r-- 1 jenkins jenkins 24552 Aug 29 15:57 coverage.out 15:59:48 -rw-rw-r-- 1 jenkins jenkins 3916 Aug 29 15:51 go.mod 15:59:48 -rw-rw-r-- 1 jenkins jenkins 34159 Aug 29 15:51 go.sum 15:59:48 drwxrwxr-x 7 jenkins jenkins 4096 Aug 29 15:51 internal 15:59:48 -rw-rw-r-- 1 jenkins jenkins 913 Aug 29 15:51 main.go 15:59:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 29 15:51 pkg 15:59:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 29 15:51 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:48 + 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=197a96f8562f133d50695909769b8130ef14adfb --label arch=arm64 --label version=0.0.0 . 15:59:48 Sending build context to Docker daemon 263.2kB 15:59:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 15:59:48 Step 2/26 : FROM ${BASE} AS builder 15:59:48 ---> 1b389c2e30b0 15:59:48 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 15:59:50 ---> Running in 23e500406640 15:59:51 Removing intermediate container 23e500406640 15:59:51 ---> 66c3a03ef78c 15:59:51 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 15:59:51 ---> Running in 79c2b64711b3 15:59:51 Removing intermediate container 79c2b64711b3 15:59:51 ---> 2a6e168a9173 15:59:51 Step 5/26 : ARG ADD_BUILD_TAGS="" 15:59:51 ---> Running in 3485828bcb74 15:59:51 Removing intermediate container 3485828bcb74 15:59:51 ---> b64a021c1dde 15:59:51 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:51 ---> Running in 4749a7adaf4c 15:59:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:59:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:59:54 OK: 263 MiB in 53 packages 15:59:55 Removing intermediate container 4749a7adaf4c 15:59:55 ---> fa425d39d2c8 15:59:55 Step 7/26 : WORKDIR /app 15:59:55 ---> Running in 4480241c6394 15:59:55 Removing intermediate container 4480241c6394 15:59:55 ---> 0caea0946ca5 15:59:55 Step 8/26 : COPY go.mod vendor* ./ 15:59:56 ---> 1f0fb771caae 15:59:56 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:56 ---> Running in de149023a4e5 15:59:58 Removing intermediate container de149023a4e5 15:59:58 ---> e6536b11f6b5 15:59:58 Step 10/26 : COPY . . 15:59:59 ---> 8c34656e4554 15:59:59 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:59:59 ---> Running in a6b73c7cc6bb 15:59:59 Removing intermediate container a6b73c7cc6bb 15:59:59 ---> c58948ff9deb 15:59:59 Step 12/26 : RUN $MAKE 15:59:59 ---> Running in bd8162698229 16:00:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.22 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 16:02:22 Removing intermediate container bd8162698229 16:02:22 ---> fc658fd0e9d7 16:02:22 Step 13/26 : FROM alpine:3.17 16:02:22 3.17: Pulling from library/alpine 16:02:22 4060ece20d7a: Pulling fs layer 16:02:22 4060ece20d7a: Verifying Checksum 16:02:22 4060ece20d7a: Download complete 16:02:22 4060ece20d7a: Pull complete 16:02:22 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 16:02:22 Status: Downloaded newer image for alpine:3.17 16:02:22 ---> 8650cd65339b 16:02:22 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:02:22 ---> Running in fec318a28ac9 16:02:22 Removing intermediate container fec318a28ac9 16:02:22 ---> 5566ee25775f 16:02:22 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 16:02:23 ---> Running in b45aaee5cba7 16:02:23 Removing intermediate container b45aaee5cba7 16:02:23 ---> 1a90643b757d 16:02:23 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 16:02:23 ---> Running in b7aa80c0b557 16:02:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:02:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:02:25 (1/2) Installing ca-certificates (20230506-r0) 16:02:25 (2/2) Installing dumb-init (1.2.5-r2) 16:02:25 Executing busybox-1.35.0-r29.trigger 16:02:26 Executing ca-certificates-20230506-r0.trigger 16:02:26 OK: 8 MiB in 17 packages 16:02:27 Removing intermediate container b7aa80c0b557 16:02:27 ---> ba86dfa72893 16:02:27 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:02:28 ---> 5c7bfde343e9 16:02:28 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 16:02:28 ---> 2863c34f20b7 16:02:28 Step 19/26 : COPY --from=builder /app/res/ /res/ 16:02:29 ---> 877725dfdfd0 16:02:29 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 16:02:33 ---> c144f99a1691 16:02:33 Step 21/26 : EXPOSE 59712 16:02:33 ---> Running in 25dbc4d9b608 16:02:33 Removing intermediate container 25dbc4d9b608 16:02:33 ---> 7339d0326dc7 16:02:33 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 16:02:33 ---> Running in 173701a77695 16:02:33 Removing intermediate container 173701a77695 16:02:33 ---> 3146f0545be0 16:02:33 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:02:33 ---> Running in 1808c0580a3c 16:02:33 Removing intermediate container 1808c0580a3c 16:02:33 ---> 268fec90ef5c 16:02:33 Step 24/26 : LABEL arch=arm64 16:02:33 ---> Running in 6badff53910d 16:02:34 Removing intermediate container 6badff53910d 16:02:34 ---> 1bd1720a7d75 16:02:34 Step 25/26 : LABEL git_sha=197a96f8562f133d50695909769b8130ef14adfb 16:02:34 ---> Running in b16be804942d 16:02:34 Removing intermediate container b16be804942d 16:02:34 ---> a447d39e44cf 16:02:34 Step 26/26 : LABEL version=0.0.0 16:02:34 ---> Running in 7780ab5665ee 16:02:34 Removing intermediate container 7780ab5665ee 16:02:34 ---> ccdfa085f989 16:02:34 [Warning] One or more build-args [ARCH] were not consumed 16:02:34 Successfully built ccdfa085f989 16:02:34 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:35 16:02:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:35 arm64: Pulling from edgex-lftools-log-publisher 16:02:35 8998bd30e6a1: Pulling fs layer 16:02:35 04944245beec: Pulling fs layer 16:02:35 699f458cf7ca: Pulling fs layer 16:02:35 765212b225bb: Pulling fs layer 16:02:35 f23df028b6ca: Pulling fs layer 16:02:35 d65c8cfc05b1: Pulling fs layer 16:02:35 2437ff75d9bd: Pulling fs layer 16:02:35 765212b225bb: Waiting 16:02:35 d65c8cfc05b1: Waiting 16:02:35 2437ff75d9bd: Waiting 16:02:35 f23df028b6ca: Waiting 16:02:35 04944245beec: Verifying Checksum 16:02:35 04944245beec: Download complete 16:02:35 765212b225bb: Verifying Checksum 16:02:35 765212b225bb: Download complete 16:02:35 f23df028b6ca: Verifying Checksum 16:02:35 f23df028b6ca: Download complete 16:02:35 d65c8cfc05b1: Verifying Checksum 16:02:35 d65c8cfc05b1: Download complete 16:02:36 699f458cf7ca: Verifying Checksum 16:02:36 699f458cf7ca: Download complete 16:02:36 8998bd30e6a1: Verifying Checksum 16:02:36 8998bd30e6a1: Download complete 16:02:38 2437ff75d9bd: Verifying Checksum 16:02:38 2437ff75d9bd: Download complete 16:02:39 8998bd30e6a1: Pull complete 16:02:40 04944245beec: Pull complete 16:02:41 699f458cf7ca: Pull complete 16:02:41 765212b225bb: Pull complete 16:02:42 f23df028b6ca: Pull complete 16:02:42 d65c8cfc05b1: Pull complete 16:02:57 2437ff75d9bd: Pull complete 16:02:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:57 prd-ubuntu20.04-docker-arm64-4c-16g-4816 does not seem to be running inside a container 16:02:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:03:02 $ docker top f3b60be6998942db4c35d42c56adb76d0633849a85751b371e18edb315833b81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:03 ---> job-cost.sh 16:03:03 lf-activate-venv: SKIPPING 16:03:03 INFO: No Stack... 16:03:03 INFO: Retrieving Pricing Info for: v3-standard-4 16:03:04 INFO: Archiving Costs [Pipeline] sh 16:03:04 + cat /w/workspace/app-record-replay/2/archives/cost.csv 16:03:04 + cut -d, -f6 [Pipeline] lock 16:03:04 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-72-2-stack-cost] 16:03:04 Resource [jenkins-edgexfoundry-app-record-replay-PR-72-2-stack-cost] did not exist. Created. 16:03:04 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-72-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:03:05 /w/workspace/app-record-replay/2@tmp/durable-67474547/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:03:05 + echo total: 0.10999999940395355 [Pipeline] stash 16:03:05 Warning: overwriting stash ‘stack-cost’ 16:03:05 Stashed 1 file(s) [Pipeline] } 16:03:05 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-72-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:03:05 $ docker stop --time=1 f3b60be6998942db4c35d42c56adb76d0633849a85751b371e18edb315833b81 16:03:07 $ docker rm -f --volumes f3b60be6998942db4c35d42c56adb76d0633849a85751b371e18edb315833b81 [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 16:03:07 provisioning config files... 16:03:07 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-72 #2 16:03:07 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-72@tmp/config1269776156732599715tmp [Pipeline] { [Pipeline] sh 16:03:07 + set +x 16:03:07 + curl -s https://codecov.io/bash 16:03:07 + bash -s -- 16:03:07 16:03:07 _____ _ 16:03:07 / ____| | | 16:03:07 | | ___ __| | ___ ___ _____ __ 16:03:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:03:07 | |___| (_) | (_| | __/ (_| (_) \ V / 16:03:07 \_____\___/ \__,_|\___|\___\___/ \_/ 16:03:07 Bash-1.0.6 16:03:07 16:03:07 16:03:07 ==> git version 2.25.1 found 16:03:07 ==> 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 16:03:07 Release-Date: 2020-01-08 16:03:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:03:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:03:07 ==> Jenkins CI detected. 16:03:07 current dir:  /w/workspace/xfoundry_app-record-replay_PR-72 16:03:07 project root: . 16:03:07 --> token set from env 16:03:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:03:07 ==> Running gcov in . (disable via -X gcov) 16:03:07 ==> Python coveragepy not found 16:03:07 ==> Searching for coverage reports in: 16:03:07 + . 16:03:07 -> Found 1 reports 16:03:07 ==> Detecting git/mercurial file structure 16:03:07 ==> Reading reports 16:03:07 + ./coverage.out bytes=24552 16:03:07 ==> Appending adjustments 16:03:07 https://docs.codecov.io/docs/fixing-reports 16:03:07 + Found adjustments 16:03:07 ==> Gzipping contents 16:03:07 8.0K /tmp/codecov.Yu8h5J.gz 16:03:07 ==> Uploading reports 16:03:07 url: https://codecov.io 16:03:07 query: branch=PR-72&commit=197a96f8562f133d50695909769b8130ef14adfb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-72%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=72&job=&cmd_args= 16:03:07 -> Pinging Codecov 16:03:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-72&commit=197a96f8562f133d50695909769b8130ef14adfb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-72%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=72&job=&cmd_args= 16:03:07 Invalid request parameters 16:03:07 400 [Pipeline] } 16:03:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:03:08 + [ -d /w/workspace/xfoundry_app-record-replay_PR-72/archives ] 16:03:08 + ls -al /w/workspace/xfoundry_app-record-replay_PR-72/archives 16:03:08 total 16 16:03:08 drwxr-xr-x 3 root root 4096 Aug 29 15:52 . 16:03:08 drwxrwxr-x 10 jenkins jenkins 4096 Aug 29 15:52 .. 16:03:08 drwxr-xr-x 2 root root 4096 Aug 29 15:52 cost 16:03:08 -rw-r--r-- 1 root root 88 Aug 29 15:52 cost.csv 16:03:08 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-72/archives 16:03:08 + ls -al /w/workspace/xfoundry_app-record-replay_PR-72/archives 16:03:08 total 16 16:03:08 drwxr-xr-x 3 jenkins jenkins 4096 Aug 29 15:52 . 16:03:08 drwxrwxr-x 10 jenkins jenkins 4096 Aug 29 15:52 .. 16:03:08 drwxr-xr-x 2 jenkins jenkins 4096 Aug 29 15:52 cost 16:03:08 -rw-r--r-- 1 jenkins jenkins 88 Aug 29 15:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:03:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:03:09 ---> package-listing.sh 16:03:09 ++ facter osfamily 16:03:09 ++ tr '[:upper:]' '[:lower:]' 16:03:10 + OS_FAMILY=debian 16:03:10 + workspace=/w/workspace/xfoundry_app-record-replay_PR-72 16:03:10 + START_PACKAGES=/tmp/packages_start.txt 16:03:10 + END_PACKAGES=/tmp/packages_end.txt 16:03:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:03:10 + PACKAGES=/tmp/packages_start.txt 16:03:10 + '[' /w/workspace/xfoundry_app-record-replay_PR-72 ']' 16:03:10 + PACKAGES=/tmp/packages_end.txt 16:03:10 + case "${OS_FAMILY}" in 16:03:10 + dpkg -l 16:03:10 + grep '^ii' 16:03:10 + '[' -f /tmp/packages_start.txt ']' 16:03:10 + '[' -f /tmp/packages_end.txt ']' 16:03:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:03:10 + '[' /w/workspace/xfoundry_app-record-replay_PR-72 ']' 16:03:10 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-72/archives/ 16:03:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-72/archives/ [Pipeline] echo 16:03:10 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-72/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:03:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:11 prd-ubuntu20.04-docker-8c-8g-4814 does not seem to be running inside a container 16:03:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-72/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-72 -v /w/workspace/xfoundry_app-record-replay_PR-72:/w/workspace/xfoundry_app-record-replay_PR-72:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-72@tmp:/w/workspace/xfoundry_app-record-replay_PR-72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:03:11 $ docker top a2b14a5a7bd64a649da9914536ed43a21e88ff0c0a9e149979d0627252b9489f -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:11 + touch /tmp/pre-build-complete [Pipeline] sh 16:03:12 + mkdir -p /var/log/sysstat [Pipeline] sh 16:03:12 + ls /var/log/sa-host 16:03:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:03:12 provisioning config files... 16:03:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-72@tmp/config14755804285551636924tmp [Pipeline] { [Pipeline] echo 16:03:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:03:12 ---> create-netrc.sh [Pipeline] } 16:03:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:03:13 ---> python-tools-install.sh [Pipeline] echo 16:03:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:03:13 ---> sudo-logs.sh 16:03:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:03:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:03:13 ---> job-cost.sh 16:03:13 lf-activate-venv: SKIPPING 16:03:13 DEBUG: total: 0.2199999988079071 16:03:13 INFO: Retrieving Stack Cost... 16:03:14 INFO: Retrieving Pricing Info for: v3-standard-8 16:03:14 INFO: Archiving Costs [Pipeline] echo 16:03:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:03:15 ---> logs-deploy.sh 16:03:15 lf-activate-venv: SKIPPING 16:03:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-72/2 16:03:15 INFO: archiving workspace using pattern(s): 16:03:16 Archives upload complete. 16:03:16 INFO: archiving logs to Nexus