Pull request #58 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from baf2c8640e6879c5bd88798a9fdd1122e4abbe8b+eb0da9cd5e8e8a0f17d3055892bf3c14f9a166cd (7bdca886b8e4f6ac7fcef794e3ae4bf9987e24f5) 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-ssh10800350193290769630.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-ssh6048928042174015350.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-58/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-58/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16699492342027846788.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-58/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12243231243690436959.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-ssh18016605785337312076.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-58/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-58/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5813579934193231371.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3617 in /w/workspace/xfoundry_app-record-replay_PR-58 [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-58 # 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 eb0da9cd5e8e8a0f17d3055892bf3c14f9a166cd into PR head commit baf2c8640e6879c5bd88798a9fdd1122e4abbe8b Merge succeeded, producing baf2c8640e6879c5bd88798a9fdd1122e4abbe8b Checking out Revision baf2c8640e6879c5bd88798a9fdd1122e4abbe8b (PR-58) > 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/58/head:refs/remotes/origin/PR-58 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f baf2c8640e6879c5bd88798a9fdd1122e4abbe8b # 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 eb0da9cd5e8e8a0f17d3055892bf3c14f9a166cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f baf2c8640e6879c5bd88798a9fdd1122e4abbe8b # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > 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:12:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:12:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:12:13 ========================================================= 03:12:13 EdgeX Global Pipelines Version Info 03:12:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:12:13 ------------------- 03:12:13 stable info: 03:12:13 ------------------- 03:12:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:12:13 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:12:13 Message: update stable to v1.0.253 03:12:14 ------------------- 03:12:14 experimental info: 03:12:14 ------------------- 03:12:14 Commited By: **** collab-it+edgex@linuxfoundation.org 03:12:14 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:12:14 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:12:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:12:14 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:12:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:12:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:12:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:12:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:12:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:12:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:12:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:12:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:12:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-58 [Pipeline] echo 03:12:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-58 [Pipeline] echo 03:12:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-58 [Pipeline] echo 03:12:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = baf2c8640e6879c5bd88798a9fdd1122e4abbe8b [Pipeline] echo 03:12:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = baf2c86 [Pipeline] echo 03:12:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:16 provisioning config files... 03:12:16 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-58@tmp/config18097276083163165440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:16 ---> docker-login.sh 03:12:16 nexus3.edgexfoundry.org:10001 03:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:17 Configure a credential helper to remove this warning. See 03:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:17 03:12:17 Login Succeeded 03:12:17 nexus3.edgexfoundry.org:10002 03:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:17 Configure a credential helper to remove this warning. See 03:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:17 03:12:17 Login Succeeded 03:12:17 nexus3.edgexfoundry.org:10003 03:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:17 Configure a credential helper to remove this warning. See 03:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:17 03:12:17 Login Succeeded 03:12:17 nexus3.edgexfoundry.org:10004 03:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:17 Configure a credential helper to remove this warning. See 03:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:17 03:12:17 Login Succeeded 03:12:17 docker.io 03:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:17 Configure a credential helper to remove this warning. See 03:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:17 03:12:17 Login Succeeded 03:12:17 ---> docker-login.sh ends [Pipeline] } 03:12:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:12:18 + git rev-list -1 --merges baf2c8640e6879c5bd88798a9fdd1122e4abbe8b~1..baf2c8640e6879c5bd88798a9fdd1122e4abbe8b [Pipeline] echo 03:12:18 -----------> git rev-list -1 --merges baf2c8640e6879c5bd88798a9fdd1122e4abbe8b~1..baf2c8640e6879c5bd88798a9fdd1122e4abbe8b baf2c8640e6879c5bd88798a9fdd1122e4abbe8b [false] [Pipeline] sh 03:12:19 + git log --format=format:%s -1 baf2c8640e6879c5bd88798a9fdd1122e4abbe8b [Pipeline] echo 03:12:19 ========================================================= 03:12:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:12:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:19 + git log --format=format:%s -1 baf2c8640e6879c5bd88798a9fdd1122e4abbe8b [Pipeline] echo 03:12:19 [semverPrep] GIT_COMMIT: baf2c8640e6879c5bd88798a9fdd1122e4abbe8b, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:12:19 [semverPrep] This is not a build commit. [Pipeline] sh 03:12:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:12:20 + grep -v github /etc/ssh/ssh_known_hosts 03:12:20 + [ -e /tmp/ssh_known_hosts ] 03:12:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:12:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:12:20 + sudo tee -a /etc/ssh/ssh_known_hosts 03:12:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:20 03:12:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:20 0.1.4: Pulling from edgex-devops/py-git-semver 03:12:20 b85a868b505f: Pulling fs layer 03:12:20 e2be974225ed: Pulling fs layer 03:12:20 339a4e72a1f5: Pulling fs layer 03:12:20 988bab9f4d93: Pulling fs layer 03:12:20 1469e6f7b9e6: Pulling fs layer 03:12:20 eaf3925da568: Pulling fs layer 03:12:20 bab4dde63d76: Pulling fs layer 03:12:20 bde34c3a00c8: Pulling fs layer 03:12:20 b352a97aabf1: Pulling fs layer 03:12:20 4872d77fe225: Pulling fs layer 03:12:20 5851b861e8e6: Pulling fs layer 03:12:20 988bab9f4d93: Waiting 03:12:20 1469e6f7b9e6: Waiting 03:12:20 eaf3925da568: Waiting 03:12:20 bab4dde63d76: Waiting 03:12:20 bde34c3a00c8: Waiting 03:12:20 b352a97aabf1: Waiting 03:12:20 4872d77fe225: Waiting 03:12:20 5851b861e8e6: Waiting 03:12:20 e2be974225ed: Verifying Checksum 03:12:20 e2be974225ed: Download complete 03:12:20 988bab9f4d93: Verifying Checksum 03:12:20 988bab9f4d93: Download complete 03:12:21 1469e6f7b9e6: Verifying Checksum 03:12:21 1469e6f7b9e6: Download complete 03:12:21 eaf3925da568: Verifying Checksum 03:12:21 eaf3925da568: Download complete 03:12:21 339a4e72a1f5: Verifying Checksum 03:12:21 339a4e72a1f5: Download complete 03:12:21 bde34c3a00c8: Download complete 03:12:21 b352a97aabf1: Download complete 03:12:21 4872d77fe225: Download complete 03:12:21 5851b861e8e6: Verifying Checksum 03:12:21 5851b861e8e6: Download complete 03:12:21 b85a868b505f: Verifying Checksum 03:12:21 b85a868b505f: Download complete 03:12:21 bab4dde63d76: Verifying Checksum 03:12:21 bab4dde63d76: Download complete 03:12:22 b85a868b505f: Pull complete 03:12:22 e2be974225ed: Pull complete 03:12:23 339a4e72a1f5: Pull complete 03:12:23 988bab9f4d93: Pull complete 03:12:23 1469e6f7b9e6: Pull complete 03:12:23 eaf3925da568: Pull complete 03:12:25 bab4dde63d76: Pull complete 03:12:25 bde34c3a00c8: Pull complete 03:12:25 b352a97aabf1: Pull complete 03:12:25 4872d77fe225: Pull complete 03:12:25 5851b861e8e6: Pull complete 03:12:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:12:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:26 prd-ubuntu20.04-docker-8c-8g-3617 does not seem to be running inside a container 03:12:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-58 -v /w/workspace/xfoundry_app-record-replay_PR-58:/w/workspace/xfoundry_app-record-replay_PR-58:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-58@tmp:/w/workspace/xfoundry_app-record-replay_PR-58@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:12:28 $ docker top a875ba8a4651f11bb965b14859efb733d8cbac7a19b66ff10ed8f8123b16b796 -eo pid,comm 03:12:28 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:12:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:12:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:28 [ssh-agent] Looking for ssh-agent implementation... 03:12:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:28 $ docker exec a875ba8a4651f11bb965b14859efb733d8cbac7a19b66ff10ed8f8123b16b796 ssh-agent 03:12:28 SSH_AUTH_SOCK=/tmp/ssh-9tyxWzWtyv5k/agent.34 03:12:28 SSH_AGENT_PID=40 03:12:28 Running ssh-add (command line suppressed) 03:12:29 Identity added: /w/workspace/xfoundry_app-record-replay_PR-58@tmp/private_key_18230022344861553328.key (/w/workspace/xfoundry_app-record-replay_PR-58@tmp/private_key_18230022344861553328.key) 03:12:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:29 + git tag --points-at HEAD [Pipeline] } 03:12:29 $ docker exec --env ******** --env ******** a875ba8a4651f11bb965b14859efb733d8cbac7a19b66ff10ed8f8123b16b796 ssh-agent -k 03:12:29 unset SSH_AUTH_SOCK; 03:12:29 unset SSH_AGENT_PID; 03:12:29 echo Agent pid 40 killed; 03:12:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:12:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:29 [ssh-agent] Looking for ssh-agent implementation... 03:12:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:29 $ docker exec a875ba8a4651f11bb965b14859efb733d8cbac7a19b66ff10ed8f8123b16b796 ssh-agent 03:12:29 SSH_AUTH_SOCK=/tmp/ssh-HvX8wfNyZkHx/agent.72 03:12:29 SSH_AGENT_PID=78 03:12:29 Running ssh-add (command line suppressed) 03:12:29 Identity added: /w/workspace/xfoundry_app-record-replay_PR-58@tmp/private_key_13322592035559880353.key (/w/workspace/xfoundry_app-record-replay_PR-58@tmp/private_key_13322592035559880353.key) 03:12:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:30 + git semver init 03:12:30 2023-08-15 03:12:30,476 [run_init] DEBUG init version:0.0.0 force:False 03:12:30 2023-08-15 03:12:30,477 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-58/.semver 03:12:30 2023-08-15 03:12:30,478 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-58/.semver 03:12:30 2023-08-15 03:12:30,478 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-58/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-58, universal_newlines=False, shell=None, istream=None) 03:12:31 2023-08-15 03:12:31,205 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-58/.git/info/exclude 03:12:31 2023-08-15 03:12:31,206 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-58/.semver/PR-58 with force:False 03:12:31 2023-08-15 03:12:31,206 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-58/.semver/PR-58 03:12:31 2023-08-15 03:12:31,210 [execute] INFO git cat-file --batch-check 03:12:31 2023-08-15 03:12:31,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-58/.semver, universal_newlines=False, shell=None, istream=) 03:12:31 2023-08-15 03:12:31,216 [execute] INFO git cat-file --batch 03:12:31 2023-08-15 03:12:31,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-58/.semver, universal_newlines=False, shell=None, istream=) 03:12:31 2023-08-15 03:12:31,221 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-58/.semver/PR-58 03:12:31 0.0.0 [Pipeline] } 03:12:31 $ docker exec --env ******** --env ******** a875ba8a4651f11bb965b14859efb733d8cbac7a19b66ff10ed8f8123b16b796 ssh-agent -k 03:12:31 unset SSH_AUTH_SOCK; 03:12:31 unset SSH_AGENT_PID; 03:12:31 echo Agent pid 78 killed; 03:12:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:12:32 + git semver [Pipeline] } 03:12:32 $ docker stop --time=1 a875ba8a4651f11bb965b14859efb733d8cbac7a19b66ff10ed8f8123b16b796 03:12:33 $ docker rm -f --volumes a875ba8a4651f11bb965b14859efb733d8cbac7a19b66ff10ed8f8123b16b796 [Pipeline] // withDockerContainer [Pipeline] sh 03:12:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:12:34 Stashed 1 file(s) [Pipeline] echo 03:12:34 [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:12:35 provisioning config files... 03:12:35 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-58@tmp/config4969447009059579783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:35 ---> docker-login.sh 03:12:35 nexus3.edgexfoundry.org:10001 03:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:35 Configure a credential helper to remove this warning. See 03:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:35 03:12:35 Login Succeeded 03:12:35 nexus3.edgexfoundry.org:10002 03:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:35 Configure a credential helper to remove this warning. See 03:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:35 03:12:35 Login Succeeded 03:12:35 nexus3.edgexfoundry.org:10003 03:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:36 Configure a credential helper to remove this warning. See 03:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:36 03:12:36 Login Succeeded 03:12:36 nexus3.edgexfoundry.org:10004 03:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:36 Configure a credential helper to remove this warning. See 03:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:36 03:12:36 Login Succeeded 03:12:36 docker.io 03:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:36 Configure a credential helper to remove this warning. See 03:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:36 03:12:36 Login Succeeded 03:12:36 ---> docker-login.sh ends [Pipeline] } 03:12:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:12:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:12:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:12:36 ========================================================= 03:12:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:12:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:37 + 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:12:37 Sending build context to Docker daemon 442.9kB 03:12:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:12:37 Step 2/12 : FROM ${BASE} AS builder 03:12:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:12:37 4db1b89c0bd1: Pulling fs layer 03:12:37 6911f1a30b25: Pulling fs layer 03:12:37 e194b8c5c2a9: Pulling fs layer 03:12:37 6863d3e3a2b1: Pulling fs layer 03:12:37 ec0bb842ea78: Pulling fs layer 03:12:37 40a00589a448: Pulling fs layer 03:12:37 6c08303d61cc: Pulling fs layer 03:12:37 798269fcf238: Pulling fs layer 03:12:37 6863d3e3a2b1: Waiting 03:12:37 ec0bb842ea78: Waiting 03:12:37 40a00589a448: Waiting 03:12:37 798269fcf238: Waiting 03:12:37 6c08303d61cc: Waiting 03:12:37 6911f1a30b25: Verifying Checksum 03:12:37 6911f1a30b25: Download complete 03:12:37 6863d3e3a2b1: Verifying Checksum 03:12:37 6863d3e3a2b1: Download complete 03:12:37 ec0bb842ea78: Download complete 03:12:37 4db1b89c0bd1: Verifying Checksum 03:12:37 4db1b89c0bd1: Download complete 03:12:37 40a00589a448: Verifying Checksum 03:12:37 40a00589a448: Download complete 03:12:37 4db1b89c0bd1: Pull complete 03:12:37 6911f1a30b25: Pull complete 03:12:37 798269fcf238: Verifying Checksum 03:12:37 798269fcf238: Download complete 03:12:38 e194b8c5c2a9: Verifying Checksum 03:12:38 e194b8c5c2a9: Download complete 03:12:38 6c08303d61cc: Verifying Checksum 03:12:38 6c08303d61cc: Download complete 03:12:41 e194b8c5c2a9: Pull complete 03:12:41 6863d3e3a2b1: Pull complete 03:12:41 ec0bb842ea78: Pull complete 03:12:41 40a00589a448: Pull complete 03:12:44 6c08303d61cc: Pull complete 03:12:44 798269fcf238: Pull complete 03:12:44 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:12:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:12:44 ---> ec979cd7f677 03:12:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:12:48 ---> Running in 8d18cefc365b 03:12:48 Removing intermediate container 8d18cefc365b 03:12:48 ---> d278bfe00a47 03:12:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:12:48 ---> Running in e4b9587f52b0 03:12:48 Removing intermediate container e4b9587f52b0 03:12:48 ---> ede7ec97c5e9 03:12:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:12:48 ---> Running in 88239c4f6374 03:12:48 Removing intermediate container 88239c4f6374 03:12:48 ---> c9e020ea158c 03:12:48 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:12:48 ---> Running in c70d97791416 03:12:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:12:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:12:49 OK: 265 MiB in 53 packages 03:12:49 Removing intermediate container c70d97791416 03:12:49 ---> 825fc220ae9d 03:12:49 Step 7/12 : WORKDIR /app 03:12:49 ---> Running in 804cf9539312 03:12:49 Removing intermediate container 804cf9539312 03:12:49 ---> edb6885284f9 03:12:49 Step 8/12 : COPY go.mod vendor* ./ 03:12:50 ---> 6609787f8ced 03:12:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:12:50 ---> Running in 3244a43662bd 03:12:50 Still waiting to schedule task 03:12:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:13:46 Removing intermediate container 3244a43662bd 03:13:46 ---> 6dc0d304bcd6 03:13:46 Step 10/12 : COPY . . 03:13:46 ---> 55a78a57fce5 03:13:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:13:46 ---> Running in 6124e70274b2 03:13:46 Removing intermediate container 6124e70274b2 03:13:46 ---> f33458815c84 03:13:46 Step 12/12 : RUN $MAKE 03:13:46 ---> Running in ae37a998c649 03:13:46 noop 03:13:46 Removing intermediate container ae37a998c649 03:13:46 ---> 12b429b4ca18 03:13:46 Successfully built 12b429b4ca18 03:13:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:46 + docker inspect -f . ci-base-image-x86_64 03:13:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:46 prd-ubuntu20.04-docker-8c-8g-3617 does not seem to be running inside a container 03:13:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-58 -v /w/workspace/xfoundry_app-record-replay_PR-58:/w/workspace/xfoundry_app-record-replay_PR-58:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-58@tmp:/w/workspace/xfoundry_app-record-replay_PR-58@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:13:47 $ docker top eb51f0e5e5e9e95168cbed6cfeaa30c6e1ecb5a0687779c5c0a2e9c48fcdab38 -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:47 + go version 03:13:47 go version go1.20.6 linux/amd64 [Pipeline] } 03:13:47 $ docker stop --time=1 eb51f0e5e5e9e95168cbed6cfeaa30c6e1ecb5a0687779c5c0a2e9c48fcdab38 03:13:49 $ docker rm -f --volumes eb51f0e5e5e9e95168cbed6cfeaa30c6e1ecb5a0687779c5c0a2e9c48fcdab38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:49 + docker inspect -f . ci-base-image-x86_64 03:13:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:50 prd-ubuntu20.04-docker-8c-8g-3617 does not seem to be running inside a container 03:13:50 $ 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-58 -v /w/workspace/xfoundry_app-record-replay_PR-58:/w/workspace/xfoundry_app-record-replay_PR-58:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-58@tmp:/w/workspace/xfoundry_app-record-replay_PR-58@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:13:50 $ docker top 0041ddc4d3f19fa5559aa04862bef761581522b9777369469527944ecb133254 -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:50 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-58 [Pipeline] fileExists [Pipeline] sh 03:13:51 + make test 03:13:51 go test -race -coverprofile=coverage.out ./... 03:14:09 ? github.com/edgexfoundry/app-record-replay [no test files] 03:14:09 ok github.com/edgexfoundry/app-record-replay/internal/app 0.075s coverage: 88.0% of statements 03:14:10 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:14:10 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:14:10 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:14:20 ok github.com/edgexfoundry/app-record-replay/internal/application 8.590s coverage: 97.5% of statements 03:14:20 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.083s coverage: 85.2% of statements 03:14:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3619 in /w/workspace/xfoundry_app-record-replay_PR-58 [Pipeline] { [Pipeline] ws 03:14:30 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:14:30 Selected Git installation does not exist. Using Default 03:14:30 The recommended git tool is: NONE 03:14:34 using credential edgex-jenkins-ssh 03:14:34 Cloning the remote Git repository 03:14:35 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:14:35 > git init /w/workspace/app-record-replay/1 # timeout=10 03:14:35 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:14:35 > git --version # timeout=10 03:14:35 > git --version # 'git version 2.25.1' 03:14:35 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:14:36 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:14:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:14:37 Merging remotes/origin/main commit eb0da9cd5e8e8a0f17d3055892bf3c14f9a166cd into PR head commit baf2c8640e6879c5bd88798a9fdd1122e4abbe8b 03:14:36 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:14:36 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:14:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/58/head:refs/remotes/origin/PR-58 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:14:37 > git config core.sparsecheckout # timeout=10 03:14:37 > git checkout -f baf2c8640e6879c5bd88798a9fdd1122e4abbe8b # timeout=10 03:14:37 Merge succeeded, producing baf2c8640e6879c5bd88798a9fdd1122e4abbe8b 03:14:37 Checking out Revision baf2c8640e6879c5bd88798a9fdd1122e4abbe8b (PR-58) 03:14:38 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:14:38 > git --version # timeout=10 03:14:38 > git --version # 'git version 2.25.1' 03:14:38 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:14:37 > git remote # timeout=10 03:14:37 > git config --get remote.origin.url # timeout=10 03:14:37 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:37 > git merge eb0da9cd5e8e8a0f17d3055892bf3c14f9a166cd # timeout=10 03:14:37 > git rev-parse HEAD^{commit} # timeout=10 03:14:37 > git config core.sparsecheckout # timeout=10 03:14:37 > git checkout -f baf2c8640e6879c5bd88798a9fdd1122e4abbe8b # timeout=10 03:14:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:14:39 % Total % Received % Xferd Average Speed Time Time Time Current 03:14:39 Dload Upload Total Spent Left Speed 03:14:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 03:14:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:14:40 + sudo tee /etc/docker/daemon.new 03:14:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:14:40 { 03:14:40 "registry-mirrors": [ 03:14:40 "https://nexus3.edgexfoundry.org:10001" 03:14:40 ], 03:14:40 "bip": "10.250.0.254/24", 03:14:40 "hosts": [ 03:14:40 "tcp://0.0.0.0:5555", 03:14:40 "unix:///var/run/docker.sock" 03:14:40 ], 03:14:40 "mtu": 1458, 03:14:40 "selinux-enabled": true, 03:14:40 "seccomp-profile": "/etc/docker/seccomp.json" 03:14:40 } [Pipeline] sh 03:14:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:14:40 + sudo service docker restart 03:14:42 go vet ./... 03:14:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:14:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:14:43 ./bin/test-attribution-txt.sh [Pipeline] echo 03:14:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:14:43 $ docker stop --time=1 0041ddc4d3f19fa5559aa04862bef761581522b9777369469527944ecb133254 03:14:47 $ docker rm -f --volumes 0041ddc4d3f19fa5559aa04862bef761581522b9777369469527944ecb133254 [Pipeline] // withDockerContainer [Pipeline] sh 03:14:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:14:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:14:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:14:48 + ls -al . 03:14:48 total 172 03:14:48 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 03:13 . 03:14:48 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 03:12 .. 03:14:48 -rw-rw-r-- 1 jenkins jenkins 119 Aug 15 03:12 .dockerignore 03:14:48 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 03:12 .git 03:14:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 03:12 .github 03:14:48 -rw-rw-r-- 1 jenkins jenkins 164 Aug 15 03:12 .gitignore 03:14:48 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 03:12 .golangci.yml 03:14:48 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 03:12 .semver 03:14:48 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 15 03:12 Attribution.txt 03:14:48 -rw-rw-r-- 1 jenkins jenkins 258 Aug 15 03:12 CHANGELOG.md 03:14:48 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 15 03:12 Dockerfile 03:14:48 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 03:12 GOVERNANCE.md 03:14:48 -rw-rw-r-- 1 jenkins jenkins 681 Aug 15 03:12 Jenkinsfile 03:14:48 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 15 03:12 LICENSE 03:14:48 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 15 03:12 Makefile 03:14:48 -rw-rw-r-- 1 jenkins jenkins 611 Aug 15 03:12 OWNERS.md 03:14:48 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 15 03:12 README.md 03:14:48 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 15 03:12 Record and Reply.postman_collection.json 03:14:48 -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 03:12 VERSION 03:14:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 03:12 bin 03:14:48 -rw-r--r-- 1 jenkins jenkins 16060 Aug 15 03:14 coverage.out 03:14:48 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 15 03:12 go.mod 03:14:48 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 15 03:12 go.sum 03:14:48 drwxrwxr-x 6 jenkins jenkins 4096 Aug 15 03:12 internal 03:14:48 -rw-rw-r-- 1 jenkins jenkins 913 Aug 15 03:12 main.go 03:14:48 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 03:12 pkg 03:14:48 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 03:12 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:49 + 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=baf2c8640e6879c5bd88798a9fdd1122e4abbe8b --label arch=amd64 --label version=0.0.0 . 03:14:49 Sending build context to Docker daemon 459.8kB 03:14:49 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:14:49 Step 2/26 : FROM ${BASE} AS builder 03:14:49 ---> 12b429b4ca18 03:14:49 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:14:49 ---> Running in 246bed63f652 03:14:49 Removing intermediate container 246bed63f652 03:14:49 ---> 0a1682cace8f 03:14:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:14:49 ---> Running in 324e6d081264 03:14:49 Removing intermediate container 324e6d081264 03:14:49 ---> d43ae7fdae83 03:14:49 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:14:49 ---> Running in fd7f953a5f18 03:14:49 Removing intermediate container fd7f953a5f18 03:14:49 ---> b29ea8b5de22 03:14:49 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:14:49 ---> Running in f4aa87b3114f 03:14:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:14:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:14:50 OK: 265 MiB in 53 packages 03:14:50 Removing intermediate container f4aa87b3114f 03:14:50 ---> 803c010deb44 03:14:50 Step 7/26 : WORKDIR /app 03:14:50 ---> Running in c61de3a0eb33 03:14:50 Removing intermediate container c61de3a0eb33 03:14:50 ---> 91f62a1cf156 03:14:50 Step 8/26 : COPY go.mod vendor* ./ 03:14:50 ---> 609b8a48f023 03:14:50 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:14:50 ---> Running in ce0f6ffbe691 03:14:51 Removing intermediate container ce0f6ffbe691 03:14:51 ---> 7d572c3bc54d 03:14:51 Step 10/26 : COPY . . 03:14:51 ---> 954a90115154 03:14:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:14:51 ---> Running in 2c88db5d5ad8 03:14:51 Removing intermediate container 2c88db5d5ad8 03:14:51 ---> b24f62d4a1fe 03:14:51 Step 12/26 : RUN $MAKE 03:14:51 ---> Running in 3b5322545b11 03:14:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.18 -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:14:59 provisioning config files... 03:14:59 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config13497383232307700242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:59 ---> docker-login.sh 03:14:59 nexus3.edgexfoundry.org:10001 03:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:00 Configure a credential helper to remove this warning. See 03:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:00 03:15:00 Login Succeeded 03:15:00 nexus3.edgexfoundry.org:10002 03:15:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:01 Configure a credential helper to remove this warning. See 03:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:01 03:15:01 Login Succeeded 03:15:01 nexus3.edgexfoundry.org:10003 03:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:01 Configure a credential helper to remove this warning. See 03:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:01 03:15:01 Login Succeeded 03:15:01 nexus3.edgexfoundry.org:10004 03:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:01 Configure a credential helper to remove this warning. See 03:15:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:01 03:15:01 Login Succeeded 03:15:01 docker.io 03:15:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:02 Configure a credential helper to remove this warning. See 03:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:02 03:15:02 Login Succeeded 03:15:02 ---> docker-login.sh ends [Pipeline] } 03:15:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:03 ========================================================= 03:15:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:15:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:03 + 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:15:03 Sending build context to Docker daemon 197.1kB 03:15:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:15:04 Step 2/12 : FROM ${BASE} AS builder 03:15:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:15:04 edb6bdbacee9: Pulling fs layer 03:15:04 5f9638ab2659: Pulling fs layer 03:15:04 8d51d6327a98: Pulling fs layer 03:15:04 8b374f2dd631: Pulling fs layer 03:15:04 ec14aa9079de: Pulling fs layer 03:15:04 2f466654f4bb: Pulling fs layer 03:15:04 554e91adad29: Pulling fs layer 03:15:04 ec14aa9079de: Waiting 03:15:04 8b374f2dd631: Waiting 03:15:04 2f466654f4bb: Waiting 03:15:04 554e91adad29: Waiting 03:15:04 5f9638ab2659: Verifying Checksum 03:15:04 5f9638ab2659: Download complete 03:15:04 8b374f2dd631: Verifying Checksum 03:15:04 8b374f2dd631: Download complete 03:15:04 ec14aa9079de: Download complete 03:15:04 edb6bdbacee9: Verifying Checksum 03:15:05 edb6bdbacee9: Pull complete 03:15:05 554e91adad29: Verifying Checksum 03:15:05 554e91adad29: Download complete 03:15:06 5f9638ab2659: Pull complete 03:15:06 8d51d6327a98: Download complete 03:15:06 2f466654f4bb: Verifying Checksum 03:15:06 2f466654f4bb: Download complete 03:15:14 Removing intermediate container 3b5322545b11 03:15:14 ---> 35e4717d2f8a 03:15:14 Step 13/26 : FROM alpine:3.17 03:15:14 3.17: Pulling from library/alpine 03:15:14 9398808236ff: Pulling fs layer 03:15:14 9398808236ff: Verifying Checksum 03:15:14 9398808236ff: Download complete 03:15:14 9398808236ff: Pull complete 03:15:14 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 03:15:14 Status: Downloaded newer image for alpine:3.17 03:15:14 ---> 1e0b8b5322fc 03:15:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:15:14 ---> Running in 70145c32e920 03:15:14 Removing intermediate container 70145c32e920 03:15:14 ---> 0378e109276f 03:15:14 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:15:14 ---> Running in 64e4c1480eba 03:15:14 Removing intermediate container 64e4c1480eba 03:15:14 ---> 4da4ada42eb6 03:15:14 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:15:14 ---> Running in d82814c4e76c 03:15:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:15:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:15:14 (1/2) Installing ca-certificates (20230506-r0) 03:15:14 (2/2) Installing dumb-init (1.2.5-r2) 03:15:14 Executing busybox-1.35.0-r29.trigger 03:15:14 Executing ca-certificates-20230506-r0.trigger 03:15:14 OK: 8 MiB in 17 packages 03:15:14 Removing intermediate container d82814c4e76c 03:15:14 ---> c3c1d7dac1bb 03:15:14 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:15:14 ---> fe9db1dcd067 03:15:14 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:15:14 ---> 396efab47a28 03:15:14 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:15:14 ---> a8defe4d637c 03:15:14 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:15:14 ---> 51b894a548aa 03:15:14 Step 21/26 : EXPOSE 59712 03:15:14 ---> Running in 4d3c541c246c 03:15:14 Removing intermediate container 4d3c541c246c 03:15:14 ---> b33af2f1b19a 03:15:14 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:15:14 ---> Running in c8c9b9ea2809 03:15:14 Removing intermediate container c8c9b9ea2809 03:15:14 ---> b18728553a91 03:15:14 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:15:14 ---> Running in f1224417bb1a 03:15:14 Removing intermediate container f1224417bb1a 03:15:14 ---> b134b811331a 03:15:14 Step 24/26 : LABEL arch=amd64 03:15:14 ---> Running in 13e0aa4a82cf 03:15:14 Removing intermediate container 13e0aa4a82cf 03:15:14 ---> 0884e7a95d21 03:15:14 Step 25/26 : LABEL git_sha=baf2c8640e6879c5bd88798a9fdd1122e4abbe8b 03:15:14 ---> Running in 546d310cdebb 03:15:14 Removing intermediate container 546d310cdebb 03:15:14 ---> bbe2362f7836 03:15:14 Step 26/26 : LABEL version=0.0.0 03:15:14 ---> Running in 71fc26f23b04 03:15:14 Removing intermediate container 71fc26f23b04 03:15:14 ---> 23d5731fe2cc 03:15:14 [Warning] One or more build-args [ARCH] were not consumed 03:15:14 Successfully built 23d5731fe2cc 03:15:14 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:15:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:15 03:15:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:16 latest: Pulling from edgex-lftools-log-publisher 03:15:16 5eb5b503b376: Pulling fs layer 03:15:16 5c69ac0246d0: Pulling fs layer 03:15:16 ec43610c2a17: Pulling fs layer 03:15:16 3a2ae6a8a46f: Pulling fs layer 03:15:16 33b1e0a273af: Pulling fs layer 03:15:16 5d3b04190fa2: Pulling fs layer 03:15:16 2f39f015ded8: Pulling fs layer 03:15:16 5d3b04190fa2: Waiting 03:15:16 2f39f015ded8: Waiting 03:15:16 3a2ae6a8a46f: Waiting 03:15:16 33b1e0a273af: Waiting 03:15:16 5c69ac0246d0: Verifying Checksum 03:15:16 5c69ac0246d0: Download complete 03:15:16 3a2ae6a8a46f: Verifying Checksum 03:15:16 3a2ae6a8a46f: Download complete 03:15:16 33b1e0a273af: Verifying Checksum 03:15:16 33b1e0a273af: Download complete 03:15:16 ec43610c2a17: Verifying Checksum 03:15:16 ec43610c2a17: Download complete 03:15:16 5d3b04190fa2: Verifying Checksum 03:15:16 5d3b04190fa2: Download complete 03:15:16 5eb5b503b376: Verifying Checksum 03:15:16 5eb5b503b376: Download complete 03:15:17 2f39f015ded8: Verifying Checksum 03:15:17 5eb5b503b376: Pull complete 03:15:17 5c69ac0246d0: Pull complete 03:15:18 ec43610c2a17: Pull complete 03:15:18 3a2ae6a8a46f: Pull complete 03:15:18 33b1e0a273af: Pull complete 03:15:18 5d3b04190fa2: Pull complete 03:15:19 8d51d6327a98: Pull complete 03:15:19 8b374f2dd631: Pull complete 03:15:19 ec14aa9079de: Pull complete 03:15:22 2f39f015ded8: Pull complete 03:15:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:15:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:15:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:23 prd-ubuntu20.04-docker-8c-8g-3617 does not seem to be running inside a container 03:15:23 $ 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-58 -v /w/workspace/xfoundry_app-record-replay_PR-58:/w/workspace/xfoundry_app-record-replay_PR-58:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-58@tmp:/w/workspace/xfoundry_app-record-replay_PR-58@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:15:24 2f466654f4bb: Pull complete 03:15:25 $ docker top 749a4fd13ced8a181baf55d5a3db846499e57e741fffc2d84fd73a563611e998 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:26 ---> job-cost.sh 03:15:26 lf-activate-venv: SKIPPING 03:15:26 INFO: No Stack... 03:15:26 INFO: Retrieving Pricing Info for: v3-standard-8 03:15:26 INFO: Archiving Costs [Pipeline] sh 03:15:27 554e91adad29: Pull complete 03:15:27 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:15:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:15:27 ---> 1e15ea492957 03:15:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:15:27 + cat /w/workspace/xfoundry_app-record-replay_PR-58/archives/cost.csv 03:15:27 + cut -d, -f6 [Pipeline] lock 03:15:27 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-58-1-stack-cost] 03:15:27 Resource [jenkins-edgexfoundry-app-record-replay-PR-58-1-stack-cost] did not exist. Created. 03:15:27 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-58-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:15:27 + echo total: 0.2199999988079071 [Pipeline] stash 03:15:27 Stashed 1 file(s) [Pipeline] } 03:15:27 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-58-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:15:27 $ docker stop --time=1 749a4fd13ced8a181baf55d5a3db846499e57e741fffc2d84fd73a563611e998 03:15:28 ---> Running in 5b3926f3f870 03:15:28 Removing intermediate container 5b3926f3f870 03:15:28 ---> 66b52c96211d 03:15:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:15:29 $ docker rm -f --volumes 749a4fd13ced8a181baf55d5a3db846499e57e741fffc2d84fd73a563611e998 [Pipeline] // withDockerContainer 03:15:29 ---> Running in 834e88efce3e [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:15:29 Removing intermediate container 834e88efce3e 03:15:29 ---> f170a9135f9e 03:15:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:15:29 ---> Running in 9838e5fb7e45 03:15:29 Removing intermediate container 9838e5fb7e45 03:15:29 ---> b76e9d717384 03:15:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:15:29 ---> Running in dd1b6a5f882c 03:15:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:15:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:15:32 OK: 263 MiB in 53 packages 03:15:33 Removing intermediate container dd1b6a5f882c 03:15:33 ---> 44cf4788f7a3 03:15:33 Step 7/12 : WORKDIR /app 03:15:33 ---> Running in 0928df5f99ec 03:15:33 Removing intermediate container 0928df5f99ec 03:15:33 ---> af54fcfe6d1c 03:15:33 Step 8/12 : COPY go.mod vendor* ./ 03:15:35 ---> 842fc4a58042 03:15:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:35 ---> Running in 6f96d0799e85 03:16:56 Removing intermediate container 6f96d0799e85 03:16:56 ---> 597a4fde1530 03:16:56 Step 10/12 : COPY . . 03:16:56 ---> 6bdb3e530182 03:16:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:16:56 ---> Running in f377e37a4934 03:16:56 Removing intermediate container f377e37a4934 03:16:56 ---> aedef20a137b 03:16:56 Step 12/12 : RUN $MAKE 03:16:56 ---> Running in 8ddf121e59fa 03:16:56 noop 03:16:56 Removing intermediate container 8ddf121e59fa 03:16:56 ---> e1d4096990b2 03:16:56 Successfully built e1d4096990b2 03:16:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:57 + docker inspect -f . ci-base-image-arm64 03:16:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:57 prd-ubuntu20.04-docker-arm64-4c-16g-3619 does not seem to be running inside a container 03:16:57 $ 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:16:58 $ docker top 916148c7777808f2dd4a61c6f5f5bb3e4e205e526f5bab1086775d0571f4a933 -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:59 + go version 03:16:59 go version go1.20.6 linux/arm64 [Pipeline] } 03:16:59 $ docker stop --time=1 916148c7777808f2dd4a61c6f5f5bb3e4e205e526f5bab1086775d0571f4a933 03:17:01 $ docker rm -f --volumes 916148c7777808f2dd4a61c6f5f5bb3e4e205e526f5bab1086775d0571f4a933 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:02 + docker inspect -f . ci-base-image-arm64 03:17:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:17:02 prd-ubuntu20.04-docker-arm64-4c-16g-3619 does not seem to be running inside a container 03:17:02 $ 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:17:03 $ docker top a6d2f20cdc9fe3e8f7cb8701c8b05f0ececab7f39f662c412661081c24d52a8e -eo pid,comm [Pipeline] { [Pipeline] sh 03:17:04 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 03:17:04 + make test 03:17:04 go test -race -coverprofile=coverage.out ./... 03:19:56 ? github.com/edgexfoundry/app-record-replay [no test files] 03:19:56 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:19:56 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:19:56 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:19:56 ok github.com/edgexfoundry/app-record-replay/internal/app 0.321s coverage: 88.0% of statements 03:20:01 ok github.com/edgexfoundry/app-record-replay/internal/application 8.902s coverage: 97.5% of statements 03:20:01 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.500s coverage: 85.2% of statements 03:20:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:20:02 go vet ./... 03:22:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:22:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:22:24 ./bin/test-attribution-txt.sh [Pipeline] echo 03:22:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:22:24 $ docker stop --time=1 a6d2f20cdc9fe3e8f7cb8701c8b05f0ececab7f39f662c412661081c24d52a8e 03:22:26 $ docker rm -f --volumes a6d2f20cdc9fe3e8f7cb8701c8b05f0ececab7f39f662c412661081c24d52a8e [Pipeline] // withDockerContainer [Pipeline] sh 03:22:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:22:27 Warning: overwriting stash ‘coverage-report’ 03:22:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:22:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:22:30 + ls -al . 03:22:30 total 168 03:22:30 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 03:17 . 03:22:30 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 03:14 .. 03:22:30 -rw-rw-r-- 1 jenkins jenkins 119 Aug 15 03:14 .dockerignore 03:22:30 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 03:14 .git 03:22:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 03:14 .github 03:22:30 -rw-rw-r-- 1 jenkins jenkins 164 Aug 15 03:14 .gitignore 03:22:30 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 03:14 .golangci.yml 03:22:30 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 15 03:14 Attribution.txt 03:22:30 -rw-rw-r-- 1 jenkins jenkins 258 Aug 15 03:14 CHANGELOG.md 03:22:30 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 15 03:14 Dockerfile 03:22:30 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 03:14 GOVERNANCE.md 03:22:30 -rw-rw-r-- 1 jenkins jenkins 681 Aug 15 03:14 Jenkinsfile 03:22:30 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 15 03:14 LICENSE 03:22:30 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 15 03:14 Makefile 03:22:30 -rw-rw-r-- 1 jenkins jenkins 611 Aug 15 03:14 OWNERS.md 03:22:30 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 15 03:14 README.md 03:22:30 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 15 03:14 Record and Reply.postman_collection.json 03:22:30 -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 03:12 VERSION 03:22:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 03:14 bin 03:22:30 -rw-r--r-- 1 jenkins jenkins 16060 Aug 15 03:20 coverage.out 03:22:30 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 15 03:14 go.mod 03:22:30 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 15 03:14 go.sum 03:22:30 drwxrwxr-x 6 jenkins jenkins 4096 Aug 15 03:14 internal 03:22:30 -rw-rw-r-- 1 jenkins jenkins 913 Aug 15 03:14 main.go 03:22:30 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 03:14 pkg 03:22:30 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 03:14 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:30 + 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=baf2c8640e6879c5bd88798a9fdd1122e4abbe8b --label arch=arm64 --label version=0.0.0 . 03:22:30 Sending build context to Docker daemon 214kB 03:22:30 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:22:30 Step 2/26 : FROM ${BASE} AS builder 03:22:30 ---> e1d4096990b2 03:22:30 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:22:30 ---> Running in fbbe43095b18 03:22:31 Removing intermediate container fbbe43095b18 03:22:31 ---> 7310bd0d614a 03:22:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:22:31 ---> Running in 29d30b0d011e 03:22:31 Removing intermediate container 29d30b0d011e 03:22:31 ---> cf591a909f65 03:22:31 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:22:31 ---> Running in 6f9e9e6c02ca 03:22:31 Removing intermediate container 6f9e9e6c02ca 03:22:31 ---> 384758c5e240 03:22:31 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:22:31 ---> Running in 9473d35bf037 03:22:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:22:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:22:35 OK: 263 MiB in 53 packages 03:22:36 Removing intermediate container 9473d35bf037 03:22:36 ---> 0aa6b5287f8e 03:22:36 Step 7/26 : WORKDIR /app 03:22:36 ---> Running in 9d10cb6aaf10 03:22:36 Removing intermediate container 9d10cb6aaf10 03:22:36 ---> 1bd96e852c6a 03:22:36 Step 8/26 : COPY go.mod vendor* ./ 03:22:37 ---> 881f3699b232 03:22:37 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:22:37 ---> Running in 1d34dda30009 03:22:39 Removing intermediate container 1d34dda30009 03:22:39 ---> 08ca3b3f2bf4 03:22:39 Step 10/26 : COPY . . 03:22:40 ---> 6abf469921e9 03:22:40 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:22:40 ---> Running in 5e9cfff7cabf 03:22:40 Removing intermediate container 5e9cfff7cabf 03:22:40 ---> 5eabc3a0600a 03:22:40 Step 12/26 : RUN $MAKE 03:22:40 ---> Running in f893d7e716fe 03:22:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.18 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 03:24:48 Removing intermediate container f893d7e716fe 03:24:48 ---> d4f16165b7bd 03:24:48 Step 13/26 : FROM alpine:3.17 03:24:48 3.17: Pulling from library/alpine 03:24:48 4060ece20d7a: Pulling fs layer 03:24:48 4060ece20d7a: Verifying Checksum 03:24:48 4060ece20d7a: Download complete 03:24:48 4060ece20d7a: Pull complete 03:24:48 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 03:24:48 Status: Downloaded newer image for alpine:3.17 03:24:48 ---> 8650cd65339b 03:24:48 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:24:49 ---> Running in 5531e3776580 03:24:49 Removing intermediate container 5531e3776580 03:24:49 ---> 222f691cdc95 03:24:49 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:24:49 ---> Running in c941907ae88b 03:24:49 Removing intermediate container c941907ae88b 03:24:49 ---> 355dad402144 03:24:49 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:24:49 ---> Running in 31c2b1b3c5f3 03:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:24:52 (1/2) Installing ca-certificates (20230506-r0) 03:24:52 (2/2) Installing dumb-init (1.2.5-r2) 03:24:52 Executing busybox-1.35.0-r29.trigger 03:24:52 Executing ca-certificates-20230506-r0.trigger 03:24:52 OK: 8 MiB in 17 packages 03:24:53 Removing intermediate container 31c2b1b3c5f3 03:24:53 ---> 288602aba433 03:24:53 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:24:54 ---> 9a4c36d55531 03:24:54 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:24:54 ---> ebfefbd2ae6b 03:24:54 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:24:54 ---> 3eee1a74b99b 03:24:54 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:24:56 ---> 7cf809710895 03:24:56 Step 21/26 : EXPOSE 59712 03:24:56 ---> Running in d497297907af 03:24:56 Removing intermediate container d497297907af 03:24:56 ---> 4e28be14419e 03:24:56 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:24:56 ---> Running in 6561b9149296 03:24:57 Removing intermediate container 6561b9149296 03:24:57 ---> 9a7f885b5098 03:24:57 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:24:57 ---> Running in 138af2d29523 03:24:57 Removing intermediate container 138af2d29523 03:24:57 ---> 872327dcf325 03:24:57 Step 24/26 : LABEL arch=arm64 03:24:57 ---> Running in ae4d6833558b 03:24:57 Removing intermediate container ae4d6833558b 03:24:57 ---> e45d0bdd4241 03:24:57 Step 25/26 : LABEL git_sha=baf2c8640e6879c5bd88798a9fdd1122e4abbe8b 03:24:57 ---> Running in c5ea1ad97979 03:24:58 Removing intermediate container c5ea1ad97979 03:24:58 ---> 4deb93e1caed 03:24:58 Step 26/26 : LABEL version=0.0.0 03:24:58 ---> Running in 75475bab0bea 03:24:58 Removing intermediate container 75475bab0bea 03:24:58 ---> 2fe35f0e7579 03:24:58 [Warning] One or more build-args [ARCH] were not consumed 03:24:58 Successfully built 2fe35f0e7579 03:24:58 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:24:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:59 03:24:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:59 arm64: Pulling from edgex-lftools-log-publisher 03:24:59 8998bd30e6a1: Pulling fs layer 03:24:59 04944245beec: Pulling fs layer 03:24:59 699f458cf7ca: Pulling fs layer 03:24:59 765212b225bb: Pulling fs layer 03:24:59 f23df028b6ca: Pulling fs layer 03:24:59 d65c8cfc05b1: Pulling fs layer 03:24:59 2437ff75d9bd: Pulling fs layer 03:24:59 765212b225bb: Waiting 03:24:59 f23df028b6ca: Waiting 03:24:59 d65c8cfc05b1: Waiting 03:24:59 2437ff75d9bd: Waiting 03:24:59 04944245beec: Verifying Checksum 03:24:59 04944245beec: Download complete 03:24:59 765212b225bb: Verifying Checksum 03:24:59 765212b225bb: Download complete 03:24:59 f23df028b6ca: Download complete 03:24:59 d65c8cfc05b1: Verifying Checksum 03:24:59 d65c8cfc05b1: Download complete 03:24:59 699f458cf7ca: Verifying Checksum 03:24:59 699f458cf7ca: Download complete 03:25:00 8998bd30e6a1: Verifying Checksum 03:25:00 8998bd30e6a1: Download complete 03:25:03 2437ff75d9bd: Verifying Checksum 03:25:03 2437ff75d9bd: Download complete 03:25:04 8998bd30e6a1: Pull complete 03:25:05 04944245beec: Pull complete 03:25:06 699f458cf7ca: Pull complete 03:25:06 765212b225bb: Pull complete 03:25:07 f23df028b6ca: Pull complete 03:25:07 d65c8cfc05b1: Pull complete 03:25:22 2437ff75d9bd: Pull complete 03:25:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:25:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:25:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:22 prd-ubuntu20.04-docker-arm64-4c-16g-3619 does not seem to be running inside a container 03:25:22 $ 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:25:25 $ docker top c69ccc7022593d14dccd1403fbf11ea4648d5d9e97349e955097530fce0ed707 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:26 ---> job-cost.sh 03:25:26 lf-activate-venv: SKIPPING 03:25:26 INFO: No Stack... 03:25:26 INFO: Retrieving Pricing Info for: v3-standard-4 03:25:27 INFO: Archiving Costs [Pipeline] sh 03:25:27 + cat /w/workspace/app-record-replay/1/archives/cost.csv 03:25:28 + cut -d, -f6 [Pipeline] lock 03:25:28 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-58-1-stack-cost] 03:25:28 Resource [jenkins-edgexfoundry-app-record-replay-PR-58-1-stack-cost] did not exist. Created. 03:25:28 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-58-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:25:28 /w/workspace/app-record-replay/1@tmp/durable-dd8af88d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:25:29 + echo total: 0.10999999940395355 [Pipeline] stash 03:25:29 Warning: overwriting stash ‘stack-cost’ 03:25:29 Stashed 1 file(s) [Pipeline] } 03:25:29 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-58-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:25:29 $ docker stop --time=1 c69ccc7022593d14dccd1403fbf11ea4648d5d9e97349e955097530fce0ed707 03:25:30 $ docker rm -f --volumes c69ccc7022593d14dccd1403fbf11ea4648d5d9e97349e955097530fce0ed707 [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:25:32 provisioning config files... 03:25:32 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-58 #1 03:25:32 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-58@tmp/config12789617880164172000tmp [Pipeline] { [Pipeline] sh 03:25:32 + set +x 03:25:32 + curl -s https://codecov.io/bash 03:25:32 + bash -s -- 03:25:32 03:25:32 _____ _ 03:25:32 / ____| | | 03:25:32 | | ___ __| | ___ ___ _____ __ 03:25:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:25:32 | |___| (_) | (_| | __/ (_| (_) \ V / 03:25:32 \_____\___/ \__,_|\___|\___\___/ \_/ 03:25:32 Bash-1.0.6 03:25:32 03:25:32 03:25:32 ==> git version 2.25.1 found 03:25:32 ==> 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:25:32 Release-Date: 2020-01-08 03:25:32 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:25:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:25:32 ==> Jenkins CI detected. 03:25:32 current dir:  /w/workspace/xfoundry_app-record-replay_PR-58 03:25:32 project root: . 03:25:32 --> token set from env 03:25:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:25:32 ==> Running gcov in . (disable via -X gcov) 03:25:32 ==> Python coveragepy not found 03:25:32 ==> Searching for coverage reports in: 03:25:32 + . 03:25:32 -> Found 1 reports 03:25:32 ==> Detecting git/mercurial file structure 03:25:32 ==> Reading reports 03:25:32 + ./coverage.out bytes=16060 03:25:32 ==> Appending adjustments 03:25:32 https://docs.codecov.io/docs/fixing-reports 03:25:32 + Found adjustments 03:25:32 ==> Gzipping contents 03:25:32 4.0K /tmp/codecov.GKsKBa.gz 03:25:32 ==> Uploading reports 03:25:32 url: https://codecov.io 03:25:32 query: branch=PR-58&commit=baf2c8640e6879c5bd88798a9fdd1122e4abbe8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-58%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=58&job=&cmd_args= 03:25:32 -> Pinging Codecov 03:25:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-58&commit=baf2c8640e6879c5bd88798a9fdd1122e4abbe8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-58%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=58&job=&cmd_args= 03:25:32 Invalid request parameters 03:25:32 400 [Pipeline] } 03:25:32 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:25:34 + [ -d /w/workspace/xfoundry_app-record-replay_PR-58/archives ] 03:25:34 + ls -al /w/workspace/xfoundry_app-record-replay_PR-58/archives 03:25:34 total 16 03:25:34 drwxr-xr-x 3 root root 4096 Aug 15 03:15 . 03:25:34 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 03:15 .. 03:25:34 drwxr-xr-x 2 root root 4096 Aug 15 03:15 cost 03:25:34 -rw-r--r-- 1 root root 88 Aug 15 03:15 cost.csv 03:25:34 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-58/archives 03:25:34 + ls -al /w/workspace/xfoundry_app-record-replay_PR-58/archives 03:25:34 total 16 03:25:34 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 03:15 . 03:25:34 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 03:15 .. 03:25:34 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 03:15 cost 03:25:34 -rw-r--r-- 1 jenkins jenkins 88 Aug 15 03:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:25:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:25:35 ---> package-listing.sh 03:25:35 ++ facter osfamily 03:25:35 ++ tr '[:upper:]' '[:lower:]' 03:25:35 + OS_FAMILY=debian 03:25:35 + workspace=/w/workspace/xfoundry_app-record-replay_PR-58 03:25:35 + START_PACKAGES=/tmp/packages_start.txt 03:25:35 + END_PACKAGES=/tmp/packages_end.txt 03:25:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:25:35 + PACKAGES=/tmp/packages_start.txt 03:25:35 + '[' /w/workspace/xfoundry_app-record-replay_PR-58 ']' 03:25:35 + PACKAGES=/tmp/packages_end.txt 03:25:35 + case "${OS_FAMILY}" in 03:25:35 + dpkg -l 03:25:35 + grep '^ii' 03:25:35 + '[' -f /tmp/packages_start.txt ']' 03:25:35 + '[' -f /tmp/packages_end.txt ']' 03:25:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:25:35 + '[' /w/workspace/xfoundry_app-record-replay_PR-58 ']' 03:25:35 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-58/archives/ 03:25:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-58/archives/ [Pipeline] echo 03:25:35 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-58/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:25:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:36 prd-ubuntu20.04-docker-8c-8g-3617 does not seem to be running inside a container 03:25:37 $ 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-58/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-58 -v /w/workspace/xfoundry_app-record-replay_PR-58:/w/workspace/xfoundry_app-record-replay_PR-58:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-58@tmp:/w/workspace/xfoundry_app-record-replay_PR-58@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:25:37 $ docker top 6d92b90c5bd06eb3994e237996886867bb50d52f32fc018970feca5d935484a5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:37 + touch /tmp/pre-build-complete [Pipeline] sh 03:25:37 + mkdir -p /var/log/sysstat [Pipeline] sh 03:25:38 + ls /var/log/sa-host 03:25:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:38 provisioning config files... 03:25:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-58@tmp/config10525430819411636804tmp [Pipeline] { [Pipeline] echo 03:25:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:25:39 ---> create-netrc.sh [Pipeline] } 03:25:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:25:39 ---> python-tools-install.sh [Pipeline] echo 03:25:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:25:39 ---> sudo-logs.sh 03:25:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:25:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:25:40 ---> job-cost.sh 03:25:40 lf-activate-venv: SKIPPING 03:25:40 DEBUG: total: 0.2199999988079071 03:25:40 INFO: Retrieving Stack Cost... 03:25:40 INFO: Retrieving Pricing Info for: v3-standard-8 03:25:41 INFO: Archiving Costs [Pipeline] echo 03:25:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:25:41 ---> logs-deploy.sh 03:25:41 lf-activate-venv: SKIPPING 03:25:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-58/1 03:25:41 INFO: archiving workspace using pattern(s): 03:25:42 Archives upload complete. 03:25:42 INFO: archiving logs to Nexus