Pull request #59 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2bd36aeccdb8df39990fefeae1418f70fc24ab84+90458aff5952e3959d65678bf25cab3d18ebfb0c (b82abd9266a45e733b25d16e0cf493d745df8db4) 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-ssh6032507834065369161.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-ssh437066530083282586.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-59/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-59/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8037417716519936895.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-59/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18041334494163965194.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4745674178148339266.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-59/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-59/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11939657581268405784.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3758 in /w/workspace/xfoundry_app-record-replay_PR-59 [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-59 # 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 90458aff5952e3959d65678bf25cab3d18ebfb0c into PR head commit 2bd36aeccdb8df39990fefeae1418f70fc24ab84 Merge succeeded, producing 2bd36aeccdb8df39990fefeae1418f70fc24ab84 Checking out Revision 2bd36aeccdb8df39990fefeae1418f70fc24ab84 (PR-59) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > 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/59/head:refs/remotes/origin/PR-59 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bd36aeccdb8df39990fefeae1418f70fc24ab84 # 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 90458aff5952e3959d65678bf25cab3d18ebfb0c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bd36aeccdb8df39990fefeae1418f70fc24ab84 # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:28:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:28:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:28:03 ========================================================= 03:28:03 EdgeX Global Pipelines Version Info 03:28:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:28:04 ------------------- 03:28:04 stable info: 03:28:04 ------------------- 03:28:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:28:04 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:28:04 Message: update stable to v1.0.253 03:28:05 ------------------- 03:28:05 experimental info: 03:28:05 ------------------- 03:28:05 Commited By: **** collab-it+edgex@linuxfoundation.org 03:28:05 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:28:05 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:28:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-59 [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-59 [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-59 [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bd36aeccdb8df39990fefeae1418f70fc24ab84 [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bd36ae [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:06 provisioning config files... 03:28:06 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-59@tmp/config11411373832720519571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:07 ---> docker-login.sh 03:28:07 nexus3.edgexfoundry.org:10001 03:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:07 Configure a credential helper to remove this warning. See 03:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:07 03:28:07 Login Succeeded 03:28:07 nexus3.edgexfoundry.org:10002 03:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:07 Configure a credential helper to remove this warning. See 03:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:07 03:28:07 Login Succeeded 03:28:07 nexus3.edgexfoundry.org:10003 03:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:07 Configure a credential helper to remove this warning. See 03:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:07 03:28:07 Login Succeeded 03:28:07 nexus3.edgexfoundry.org:10004 03:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:07 Configure a credential helper to remove this warning. See 03:28:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:07 03:28:07 Login Succeeded 03:28:07 docker.io 03:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:08 Configure a credential helper to remove this warning. See 03:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:08 03:28:08 Login Succeeded 03:28:08 ---> docker-login.sh ends [Pipeline] } 03:28:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:28:08 + git rev-list -1 --merges 2bd36aeccdb8df39990fefeae1418f70fc24ab84~1..2bd36aeccdb8df39990fefeae1418f70fc24ab84 [Pipeline] echo 03:28:08 -----------> git rev-list -1 --merges 2bd36aeccdb8df39990fefeae1418f70fc24ab84~1..2bd36aeccdb8df39990fefeae1418f70fc24ab84 2bd36aeccdb8df39990fefeae1418f70fc24ab84 [false] [Pipeline] sh 03:28:09 + git log --format=format:%s -1 2bd36aeccdb8df39990fefeae1418f70fc24ab84 [Pipeline] echo 03:28:09 ========================================================= 03:28:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:28:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:28:09 + git log --format=format:%s -1 2bd36aeccdb8df39990fefeae1418f70fc24ab84 [Pipeline] echo 03:28:09 [semverPrep] GIT_COMMIT: 2bd36aeccdb8df39990fefeae1418f70fc24ab84, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:28:09 [semverPrep] This is not a build commit. [Pipeline] sh 03:28:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:28:10 + grep -v github /etc/ssh/ssh_known_hosts 03:28:10 + [ -e /tmp/ssh_known_hosts ] 03:28:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:28:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:28:10 + sudo tee -a /etc/ssh/ssh_known_hosts 03:28:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:28:10 03:28:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:28:11 0.1.4: Pulling from edgex-devops/py-git-semver 03:28:11 b85a868b505f: Pulling fs layer 03:28:11 e2be974225ed: Pulling fs layer 03:28:11 339a4e72a1f5: Pulling fs layer 03:28:11 988bab9f4d93: Pulling fs layer 03:28:11 1469e6f7b9e6: Pulling fs layer 03:28:11 eaf3925da568: Pulling fs layer 03:28:11 bab4dde63d76: Pulling fs layer 03:28:11 bde34c3a00c8: Pulling fs layer 03:28:11 b352a97aabf1: Pulling fs layer 03:28:11 4872d77fe225: Pulling fs layer 03:28:11 5851b861e8e6: Pulling fs layer 03:28:11 988bab9f4d93: Waiting 03:28:11 1469e6f7b9e6: Waiting 03:28:11 bab4dde63d76: Waiting 03:28:11 eaf3925da568: Waiting 03:28:11 bde34c3a00c8: Waiting 03:28:11 b352a97aabf1: Waiting 03:28:11 4872d77fe225: Waiting 03:28:11 5851b861e8e6: Waiting 03:28:11 e2be974225ed: Download complete 03:28:11 988bab9f4d93: Download complete 03:28:11 1469e6f7b9e6: Verifying Checksum 03:28:11 1469e6f7b9e6: Download complete 03:28:11 339a4e72a1f5: Verifying Checksum 03:28:11 339a4e72a1f5: Download complete 03:28:11 eaf3925da568: Verifying Checksum 03:28:11 eaf3925da568: Download complete 03:28:11 bde34c3a00c8: Verifying Checksum 03:28:11 bde34c3a00c8: Download complete 03:28:11 b352a97aabf1: Verifying Checksum 03:28:11 b352a97aabf1: Download complete 03:28:11 4872d77fe225: Verifying Checksum 03:28:11 4872d77fe225: Download complete 03:28:11 5851b861e8e6: Download complete 03:28:11 b85a868b505f: Verifying Checksum 03:28:11 b85a868b505f: Download complete 03:28:11 bab4dde63d76: Verifying Checksum 03:28:11 bab4dde63d76: Download complete 03:28:12 b85a868b505f: Pull complete 03:28:12 e2be974225ed: Pull complete 03:28:13 339a4e72a1f5: Pull complete 03:28:13 988bab9f4d93: Pull complete 03:28:13 1469e6f7b9e6: Pull complete 03:28:13 eaf3925da568: Pull complete 03:28:15 bab4dde63d76: Pull complete 03:28:15 bde34c3a00c8: Pull complete 03:28:15 b352a97aabf1: Pull complete 03:28:15 4872d77fe225: Pull complete 03:28:15 5851b861e8e6: Pull complete 03:28:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:28:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:28:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:15 prd-ubuntu20.04-docker-8c-8g-3758 does not seem to be running inside a container 03:28:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-59 -v /w/workspace/xfoundry_app-record-replay_PR-59:/w/workspace/xfoundry_app-record-replay_PR-59:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-59@tmp:/w/workspace/xfoundry_app-record-replay_PR-59@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:28:18 $ docker top 1f21f4368ef7e41d7db64bc55647c025797a9b8ff688152bbd7c6abcea12d6f8 -eo pid,comm 03:28:19 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). 03:28:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:28:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:28:19 [ssh-agent] Looking for ssh-agent implementation... 03:28:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:28:19 $ docker exec 1f21f4368ef7e41d7db64bc55647c025797a9b8ff688152bbd7c6abcea12d6f8 ssh-agent 03:28:19 SSH_AUTH_SOCK=/tmp/ssh-jEFCU04ArEch/agent.32 03:28:19 SSH_AGENT_PID=38 03:28:19 Running ssh-add (command line suppressed) 03:28:19 Identity added: /w/workspace/xfoundry_app-record-replay_PR-59@tmp/private_key_2906346184396887487.key (/w/workspace/xfoundry_app-record-replay_PR-59@tmp/private_key_2906346184396887487.key) 03:28:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:28:19 + git tag --points-at HEAD [Pipeline] } 03:28:19 $ docker exec --env ******** --env ******** 1f21f4368ef7e41d7db64bc55647c025797a9b8ff688152bbd7c6abcea12d6f8 ssh-agent -k 03:28:19 unset SSH_AUTH_SOCK; 03:28:19 unset SSH_AGENT_PID; 03:28:19 echo Agent pid 38 killed; 03:28:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:28:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:28:20 [ssh-agent] Looking for ssh-agent implementation... 03:28:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:28:20 $ docker exec 1f21f4368ef7e41d7db64bc55647c025797a9b8ff688152bbd7c6abcea12d6f8 ssh-agent 03:28:20 SSH_AUTH_SOCK=/tmp/ssh-1tfUGzeBVznG/agent.70 03:28:20 SSH_AGENT_PID=76 03:28:20 Running ssh-add (command line suppressed) 03:28:20 Identity added: /w/workspace/xfoundry_app-record-replay_PR-59@tmp/private_key_8980733198576413230.key (/w/workspace/xfoundry_app-record-replay_PR-59@tmp/private_key_8980733198576413230.key) 03:28:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:28:20 + git semver init 03:28:21 2023-08-16 03:28:20,979 [run_init] DEBUG init version:0.0.0 force:False 03:28:21 2023-08-16 03:28:20,979 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-59/.semver 03:28:21 2023-08-16 03:28:20,980 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-59/.semver 03:28:21 2023-08-16 03:28:20,980 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-59/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-59, universal_newlines=False, shell=None, istream=None) 03:28:21 2023-08-16 03:28:21,583 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-59/.git/info/exclude 03:28:21 2023-08-16 03:28:21,584 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-59/.semver/PR-59 with force:False 03:28:21 2023-08-16 03:28:21,584 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-59/.semver/PR-59 03:28:21 2023-08-16 03:28:21,588 [execute] INFO git cat-file --batch-check 03:28:21 2023-08-16 03:28:21,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-59/.semver, universal_newlines=False, shell=None, istream=) 03:28:21 2023-08-16 03:28:21,594 [execute] INFO git cat-file --batch 03:28:21 2023-08-16 03:28:21,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-59/.semver, universal_newlines=False, shell=None, istream=) 03:28:21 2023-08-16 03:28:21,599 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-59/.semver/PR-59 03:28:21 0.0.0 [Pipeline] } 03:28:21 $ docker exec --env ******** --env ******** 1f21f4368ef7e41d7db64bc55647c025797a9b8ff688152bbd7c6abcea12d6f8 ssh-agent -k 03:28:21 unset SSH_AUTH_SOCK; 03:28:21 unset SSH_AGENT_PID; 03:28:21 echo Agent pid 76 killed; 03:28:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:28:22 + git semver [Pipeline] } 03:28:22 $ docker stop --time=1 1f21f4368ef7e41d7db64bc55647c025797a9b8ff688152bbd7c6abcea12d6f8 03:28:23 $ docker rm -f --volumes 1f21f4368ef7e41d7db64bc55647c025797a9b8ff688152bbd7c6abcea12d6f8 [Pipeline] // withDockerContainer [Pipeline] sh 03:28:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:28:24 Stashed 1 file(s) [Pipeline] echo 03:28:24 [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 03:28:25 provisioning config files... 03:28:25 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-59@tmp/config10552593888919357051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:25 ---> docker-login.sh 03:28:25 nexus3.edgexfoundry.org:10001 03:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:25 Configure a credential helper to remove this warning. See 03:28:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:25 03:28:25 Login Succeeded 03:28:25 nexus3.edgexfoundry.org:10002 03:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:25 Configure a credential helper to remove this warning. See 03:28:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:25 03:28:25 Login Succeeded 03:28:25 nexus3.edgexfoundry.org:10003 03:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:25 Configure a credential helper to remove this warning. See 03:28:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:25 03:28:25 Login Succeeded 03:28:25 nexus3.edgexfoundry.org:10004 03:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:25 Configure a credential helper to remove this warning. See 03:28:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:25 03:28:25 Login Succeeded 03:28:25 docker.io 03:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:25 Configure a credential helper to remove this warning. See 03:28:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:25 03:28:25 Login Succeeded 03:28:25 ---> docker-login.sh ends [Pipeline] } 03:28:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:28:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:28:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:28:26 ========================================================= 03:28:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:28:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:26 + 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 . 03:28:26 Sending build context to Docker daemon 444.9kB 03:28:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:28:26 Step 2/12 : FROM ${BASE} AS builder 03:28:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:28:26 4db1b89c0bd1: Pulling fs layer 03:28:26 6911f1a30b25: Pulling fs layer 03:28:26 e194b8c5c2a9: Pulling fs layer 03:28:26 6863d3e3a2b1: Pulling fs layer 03:28:26 ec0bb842ea78: Pulling fs layer 03:28:26 40a00589a448: Pulling fs layer 03:28:26 6c08303d61cc: Pulling fs layer 03:28:26 798269fcf238: Pulling fs layer 03:28:26 40a00589a448: Waiting 03:28:26 6863d3e3a2b1: Waiting 03:28:26 6c08303d61cc: Waiting 03:28:26 ec0bb842ea78: Waiting 03:28:26 798269fcf238: Waiting 03:28:26 6911f1a30b25: Download complete 03:28:26 6863d3e3a2b1: Download complete 03:28:26 ec0bb842ea78: Verifying Checksum 03:28:26 ec0bb842ea78: Download complete 03:28:26 4db1b89c0bd1: Verifying Checksum 03:28:26 4db1b89c0bd1: Download complete 03:28:26 40a00589a448: Verifying Checksum 03:28:26 40a00589a448: Download complete 03:28:26 4db1b89c0bd1: Pull complete 03:28:27 6911f1a30b25: Pull complete 03:28:27 798269fcf238: Verifying Checksum 03:28:27 798269fcf238: Download complete 03:28:27 e194b8c5c2a9: Verifying Checksum 03:28:27 e194b8c5c2a9: Download complete 03:28:27 6c08303d61cc: Verifying Checksum 03:28:27 6c08303d61cc: Download complete 03:28:31 e194b8c5c2a9: Pull complete 03:28:31 6863d3e3a2b1: Pull complete 03:28:31 ec0bb842ea78: Pull complete 03:28:31 40a00589a448: Pull complete 03:28:32 6c08303d61cc: Pull complete 03:28:33 798269fcf238: Pull complete 03:28:33 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:28:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:28:33 ---> ec979cd7f677 03:28:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:28:38 ---> Running in 549f2b568fc2 03:28:38 Removing intermediate container 549f2b568fc2 03:28:38 ---> 44f95c88d920 03:28:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:28:38 ---> Running in e59eed107ede 03:28:38 Removing intermediate container e59eed107ede 03:28:38 ---> 9c314de272e9 03:28:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:28:38 ---> Running in d3dbced531f6 03:28:38 Removing intermediate container d3dbced531f6 03:28:38 ---> 22413abccbf1 03:28:38 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:28:38 ---> Running in b0af2c08b880 03:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:28:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:28:39 OK: 265 MiB in 53 packages 03:28:39 Removing intermediate container b0af2c08b880 03:28:39 ---> 5e898e17c04d 03:28:39 Step 7/12 : WORKDIR /app 03:28:39 ---> Running in f5d264faf810 03:28:39 Removing intermediate container f5d264faf810 03:28:39 ---> c4457c56a927 03:28:39 Step 8/12 : COPY go.mod vendor* ./ 03:28:39 ---> 69771f80a4c8 03:28:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:39 ---> Running in 71d0ac9c4f97 03:28:39 Still waiting to schedule task 03:28:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:29:18 Removing intermediate container 71d0ac9c4f97 03:29:18 ---> 8684c499b18f 03:29:18 Step 10/12 : COPY . . 03:29:18 ---> cbfdfc9353fb 03:29:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:29:18 ---> Running in 3690c317dbdd 03:29:18 Removing intermediate container 3690c317dbdd 03:29:18 ---> 079af53baa6e 03:29:18 Step 12/12 : RUN $MAKE 03:29:18 ---> Running in 6dca216711cf 03:29:18 noop 03:29:18 Removing intermediate container 6dca216711cf 03:29:18 ---> c31b2f255d5f 03:29:18 Successfully built c31b2f255d5f 03:29:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:18 + docker inspect -f . ci-base-image-x86_64 03:29:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:18 prd-ubuntu20.04-docker-8c-8g-3758 does not seem to be running inside a container 03:29:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-59 -v /w/workspace/xfoundry_app-record-replay_PR-59:/w/workspace/xfoundry_app-record-replay_PR-59:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-59@tmp:/w/workspace/xfoundry_app-record-replay_PR-59@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 ******** ci-base-image-x86_64 cat 03:29:19 $ docker top d7bd17a7e5d4ddb0b91b9771d7c46cc40fab6c05696003a86f412abe187c0d32 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:19 + go version 03:29:19 go version go1.20.6 linux/amd64 [Pipeline] } 03:29:19 $ docker stop --time=1 d7bd17a7e5d4ddb0b91b9771d7c46cc40fab6c05696003a86f412abe187c0d32 03:29:20 $ docker rm -f --volumes d7bd17a7e5d4ddb0b91b9771d7c46cc40fab6c05696003a86f412abe187c0d32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:21 + docker inspect -f . ci-base-image-x86_64 03:29:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:21 prd-ubuntu20.04-docker-8c-8g-3758 does not seem to be running inside a container 03:29:21 $ 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-59 -v /w/workspace/xfoundry_app-record-replay_PR-59:/w/workspace/xfoundry_app-record-replay_PR-59:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-59@tmp:/w/workspace/xfoundry_app-record-replay_PR-59@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 ******** ci-base-image-x86_64 cat 03:29:22 $ docker top fdc81998eade464eb1405ad49fa65cb9c9e13dd9f9e04feb9867614d8e1bd328 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:22 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-59 [Pipeline] fileExists [Pipeline] sh 03:29:22 + make test 03:29:22 go test -race -coverprofile=coverage.out ./... 03:29:44 ? github.com/edgexfoundry/app-record-replay [no test files] 03:29:44 ok github.com/edgexfoundry/app-record-replay/internal/app 0.082s coverage: 88.0% of statements 03:29:44 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:29:44 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:29:44 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:29:52 ok github.com/edgexfoundry/app-record-replay/internal/application 8.584s coverage: 97.5% of statements 03:29:52 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.103s coverage: 85.2% of statements 03:30:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3759 in /w/workspace/xfoundry_app-record-replay_PR-59 [Pipeline] { [Pipeline] ws 03:30:14 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:30:14 Selected Git installation does not exist. Using Default 03:30:14 The recommended git tool is: NONE 03:30:14 go vet ./... 03:30:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:30:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:30:16 ./bin/test-attribution-txt.sh [Pipeline] echo 03:30:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:30:16 $ docker stop --time=1 fdc81998eade464eb1405ad49fa65cb9c9e13dd9f9e04feb9867614d8e1bd328 03:30:19 using credential edgex-jenkins-ssh 03:30:19 Cloning the remote Git repository 03:30:20 $ docker rm -f --volumes fdc81998eade464eb1405ad49fa65cb9c9e13dd9f9e04feb9867614d8e1bd328 03:30:19 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:30:19 > git init /w/workspace/app-record-replay/1 # timeout=10 03:30:19 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:30:19 > git --version # timeout=10 03:30:19 > git --version # 'git version 2.25.1' 03:30:19 using GIT_SSH to set credentials SSH Credentials for GitHub 03:30:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:30:20 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:30:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh 03:30:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:30:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:30:21 Merging remotes/origin/main commit 90458aff5952e3959d65678bf25cab3d18ebfb0c into PR head commit 2bd36aeccdb8df39990fefeae1418f70fc24ab84 03:30:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:30:21 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:30:21 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:30:21 using GIT_SSH to set credentials SSH Credentials for GitHub 03:30:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/59/head:refs/remotes/origin/PR-59 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:30:21 > git config core.sparsecheckout # timeout=10 03:30:21 > git checkout -f 2bd36aeccdb8df39990fefeae1418f70fc24ab84 # timeout=10 03:30:22 > git remote # timeout=10 03:30:22 > git config --get remote.origin.url # timeout=10 03:30:22 using GIT_SSH to set credentials SSH Credentials for GitHub 03:30:22 > git merge 90458aff5952e3959d65678bf25cab3d18ebfb0c # timeout=10 03:30:22 > git rev-parse HEAD^{commit} # timeout=10 03:30:22 Merge succeeded, producing 2bd36aeccdb8df39990fefeae1418f70fc24ab84 03:30:22 Checking out Revision 2bd36aeccdb8df39990fefeae1418f70fc24ab84 (PR-59) 03:30:22 + ls -al . 03:30:22 total 172 03:30:22 drwxrwxr-x 9 jenkins jenkins 4096 Aug 16 03:29 . 03:30:22 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 03:28 .. 03:30:22 -rw-rw-r-- 1 jenkins jenkins 119 Aug 16 03:28 .dockerignore 03:30:22 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 03:28 .git 03:30:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 03:28 .github 03:30:22 -rw-rw-r-- 1 jenkins jenkins 164 Aug 16 03:28 .gitignore 03:30:22 -rw-rw-r-- 1 jenkins jenkins 41 Aug 16 03:28 .golangci.yml 03:30:22 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 03:28 .semver 03:30:22 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 16 03:28 Attribution.txt 03:30:22 -rw-rw-r-- 1 jenkins jenkins 258 Aug 16 03:28 CHANGELOG.md 03:30:22 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 16 03:28 Dockerfile 03:30:22 -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 03:28 GOVERNANCE.md 03:30:22 -rw-rw-r-- 1 jenkins jenkins 681 Aug 16 03:28 Jenkinsfile 03:30:22 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 16 03:28 LICENSE 03:30:22 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 16 03:28 Makefile 03:30:22 -rw-rw-r-- 1 jenkins jenkins 611 Aug 16 03:28 OWNERS.md 03:30:22 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 16 03:28 README.md 03:30:22 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 16 03:28 Record and Reply.postman_collection.json 03:30:22 -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 03:28 VERSION 03:30:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 03:28 bin 03:30:22 -rw-r--r-- 1 jenkins jenkins 16060 Aug 16 03:29 coverage.out 03:30:22 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 16 03:28 go.mod 03:30:22 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 16 03:28 go.sum 03:30:22 drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 03:28 internal 03:30:22 -rw-rw-r-- 1 jenkins jenkins 913 Aug 16 03:28 main.go 03:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 03:28 pkg 03:30:22 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 03:28 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:22 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:30:22 > git --version # timeout=10 03:30:22 > git --version # 'git version 2.25.1' 03:30:22 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:30:22 + 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=2bd36aeccdb8df39990fefeae1418f70fc24ab84 --label arch=amd64 --label version=0.0.0 . 03:30:22 Sending build context to Docker daemon 461.8kB 03:30:22 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:30:22 Step 2/26 : FROM ${BASE} AS builder 03:30:22 ---> c31b2f255d5f 03:30:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:30:23 ---> Running in 58cc4108c248 03:30:23 Removing intermediate container 58cc4108c248 03:30:23 ---> 3dbe2578799f 03:30:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:30:23 ---> Running in 7743ef6dc2a2 03:30:23 Removing intermediate container 7743ef6dc2a2 03:30:23 ---> 1c0d88314d12 03:30:23 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:30:23 ---> Running in 3bf0e3d33860 03:30:23 Removing intermediate container 3bf0e3d33860 03:30:23 ---> 1243ea2bd39c 03:30:23 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:30:23 ---> Running in 25f10a844c0e 03:30:22 > git config core.sparsecheckout # timeout=10 03:30:22 > git checkout -f 2bd36aeccdb8df39990fefeae1418f70fc24ab84 # timeout=10 03:30:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:30:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:30:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:30:23 % Total % Received % Xferd Average Speed Time Time Time Current 03:30:23 Dload Upload Total Spent Left Speed 03:30:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 90432 03:30:23 OK: 265 MiB in 53 packages [Pipeline] sh 03:30:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:30:24 Removing intermediate container 25f10a844c0e 03:30:24 ---> fedd681bd997 03:30:24 Step 7/26 : WORKDIR /app 03:30:24 ---> Running in 98a93cafad7c 03:30:24 Removing intermediate container 98a93cafad7c 03:30:24 ---> 153744023fbe 03:30:24 Step 8/26 : COPY go.mod vendor* ./ 03:30:24 ---> 6a0af8465c69 03:30:24 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:30:24 ---> Running in 37859a2a43cf 03:30:24 + sudo tee /etc/docker/daemon.new 03:30:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:30:24 { 03:30:24 "registry-mirrors": [ 03:30:24 "https://nexus3.edgexfoundry.org:10001" 03:30:24 ], 03:30:24 "bip": "10.250.0.254/24", 03:30:24 "hosts": [ 03:30:24 "tcp://0.0.0.0:5555", 03:30:24 "unix:///var/run/docker.sock" 03:30:24 ], 03:30:24 "mtu": 1458, 03:30:24 "selinux-enabled": true, 03:30:24 "seccomp-profile": "/etc/docker/seccomp.json" 03:30:24 } [Pipeline] sh 03:30:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:30:25 Removing intermediate container 37859a2a43cf 03:30:25 ---> bef5fdbd9520 03:30:25 Step 10/26 : COPY . . 03:30:25 ---> fe457e896a2b 03:30:25 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:30:25 ---> Running in 705a4874621f 03:30:25 + sudo service docker restart 03:30:25 Removing intermediate container 705a4874621f 03:30:25 ---> 36dc0e15d1dc 03:30:25 Step 12/26 : RUN $MAKE 03:30:25 ---> Running in 495fbe0fc7d3 03:30:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.19 -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 03:30:43 provisioning config files... 03:30:43 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config8344532606254313652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:44 ---> docker-login.sh 03:30:44 nexus3.edgexfoundry.org:10001 03:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:44 Configure a credential helper to remove this warning. See 03:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:44 03:30:44 Login Succeeded 03:30:44 nexus3.edgexfoundry.org:10002 03:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:44 Configure a credential helper to remove this warning. See 03:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:44 03:30:44 Login Succeeded 03:30:44 nexus3.edgexfoundry.org:10003 03:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:45 Configure a credential helper to remove this warning. See 03:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:45 03:30:45 Login Succeeded 03:30:45 nexus3.edgexfoundry.org:10004 03:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:45 Configure a credential helper to remove this warning. See 03:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:45 03:30:45 Login Succeeded 03:30:45 docker.io 03:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:45 Configure a credential helper to remove this warning. See 03:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:45 03:30:45 Login Succeeded 03:30:45 ---> docker-login.sh ends [Pipeline] } 03:30:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:30:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:30:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:30:46 ========================================================= 03:30:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:30:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:46 + 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 . 03:30:46 Sending build context to Docker daemon 197.1kB 03:30:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:30:47 Step 2/12 : FROM ${BASE} AS builder 03:30:47 Removing intermediate container 495fbe0fc7d3 03:30:47 ---> 8225c1669910 03:30:47 Step 13/26 : FROM alpine:3.17 03:30:47 3.17: Pulling from library/alpine 03:30:47 9398808236ff: Pulling fs layer 03:30:47 9398808236ff: Download complete 03:30:47 9398808236ff: Pull complete 03:30:47 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 03:30:47 Status: Downloaded newer image for alpine:3.17 03:30:47 ---> 1e0b8b5322fc 03:30:47 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:30:47 ---> Running in 0796216b24c8 03:30:47 Removing intermediate container 0796216b24c8 03:30:47 ---> 416af1a3c09c 03:30:47 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:30:47 ---> Running in 46cdee020382 03:30:47 Removing intermediate container 46cdee020382 03:30:47 ---> 62ea3289c770 03:30:47 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:30:47 ---> Running in 65ef446e6a4e 03:30:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:30:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:30:47 (1/2) Installing ca-certificates (20230506-r0) 03:30:47 (2/2) Installing dumb-init (1.2.5-r2) 03:30:47 Executing busybox-1.35.0-r29.trigger 03:30:47 Executing ca-certificates-20230506-r0.trigger 03:30:47 OK: 8 MiB in 17 packages 03:30:47 Removing intermediate container 65ef446e6a4e 03:30:47 ---> 6bddc4b7a27b 03:30:47 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:30:47 ---> 1b45ea48e051 03:30:47 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:30:47 ---> 30e9d3f26345 03:30:47 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:30:47 ---> ee8421309660 03:30:47 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:30:49 ---> 12965dcc43b8 03:30:49 Step 21/26 : EXPOSE 59712 03:30:49 ---> Running in c15f97708b6e 03:30:49 Removing intermediate container c15f97708b6e 03:30:49 ---> fd2dbb2ea1f3 03:30:49 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:30:49 ---> Running in c5f9c9df2158 03:30:49 Removing intermediate container c5f9c9df2158 03:30:49 ---> 3df9f1f84e82 03:30:49 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:30:49 ---> Running in 7a37fdfd5115 03:30:49 Removing intermediate container 7a37fdfd5115 03:30:49 ---> 390a9bc492b3 03:30:49 Step 24/26 : LABEL arch=amd64 03:30:49 ---> Running in 94a85c441f4e 03:30:49 Removing intermediate container 94a85c441f4e 03:30:49 ---> 5de9c1635ced 03:30:49 Step 25/26 : LABEL git_sha=2bd36aeccdb8df39990fefeae1418f70fc24ab84 03:30:49 ---> Running in fd09e4f55bca 03:30:49 Removing intermediate container fd09e4f55bca 03:30:49 ---> b1e9b5ac0f72 03:30:49 Step 26/26 : LABEL version=0.0.0 03:30:49 ---> Running in bfc43a6de18a 03:30:49 Removing intermediate container bfc43a6de18a 03:30:49 ---> a685e4b7509c 03:30:49 [Warning] One or more build-args [ARCH] were not consumed 03:30:49 Successfully built a685e4b7509c 03:30:49 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 03:30:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:30:50 03:30:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:30:50 edb6bdbacee9: Pulling fs layer 03:30:50 5f9638ab2659: Pulling fs layer 03:30:50 8d51d6327a98: Pulling fs layer 03:30:50 8b374f2dd631: Pulling fs layer 03:30:50 ec14aa9079de: Pulling fs layer 03:30:50 2f466654f4bb: Pulling fs layer 03:30:50 554e91adad29: Pulling fs layer 03:30:50 ec14aa9079de: Waiting 03:30:50 8b374f2dd631: Waiting 03:30:50 2f466654f4bb: Waiting 03:30:50 554e91adad29: Waiting 03:30:50 5f9638ab2659: Download complete 03:30:50 8b374f2dd631: Verifying Checksum 03:30:50 8b374f2dd631: Download complete 03:30:50 ec14aa9079de: Download complete 03:30:50 edb6bdbacee9: Verifying Checksum 03:30:50 edb6bdbacee9: Download complete 03:30:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:30:50 latest: Pulling from edgex-lftools-log-publisher 03:30:50 5eb5b503b376: Pulling fs layer 03:30:50 5c69ac0246d0: Pulling fs layer 03:30:50 ec43610c2a17: Pulling fs layer 03:30:50 3a2ae6a8a46f: Pulling fs layer 03:30:50 33b1e0a273af: Pulling fs layer 03:30:50 5d3b04190fa2: Pulling fs layer 03:30:50 2f39f015ded8: Pulling fs layer 03:30:50 5d3b04190fa2: Waiting 03:30:50 3a2ae6a8a46f: Waiting 03:30:50 2f39f015ded8: Waiting 03:30:50 33b1e0a273af: Waiting 03:30:50 5c69ac0246d0: Verifying Checksum 03:30:50 5c69ac0246d0: Download complete 03:30:50 3a2ae6a8a46f: Verifying Checksum 03:30:50 3a2ae6a8a46f: Download complete 03:30:50 33b1e0a273af: Verifying Checksum 03:30:50 33b1e0a273af: Download complete 03:30:50 5d3b04190fa2: Verifying Checksum 03:30:50 5d3b04190fa2: Download complete 03:30:50 ec43610c2a17: Download complete 03:30:51 edb6bdbacee9: Pull complete 03:30:51 5eb5b503b376: Verifying Checksum 03:30:51 5eb5b503b376: Download complete 03:30:51 554e91adad29: Verifying Checksum 03:30:51 554e91adad29: Download complete 03:30:51 5f9638ab2659: Pull complete 03:30:51 2f39f015ded8: Verifying Checksum 03:30:51 2f39f015ded8: Download complete 03:30:52 5eb5b503b376: Pull complete 03:30:52 5c69ac0246d0: Pull complete 03:30:52 ec43610c2a17: Pull complete 03:30:52 8d51d6327a98: Download complete 03:30:52 3a2ae6a8a46f: Pull complete 03:30:52 2f466654f4bb: Verifying Checksum 03:30:52 2f466654f4bb: Download complete 03:30:53 33b1e0a273af: Pull complete 03:30:53 5d3b04190fa2: Pull complete 03:30:57 2f39f015ded8: Pull complete 03:30:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:30:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:30:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:57 prd-ubuntu20.04-docker-8c-8g-3758 does not seem to be running inside a container 03:30: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/xfoundry_app-record-replay_PR-59 -v /w/workspace/xfoundry_app-record-replay_PR-59:/w/workspace/xfoundry_app-record-replay_PR-59:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-59@tmp:/w/workspace/xfoundry_app-record-replay_PR-59@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:31:02 $ docker top a29aebe69808ff46bcec3f4bfa60d924e6f525718bf9f03709ea892e1cf9aadc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:31:02 ---> job-cost.sh 03:31:02 lf-activate-venv: SKIPPING 03:31:02 INFO: No Stack... 03:31:03 INFO: Retrieving Pricing Info for: v3-standard-8 03:31:03 INFO: Archiving Costs [Pipeline] sh 03:31:03 + cat /w/workspace/xfoundry_app-record-replay_PR-59/archives/cost.csv 03:31:03 + cut -d, -f6 [Pipeline] lock 03:31:03 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-59-1-stack-cost] 03:31:03 Resource [jenkins-edgexfoundry-app-record-replay-PR-59-1-stack-cost] did not exist. Created. 03:31:03 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-59-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:31:04 + echo total: 0.2199999988079071 [Pipeline] stash 03:31:04 Stashed 1 file(s) [Pipeline] } 03:31:04 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-59-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:31:04 $ docker stop --time=1 a29aebe69808ff46bcec3f4bfa60d924e6f525718bf9f03709ea892e1cf9aadc 03:31:05 $ docker rm -f --volumes a29aebe69808ff46bcec3f4bfa60d924e6f525718bf9f03709ea892e1cf9aadc 03:31:05 8d51d6327a98: Pull complete 03:31:05 8b374f2dd631: Pull complete 03:31:05 ec14aa9079de: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:31:12 2f466654f4bb: Pull complete 03:31:13 554e91adad29: Pull complete 03:31:13 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:31:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:31:13 ---> 1e15ea492957 03:31:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:31:15 ---> Running in c3413d975579 03:31:15 Removing intermediate container c3413d975579 03:31:15 ---> 12b8cd866867 03:31:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:31:15 ---> Running in f82e7f19d9a9 03:31:15 Removing intermediate container f82e7f19d9a9 03:31:15 ---> 5de21ee09565 03:31:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:31:15 ---> Running in becae9c1fe95 03:31:16 Removing intermediate container becae9c1fe95 03:31:16 ---> a8aabf23c740 03:31:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:31:16 ---> Running in 06b7626cb18e 03:31:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:31:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:31:18 OK: 263 MiB in 53 packages 03:31:19 Removing intermediate container 06b7626cb18e 03:31:19 ---> 4b6e3629f8c9 03:31:19 Step 7/12 : WORKDIR /app 03:31:19 ---> Running in 42f46b1be0b6 03:31:20 Removing intermediate container 42f46b1be0b6 03:31:20 ---> 4c8ea4e41002 03:31:20 Step 8/12 : COPY go.mod vendor* ./ 03:31:20 ---> dcad1f0e435f 03:31:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:31:20 ---> Running in e3f0548f545d 03:32:28 Removing intermediate container e3f0548f545d 03:32:28 ---> e42621399f9f 03:32:28 Step 10/12 : COPY . . 03:32:28 ---> f6d530e0c1bb 03:32:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:32:28 ---> Running in d0790c3be9d1 03:32:28 Removing intermediate container d0790c3be9d1 03:32:28 ---> ebd2b5c73084 03:32:28 Step 12/12 : RUN $MAKE 03:32:28 ---> Running in f0e71182c4e0 03:32:28 noop 03:32:28 Removing intermediate container f0e71182c4e0 03:32:28 ---> ecae162ddb70 03:32:28 Successfully built ecae162ddb70 03:32:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:29 + docker inspect -f . ci-base-image-arm64 03:32:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:32:29 prd-ubuntu20.04-docker-arm64-4c-16g-3759 does not seem to be running inside a container 03:32:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@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 ******** ci-base-image-arm64 cat 03:32:30 $ docker top b28b9a9c82219c7cc7e54269d6637d37b8ec7df489b784824352bcc912388689 -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:31 + go version 03:32:31 go version go1.20.6 linux/arm64 [Pipeline] } 03:32:31 $ docker stop --time=1 b28b9a9c82219c7cc7e54269d6637d37b8ec7df489b784824352bcc912388689 03:32:32 $ docker rm -f --volumes b28b9a9c82219c7cc7e54269d6637d37b8ec7df489b784824352bcc912388689 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:33 + docker inspect -f . ci-base-image-arm64 03:32:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:32:34 prd-ubuntu20.04-docker-arm64-4c-16g-3759 does not seem to be running inside a container 03:32:34 $ 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/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@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 ******** ci-base-image-arm64 cat 03:32:36 $ docker top b19b87e0d7e16140e4f49e87f8b3fb0d13ef293e80f35452fe1e747c2cc7a98e -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:36 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 03:32:37 + make test 03:32:37 go test -race -coverprofile=coverage.out ./... 03:35:13 ? github.com/edgexfoundry/app-record-replay [no test files] 03:35:18 ok github.com/edgexfoundry/app-record-replay/internal/app 0.234s coverage: 88.0% of statements 03:35:22 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:35:22 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:35:22 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:35:26 ok github.com/edgexfoundry/app-record-replay/internal/application 8.813s coverage: 97.5% of statements 03:35:26 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.523s coverage: 85.2% of statements 03:35:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:35:27 go vet ./... 03:37:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:37:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:37:49 ./bin/test-attribution-txt.sh [Pipeline] echo 03:37:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:37:49 $ docker stop --time=1 b19b87e0d7e16140e4f49e87f8b3fb0d13ef293e80f35452fe1e747c2cc7a98e 03:37:51 $ docker rm -f --volumes b19b87e0d7e16140e4f49e87f8b3fb0d13ef293e80f35452fe1e747c2cc7a98e [Pipeline] // withDockerContainer [Pipeline] sh 03:37:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:37:52 Warning: overwriting stash ‘coverage-report’ 03:37:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:37:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:37:54 + ls -al . 03:37:54 total 168 03:37:54 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 03:32 . 03:37:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 03:30 .. 03:37:54 -rw-rw-r-- 1 jenkins jenkins 119 Aug 16 03:30 .dockerignore 03:37:54 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 03:30 .git 03:37:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 03:30 .github 03:37:54 -rw-rw-r-- 1 jenkins jenkins 164 Aug 16 03:30 .gitignore 03:37:54 -rw-rw-r-- 1 jenkins jenkins 41 Aug 16 03:30 .golangci.yml 03:37:54 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 16 03:30 Attribution.txt 03:37:54 -rw-rw-r-- 1 jenkins jenkins 258 Aug 16 03:30 CHANGELOG.md 03:37:54 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 16 03:30 Dockerfile 03:37:54 -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 03:30 GOVERNANCE.md 03:37:54 -rw-rw-r-- 1 jenkins jenkins 681 Aug 16 03:30 Jenkinsfile 03:37:54 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 16 03:30 LICENSE 03:37:54 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 16 03:30 Makefile 03:37:54 -rw-rw-r-- 1 jenkins jenkins 611 Aug 16 03:30 OWNERS.md 03:37:54 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 16 03:30 README.md 03:37:54 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 16 03:30 Record and Reply.postman_collection.json 03:37:54 -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 03:28 VERSION 03:37:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 03:30 bin 03:37:54 -rw-r--r-- 1 jenkins jenkins 16060 Aug 16 03:35 coverage.out 03:37:54 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 16 03:30 go.mod 03:37:54 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 16 03:30 go.sum 03:37:54 drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 03:30 internal 03:37:54 -rw-rw-r-- 1 jenkins jenkins 913 Aug 16 03:30 main.go 03:37:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 03:30 pkg 03:37:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 03:30 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:54 + 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=2bd36aeccdb8df39990fefeae1418f70fc24ab84 --label arch=arm64 --label version=0.0.0 . 03:37:54 Sending build context to Docker daemon 214kB 03:37:54 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:37:54 Step 2/26 : FROM ${BASE} AS builder 03:37:54 ---> ecae162ddb70 03:37:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:37:54 ---> Running in 1d1c0dc6f51b 03:37:54 Removing intermediate container 1d1c0dc6f51b 03:37:54 ---> 4ffa2480105f 03:37:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:37:55 ---> Running in 1423e447b682 03:37:55 Removing intermediate container 1423e447b682 03:37:55 ---> 8d00096e742f 03:37:55 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:37:55 ---> Running in 47de94830f9f 03:37:55 Removing intermediate container 47de94830f9f 03:37:55 ---> 6e313af7bd17 03:37:55 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:37:55 ---> Running in 24a34609424d 03:37:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:37:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:37:58 OK: 263 MiB in 53 packages 03:37:59 Removing intermediate container 24a34609424d 03:37:59 ---> 483db5b89f4d 03:37:59 Step 7/26 : WORKDIR /app 03:37:59 ---> Running in 43532943259d 03:37:59 Removing intermediate container 43532943259d 03:37:59 ---> 75e34fe0f674 03:37:59 Step 8/26 : COPY go.mod vendor* ./ 03:37:59 ---> 9474986ad55c 03:37:59 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:38:00 ---> Running in f85a3ec9d8b4 03:38:02 Removing intermediate container f85a3ec9d8b4 03:38:02 ---> 1b5c2917d347 03:38:02 Step 10/26 : COPY . . 03:38:03 ---> b1254a92f044 03:38:03 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:38:03 ---> Running in 2da00911d30f 03:38:03 Removing intermediate container 2da00911d30f 03:38:03 ---> 788d125e0b5b 03:38:03 Step 12/26 : RUN $MAKE 03:38:03 ---> Running in 04b92b64143d 03:38:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 03:40:11 Removing intermediate container 04b92b64143d 03:40:11 ---> ee4e99c41925 03:40:11 Step 13/26 : FROM alpine:3.17 03:40:11 3.17: Pulling from library/alpine 03:40:11 4060ece20d7a: Pulling fs layer 03:40:11 4060ece20d7a: Verifying Checksum 03:40:11 4060ece20d7a: Download complete 03:40:11 4060ece20d7a: Pull complete 03:40:11 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 03:40:11 Status: Downloaded newer image for alpine:3.17 03:40:11 ---> 8650cd65339b 03:40:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:40:11 ---> Running in 7ea14eb5e2db 03:40:11 Removing intermediate container 7ea14eb5e2db 03:40:11 ---> 1213f5f3364f 03:40:11 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:40:11 ---> Running in 69e0f7fde23d 03:40:11 Removing intermediate container 69e0f7fde23d 03:40:11 ---> 925651e0406f 03:40:11 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:40:11 ---> Running in 9e518ef95e8e 03:40:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:40:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:40:12 (1/2) Installing ca-certificates (20230506-r0) 03:40:12 (2/2) Installing dumb-init (1.2.5-r2) 03:40:12 Executing busybox-1.35.0-r29.trigger 03:40:12 Executing ca-certificates-20230506-r0.trigger 03:40:12 OK: 8 MiB in 17 packages 03:40:13 Removing intermediate container 9e518ef95e8e 03:40:13 ---> b6ffc889321f 03:40:13 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:40:14 ---> e1a9415f2a2b 03:40:14 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:40:14 ---> 877617db1d7c 03:40:14 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:40:14 ---> ad7b91d78d13 03:40:14 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:40:16 ---> 2e762c191ac7 03:40:16 Step 21/26 : EXPOSE 59712 03:40:16 ---> Running in 10ad88bfb846 03:40:16 Removing intermediate container 10ad88bfb846 03:40:16 ---> a5fcaacbc0cd 03:40:16 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:40:16 ---> Running in 6198f6a79d6b 03:40:16 Removing intermediate container 6198f6a79d6b 03:40:16 ---> d1ba0bb5be6a 03:40:16 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:40:17 ---> Running in 13c7eb3fa312 03:40:17 Removing intermediate container 13c7eb3fa312 03:40:17 ---> 6f1a4c0010be 03:40:17 Step 24/26 : LABEL arch=arm64 03:40:17 ---> Running in 9ef93ef8cd9a 03:40:17 Removing intermediate container 9ef93ef8cd9a 03:40:17 ---> 18f585ab8830 03:40:17 Step 25/26 : LABEL git_sha=2bd36aeccdb8df39990fefeae1418f70fc24ab84 03:40:17 ---> Running in 23c99b47f35c 03:40:17 Removing intermediate container 23c99b47f35c 03:40:17 ---> 242cc8a240bd 03:40:17 Step 26/26 : LABEL version=0.0.0 03:40:18 ---> Running in 0a720ca59842 03:40:18 Removing intermediate container 0a720ca59842 03:40:18 ---> 3c3457b0aa4d 03:40:18 [Warning] One or more build-args [ARCH] were not consumed 03:40:18 Successfully built 3c3457b0aa4d 03:40:18 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 03:40:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:40:19 03:40:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:40:19 arm64: Pulling from edgex-lftools-log-publisher 03:40:19 8998bd30e6a1: Pulling fs layer 03:40:19 04944245beec: Pulling fs layer 03:40:19 699f458cf7ca: Pulling fs layer 03:40:19 765212b225bb: Pulling fs layer 03:40:19 f23df028b6ca: Pulling fs layer 03:40:19 d65c8cfc05b1: Pulling fs layer 03:40:19 2437ff75d9bd: Pulling fs layer 03:40:19 f23df028b6ca: Waiting 03:40:19 d65c8cfc05b1: Waiting 03:40:19 2437ff75d9bd: Waiting 03:40:19 765212b225bb: Waiting 03:40:20 04944245beec: Verifying Checksum 03:40:20 04944245beec: Download complete 03:40:20 765212b225bb: Verifying Checksum 03:40:20 765212b225bb: Download complete 03:40:20 f23df028b6ca: Verifying Checksum 03:40:20 f23df028b6ca: Download complete 03:40:20 d65c8cfc05b1: Verifying Checksum 03:40:20 d65c8cfc05b1: Download complete 03:40:20 699f458cf7ca: Verifying Checksum 03:40:20 699f458cf7ca: Download complete 03:40:20 8998bd30e6a1: Verifying Checksum 03:40:20 8998bd30e6a1: Download complete 03:40:23 2437ff75d9bd: Verifying Checksum 03:40:23 2437ff75d9bd: Download complete 03:40:24 8998bd30e6a1: Pull complete 03:40:24 04944245beec: Pull complete 03:40:26 699f458cf7ca: Pull complete 03:40:26 765212b225bb: Pull complete 03:40:27 f23df028b6ca: Pull complete 03:40:27 d65c8cfc05b1: Pull complete 03:40:42 2437ff75d9bd: Pull complete 03:40:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:40:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:40:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:42 prd-ubuntu20.04-docker-arm64-4c-16g-3759 does not seem to be running inside a container 03:40: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/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:40:45 $ docker top 4be97a38401a06818ff59d6c596a71f8bc5757551c53edca03b48f3e20bca9f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:46 ---> job-cost.sh 03:40:46 lf-activate-venv: SKIPPING 03:40:46 INFO: No Stack... 03:40:46 INFO: Retrieving Pricing Info for: v3-standard-4 03:40:48 INFO: Archiving Costs [Pipeline] sh 03:40:49 + cat /w/workspace/app-record-replay/1/archives/cost.csv 03:40:49 + cut -d, -f6 [Pipeline] lock 03:40:49 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-59-1-stack-cost] 03:40:49 Resource [jenkins-edgexfoundry-app-record-replay-PR-59-1-stack-cost] did not exist. Created. 03:40:49 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-59-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:40:49 /w/workspace/app-record-replay/1@tmp/durable-bf77af24/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:40:50 + echo total: 0.10999999940395355 [Pipeline] stash 03:40:50 Warning: overwriting stash ‘stack-cost’ 03:40:50 Stashed 1 file(s) [Pipeline] } 03:40:50 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-59-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:40:50 $ docker stop --time=1 4be97a38401a06818ff59d6c596a71f8bc5757551c53edca03b48f3e20bca9f2 03:40:51 $ docker rm -f --volumes 4be97a38401a06818ff59d6c596a71f8bc5757551c53edca03b48f3e20bca9f2 [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 03:40:52 provisioning config files... 03:40:52 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-59 #1 03:40:52 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-59@tmp/config14665595150361839579tmp [Pipeline] { [Pipeline] sh 03:40:53 + set +x 03:40:53 + curl -s https://codecov.io/bash 03:40:53 + bash -s -- 03:40:53 03:40:53 _____ _ 03:40:53 / ____| | | 03:40:53 | | ___ __| | ___ ___ _____ __ 03:40:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:40:53 | |___| (_) | (_| | __/ (_| (_) \ V / 03:40:53 \_____\___/ \__,_|\___|\___\___/ \_/ 03:40:53 Bash-1.0.6 03:40:53 03:40:53 03:40:53 ==> git version 2.25.1 found 03:40:53 ==> 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 03:40:53 Release-Date: 2020-01-08 03:40:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:40:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:40:53 ==> Jenkins CI detected. 03:40:53 current dir:  /w/workspace/xfoundry_app-record-replay_PR-59 03:40:53 project root: . 03:40:53 --> token set from env 03:40:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:40:53 ==> Running gcov in . (disable via -X gcov) 03:40:53 ==> Python coveragepy not found 03:40:53 ==> Searching for coverage reports in: 03:40:53 + . 03:40:53 -> Found 1 reports 03:40:53 ==> Detecting git/mercurial file structure 03:40:53 ==> Reading reports 03:40:53 + ./coverage.out bytes=16060 03:40:53 ==> Appending adjustments 03:40:53 https://docs.codecov.io/docs/fixing-reports 03:40:53 + Found adjustments 03:40:53 ==> Gzipping contents 03:40:53 4.0K /tmp/codecov.nUo8cL.gz 03:40:53 ==> Uploading reports 03:40:53 url: https://codecov.io 03:40:53 query: branch=PR-59&commit=2bd36aeccdb8df39990fefeae1418f70fc24ab84&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-59%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=59&job=&cmd_args= 03:40:53 -> Pinging Codecov 03:40:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-59&commit=2bd36aeccdb8df39990fefeae1418f70fc24ab84&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-59%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=59&job=&cmd_args= 03:40:53 Invalid request parameters 03:40:53 400 [Pipeline] } 03:40:53 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 03:40:55 + [ -d /w/workspace/xfoundry_app-record-replay_PR-59/archives ] 03:40:55 + ls -al /w/workspace/xfoundry_app-record-replay_PR-59/archives 03:40:55 total 16 03:40:55 drwxr-xr-x 3 root root 4096 Aug 16 03:31 . 03:40:55 drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 03:31 .. 03:40:55 drwxr-xr-x 2 root root 4096 Aug 16 03:31 cost 03:40:55 -rw-r--r-- 1 root root 88 Aug 16 03:31 cost.csv 03:40:55 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-59/archives 03:40:55 + ls -al /w/workspace/xfoundry_app-record-replay_PR-59/archives 03:40:55 total 16 03:40:55 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 03:31 . 03:40:55 drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 03:31 .. 03:40:55 drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 03:31 cost 03:40:55 -rw-r--r-- 1 jenkins jenkins 88 Aug 16 03:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:40:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:40:56 ---> package-listing.sh 03:40:56 ++ facter osfamily 03:40:56 ++ tr '[:upper:]' '[:lower:]' 03:40:57 + OS_FAMILY=debian 03:40:57 + workspace=/w/workspace/xfoundry_app-record-replay_PR-59 03:40:57 + START_PACKAGES=/tmp/packages_start.txt 03:40:57 + END_PACKAGES=/tmp/packages_end.txt 03:40:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:40:57 + PACKAGES=/tmp/packages_start.txt 03:40:57 + '[' /w/workspace/xfoundry_app-record-replay_PR-59 ']' 03:40:57 + PACKAGES=/tmp/packages_end.txt 03:40:57 + case "${OS_FAMILY}" in 03:40:57 + dpkg -l 03:40:57 + grep '^ii' 03:40:57 + '[' -f /tmp/packages_start.txt ']' 03:40:57 + '[' -f /tmp/packages_end.txt ']' 03:40:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:40:57 + '[' /w/workspace/xfoundry_app-record-replay_PR-59 ']' 03:40:57 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-59/archives/ 03:40:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-59/archives/ [Pipeline] echo 03:40:57 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-59/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:40:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:40:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:40:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:40:58 prd-ubuntu20.04-docker-8c-8g-3758 does not seem to be running inside a container 03:40:58 $ 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-59/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-59 -v /w/workspace/xfoundry_app-record-replay_PR-59:/w/workspace/xfoundry_app-record-replay_PR-59:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-59@tmp:/w/workspace/xfoundry_app-record-replay_PR-59@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:40:58 $ docker top b2f3d21e90b78a81eb967e2a03c06a85749a3948163a499cbd4b48f24029139d -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:58 + touch /tmp/pre-build-complete [Pipeline] sh 03:40:59 + mkdir -p /var/log/sysstat [Pipeline] sh 03:40:59 + ls /var/log/sa-host 03:40:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:40:59 provisioning config files... 03:40:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-59@tmp/config8391676648315110392tmp [Pipeline] { [Pipeline] echo 03:40:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:41:00 ---> create-netrc.sh [Pipeline] } 03:41:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:41:00 ---> python-tools-install.sh [Pipeline] echo 03:41:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:41:00 ---> sudo-logs.sh 03:41:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:41:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:41:01 ---> job-cost.sh 03:41:01 lf-activate-venv: SKIPPING 03:41:01 DEBUG: total: 0.2199999988079071 03:41:01 INFO: Retrieving Stack Cost... 03:41:01 INFO: Retrieving Pricing Info for: v3-standard-8 03:41:02 INFO: Archiving Costs [Pipeline] echo 03:41:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:41:02 ---> logs-deploy.sh 03:41:02 lf-activate-venv: SKIPPING 03:41:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-59/1 03:41:02 INFO: archiving workspace using pattern(s): 03:41:03 Archives upload complete. 03:41:03 INFO: archiving logs to Nexus