Pull request #36 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cabc917382b87e3a68ead34f7e6fd349ef4b0842+2c282af5260d380b24eaba4cc371f3a0b43fd8c9 (3d0551355b359862dbf1b1f0562ce5ac060ec801) 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-ssh5104814914103111344.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh14625712566268660621.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-36/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-36/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15233116012083771417.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-36/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3222265244382263940.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh15828438313167618013.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-36/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-36/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8592492172657327362.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-820 in /w/workspace/xfoundry_app-record-replay_PR-36 [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-36 # 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 2c282af5260d380b24eaba4cc371f3a0b43fd8c9 into PR head commit cabc917382b87e3a68ead34f7e6fd349ef4b0842 Merge succeeded, producing cabc917382b87e3a68ead34f7e6fd349ef4b0842 Checking out Revision cabc917382b87e3a68ead34f7e6fd349ef4b0842 (PR-36) > 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/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cabc917382b87e3a68ead34f7e6fd349ef4b0842 # 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 2c282af5260d380b24eaba4cc371f3a0b43fd8c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cabc917382b87e3a68ead34f7e6fd349ef4b0842 # 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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:28:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:28:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:28:04 ========================================================= 03:28:04 EdgeX Global Pipelines Version Info 03:28:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:28:05 ------------------- 03:28:05 stable info: 03:28:05 ------------------- 03:28:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:28:05 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:28:05 Message: update stable to v1.0.250 03:28:05 ------------------- 03:28:05 experimental info: 03:28:05 ------------------- 03:28:05 Commited By: **** collab-it+edgex@linuxfoundation.org 03:28:05 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:28:05 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:28:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:28:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:28:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:28:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:28:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-36 [Pipeline] echo 03:28:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-36 [Pipeline] echo 03:28:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-36 [Pipeline] echo 03:28:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cabc917382b87e3a68ead34f7e6fd349ef4b0842 [Pipeline] echo 03:28:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cabc917 [Pipeline] echo 03:28:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:07 provisioning config files... 03:28:07 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-36@tmp/config955273918507420166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:07 ---> docker-login.sh 03:28:07 nexus3.edgexfoundry.org:10001 03:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:08 Configure a credential helper to remove this warning. See 03:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:08 03:28:08 Login Succeeded 03:28:08 nexus3.edgexfoundry.org:10002 03:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:08 Configure a credential helper to remove this warning. See 03:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:08 03:28:08 Login Succeeded 03:28:08 nexus3.edgexfoundry.org:10003 03:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:08 Configure a credential helper to remove this warning. See 03:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:08 03:28:08 Login Succeeded 03:28:08 nexus3.edgexfoundry.org:10004 03:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:08 Configure a credential helper to remove this warning. See 03:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:08 03:28:08 Login Succeeded 03:28:08 docker.io 03:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:08 Configure a credential helper to remove this warning. See 03:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:08 03:28:08 Login Succeeded 03:28:08 ---> docker-login.sh ends [Pipeline] } 03:28:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:28:09 + git rev-list -1 --merges cabc917382b87e3a68ead34f7e6fd349ef4b0842~1..cabc917382b87e3a68ead34f7e6fd349ef4b0842 [Pipeline] echo 03:28:09 -----------> git rev-list -1 --merges cabc917382b87e3a68ead34f7e6fd349ef4b0842~1..cabc917382b87e3a68ead34f7e6fd349ef4b0842 cabc917382b87e3a68ead34f7e6fd349ef4b0842 [false] [Pipeline] sh 03:28:09 + git log --format=format:%s -1 cabc917382b87e3a68ead34f7e6fd349ef4b0842 [Pipeline] echo 03:28:09 ========================================================= 03:28:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:28:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:28:10 + git log --format=format:%s -1 cabc917382b87e3a68ead34f7e6fd349ef4b0842 [Pipeline] echo 03:28:10 [semverPrep] GIT_COMMIT: cabc917382b87e3a68ead34f7e6fd349ef4b0842, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:28:10 [semverPrep] This is not a build commit. [Pipeline] sh 03:28:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:28:10 + grep -v github /etc/ssh/ssh_known_hosts 03:28:10 + [ -e /tmp/ssh_known_hosts ] 03:28:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:28:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:28:10 + sudo tee -a /etc/ssh/ssh_known_hosts 03:28:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:28:11 03:28:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:28:11 0.1.4: Pulling from edgex-devops/py-git-semver 03:28:11 b85a868b505f: Pulling fs layer 03:28:11 e2be974225ed: Pulling fs layer 03:28:11 339a4e72a1f5: Pulling fs layer 03:28:11 988bab9f4d93: Pulling fs layer 03:28:11 1469e6f7b9e6: Pulling fs layer 03:28:11 eaf3925da568: Pulling fs layer 03:28:11 bab4dde63d76: Pulling fs layer 03:28:11 bde34c3a00c8: Pulling fs layer 03:28:11 b352a97aabf1: Pulling fs layer 03:28:11 4872d77fe225: Pulling fs layer 03:28:11 5851b861e8e6: Pulling fs layer 03:28:11 1469e6f7b9e6: Waiting 03:28:11 eaf3925da568: Waiting 03:28:11 bab4dde63d76: Waiting 03:28:11 bde34c3a00c8: Waiting 03:28:11 b352a97aabf1: Waiting 03:28:11 4872d77fe225: Waiting 03:28:11 5851b861e8e6: Waiting 03:28:11 988bab9f4d93: Waiting 03:28:11 e2be974225ed: Verifying Checksum 03:28:11 e2be974225ed: Download complete 03:28:11 988bab9f4d93: Verifying Checksum 03:28:11 988bab9f4d93: Download complete 03:28:11 1469e6f7b9e6: Verifying Checksum 03:28:11 1469e6f7b9e6: Download complete 03:28:11 339a4e72a1f5: Verifying Checksum 03:28:11 339a4e72a1f5: Download complete 03:28:11 eaf3925da568: Download complete 03:28:11 bde34c3a00c8: Verifying Checksum 03:28:11 bde34c3a00c8: Download complete 03:28:11 b352a97aabf1: Download complete 03:28:11 4872d77fe225: Verifying Checksum 03:28:11 4872d77fe225: Download complete 03:28:11 5851b861e8e6: Download complete 03:28:11 b85a868b505f: Download complete 03:28:12 bab4dde63d76: Verifying Checksum 03:28:12 bab4dde63d76: Download complete 03:28:13 b85a868b505f: Pull complete 03:28:13 e2be974225ed: Pull complete 03:28:14 339a4e72a1f5: Pull complete 03:28:14 988bab9f4d93: Pull complete 03:28:14 1469e6f7b9e6: Pull complete 03:28:14 eaf3925da568: Pull complete 03:28:16 bab4dde63d76: Pull complete 03:28:16 bde34c3a00c8: Pull complete 03:28:16 b352a97aabf1: Pull complete 03:28:16 4872d77fe225: Pull complete 03:28:16 5851b861e8e6: Pull complete 03:28:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:28:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:16 prd-ubuntu20.04-docker-8c-8g-820 does not seem to be running inside a container 03:28:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-36 -v /w/workspace/xfoundry_app-record-replay_PR-36:/w/workspace/xfoundry_app-record-replay_PR-36:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-36@tmp:/w/workspace/xfoundry_app-record-replay_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:28:19 $ docker top 7a6b018d62c7a8a1cbad8c70d0b49bfb8b83f9a861e4c8be8384f150505eda65 -eo pid,comm 03:28:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:28:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:28:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:28:20 [ssh-agent] Looking for ssh-agent implementation... 03:28:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:28:20 $ docker exec 7a6b018d62c7a8a1cbad8c70d0b49bfb8b83f9a861e4c8be8384f150505eda65 ssh-agent 03:28:20 SSH_AUTH_SOCK=/tmp/ssh-BtWNesJjPXQQ/agent.32 03:28:20 SSH_AGENT_PID=38 03:28:20 Running ssh-add (command line suppressed) 03:28:20 Identity added: /w/workspace/xfoundry_app-record-replay_PR-36@tmp/private_key_11625762688464733544.key (/w/workspace/xfoundry_app-record-replay_PR-36@tmp/private_key_11625762688464733544.key) 03:28:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:28:20 + git tag --points-at HEAD [Pipeline] } 03:28:20 $ docker exec --env ******** --env ******** 7a6b018d62c7a8a1cbad8c70d0b49bfb8b83f9a861e4c8be8384f150505eda65 ssh-agent -k 03:28:20 unset SSH_AUTH_SOCK; 03:28:20 unset SSH_AGENT_PID; 03:28:20 echo Agent pid 38 killed; 03:28:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:28:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:28:21 [ssh-agent] Looking for ssh-agent implementation... 03:28:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:28:21 $ docker exec 7a6b018d62c7a8a1cbad8c70d0b49bfb8b83f9a861e4c8be8384f150505eda65 ssh-agent 03:28:21 SSH_AUTH_SOCK=/tmp/ssh-omsYCOOitbb8/agent.69 03:28:21 SSH_AGENT_PID=75 03:28:21 Running ssh-add (command line suppressed) 03:28:21 Identity added: /w/workspace/xfoundry_app-record-replay_PR-36@tmp/private_key_957109783172423591.key (/w/workspace/xfoundry_app-record-replay_PR-36@tmp/private_key_957109783172423591.key) 03:28:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:28:21 + git semver init 03:28:21 2023-07-11 03:28:21,899 [run_init] DEBUG init version:0.0.0 force:False 03:28:21 2023-07-11 03:28:21,900 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-36/.semver 03:28:21 2023-07-11 03:28:21,900 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-36/.semver 03:28:21 2023-07-11 03:28:21,901 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-36/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-36, universal_newlines=False, shell=None, istream=None) 03:28:22 2023-07-11 03:28:22,530 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-36/.git/info/exclude 03:28:22 2023-07-11 03:28:22,530 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-36/.semver/PR-36 with force:False 03:28:22 2023-07-11 03:28:22,530 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-36/.semver/PR-36 03:28:22 2023-07-11 03:28:22,534 [execute] INFO git cat-file --batch-check 03:28:22 2023-07-11 03:28:22,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-36/.semver, universal_newlines=False, shell=None, istream=) 03:28:22 2023-07-11 03:28:22,541 [execute] INFO git cat-file --batch 03:28:22 2023-07-11 03:28:22,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-36/.semver, universal_newlines=False, shell=None, istream=) 03:28:22 2023-07-11 03:28:22,546 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-36/.semver/PR-36 03:28:22 0.0.0 [Pipeline] } 03:28:22 $ docker exec --env ******** --env ******** 7a6b018d62c7a8a1cbad8c70d0b49bfb8b83f9a861e4c8be8384f150505eda65 ssh-agent -k 03:28:22 unset SSH_AUTH_SOCK; 03:28:22 unset SSH_AGENT_PID; 03:28:22 echo Agent pid 75 killed; 03:28:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:28:23 + git semver [Pipeline] } 03:28:23 $ docker stop --time=1 7a6b018d62c7a8a1cbad8c70d0b49bfb8b83f9a861e4c8be8384f150505eda65 03:28:24 $ docker rm -f --volumes 7a6b018d62c7a8a1cbad8c70d0b49bfb8b83f9a861e4c8be8384f150505eda65 [Pipeline] // withDockerContainer [Pipeline] sh 03:28:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:28:25 Stashed 1 file(s) [Pipeline] echo 03:28:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:26 provisioning config files... 03:28:26 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-36@tmp/config17904475519329553378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:26 ---> docker-login.sh 03:28:26 nexus3.edgexfoundry.org:10001 03:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:26 Configure a credential helper to remove this warning. See 03:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:26 03:28:26 Login Succeeded 03:28:26 nexus3.edgexfoundry.org:10002 03:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:26 Configure a credential helper to remove this warning. See 03:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:26 03:28:26 Login Succeeded 03:28:26 nexus3.edgexfoundry.org:10003 03:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:26 Configure a credential helper to remove this warning. See 03:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:26 03:28:26 Login Succeeded 03:28:26 nexus3.edgexfoundry.org:10004 03:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:26 Configure a credential helper to remove this warning. See 03:28:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:26 03:28:26 Login Succeeded 03:28:26 docker.io 03:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:27 Configure a credential helper to remove this warning. See 03:28:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:27 03:28:27 Login Succeeded 03:28:27 ---> docker-login.sh ends [Pipeline] } 03:28:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:28:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:28:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:28:27 ========================================================= 03:28:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:28:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:28:27 Sending build context to Docker daemon 310.8kB 03:28:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:28:27 Step 2/12 : FROM ${BASE} AS builder 03:28:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:28:27 f56be85fc22e: Pulling fs layer 03:28:27 85791d961cd3: Pulling fs layer 03:28:27 d694b5ae8c79: Pulling fs layer 03:28:27 9f32a84ed3da: Pulling fs layer 03:28:27 4d19c01a9841: Pulling fs layer 03:28:27 9325e15d5711: Pulling fs layer 03:28:27 556b6ee489ea: Pulling fs layer 03:28:27 c5a4b2cf53e6: Pulling fs layer 03:28:27 9325e15d5711: Waiting 03:28:27 556b6ee489ea: Waiting 03:28:27 9f32a84ed3da: Waiting 03:28:27 85791d961cd3: Verifying Checksum 03:28:27 85791d961cd3: Download complete 03:28:27 9f32a84ed3da: Download complete 03:28:27 4d19c01a9841: Verifying Checksum 03:28:27 4d19c01a9841: Download complete 03:28:27 f56be85fc22e: Download complete 03:28:28 9325e15d5711: Verifying Checksum 03:28:28 9325e15d5711: Download complete 03:28:28 f56be85fc22e: Pull complete 03:28:28 85791d961cd3: Pull complete 03:28:28 d694b5ae8c79: Verifying Checksum 03:28:28 d694b5ae8c79: Download complete 03:28:28 c5a4b2cf53e6: Verifying Checksum 03:28:28 c5a4b2cf53e6: Download complete 03:28:28 556b6ee489ea: Verifying Checksum 03:28:28 556b6ee489ea: Download complete 03:28:32 d694b5ae8c79: Pull complete 03:28:32 9f32a84ed3da: Pull complete 03:28:32 4d19c01a9841: Pull complete 03:28:32 9325e15d5711: Pull complete 03:28:34 556b6ee489ea: Pull complete 03:28:35 c5a4b2cf53e6: Pull complete 03:28:35 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 03:28:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:28:35 ---> c4be618373d6 03:28:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:28:39 ---> Running in bdb7479c30ae 03:28:39 Removing intermediate container bdb7479c30ae 03:28:39 ---> 373ca637607b 03:28:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:28:39 ---> Running in fdd4dc85ec9c 03:28:39 Removing intermediate container fdd4dc85ec9c 03:28:39 ---> fdb938b8f466 03:28:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:28:39 ---> Running in 1bcca7d097bb 03:28:39 Removing intermediate container 1bcca7d097bb 03:28:39 ---> 4ea8f8230350 03:28:39 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:28:39 ---> Running in ac3bd7e7203d 03:28:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:28:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:28:40 OK: 265 MiB in 53 packages 03:28:40 Removing intermediate container ac3bd7e7203d 03:28:40 ---> bc7e1d604ca2 03:28:40 Step 7/12 : WORKDIR /app 03:28:40 ---> Running in a3b7a21907a2 03:28:40 Removing intermediate container a3b7a21907a2 03:28:40 ---> 9fe997ec0733 03:28:40 Step 8/12 : COPY go.mod vendor* ./ 03:28:40 ---> 146ba117aae2 03:28:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:40 ---> Running in e76f3894b759 03:28:41 Still waiting to schedule task 03:28:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:29:12 Removing intermediate container e76f3894b759 03:29:12 ---> 4f48f7c7063b 03:29:12 Step 10/12 : COPY . . 03:29:12 ---> 0a37ab44c061 03:29:12 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:29:12 ---> Running in 22e692246f8f 03:29:12 Removing intermediate container 22e692246f8f 03:29:12 ---> 1d1f35041cce 03:29:12 Step 12/12 : RUN $MAKE 03:29:12 ---> Running in 1ea4feeb9f51 03:29:12 noop 03:29:12 Removing intermediate container 1ea4feeb9f51 03:29:12 ---> 55df9ae1be31 03:29:12 Successfully built 55df9ae1be31 03:29:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:13 + docker inspect -f . ci-base-image-x86_64 03:29:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:13 prd-ubuntu20.04-docker-8c-8g-820 does not seem to be running inside a container 03:29:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-36 -v /w/workspace/xfoundry_app-record-replay_PR-36:/w/workspace/xfoundry_app-record-replay_PR-36:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-36@tmp:/w/workspace/xfoundry_app-record-replay_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:29:13 $ docker top bf866d850f7498a6a38fdc4cb7077860c718ae398a501c38aaa134bab0a26eab -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:14 + go version 03:29:14 go version go1.20.2 linux/amd64 [Pipeline] } 03:29:14 $ docker stop --time=1 bf866d850f7498a6a38fdc4cb7077860c718ae398a501c38aaa134bab0a26eab 03:29:15 $ docker rm -f --volumes bf866d850f7498a6a38fdc4cb7077860c718ae398a501c38aaa134bab0a26eab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:16 + docker inspect -f . ci-base-image-x86_64 03:29:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:16 prd-ubuntu20.04-docker-8c-8g-820 does not seem to be running inside a container 03:29:16 $ 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-36 -v /w/workspace/xfoundry_app-record-replay_PR-36:/w/workspace/xfoundry_app-record-replay_PR-36:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-36@tmp:/w/workspace/xfoundry_app-record-replay_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:29:16 $ docker top b3f67af44279303f7d9f65cd885753f4a269d958b587bfa7a95b31b7cd10be6a -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:16 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-36 [Pipeline] fileExists [Pipeline] sh 03:29:17 + make test 03:29:17 go test -race -coverprofile=coverage.out ./... 03:29:35 ? github.com/edgexfoundry/app-record-replay [no test files] 03:29:35 ok github.com/edgexfoundry/app-record-replay/internal/app 0.061s coverage: 76.9% of statements 03:29:35 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:29:35 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:29:35 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:29:36 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.071s coverage: 85.7% of statements 03:29:36 ok github.com/edgexfoundry/app-record-replay/internal/data 0.060s coverage: 27.3% of statements 03:29:58 go vet ./... 03:30:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:30:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:30:00 ./bin/test-attribution-txt.sh 03:30:00 An attribution for github.com/gabriel-vasile/mimetype is missing from Attribution.txt, please add 03:30:00 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 03:30:00 An attribution for golang.org/x/exp is missing from Attribution.txt, please add [Pipeline] echo 03:30:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:30:00 $ docker stop --time=1 b3f67af44279303f7d9f65cd885753f4a269d958b587bfa7a95b31b7cd10be6a 03:30:05 $ docker rm -f --volumes b3f67af44279303f7d9f65cd885753f4a269d958b587bfa7a95b31b7cd10be6a [Pipeline] // withDockerContainer [Pipeline] sh 03:30:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:30:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:30:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:30:07 + ls -al . 03:30:07 total 156 03:30:07 drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 03:29 . 03:30:07 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 03:28 .. 03:30:07 -rw-rw-r-- 1 jenkins jenkins 119 Jul 11 03:28 .dockerignore 03:30:07 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 03:28 .git 03:30:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 03:28 .github 03:30:07 -rw-rw-r-- 1 jenkins jenkins 164 Jul 11 03:28 .gitignore 03:30:07 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 03:28 .golangci.yml 03:30:07 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 03:28 .semver 03:30:07 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 11 03:28 Attribution.txt 03:30:07 -rw-rw-r-- 1 jenkins jenkins 258 Jul 11 03:28 CHANGELOG.md 03:30:07 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 11 03:28 Dockerfile 03:30:07 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 03:28 GOVERNANCE.md 03:30:07 -rw-rw-r-- 1 jenkins jenkins 681 Jul 11 03:28 Jenkinsfile 03:30:07 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 11 03:28 LICENSE 03:30:07 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 11 03:28 Makefile 03:30:07 -rw-rw-r-- 1 jenkins jenkins 611 Jul 11 03:28 OWNERS.md 03:30:07 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 11 03:28 README.md 03:30:07 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 03:28 VERSION 03:30:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 03:28 bin 03:30:07 -rw-r--r-- 1 jenkins jenkins 5223 Jul 11 03:29 coverage.out 03:30:07 -rw-rw-r-- 1 jenkins jenkins 3678 Jul 11 03:28 go.mod 03:30:07 -rw-rw-r-- 1 jenkins jenkins 32843 Jul 11 03:28 go.sum 03:30:07 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 03:28 internal 03:30:07 -rw-rw-r-- 1 jenkins jenkins 913 Jul 11 03:28 main.go 03:30:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 03:28 pkg 03:30:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 03:28 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:07 + 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=cabc917382b87e3a68ead34f7e6fd349ef4b0842 --label arch=amd64 --label version=0.0.0 . 03:30:07 Sending build context to Docker daemon 316.9kB 03:30:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:30:07 Step 2/26 : FROM ${BASE} AS builder 03:30:07 ---> 55df9ae1be31 03:30:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:30:07 ---> Running in 5f60a89f76ea 03:30:07 Removing intermediate container 5f60a89f76ea 03:30:07 ---> cfb5490526b7 03:30:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:30:07 ---> Running in 58d0d6df4aa2 03:30:07 Removing intermediate container 58d0d6df4aa2 03:30:07 ---> 06e25f82e5e4 03:30:07 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:30:07 ---> Running in 0b4e72dfc7f6 03:30:07 Removing intermediate container 0b4e72dfc7f6 03:30:07 ---> 21b9a19091db 03:30:07 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:30:07 ---> Running in 285b1c2fea68 03:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:30:08 OK: 265 MiB in 53 packages 03:30:08 Removing intermediate container 285b1c2fea68 03:30:08 ---> a2061c3aae9b 03:30:08 Step 7/26 : WORKDIR /app 03:30:08 ---> Running in 326a5e3843af 03:30:09 Removing intermediate container 326a5e3843af 03:30:09 ---> 9fac229504f1 03:30:09 Step 8/26 : COPY go.mod vendor* ./ 03:30:09 ---> e7aae1c7e75f 03:30:09 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:30:09 ---> Running in 0cef5d838bc5 03:30:10 Removing intermediate container 0cef5d838bc5 03:30:10 ---> 16d5e3dfa97f 03:30:10 Step 10/26 : COPY . . 03:30:10 ---> de673b74b222 03:30:10 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:30:10 ---> Running in 01cdb34ad122 03:30:10 Removing intermediate container 01cdb34ad122 03:30:10 ---> 67e00129a87b 03:30:10 Step 12/26 : RUN $MAKE 03:30:10 ---> Running in 0dbd3a9f5da9 03:30:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 03:30:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-821 in /w/workspace/xfoundry_app-record-replay_PR-36 [Pipeline] { [Pipeline] ws 03:30:22 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:30:22 Selected Git installation does not exist. Using Default 03:30:22 The recommended git tool is: NONE 03:30:28 using credential edgex-jenkins-ssh 03:30:28 Cloning the remote Git repository 03:30:28 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:30:28 > git init /w/workspace/app-record-replay/1 # timeout=10 03:30:28 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:30:28 > git --version # timeout=10 03:30:28 > git --version # 'git version 2.25.1' 03:30:28 using GIT_SSH to set credentials SSH Credentials for GitHub 03:30:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:30:29 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:30:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:30:30 Merging remotes/origin/main commit 2c282af5260d380b24eaba4cc371f3a0b43fd8c9 into PR head commit cabc917382b87e3a68ead34f7e6fd349ef4b0842 03:30:30 Merge succeeded, producing cabc917382b87e3a68ead34f7e6fd349ef4b0842 03:30:30 Checking out Revision cabc917382b87e3a68ead34f7e6fd349ef4b0842 (PR-36) 03:30:30 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:30:30 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:30:30 using GIT_SSH to set credentials SSH Credentials for GitHub 03:30:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:30:30 > git config core.sparsecheckout # timeout=10 03:30:30 > git checkout -f cabc917382b87e3a68ead34f7e6fd349ef4b0842 # timeout=10 03:30:30 > git remote # timeout=10 03:30:30 > git config --get remote.origin.url # timeout=10 03:30:30 using GIT_SSH to set credentials SSH Credentials for GitHub 03:30:30 > git merge 2c282af5260d380b24eaba4cc371f3a0b43fd8c9 # timeout=10 03:30:30 > git rev-parse HEAD^{commit} # timeout=10 03:30:30 > git config core.sparsecheckout # timeout=10 03:30:30 > git checkout -f cabc917382b87e3a68ead34f7e6fd349ef4b0842 # timeout=10 03:30:31 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:30:31 > git --version # timeout=10 03:30:31 > git --version # 'git version 2.25.1' 03:30:31 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:30:32 Removing intermediate container 0dbd3a9f5da9 03:30:32 ---> a75c04b07f87 03:30:32 Step 13/26 : FROM alpine:3.17 03:30:32 3.17: Pulling from library/alpine 03:30:32 4db1b89c0bd1: Pulling fs layer 03:30:32 4db1b89c0bd1: Download complete 03:30:32 4db1b89c0bd1: Pull complete 03:30:32 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:30:32 Status: Downloaded newer image for alpine:3.17 03:30:32 ---> 1f73a9d63274 03:30:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:30:32 ---> Running in 5210dd75562a 03:30:32 Removing intermediate container 5210dd75562a 03:30:32 ---> b7bb5344171f 03:30:32 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:30:32 ---> Running in f65cbc704e0a 03:30:32 Removing intermediate container f65cbc704e0a 03:30:32 ---> a643e252b04f 03:30:32 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:30:32 ---> Running in 3ad9982332bc 03:30:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:30:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:30:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:30:32 % Total % Received % Xferd Average Speed Time Time Time Current 03:30:32 Dload Upload Total Spent Left Speed 03:30:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76813 03:30:32 (1/2) Installing ca-certificates (20230506-r0) 03:30:32 (2/2) Installing dumb-init (1.2.5-r2) 03:30:32 Executing busybox-1.35.0-r29.trigger 03:30:32 Executing ca-certificates-20230506-r0.trigger [Pipeline] sh 03:30:33 OK: 8 MiB in 17 packages 03:30:33 Removing intermediate container 3ad9982332bc 03:30:33 ---> 6025562b77e8 03:30:33 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:30:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:30:33 ---> 0136a7b52fdd 03:30:33 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:30:33 ---> de1381910d20 03:30:33 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:30:33 + sudo tee /etc/docker/daemon.new 03:30:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:30:33 { 03:30:33 "registry-mirrors": [ 03:30:33 "https://nexus3.edgexfoundry.org:10001" 03:30:33 ], 03:30:33 "bip": "10.250.0.254/24", 03:30:33 "hosts": [ 03:30:33 "tcp://0.0.0.0:5555", 03:30:33 "unix:///var/run/docker.sock" 03:30:33 ], 03:30:33 "mtu": 1458, 03:30:33 "selinux-enabled": true, 03:30:33 "seccomp-profile": "/etc/docker/seccomp.json" 03:30:33 } [Pipeline] sh 03:30:33 ---> 55b4286a0258 03:30:33 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:30:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:30:34 + sudo service docker restart 03:30:34 ---> f5bce5bc96c3 03:30:34 Step 21/26 : EXPOSE 59712 03:30:34 ---> Running in 21e9202b3975 03:30:34 Removing intermediate container 21e9202b3975 03:30:34 ---> cc056b4494cf 03:30:34 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:30:35 ---> Running in cfbd0a7f9ca5 03:30:35 Removing intermediate container cfbd0a7f9ca5 03:30:35 ---> aef99abad36c 03:30:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:30:35 ---> Running in 9bb07af8b261 03:30:35 Removing intermediate container 9bb07af8b261 03:30:35 ---> 0708298dd791 03:30:35 Step 24/26 : LABEL arch=amd64 03:30:35 ---> Running in 0b914543f2aa 03:30:35 Removing intermediate container 0b914543f2aa 03:30:35 ---> d63630b0952a 03:30:35 Step 25/26 : LABEL git_sha=cabc917382b87e3a68ead34f7e6fd349ef4b0842 03:30:35 ---> Running in 80907869d216 03:30:35 Removing intermediate container 80907869d216 03:30:35 ---> 2443b532fc74 03:30:35 Step 26/26 : LABEL version=0.0.0 03:30:35 ---> Running in 7014a89d21fa 03:30:35 Removing intermediate container 7014a89d21fa 03:30:35 ---> 8629c85f453c 03:30:35 [Warning] One or more build-args [ARCH] were not consumed 03:30:35 Successfully built 8629c85f453c 03:30:35 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:30:36 03:30:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:30:36 latest: Pulling from edgex-lftools-log-publisher 03:30:36 5eb5b503b376: Pulling fs layer 03:30:36 5c69ac0246d0: Pulling fs layer 03:30:36 ec43610c2a17: Pulling fs layer 03:30:36 3a2ae6a8a46f: Pulling fs layer 03:30:36 33b1e0a273af: Pulling fs layer 03:30:36 5d3b04190fa2: Pulling fs layer 03:30:36 2f39f015ded8: Pulling fs layer 03:30:36 5d3b04190fa2: Waiting 03:30:36 3a2ae6a8a46f: Waiting 03:30:36 33b1e0a273af: Waiting 03:30:36 2f39f015ded8: Waiting 03:30:36 5c69ac0246d0: Verifying Checksum 03:30:36 5c69ac0246d0: Download complete 03:30:36 3a2ae6a8a46f: Verifying Checksum 03:30:36 3a2ae6a8a46f: Download complete 03:30:36 33b1e0a273af: Verifying Checksum 03:30:36 33b1e0a273af: Download complete 03:30:36 5d3b04190fa2: Verifying Checksum 03:30:36 5d3b04190fa2: Download complete 03:30:36 ec43610c2a17: Verifying Checksum 03:30:36 ec43610c2a17: Download complete 03:30:36 5eb5b503b376: Verifying Checksum 03:30:36 5eb5b503b376: Download complete 03:30:37 2f39f015ded8: Download complete 03:30:38 5eb5b503b376: Pull complete 03:30:38 5c69ac0246d0: Pull complete 03:30:38 ec43610c2a17: Pull complete 03:30:38 3a2ae6a8a46f: Pull complete 03:30:38 33b1e0a273af: Pull complete 03:30:39 5d3b04190fa2: Pull complete 03:30:43 2f39f015ded8: Pull complete 03:30:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:30:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:30:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:43 prd-ubuntu20.04-docker-8c-8g-820 does not seem to be running inside a container 03:30:43 $ 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-36 -v /w/workspace/xfoundry_app-record-replay_PR-36:/w/workspace/xfoundry_app-record-replay_PR-36:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-36@tmp:/w/workspace/xfoundry_app-record-replay_PR-36@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:30:47 $ docker top 61ba61ac14c5e0b6422d025f7181515b0aa9a095c30f882170600ca99eb346b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:47 ---> job-cost.sh 03:30:47 lf-activate-venv: SKIPPING 03:30:47 INFO: No Stack... 03:30:48 INFO: Retrieving Pricing Info for: v3-standard-8 03:30:48 INFO: Archiving Costs [Pipeline] sh 03:30:48 + cat /w/workspace/xfoundry_app-record-replay_PR-36/archives/cost.csv 03:30:48 + cut -d, -f6 [Pipeline] lock 03:30:48 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-36-1-stack-cost] 03:30:48 Resource [jenkins-edgexfoundry-app-record-replay-PR-36-1-stack-cost] did not exist. Created. 03:30:48 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-36-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:30:49 + echo total: 0.2199999988079071 [Pipeline] stash 03:30:49 Stashed 1 file(s) [Pipeline] } 03:30:49 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-36-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:30:49 $ docker stop --time=1 61ba61ac14c5e0b6422d025f7181515b0aa9a095c30f882170600ca99eb346b5 03:30:50 $ docker rm -f --volumes 61ba61ac14c5e0b6422d025f7181515b0aa9a095c30f882170600ca99eb346b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:52 provisioning config files... 03:30:52 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config3180454687815520754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:53 ---> docker-login.sh 03:30:53 nexus3.edgexfoundry.org:10001 03:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:53 Configure a credential helper to remove this warning. See 03:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:53 03:30:53 Login Succeeded 03:30:53 nexus3.edgexfoundry.org:10002 03:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:54 Configure a credential helper to remove this warning. See 03:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:54 03:30:54 Login Succeeded 03:30:54 nexus3.edgexfoundry.org:10003 03:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:54 Configure a credential helper to remove this warning. See 03:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:54 03:30:54 Login Succeeded 03:30:54 nexus3.edgexfoundry.org:10004 03:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:54 Configure a credential helper to remove this warning. See 03:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:54 03:30:54 Login Succeeded 03:30:54 docker.io 03:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:55 Configure a credential helper to remove this warning. See 03:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:55 03:30:55 Login Succeeded 03:30:55 ---> docker-login.sh ends [Pipeline] } 03:30:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:30:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:30:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:30:55 ========================================================= 03:30:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:30:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:30:56 Sending build context to Docker daemon 142.3kB 03:30:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:30:56 Step 2/12 : FROM ${BASE} AS builder 03:30:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:30:56 c41833b44d91: Pulling fs layer 03:30:56 ed15518f5707: Pulling fs layer 03:30:56 feae8fd75edb: Pulling fs layer 03:30:56 242c74f7c9fa: Pulling fs layer 03:30:56 3cdef696dda3: Pulling fs layer 03:30:56 2ced38df9373: Pulling fs layer 03:30:56 58f1dce35555: Pulling fs layer 03:30:56 242c74f7c9fa: Waiting 03:30:56 3cdef696dda3: Waiting 03:30:56 2ced38df9373: Waiting 03:30:56 58f1dce35555: Waiting 03:30:56 ed15518f5707: Verifying Checksum 03:30:56 ed15518f5707: Download complete 03:30:56 242c74f7c9fa: Download complete 03:30:56 3cdef696dda3: Download complete 03:30:56 c41833b44d91: Download complete 03:30:57 c41833b44d91: Pull complete 03:30:58 58f1dce35555: Verifying Checksum 03:30:58 58f1dce35555: Download complete 03:30:58 ed15518f5707: Pull complete 03:30:59 feae8fd75edb: Verifying Checksum 03:30:59 feae8fd75edb: Download complete 03:30:59 2ced38df9373: Verifying Checksum 03:30:59 2ced38df9373: Download complete 03:31:11 feae8fd75edb: Pull complete 03:31:11 242c74f7c9fa: Pull complete 03:31:11 3cdef696dda3: Pull complete 03:31:18 2ced38df9373: Pull complete 03:31:20 58f1dce35555: Pull complete 03:31:20 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 03:31:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:31:20 ---> fadd8f120f05 03:31:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:31:21 ---> Running in 6fed915c31f1 03:31:22 Removing intermediate container 6fed915c31f1 03:31:22 ---> fcff83791d93 03:31:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:31:22 ---> Running in ebba5240c726 03:31:22 Removing intermediate container ebba5240c726 03:31:22 ---> 362b964b52e3 03:31:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:31:22 ---> Running in 738ed5e4acf0 03:31:23 Removing intermediate container 738ed5e4acf0 03:31:23 ---> d90b78d5e31b 03:31:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:31:23 ---> Running in 9a34b5bb5048 03:31:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:31:26 OK: 263 MiB in 53 packages 03:31:28 Removing intermediate container 9a34b5bb5048 03:31:28 ---> b977564eb735 03:31:28 Step 7/12 : WORKDIR /app 03:31:28 ---> Running in b69fb09b5bae 03:31:28 Removing intermediate container b69fb09b5bae 03:31:28 ---> 1358c23eac4f 03:31:28 Step 8/12 : COPY go.mod vendor* ./ 03:31:28 ---> ca0127ba4bc4 03:31:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:31:29 ---> Running in 85bf66bcb4a1 03:32:36 Removing intermediate container 85bf66bcb4a1 03:32:36 ---> ee2af7c8d4cd 03:32:36 Step 10/12 : COPY . . 03:32:36 ---> 8a38088594a8 03:32:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:32:36 ---> Running in 345e1ed4bd4e 03:32:36 Removing intermediate container 345e1ed4bd4e 03:32:36 ---> 421900a0c1a7 03:32:36 Step 12/12 : RUN $MAKE 03:32:36 ---> Running in b0acd9a58a4b 03:32:36 noop 03:32:36 Removing intermediate container b0acd9a58a4b 03:32:36 ---> abb427c504aa 03:32:36 Successfully built abb427c504aa 03:32:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:37 + docker inspect -f . ci-base-image-arm64 03:32:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:32:37 prd-ubuntu20.04-docker-arm64-4c-16g-821 does not seem to be running inside a container 03:32:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:32:38 $ docker top 939340d9d8aa835371f605660dfc6081b57a05b85c3715c5580d95c26a48b09e -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:39 + go version 03:32:39 go version go1.20.2 linux/arm64 [Pipeline] } 03:32:39 $ docker stop --time=1 939340d9d8aa835371f605660dfc6081b57a05b85c3715c5580d95c26a48b09e 03:32:41 $ docker rm -f --volumes 939340d9d8aa835371f605660dfc6081b57a05b85c3715c5580d95c26a48b09e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:32:42 + docker inspect -f . ci-base-image-arm64 03:32:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:32:42 prd-ubuntu20.04-docker-arm64-4c-16g-821 does not seem to be running inside a container 03:32:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:32:45 $ docker top 186daa5ecd5df4348c5223bd85d2ba6c9f4cb119c4e9f89e36c3f2a6deda5760 -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:46 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 03:32:46 + make test 03:32:46 go test -race -coverprofile=coverage.out ./... 03:35:53 ? github.com/edgexfoundry/app-record-replay [no test files] 03:35:54 ok github.com/edgexfoundry/app-record-replay/internal/app 0.264s coverage: 76.9% of statements 03:35:56 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.476s coverage: 85.7% of statements 03:36:00 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:36:00 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:36:00 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:36:00 ok github.com/edgexfoundry/app-record-replay/internal/data 0.228s coverage: 27.3% of statements 03:36:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:36:00 go vet ./... 03:38:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:38:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:38:37 ./bin/test-attribution-txt.sh 03:38:37 An attribution for github.com/gabriel-vasile/mimetype is missing from Attribution.txt, please add 03:38:37 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 03:38:37 An attribution for golang.org/x/exp is missing from Attribution.txt, please add [Pipeline] echo 03:38:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:38:37 $ docker stop --time=1 186daa5ecd5df4348c5223bd85d2ba6c9f4cb119c4e9f89e36c3f2a6deda5760 03:38:39 $ docker rm -f --volumes 186daa5ecd5df4348c5223bd85d2ba6c9f4cb119c4e9f89e36c3f2a6deda5760 [Pipeline] // withDockerContainer [Pipeline] sh 03:38:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:38:41 Warning: overwriting stash ‘coverage-report’ 03:38:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:38:42 + ls -al . 03:38:42 total 152 03:38:42 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 03:32 . 03:38:42 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 03:30 .. 03:38:42 -rw-rw-r-- 1 jenkins jenkins 119 Jul 11 03:30 .dockerignore 03:38:42 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 03:30 .git 03:38:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 03:30 .github 03:38:42 -rw-rw-r-- 1 jenkins jenkins 164 Jul 11 03:30 .gitignore 03:38:42 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 03:30 .golangci.yml 03:38:42 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 11 03:30 Attribution.txt 03:38:42 -rw-rw-r-- 1 jenkins jenkins 258 Jul 11 03:30 CHANGELOG.md 03:38:42 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 11 03:30 Dockerfile 03:38:42 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 03:30 GOVERNANCE.md 03:38:42 -rw-rw-r-- 1 jenkins jenkins 681 Jul 11 03:30 Jenkinsfile 03:38:42 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 11 03:30 LICENSE 03:38:42 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 11 03:30 Makefile 03:38:42 -rw-rw-r-- 1 jenkins jenkins 611 Jul 11 03:30 OWNERS.md 03:38:42 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 11 03:30 README.md 03:38:42 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 03:28 VERSION 03:38:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 03:30 bin 03:38:42 -rw-r--r-- 1 jenkins jenkins 5223 Jul 11 03:35 coverage.out 03:38:42 -rw-rw-r-- 1 jenkins jenkins 3678 Jul 11 03:30 go.mod 03:38:42 -rw-rw-r-- 1 jenkins jenkins 32843 Jul 11 03:30 go.sum 03:38:42 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 03:30 internal 03:38:42 -rw-rw-r-- 1 jenkins jenkins 913 Jul 11 03:30 main.go 03:38:42 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 03:30 pkg 03:38:42 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 03:30 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:43 + 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=cabc917382b87e3a68ead34f7e6fd349ef4b0842 --label arch=arm64 --label version=0.0.0 . 03:38:43 Sending build context to Docker daemon 148.5kB 03:38:43 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:38:43 Step 2/26 : FROM ${BASE} AS builder 03:38:43 ---> abb427c504aa 03:38:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:38:43 ---> Running in c4b06471ca97 03:38:43 Removing intermediate container c4b06471ca97 03:38:43 ---> 97f5d0cb4c15 03:38:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:38:44 ---> Running in c5e063191143 03:38:44 Removing intermediate container c5e063191143 03:38:44 ---> 257e8a22db8b 03:38:44 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:38:44 ---> Running in 711d6961d90a 03:38:44 Removing intermediate container 711d6961d90a 03:38:44 ---> 263a0e28939e 03:38:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:38:44 ---> Running in fccbfd7fb588 03:38:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:38:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:38:49 OK: 263 MiB in 53 packages 03:38:50 Removing intermediate container fccbfd7fb588 03:38:50 ---> 324b928e5b67 03:38:50 Step 7/26 : WORKDIR /app 03:38:50 ---> Running in 95f41eae028a 03:38:50 Removing intermediate container 95f41eae028a 03:38:50 ---> 3dd3787e04e2 03:38:50 Step 8/26 : COPY go.mod vendor* ./ 03:38:51 ---> 07c2a9af0854 03:38:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:38:51 ---> Running in 28c0d68a8c16 03:38:54 Removing intermediate container 28c0d68a8c16 03:38:54 ---> 3e6d92843f0b 03:38:54 Step 10/26 : COPY . . 03:38:54 ---> 8ddd89eeb40b 03:38:54 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:38:54 ---> Running in cec274b1fdcf 03:38:54 Removing intermediate container cec274b1fdcf 03:38:54 ---> d076bd15c057 03:38:54 Step 12/26 : RUN $MAKE 03:38:54 ---> Running in db2a4c3c618f 03:38:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 03:41:32 Removing intermediate container db2a4c3c618f 03:41:32 ---> f5afae8297d8 03:41:32 Step 13/26 : FROM alpine:3.17 03:41:32 3.17: Pulling from library/alpine 03:41:32 edb6bdbacee9: Pulling fs layer 03:41:32 edb6bdbacee9: Verifying Checksum 03:41:32 edb6bdbacee9: Download complete 03:41:32 edb6bdbacee9: Pull complete 03:41:32 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:41:32 Status: Downloaded newer image for alpine:3.17 03:41:32 ---> 779605e5fbc0 03:41:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:41:32 ---> Running in d8d6cd042430 03:41:32 Removing intermediate container d8d6cd042430 03:41:32 ---> acf0f3a6299d 03:41:32 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:41:32 ---> Running in 6390fdc62929 03:41:32 Removing intermediate container 6390fdc62929 03:41:32 ---> 8bf57ae53b35 03:41:32 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:41:32 ---> Running in 43c2d42f734e 03:41:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:41:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:41:32 (1/2) Installing ca-certificates (20230506-r0) 03:41:32 (2/2) Installing dumb-init (1.2.5-r2) 03:41:32 Executing busybox-1.35.0-r29.trigger 03:41:32 Executing ca-certificates-20230506-r0.trigger 03:41:32 OK: 8 MiB in 17 packages 03:41:32 Removing intermediate container 43c2d42f734e 03:41:32 ---> 680386350da2 03:41:32 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:41:32 ---> 192cd05602ea 03:41:32 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:41:32 ---> f06ab62adcfc 03:41:32 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:41:32 ---> 32f0e5d78531 03:41:32 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:41:32 ---> ef022f9e6655 03:41:32 Step 21/26 : EXPOSE 59712 03:41:32 ---> Running in 5be4c83bd8ed 03:41:32 Removing intermediate container 5be4c83bd8ed 03:41:32 ---> e4f196468bbb 03:41:32 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:41:32 ---> Running in 308e0917bf1f 03:41:32 Removing intermediate container 308e0917bf1f 03:41:32 ---> c39ee2a3523f 03:41:32 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:41:32 ---> Running in 64fe9f3dae11 03:41:33 Removing intermediate container 64fe9f3dae11 03:41:33 ---> f99b24be59ce 03:41:33 Step 24/26 : LABEL arch=arm64 03:41:33 ---> Running in 9bbdf34bc44a 03:41:33 Removing intermediate container 9bbdf34bc44a 03:41:33 ---> b18ac3d76b75 03:41:33 Step 25/26 : LABEL git_sha=cabc917382b87e3a68ead34f7e6fd349ef4b0842 03:41:33 ---> Running in 41e2046417a0 03:41:33 Removing intermediate container 41e2046417a0 03:41:33 ---> 4d0f0d5d54d1 03:41:33 Step 26/26 : LABEL version=0.0.0 03:41:34 ---> Running in 99be1834d497 03:41:34 Removing intermediate container 99be1834d497 03:41:34 ---> 4eebec43eb19 03:41:34 [Warning] One or more build-args [ARCH] were not consumed 03:41:34 Successfully built 4eebec43eb19 03:41:34 Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:41:35 03:41:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:41:35 arm64: Pulling from edgex-lftools-log-publisher 03:41:35 8998bd30e6a1: Pulling fs layer 03:41:35 04944245beec: Pulling fs layer 03:41:35 699f458cf7ca: Pulling fs layer 03:41:35 765212b225bb: Pulling fs layer 03:41:35 f23df028b6ca: Pulling fs layer 03:41:35 d65c8cfc05b1: Pulling fs layer 03:41:35 2437ff75d9bd: Pulling fs layer 03:41:35 f23df028b6ca: Waiting 03:41:35 d65c8cfc05b1: Waiting 03:41:35 2437ff75d9bd: Waiting 03:41:35 765212b225bb: Waiting 03:41:35 04944245beec: Verifying Checksum 03:41:35 04944245beec: Download complete 03:41:35 765212b225bb: Verifying Checksum 03:41:35 765212b225bb: Download complete 03:41:35 f23df028b6ca: Verifying Checksum 03:41:35 f23df028b6ca: Download complete 03:41:35 d65c8cfc05b1: Download complete 03:41:36 699f458cf7ca: Verifying Checksum 03:41:36 699f458cf7ca: Download complete 03:41:36 8998bd30e6a1: Verifying Checksum 03:41:36 8998bd30e6a1: Download complete 03:41:38 2437ff75d9bd: Verifying Checksum 03:41:38 2437ff75d9bd: Download complete 03:41:42 8998bd30e6a1: Pull complete 03:41:42 04944245beec: Pull complete 03:41:43 699f458cf7ca: Pull complete 03:41:43 765212b225bb: Pull complete 03:41:44 f23df028b6ca: Pull complete 03:41:44 d65c8cfc05b1: Pull complete 03:41:57 2437ff75d9bd: Pull complete 03:41:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:41:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:57 prd-ubuntu20.04-docker-arm64-4c-16g-821 does not seem to be running inside a container 03:41:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/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:42:00 $ docker top 11d2d096ce7a3eeeb8adf6cbb67d210b0f465777c00db75155a626f80aa71a5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:00 ---> job-cost.sh 03:42:01 lf-activate-venv: SKIPPING 03:42:01 INFO: No Stack... 03:42:02 INFO: Retrieving Pricing Info for: v3-standard-4 03:42:03 INFO: Archiving Costs [Pipeline] sh 03:42:03 + cat /w/workspace/app-record-replay/1/archives/cost.csv 03:42:03 + cut -d, -f6 [Pipeline] lock 03:42:03 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-36-1-stack-cost] 03:42:03 Resource [jenkins-edgexfoundry-app-record-replay-PR-36-1-stack-cost] did not exist. Created. 03:42:03 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-36-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:42:04 /w/workspace/app-record-replay/1@tmp/durable-7e41fa89/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:42:04 + echo total: 0.10999999940395355 [Pipeline] stash 03:42:04 Warning: overwriting stash ‘stack-cost’ 03:42:04 Stashed 1 file(s) [Pipeline] } 03:42:04 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-36-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:42:05 $ docker stop --time=1 11d2d096ce7a3eeeb8adf6cbb67d210b0f465777c00db75155a626f80aa71a5c 03:42:06 $ docker rm -f --volumes 11d2d096ce7a3eeeb8adf6cbb67d210b0f465777c00db75155a626f80aa71a5c [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:42:07 provisioning config files... 03:42:07 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-36 #1 03:42:07 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-36@tmp/config9094679687976981806tmp [Pipeline] { [Pipeline] sh 03:42:07 + set +x 03:42:07 + curl -s https://codecov.io/bash 03:42:07 + bash -s -- 03:42:07 03:42:07 _____ _ 03:42:07 / ____| | | 03:42:07 | | ___ __| | ___ ___ _____ __ 03:42:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:42:07 | |___| (_) | (_| | __/ (_| (_) \ V / 03:42:07 \_____\___/ \__,_|\___|\___\___/ \_/ 03:42:07 Bash-1.0.6 03:42:07 03:42:07 03:42:07 ==> git version 2.25.1 found 03:42:07 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:42:07 Release-Date: 2020-01-08 03:42:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:42:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:42:07 ==> Jenkins CI detected. 03:42:07 current dir:  /w/workspace/xfoundry_app-record-replay_PR-36 03:42:07 project root: . 03:42:07 --> token set from env 03:42:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:42:07 ==> Running gcov in . (disable via -X gcov) 03:42:07 ==> Python coveragepy not found 03:42:07 ==> Searching for coverage reports in: 03:42:07 + . 03:42:08 -> Found 1 reports 03:42:08 ==> Detecting git/mercurial file structure 03:42:08 ==> Reading reports 03:42:08 + ./coverage.out bytes=5223 03:42:08 ==> Appending adjustments 03:42:08 https://docs.codecov.io/docs/fixing-reports 03:42:08 + Found adjustments 03:42:08 ==> Gzipping contents 03:42:08 4.0K /tmp/codecov.L5Abmd.gz 03:42:08 ==> Uploading reports 03:42:08 url: https://codecov.io 03:42:08 query: branch=PR-36&commit=cabc917382b87e3a68ead34f7e6fd349ef4b0842&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-36%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=36&job=&cmd_args= 03:42:08 -> Pinging Codecov 03:42:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-36&commit=cabc917382b87e3a68ead34f7e6fd349ef4b0842&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-36%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=36&job=&cmd_args= 03:42:08 Invalid request parameters 03:42:08 400 [Pipeline] } 03:42:08 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:42:10 + [ -d /w/workspace/xfoundry_app-record-replay_PR-36/archives ] 03:42:10 + ls -al /w/workspace/xfoundry_app-record-replay_PR-36/archives 03:42:10 total 16 03:42:10 drwxr-xr-x 3 root root 4096 Jul 11 03:30 . 03:42:10 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 03:30 .. 03:42:10 drwxr-xr-x 2 root root 4096 Jul 11 03:30 cost 03:42:10 -rw-r--r-- 1 root root 88 Jul 11 03:30 cost.csv 03:42:10 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-36/archives 03:42:10 + ls -al /w/workspace/xfoundry_app-record-replay_PR-36/archives 03:42:10 total 16 03:42:10 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 03:30 . 03:42:10 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 03:30 .. 03:42:10 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 03:30 cost 03:42:10 -rw-r--r-- 1 jenkins jenkins 88 Jul 11 03:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:42:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:42:11 ---> package-listing.sh 03:42:11 ++ facter osfamily 03:42:11 ++ tr '[:upper:]' '[:lower:]' 03:42:11 + OS_FAMILY=debian 03:42:11 + workspace=/w/workspace/xfoundry_app-record-replay_PR-36 03:42:11 + START_PACKAGES=/tmp/packages_start.txt 03:42:11 + END_PACKAGES=/tmp/packages_end.txt 03:42:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:42:11 + PACKAGES=/tmp/packages_start.txt 03:42:11 + '[' /w/workspace/xfoundry_app-record-replay_PR-36 ']' 03:42:11 + PACKAGES=/tmp/packages_end.txt 03:42:11 + case "${OS_FAMILY}" in 03:42:11 + dpkg -l 03:42:11 + grep '^ii' 03:42:11 + '[' -f /tmp/packages_start.txt ']' 03:42:11 + '[' -f /tmp/packages_end.txt ']' 03:42:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:42:11 + '[' /w/workspace/xfoundry_app-record-replay_PR-36 ']' 03:42:11 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-36/archives/ 03:42:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-36/archives/ [Pipeline] echo 03:42:11 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-36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:42:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:12 prd-ubuntu20.04-docker-8c-8g-820 does not seem to be running inside a container 03:42:12 $ 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-36/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-36 -v /w/workspace/xfoundry_app-record-replay_PR-36:/w/workspace/xfoundry_app-record-replay_PR-36:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-36@tmp:/w/workspace/xfoundry_app-record-replay_PR-36@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:42:12 $ docker top 66c4907c18ad25327d641ddd86c93168ed4e1abfb2820ce7cbf7d050f80df16c -eo pid,comm [Pipeline] { [Pipeline] sh 03:42:13 + touch /tmp/pre-build-complete [Pipeline] sh 03:42:13 + mkdir -p /var/log/sysstat [Pipeline] sh 03:42:13 + ls /var/log/sa-host 03:42:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:14 provisioning config files... 03:42:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-36@tmp/config1335656200794650033tmp [Pipeline] { [Pipeline] echo 03:42:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:42:14 ---> create-netrc.sh [Pipeline] } 03:42:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:42:14 ---> python-tools-install.sh [Pipeline] echo 03:42:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:42:15 ---> sudo-logs.sh 03:42:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:42:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:42:15 ---> job-cost.sh 03:42:15 lf-activate-venv: SKIPPING 03:42:15 DEBUG: total: 0.2199999988079071 03:42:15 INFO: Retrieving Stack Cost... 03:42:16 INFO: Retrieving Pricing Info for: v3-standard-8 03:42:16 INFO: Archiving Costs [Pipeline] echo 03:42:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:42:16 ---> logs-deploy.sh 03:42:16 lf-activate-venv: SKIPPING 03:42:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-36/1 03:42:16 INFO: archiving workspace using pattern(s): 03:42:17 Archives upload complete. 03:42:17 INFO: archiving logs to Nexus