Pull request #67 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 949ca96ac928a1233316975bc650a36a6a71f5b7+6960fd39a775502fc13f34b863ba7c4a8a33ae9f (9d3910d86a82f97031e2a597c12c4f6d0dfc2016) 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-ssh9319856828134570002.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14176679839250906757.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-67/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-67/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18235007234704579622.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-67/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3354976345187759105.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12425507927169229951.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-67/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-67/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17466771811060175485.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4341 in /w/workspace/xfoundry_app-record-replay_PR-67 [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-67 # 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 6960fd39a775502fc13f34b863ba7c4a8a33ae9f into PR head commit 949ca96ac928a1233316975bc650a36a6a71f5b7 Merge succeeded, producing 949ca96ac928a1233316975bc650a36a6a71f5b7 Checking out Revision 949ca96ac928a1233316975bc650a36a6a71f5b7 (PR-67) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 > 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/67/head:refs/remotes/origin/PR-67 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 949ca96ac928a1233316975bc650a36a6a71f5b7 # 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 6960fd39a775502fc13f34b863ba7c4a8a33ae9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 949ca96ac928a1233316975bc650a36a6a71f5b7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:15:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:15:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:15:34 ========================================================= 03:15:34 EdgeX Global Pipelines Version Info 03:15:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:15:35 ------------------- 03:15:35 stable info: 03:15:35 ------------------- 03:15:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:15:35 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:15:35 Message: update stable to v1.0.253 03:15:35 ------------------- 03:15:35 experimental info: 03:15:35 ------------------- 03:15:35 Commited By: **** collab-it+edgex@linuxfoundation.org 03:15:35 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:15:35 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:15:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:15:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:15:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:15:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:15:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-67 [Pipeline] echo 03:15:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-67 [Pipeline] echo 03:15:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-67 [Pipeline] echo 03:15:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 949ca96ac928a1233316975bc650a36a6a71f5b7 [Pipeline] echo 03:15:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 949ca96 [Pipeline] echo 03:15:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:15:37 provisioning config files... 03:15:37 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-67@tmp/config2655577628790130200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:37 ---> docker-login.sh 03:15:37 nexus3.edgexfoundry.org:10001 03:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:38 Configure a credential helper to remove this warning. See 03:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:38 03:15:38 Login Succeeded 03:15:38 nexus3.edgexfoundry.org:10002 03:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:38 Configure a credential helper to remove this warning. See 03:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:38 03:15:38 Login Succeeded 03:15:38 nexus3.edgexfoundry.org:10003 03:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:38 Configure a credential helper to remove this warning. See 03:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:38 03:15:38 Login Succeeded 03:15:38 nexus3.edgexfoundry.org:10004 03:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:38 Configure a credential helper to remove this warning. See 03:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:38 03:15:38 Login Succeeded 03:15:38 docker.io 03:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:38 Configure a credential helper to remove this warning. See 03:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:38 03:15:38 Login Succeeded 03:15:38 ---> docker-login.sh ends [Pipeline] } 03:15:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:15:39 + git rev-list -1 --merges 949ca96ac928a1233316975bc650a36a6a71f5b7~1..949ca96ac928a1233316975bc650a36a6a71f5b7 [Pipeline] echo 03:15:39 -----------> git rev-list -1 --merges 949ca96ac928a1233316975bc650a36a6a71f5b7~1..949ca96ac928a1233316975bc650a36a6a71f5b7 949ca96ac928a1233316975bc650a36a6a71f5b7 [false] [Pipeline] sh 03:15:39 + git log --format=format:%s -1 949ca96ac928a1233316975bc650a36a6a71f5b7 [Pipeline] echo 03:15:39 ========================================================= 03:15:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:15:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:15:40 + git log --format=format:%s -1 949ca96ac928a1233316975bc650a36a6a71f5b7 [Pipeline] echo 03:15:40 [semverPrep] GIT_COMMIT: 949ca96ac928a1233316975bc650a36a6a71f5b7, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:15:40 [semverPrep] This is not a build commit. [Pipeline] sh 03:15:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:15:40 + grep -v github /etc/ssh/ssh_known_hosts 03:15:40 + [ -e /tmp/ssh_known_hosts ] 03:15:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:15:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:15:40 + sudo tee -a /etc/ssh/ssh_known_hosts 03:15:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:15:41 03:15:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:15:41 0.1.4: Pulling from edgex-devops/py-git-semver 03:15:41 b85a868b505f: Pulling fs layer 03:15:41 e2be974225ed: Pulling fs layer 03:15:41 339a4e72a1f5: Pulling fs layer 03:15:41 988bab9f4d93: Pulling fs layer 03:15:41 1469e6f7b9e6: Pulling fs layer 03:15:41 eaf3925da568: Pulling fs layer 03:15:41 bab4dde63d76: Pulling fs layer 03:15:41 bde34c3a00c8: Pulling fs layer 03:15:41 b352a97aabf1: Pulling fs layer 03:15:41 4872d77fe225: Pulling fs layer 03:15:41 5851b861e8e6: Pulling fs layer 03:15:41 bab4dde63d76: Waiting 03:15:41 bde34c3a00c8: Waiting 03:15:41 b352a97aabf1: Waiting 03:15:41 4872d77fe225: Waiting 03:15:41 5851b861e8e6: Waiting 03:15:41 988bab9f4d93: Waiting 03:15:41 1469e6f7b9e6: Waiting 03:15:41 eaf3925da568: Waiting 03:15:41 e2be974225ed: Download complete 03:15:41 988bab9f4d93: Verifying Checksum 03:15:41 988bab9f4d93: Download complete 03:15:41 1469e6f7b9e6: Verifying Checksum 03:15:41 1469e6f7b9e6: Download complete 03:15:41 eaf3925da568: Verifying Checksum 03:15:41 eaf3925da568: Download complete 03:15:41 339a4e72a1f5: Verifying Checksum 03:15:41 339a4e72a1f5: Download complete 03:15:41 bde34c3a00c8: Verifying Checksum 03:15:41 bde34c3a00c8: Download complete 03:15:41 b352a97aabf1: Download complete 03:15:41 4872d77fe225: Verifying Checksum 03:15:41 4872d77fe225: Download complete 03:15:41 5851b861e8e6: Verifying Checksum 03:15:41 5851b861e8e6: Download complete 03:15:41 b85a868b505f: Verifying Checksum 03:15:41 b85a868b505f: Download complete 03:15:42 bab4dde63d76: Verifying Checksum 03:15:42 bab4dde63d76: Download complete 03:15:43 b85a868b505f: Pull complete 03:15:43 e2be974225ed: Pull complete 03:15:43 339a4e72a1f5: Pull complete 03:15:43 988bab9f4d93: Pull complete 03:15:43 1469e6f7b9e6: Pull complete 03:15:43 eaf3925da568: Pull complete 03:15:45 bab4dde63d76: Pull complete 03:15:45 bde34c3a00c8: Pull complete 03:15:45 b352a97aabf1: Pull complete 03:15:45 4872d77fe225: Pull complete 03:15:45 5851b861e8e6: Pull complete 03:15:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:15:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:15:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:46 prd-ubuntu20.04-docker-8c-8g-4341 does not seem to be running inside a container 03:15:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-67 -v /w/workspace/xfoundry_app-record-replay_PR-67:/w/workspace/xfoundry_app-record-replay_PR-67:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-67@tmp:/w/workspace/xfoundry_app-record-replay_PR-67@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:15:48 $ docker top 1ab52ab23ffbf6d557882876606f97020904a89e64ee4edf8fe0fade21b73413 -eo pid,comm 03:15:48 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:15:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:15:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:15:48 [ssh-agent] Looking for ssh-agent implementation... 03:15:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:15:48 $ docker exec 1ab52ab23ffbf6d557882876606f97020904a89e64ee4edf8fe0fade21b73413 ssh-agent 03:15:48 SSH_AUTH_SOCK=/tmp/ssh-TaLUtcI9iHFK/agent.32 03:15:48 SSH_AGENT_PID=38 03:15:48 Running ssh-add (command line suppressed) 03:15:49 Identity added: /w/workspace/xfoundry_app-record-replay_PR-67@tmp/private_key_8446180928231400845.key (/w/workspace/xfoundry_app-record-replay_PR-67@tmp/private_key_8446180928231400845.key) 03:15:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:15:49 + git tag --points-at HEAD [Pipeline] } 03:15:49 $ docker exec --env ******** --env ******** 1ab52ab23ffbf6d557882876606f97020904a89e64ee4edf8fe0fade21b73413 ssh-agent -k 03:15:49 unset SSH_AUTH_SOCK; 03:15:49 unset SSH_AGENT_PID; 03:15:49 echo Agent pid 38 killed; 03:15:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:15:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:15:49 [ssh-agent] Looking for ssh-agent implementation... 03:15:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:15:49 $ docker exec 1ab52ab23ffbf6d557882876606f97020904a89e64ee4edf8fe0fade21b73413 ssh-agent 03:15:49 SSH_AUTH_SOCK=/tmp/ssh-E7p738iMuScD/agent.70 03:15:49 SSH_AGENT_PID=76 03:15:49 Running ssh-add (command line suppressed) 03:15:50 Identity added: /w/workspace/xfoundry_app-record-replay_PR-67@tmp/private_key_12024774040871702930.key (/w/workspace/xfoundry_app-record-replay_PR-67@tmp/private_key_12024774040871702930.key) 03:15:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:15:50 + git semver init 03:15:50 2023-08-23 03:15:50,507 [run_init] DEBUG init version:0.0.0 force:False 03:15:50 2023-08-23 03:15:50,507 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-67/.semver 03:15:50 2023-08-23 03:15:50,508 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-67/.semver 03:15:50 2023-08-23 03:15:50,508 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-67/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-67, universal_newlines=False, shell=None, istream=None) 03:15:51 2023-08-23 03:15:51,087 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-67/.git/info/exclude 03:15:51 2023-08-23 03:15:51,087 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-67/.semver/PR-67 with force:False 03:15:51 2023-08-23 03:15:51,087 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-67/.semver/PR-67 03:15:51 2023-08-23 03:15:51,092 [execute] INFO git cat-file --batch-check 03:15:51 2023-08-23 03:15:51,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-67/.semver, universal_newlines=False, shell=None, istream=) 03:15:51 2023-08-23 03:15:51,098 [execute] INFO git cat-file --batch 03:15:51 2023-08-23 03:15:51,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-67/.semver, universal_newlines=False, shell=None, istream=) 03:15:51 2023-08-23 03:15:51,103 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-67/.semver/PR-67 03:15:51 0.0.0 [Pipeline] } 03:15:51 $ docker exec --env ******** --env ******** 1ab52ab23ffbf6d557882876606f97020904a89e64ee4edf8fe0fade21b73413 ssh-agent -k 03:15:51 unset SSH_AUTH_SOCK; 03:15:51 unset SSH_AGENT_PID; 03:15:51 echo Agent pid 76 killed; 03:15:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:15:51 + git semver [Pipeline] } 03:15:52 $ docker stop --time=1 1ab52ab23ffbf6d557882876606f97020904a89e64ee4edf8fe0fade21b73413 03:15:53 $ docker rm -f --volumes 1ab52ab23ffbf6d557882876606f97020904a89e64ee4edf8fe0fade21b73413 [Pipeline] // withDockerContainer [Pipeline] sh 03:15:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:15:53 Stashed 1 file(s) [Pipeline] echo 03:15:54 [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:15:54 provisioning config files... 03:15:54 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-67@tmp/config8961572167453793757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:55 ---> docker-login.sh 03:15:55 nexus3.edgexfoundry.org:10001 03:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:55 Configure a credential helper to remove this warning. See 03:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:55 03:15:55 Login Succeeded 03:15:55 nexus3.edgexfoundry.org:10002 03:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:55 Configure a credential helper to remove this warning. See 03:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:55 03:15:55 Login Succeeded 03:15:55 nexus3.edgexfoundry.org:10003 03:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:55 Configure a credential helper to remove this warning. See 03:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:55 03:15:55 Login Succeeded 03:15:55 nexus3.edgexfoundry.org:10004 03:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:55 Configure a credential helper to remove this warning. See 03:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:55 03:15:55 Login Succeeded 03:15:55 docker.io 03:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:55 Configure a credential helper to remove this warning. See 03:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:55 03:15:55 Login Succeeded 03:15:55 ---> docker-login.sh ends [Pipeline] } 03:15:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:15:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:56 ========================================================= 03:15:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:15:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:15:56 Sending build context to Docker daemon 479.2kB 03:15:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:15:56 Step 2/12 : FROM ${BASE} AS builder 03:15:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:15:56 4db1b89c0bd1: Pulling fs layer 03:15:56 6911f1a30b25: Pulling fs layer 03:15:56 e194b8c5c2a9: Pulling fs layer 03:15:56 6863d3e3a2b1: Pulling fs layer 03:15:56 ec0bb842ea78: Pulling fs layer 03:15:56 40a00589a448: Pulling fs layer 03:15:56 6c08303d61cc: Pulling fs layer 03:15:56 798269fcf238: Pulling fs layer 03:15:56 40a00589a448: Waiting 03:15:56 6c08303d61cc: Waiting 03:15:56 6863d3e3a2b1: Waiting 03:15:56 ec0bb842ea78: Waiting 03:15:56 798269fcf238: Waiting 03:15:56 6911f1a30b25: Download complete 03:15:56 6863d3e3a2b1: Download complete 03:15:56 ec0bb842ea78: Verifying Checksum 03:15:56 ec0bb842ea78: Download complete 03:15:56 4db1b89c0bd1: Download complete 03:15:56 40a00589a448: Verifying Checksum 03:15:56 40a00589a448: Download complete 03:15:56 4db1b89c0bd1: Pull complete 03:15:57 6911f1a30b25: Pull complete 03:15:57 798269fcf238: Verifying Checksum 03:15:57 798269fcf238: Download complete 03:15:57 e194b8c5c2a9: Verifying Checksum 03:15:57 e194b8c5c2a9: Download complete 03:15:57 6c08303d61cc: Verifying Checksum 03:15:57 6c08303d61cc: Download complete 03:16:00 e194b8c5c2a9: Pull complete 03:16:00 6863d3e3a2b1: Pull complete 03:16:01 ec0bb842ea78: Pull complete 03:16:01 40a00589a448: Pull complete 03:16:03 6c08303d61cc: Pull complete 03:16:04 798269fcf238: Pull complete 03:16:04 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:16:04 ---> ec979cd7f677 03:16:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:16:08 ---> Running in 9b45d4672fe5 03:16:08 Removing intermediate container 9b45d4672fe5 03:16:08 ---> a27685d0127f 03:16:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:16:08 ---> Running in f062a59c5ab4 03:16:08 Removing intermediate container f062a59c5ab4 03:16:08 ---> 3256d951a372 03:16:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:16:08 ---> Running in b6270612f959 03:16:08 Removing intermediate container b6270612f959 03:16:08 ---> 9d127cd822c6 03:16:08 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:16:08 ---> Running in dc220d34df7f 03:16:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:16:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:16:09 OK: 265 MiB in 53 packages 03:16:09 Still waiting to schedule task 03:16:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:16:09 Removing intermediate container dc220d34df7f 03:16:09 ---> 730eb8b2eb19 03:16:09 Step 7/12 : WORKDIR /app 03:16:09 ---> Running in 19b0bd1cbfca 03:16:09 Removing intermediate container 19b0bd1cbfca 03:16:09 ---> 84e539e0f42f 03:16:09 Step 8/12 : COPY go.mod vendor* ./ 03:16:09 ---> 1e7811c581f3 03:16:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:16:09 ---> Running in 6156fcc014fc 03:16:41 Removing intermediate container 6156fcc014fc 03:16:41 ---> 83d440e3ff26 03:16:41 Step 10/12 : COPY . . 03:16:41 ---> 15eb78e3bc7e 03:16:41 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:16:41 ---> Running in 9ab3b414a0db 03:16:41 Removing intermediate container 9ab3b414a0db 03:16:41 ---> 3ba86cad7ab2 03:16:41 Step 12/12 : RUN $MAKE 03:16:41 ---> Running in 647f92ff20d9 03:16:41 noop 03:16:41 Removing intermediate container 647f92ff20d9 03:16:41 ---> a5934742eb80 03:16:41 Successfully built a5934742eb80 03:16:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:42 + docker inspect -f . ci-base-image-x86_64 03:16:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:42 prd-ubuntu20.04-docker-8c-8g-4341 does not seem to be running inside a container 03:16:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-67 -v /w/workspace/xfoundry_app-record-replay_PR-67:/w/workspace/xfoundry_app-record-replay_PR-67:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-67@tmp:/w/workspace/xfoundry_app-record-replay_PR-67@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:16:42 $ docker top fe43169c7a5300f4ff2db0d3c45356f4c29cafcd20622a40a29c665bcf3a929b -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:43 + go version 03:16:43 go version go1.20.6 linux/amd64 [Pipeline] } 03:16:43 $ docker stop --time=1 fe43169c7a5300f4ff2db0d3c45356f4c29cafcd20622a40a29c665bcf3a929b 03:16:44 $ docker rm -f --volumes fe43169c7a5300f4ff2db0d3c45356f4c29cafcd20622a40a29c665bcf3a929b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:45 + docker inspect -f . ci-base-image-x86_64 03:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:45 prd-ubuntu20.04-docker-8c-8g-4341 does not seem to be running inside a container 03:16:45 $ 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-67 -v /w/workspace/xfoundry_app-record-replay_PR-67:/w/workspace/xfoundry_app-record-replay_PR-67:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-67@tmp:/w/workspace/xfoundry_app-record-replay_PR-67@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:16:45 $ docker top 43628984cd44bca5181933e06bad623822eeb710789e9f4ba3f341d8c1d48990 -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:46 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-67 [Pipeline] fileExists [Pipeline] sh 03:16:46 + make test 03:16:46 go test -race -coverprofile=coverage.out ./... 03:17:04 ? github.com/edgexfoundry/app-record-replay [no test files] 03:17:04 ok github.com/edgexfoundry/app-record-replay/internal/app 0.061s coverage: 88.0% of statements 03:17:04 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:17:04 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:17:04 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:17:14 ok github.com/edgexfoundry/app-record-replay/internal/application 8.605s coverage: 98.7% of statements 03:17:14 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.114s coverage: 78.0% of statements 03:17:32 go vet ./... 03:17:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:17:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:17:34 ./bin/test-attribution-txt.sh [Pipeline] echo 03:17:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:17:34 $ docker stop --time=1 43628984cd44bca5181933e06bad623822eeb710789e9f4ba3f341d8c1d48990 03:17:38 $ docker rm -f --volumes 43628984cd44bca5181933e06bad623822eeb710789e9f4ba3f341d8c1d48990 [Pipeline] // withDockerContainer [Pipeline] sh 03:17:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:17:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:17:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:17:39 + ls -al . 03:17:39 total 176 03:17:39 drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 03:16 . 03:17:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 03:15 .. 03:17:39 -rw-rw-r-- 1 jenkins jenkins 119 Aug 23 03:15 .dockerignore 03:17:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 03:15 .git 03:17:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 03:15 .github 03:17:39 -rw-rw-r-- 1 jenkins jenkins 164 Aug 23 03:15 .gitignore 03:17:39 -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 03:15 .golangci.yml 03:17:39 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 03:15 .semver 03:17:39 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 23 03:15 Attribution.txt 03:17:39 -rw-rw-r-- 1 jenkins jenkins 258 Aug 23 03:15 CHANGELOG.md 03:17:39 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 23 03:15 Dockerfile 03:17:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 03:15 GOVERNANCE.md 03:17:39 -rw-rw-r-- 1 jenkins jenkins 681 Aug 23 03:15 Jenkinsfile 03:17:39 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 23 03:15 LICENSE 03:17:39 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 23 03:15 Makefile 03:17:39 -rw-rw-r-- 1 jenkins jenkins 611 Aug 23 03:15 OWNERS.md 03:17:39 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 23 03:15 README.md 03:17:39 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 23 03:15 Record and Reply.postman_collection.json 03:17:39 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 03:15 VERSION 03:17:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 03:15 bin 03:17:39 -rw-r--r-- 1 jenkins jenkins 19940 Aug 23 03:17 coverage.out 03:17:39 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 23 03:15 go.mod 03:17:39 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 23 03:15 go.sum 03:17:39 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 03:15 internal 03:17:39 -rw-rw-r-- 1 jenkins jenkins 913 Aug 23 03:15 main.go 03:17:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 03:15 pkg 03:17:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 03:15 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:40 + 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=949ca96ac928a1233316975bc650a36a6a71f5b7 --label arch=amd64 --label version=0.0.0 . 03:17:40 Sending build context to Docker daemon 499.7kB 03:17:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:17:40 Step 2/26 : FROM ${BASE} AS builder 03:17:40 ---> a5934742eb80 03:17:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:17:40 ---> Running in 53f82bbd992a 03:17:40 Removing intermediate container 53f82bbd992a 03:17:40 ---> e4f9c208ef7f 03:17:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:17:40 ---> Running in 282c8f344dd1 03:17:40 Removing intermediate container 282c8f344dd1 03:17:40 ---> 817e288444c3 03:17:40 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:17:40 ---> Running in 0a512803f68b 03:17:40 Removing intermediate container 0a512803f68b 03:17:40 ---> 6ac39be3599d 03:17:40 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:17:40 ---> Running in 80c5ab734771 03:17:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:17:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:17:41 OK: 265 MiB in 53 packages 03:17:41 Removing intermediate container 80c5ab734771 03:17:41 ---> 855a7c47ff65 03:17:41 Step 7/26 : WORKDIR /app 03:17:41 ---> Running in 3659efe10570 03:17:41 Removing intermediate container 3659efe10570 03:17:41 ---> b366fa762369 03:17:41 Step 8/26 : COPY go.mod vendor* ./ 03:17:41 ---> 4f70cf22e41e 03:17:41 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:41 ---> Running in 9099a3cfa56b 03:17:42 Removing intermediate container 9099a3cfa56b 03:17:42 ---> f4e5daf06453 03:17:42 Step 10/26 : COPY . . 03:17:42 ---> 3e7be39278c6 03:17:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:17:42 ---> Running in e04b6bd457a3 03:17:43 Removing intermediate container e04b6bd457a3 03:17:43 ---> a6294cdf7bc6 03:17:43 Step 12/26 : RUN $MAKE 03:17:43 ---> Running in 624aad657ad7 03:17:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.20 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 03:17:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4342 in /w/workspace/xfoundry_app-record-replay_PR-67 [Pipeline] { [Pipeline] ws 03:17:46 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:17:46 Selected Git installation does not exist. Using Default 03:17:46 The recommended git tool is: NONE 03:17:51 using credential edgex-jenkins-ssh 03:17:51 Cloning the remote Git repository 03:17:51 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:17:51 > git init /w/workspace/app-record-replay/1 # timeout=10 03:17:52 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:17:52 > git --version # timeout=10 03:17:52 > git --version # 'git version 2.25.1' 03:17:52 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:17:55 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:17:56 Merging remotes/origin/main commit 6960fd39a775502fc13f34b863ba7c4a8a33ae9f into PR head commit 949ca96ac928a1233316975bc650a36a6a71f5b7 03:17:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:17:56 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:17:56 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:17:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/67/head:refs/remotes/origin/PR-67 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:17:56 > git config core.sparsecheckout # timeout=10 03:17:56 > git checkout -f 949ca96ac928a1233316975bc650a36a6a71f5b7 # timeout=10 03:17:57 Merge succeeded, producing 949ca96ac928a1233316975bc650a36a6a71f5b7 03:17:57 Checking out Revision 949ca96ac928a1233316975bc650a36a6a71f5b7 (PR-67) 03:17:57 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:17:57 > git --version # timeout=10 03:17:57 > git --version # 'git version 2.25.1' 03:17:57 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:17:57 > git remote # timeout=10 03:17:57 > git config --get remote.origin.url # timeout=10 03:17:57 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:57 > git merge 6960fd39a775502fc13f34b863ba7c4a8a33ae9f # timeout=10 03:17:57 > git rev-parse HEAD^{commit} # timeout=10 03:17:57 > git config core.sparsecheckout # timeout=10 03:17:57 > git checkout -f 949ca96ac928a1233316975bc650a36a6a71f5b7 # timeout=10 03:17:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:17:58 % Total % Received % Xferd Average Speed Time Time Time Current 03:17:58 Dload Upload Total Spent Left Speed 03:17:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 43518 0 --:--:-- --:--:-- --:--:-- 43518 [Pipeline] sh 03:17:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:18:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:18:00 + sudo tee /etc/docker/daemon.new 03:18:00 { 03:18:00 "registry-mirrors": [ 03:18:00 "https://nexus3.edgexfoundry.org:10001" 03:18:00 ], 03:18:00 "bip": "10.250.0.254/24", 03:18:00 "hosts": [ 03:18:00 "tcp://0.0.0.0:5555", 03:18:00 "unix:///var/run/docker.sock" 03:18:00 ], 03:18:00 "mtu": 1458, 03:18:00 "selinux-enabled": true, 03:18:00 "seccomp-profile": "/etc/docker/seccomp.json" 03:18:00 } [Pipeline] sh 03:18:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:18:00 + sudo service docker restart 03:18:05 Removing intermediate container 624aad657ad7 03:18:05 ---> 125d07afd671 03:18:05 Step 13/26 : FROM alpine:3.17 03:18:05 3.17: Pulling from library/alpine 03:18:05 9398808236ff: Pulling fs layer 03:18:05 9398808236ff: Download complete 03:18:05 9398808236ff: Pull complete 03:18:05 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 03:18:05 Status: Downloaded newer image for alpine:3.17 03:18:05 ---> 1e0b8b5322fc 03:18:05 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:18:05 ---> Running in 5b8c30c3d443 03:18:05 Removing intermediate container 5b8c30c3d443 03:18:05 ---> d12c54f7fe22 03:18:05 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:18:05 ---> Running in 0e821e956dd9 03:18:05 Removing intermediate container 0e821e956dd9 03:18:05 ---> 2add336390c6 03:18:05 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:18:05 ---> Running in b1bd72632bd3 03:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:18:05 (1/2) Installing ca-certificates (20230506-r0) 03:18:05 (2/2) Installing dumb-init (1.2.5-r2) 03:18:05 Executing busybox-1.35.0-r29.trigger 03:18:05 Executing ca-certificates-20230506-r0.trigger 03:18:05 OK: 8 MiB in 17 packages 03:18:05 Removing intermediate container b1bd72632bd3 03:18:05 ---> c17a1e134625 03:18:05 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:18:05 ---> b6171a818c6b 03:18:05 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:18:05 ---> 0da954e26509 03:18:05 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:18:05 ---> 71967a0faadd 03:18:05 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:18:05 ---> 0fdca10a0d07 03:18:05 Step 21/26 : EXPOSE 59712 03:18:05 ---> Running in e579353b83bb 03:18:05 Removing intermediate container e579353b83bb 03:18:05 ---> 5c852c192623 03:18:05 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:18:05 ---> Running in e1cfab9f8c88 03:18:05 Removing intermediate container e1cfab9f8c88 03:18:05 ---> f12065f4675a 03:18:05 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:18:05 ---> Running in 551e46f3afb6 03:18:05 Removing intermediate container 551e46f3afb6 03:18:05 ---> ab518a0bed8b 03:18:05 Step 24/26 : LABEL arch=amd64 03:18:05 ---> Running in 78635788a042 03:18:05 Removing intermediate container 78635788a042 03:18:05 ---> c7c42e6cac18 03:18:05 Step 25/26 : LABEL git_sha=949ca96ac928a1233316975bc650a36a6a71f5b7 03:18:05 ---> Running in adc5e0856926 03:18:06 Removing intermediate container adc5e0856926 03:18:06 ---> 04f32faacbd4 03:18:06 Step 26/26 : LABEL version=0.0.0 03:18:06 ---> Running in c6ca8078ed2e 03:18:06 Removing intermediate container c6ca8078ed2e 03:18:06 ---> 9d7626a5d7c3 03:18:06 [Warning] One or more build-args [ARCH] were not consumed 03:18:06 Successfully built 9d7626a5d7c3 03:18:06 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:18:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:18:06 03:18:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:18:07 latest: Pulling from edgex-lftools-log-publisher 03:18:07 5eb5b503b376: Pulling fs layer 03:18:07 5c69ac0246d0: Pulling fs layer 03:18:07 ec43610c2a17: Pulling fs layer 03:18:07 3a2ae6a8a46f: Pulling fs layer 03:18:07 33b1e0a273af: Pulling fs layer 03:18:07 5d3b04190fa2: Pulling fs layer 03:18:07 2f39f015ded8: Pulling fs layer 03:18:07 3a2ae6a8a46f: Waiting 03:18:07 33b1e0a273af: Waiting 03:18:07 5d3b04190fa2: Waiting 03:18:07 2f39f015ded8: Waiting 03:18:07 5c69ac0246d0: Verifying Checksum 03:18:07 5c69ac0246d0: Download complete 03:18:07 3a2ae6a8a46f: Download complete 03:18:07 33b1e0a273af: Verifying Checksum 03:18:07 33b1e0a273af: Download complete 03:18:07 ec43610c2a17: Verifying Checksum 03:18:07 ec43610c2a17: Download complete 03:18:07 5d3b04190fa2: Download complete 03:18:07 5eb5b503b376: Verifying Checksum 03:18:07 5eb5b503b376: Download complete 03:18:08 2f39f015ded8: Verifying Checksum 03:18:08 2f39f015ded8: Download complete 03:18:08 5eb5b503b376: Pull complete 03:18:08 5c69ac0246d0: Pull complete 03:18:09 ec43610c2a17: Pull complete 03:18:09 3a2ae6a8a46f: Pull complete 03:18:09 33b1e0a273af: Pull complete 03:18:09 5d3b04190fa2: Pull complete 03:18:13 2f39f015ded8: Pull complete 03:18:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:18:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:18:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:14 prd-ubuntu20.04-docker-8c-8g-4341 does not seem to be running inside a container 03:18:14 $ 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-67 -v /w/workspace/xfoundry_app-record-replay_PR-67:/w/workspace/xfoundry_app-record-replay_PR-67:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-67@tmp:/w/workspace/xfoundry_app-record-replay_PR-67@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:18:17 $ docker top 2d4ce14bb4f67b812bed6131b3dedfcfc97907f0fc86e84fecee7b5b34b595c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:17 ---> job-cost.sh 03:18:17 lf-activate-venv: SKIPPING 03:18:17 INFO: No Stack... 03:18:18 INFO: Retrieving Pricing Info for: v3-standard-8 03:18:18 INFO: Archiving Costs [Pipeline] sh 03:18:18 + cat /w/workspace/xfoundry_app-record-replay_PR-67/archives/cost.csv 03:18:18 + cut -d, -f6 [Pipeline] lock 03:18:18 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-67-1-stack-cost] 03:18:18 Resource [jenkins-edgexfoundry-app-record-replay-PR-67-1-stack-cost] did not exist. Created. 03:18:18 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-67-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:18:19 provisioning config files... 03:18:19 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config18178903985391363754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:19 + echo total: 0.2199999988079071 [Pipeline] stash 03:18:19 Stashed 1 file(s) [Pipeline] } 03:18:19 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-67-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:18:19 $ docker stop --time=1 2d4ce14bb4f67b812bed6131b3dedfcfc97907f0fc86e84fecee7b5b34b595c3 03:18:19 ---> docker-login.sh 03:18:19 nexus3.edgexfoundry.org:10001 03:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:19 Configure a credential helper to remove this warning. See 03:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:19 03:18:19 Login Succeeded 03:18:19 nexus3.edgexfoundry.org:10002 03:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:20 Configure a credential helper to remove this warning. See 03:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:20 03:18:20 Login Succeeded 03:18:20 $ docker rm -f --volumes 2d4ce14bb4f67b812bed6131b3dedfcfc97907f0fc86e84fecee7b5b34b595c3 03:18:20 nexus3.edgexfoundry.org:10003 03:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv 03:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:20 Configure a credential helper to remove this warning. See 03:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:20 03:18:20 Login Succeeded 03:18:20 nexus3.edgexfoundry.org:10004 [Pipeline] } [Pipeline] // stage [Pipeline] } 03:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:21 Configure a credential helper to remove this warning. See 03:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:21 03:18:21 Login Succeeded 03:18:21 docker.io 03:18:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:21 Configure a credential helper to remove this warning. See 03:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:21 03:18:21 Login Succeeded 03:18:21 ---> docker-login.sh ends [Pipeline] } 03:18:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:22 ========================================================= 03:18:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:18:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:22 + 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:18:22 Sending build context to Docker daemon 217.1kB 03:18:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:18:22 Step 2/12 : FROM ${BASE} AS builder 03:18:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:18:22 edb6bdbacee9: Pulling fs layer 03:18:22 5f9638ab2659: Pulling fs layer 03:18:22 8d51d6327a98: Pulling fs layer 03:18:22 8b374f2dd631: Pulling fs layer 03:18:22 ec14aa9079de: Pulling fs layer 03:18:22 2f466654f4bb: Pulling fs layer 03:18:22 554e91adad29: Pulling fs layer 03:18:22 ec14aa9079de: Waiting 03:18:22 2f466654f4bb: Waiting 03:18:22 554e91adad29: Waiting 03:18:22 8b374f2dd631: Waiting 03:18:22 5f9638ab2659: Verifying Checksum 03:18:22 5f9638ab2659: Download complete 03:18:23 8b374f2dd631: Verifying Checksum 03:18:23 8b374f2dd631: Download complete 03:18:23 ec14aa9079de: Verifying Checksum 03:18:23 ec14aa9079de: Download complete 03:18:23 edb6bdbacee9: Verifying Checksum 03:18:23 edb6bdbacee9: Download complete 03:18:24 edb6bdbacee9: Pull complete 03:18:24 554e91adad29: Verifying Checksum 03:18:24 554e91adad29: Download complete 03:18:24 5f9638ab2659: Pull complete 03:18:25 8d51d6327a98: Verifying Checksum 03:18:25 8d51d6327a98: Download complete 03:18:25 2f466654f4bb: Verifying Checksum 03:18:25 2f466654f4bb: Download complete 03:18:38 8d51d6327a98: Pull complete 03:18:38 8b374f2dd631: Pull complete 03:18:38 ec14aa9079de: Pull complete 03:18:43 2f466654f4bb: Pull complete 03:18:46 554e91adad29: Pull complete 03:18:46 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:18:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:18:46 ---> 1e15ea492957 03:18:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:18:48 ---> Running in f8b2c001d95b 03:18:48 Removing intermediate container f8b2c001d95b 03:18:48 ---> e9dd51508358 03:18:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:18:48 ---> Running in 1125926ac395 03:18:48 Removing intermediate container 1125926ac395 03:18:48 ---> ce96459e4ffa 03:18:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:18:48 ---> Running in 1eee53f35bf1 03:18:48 Removing intermediate container 1eee53f35bf1 03:18:48 ---> 2c8bb2ca9dd8 03:18:48 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:18:48 ---> Running in 003f1c179b27 03:18:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:18:51 OK: 263 MiB in 53 packages 03:18:52 Removing intermediate container 003f1c179b27 03:18:52 ---> 437bab70af0d 03:18:52 Step 7/12 : WORKDIR /app 03:18:52 ---> Running in 9cc932368592 03:18:52 Removing intermediate container 9cc932368592 03:18:52 ---> 3729cb0b0a95 03:18:52 Step 8/12 : COPY go.mod vendor* ./ 03:18:52 ---> 2fa7036d7671 03:18:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:53 ---> Running in b97b204fe311 03:20:01 Removing intermediate container b97b204fe311 03:20:01 ---> 29140d1fe827 03:20:01 Step 10/12 : COPY . . 03:20:01 ---> cbbd4d514f48 03:20:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:20:01 ---> Running in 4ba5823a22db 03:20:01 Removing intermediate container 4ba5823a22db 03:20:01 ---> 768d8fffc70a 03:20:01 Step 12/12 : RUN $MAKE 03:20:01 ---> Running in 1daa5df931a8 03:20:01 noop 03:20:01 Removing intermediate container 1daa5df931a8 03:20:01 ---> 8d2da57281e3 03:20:01 Successfully built 8d2da57281e3 03:20:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:01 + docker inspect -f . ci-base-image-arm64 03:20:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:20:02 prd-ubuntu20.04-docker-arm64-4c-16g-4342 does not seem to be running inside a container 03:20:02 $ 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:20:03 $ docker top 1d1d885e62832108acdf9b166b8078be4b32f1b7895303b48e3aa6b95678ad61 -eo pid,comm [Pipeline] { [Pipeline] sh 03:20:04 + go version 03:20:04 go version go1.20.6 linux/arm64 [Pipeline] } 03:20:04 $ docker stop --time=1 1d1d885e62832108acdf9b166b8078be4b32f1b7895303b48e3aa6b95678ad61 03:20:05 $ docker rm -f --volumes 1d1d885e62832108acdf9b166b8078be4b32f1b7895303b48e3aa6b95678ad61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:06 + docker inspect -f . ci-base-image-arm64 03:20:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:20:06 prd-ubuntu20.04-docker-arm64-4c-16g-4342 does not seem to be running inside a container 03:20:06 $ 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:20:11 $ docker top 00795d449b059cbf3b3c6426fb2d1a4fa6f6ecd665839343db204c865acb2524 -eo pid,comm [Pipeline] { [Pipeline] sh 03:20:11 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 03:20:12 + make test 03:20:12 go test -race -coverprofile=coverage.out ./... 03:22:49 ? github.com/edgexfoundry/app-record-replay [no test files] 03:23:07 ok github.com/edgexfoundry/app-record-replay/internal/app 0.262s coverage: 88.0% of statements 03:23:09 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:23:09 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:23:09 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:23:19 ok github.com/edgexfoundry/app-record-replay/internal/application 8.846s coverage: 98.7% of statements 03:23:19 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.802s coverage: 78.0% of statements 03:23:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:23:19 go vet ./... 03:25:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:25:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:25:40 ./bin/test-attribution-txt.sh [Pipeline] echo 03:25:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:25:41 $ docker stop --time=1 00795d449b059cbf3b3c6426fb2d1a4fa6f6ecd665839343db204c865acb2524 03:25:42 $ docker rm -f --volumes 00795d449b059cbf3b3c6426fb2d1a4fa6f6ecd665839343db204c865acb2524 [Pipeline] // withDockerContainer [Pipeline] sh 03:25:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:25:44 Warning: overwriting stash ‘coverage-report’ 03:25:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:25:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:25:45 + ls -al . 03:25:45 total 172 03:25:45 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 03:20 . 03:25:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 03:17 .. 03:25:45 -rw-rw-r-- 1 jenkins jenkins 119 Aug 23 03:17 .dockerignore 03:25:45 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 03:17 .git 03:25:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 03:17 .github 03:25:45 -rw-rw-r-- 1 jenkins jenkins 164 Aug 23 03:17 .gitignore 03:25:45 -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 03:17 .golangci.yml 03:25:45 -rw-rw-r-- 1 jenkins jenkins 10542 Aug 23 03:17 Attribution.txt 03:25:45 -rw-rw-r-- 1 jenkins jenkins 258 Aug 23 03:17 CHANGELOG.md 03:25:45 -rw-rw-r-- 1 jenkins jenkins 1616 Aug 23 03:17 Dockerfile 03:25:45 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 03:17 GOVERNANCE.md 03:25:45 -rw-rw-r-- 1 jenkins jenkins 681 Aug 23 03:17 Jenkinsfile 03:25:45 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 23 03:17 LICENSE 03:25:45 -rw-rw-r-- 1 jenkins jenkins 3139 Aug 23 03:17 Makefile 03:25:45 -rw-rw-r-- 1 jenkins jenkins 611 Aug 23 03:17 OWNERS.md 03:25:45 -rw-rw-r-- 1 jenkins jenkins 2363 Aug 23 03:17 README.md 03:25:45 -rw-rw-r-- 1 jenkins jenkins 4285 Aug 23 03:17 Record and Reply.postman_collection.json 03:25:45 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 03:15 VERSION 03:25:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 03:17 bin 03:25:45 -rw-r--r-- 1 jenkins jenkins 19940 Aug 23 03:23 coverage.out 03:25:45 -rw-rw-r-- 1 jenkins jenkins 3656 Aug 23 03:17 go.mod 03:25:45 -rw-rw-r-- 1 jenkins jenkins 32847 Aug 23 03:17 go.sum 03:25:45 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 03:17 internal 03:25:45 -rw-rw-r-- 1 jenkins jenkins 913 Aug 23 03:17 main.go 03:25:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 03:17 pkg 03:25:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 03:17 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:46 + 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=949ca96ac928a1233316975bc650a36a6a71f5b7 --label arch=arm64 --label version=0.0.0 . 03:25:46 Sending build context to Docker daemon 237.6kB 03:25:46 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:25:46 Step 2/26 : FROM ${BASE} AS builder 03:25:46 ---> 8d2da57281e3 03:25:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:25:46 ---> Running in 84cef8cf391a 03:25:46 Removing intermediate container 84cef8cf391a 03:25:46 ---> 2c1576b21f6b 03:25:46 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:25:46 ---> Running in f7397aaa5b4f 03:25:47 Removing intermediate container f7397aaa5b4f 03:25:47 ---> bc82f3716d5c 03:25:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:25:47 ---> Running in f1f9f43ded11 03:25:47 Removing intermediate container f1f9f43ded11 03:25:47 ---> 966228b8f47f 03:25:47 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:25:47 ---> Running in 6fcf350be4c5 03:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:25:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:25:50 OK: 263 MiB in 53 packages 03:25:51 Removing intermediate container 6fcf350be4c5 03:25:51 ---> 356629b82989 03:25:51 Step 7/26 : WORKDIR /app 03:25:51 ---> Running in a8395b96f000 03:25:52 Removing intermediate container a8395b96f000 03:25:52 ---> af57d7296793 03:25:52 Step 8/26 : COPY go.mod vendor* ./ 03:25:52 ---> 1b216da2b041 03:25:52 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:52 ---> Running in bac78f14b3bd 03:25:55 Removing intermediate container bac78f14b3bd 03:25:55 ---> 654c194f6f0e 03:25:55 Step 10/26 : COPY . . 03:25:55 ---> d447bc57f279 03:25:55 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:25:55 ---> Running in 2099bf382eac 03:25:55 Removing intermediate container 2099bf382eac 03:25:55 ---> 31efbcc365ce 03:25:55 Step 12/26 : RUN $MAKE 03:25:56 ---> Running in ec69b61d21a0 03:25:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.20 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 03:28:03 Removing intermediate container ec69b61d21a0 03:28:03 ---> dfd207e855d9 03:28:03 Step 13/26 : FROM alpine:3.17 03:28:03 3.17: Pulling from library/alpine 03:28:03 4060ece20d7a: Pulling fs layer 03:28:03 4060ece20d7a: Verifying Checksum 03:28:03 4060ece20d7a: Download complete 03:28:03 4060ece20d7a: Pull complete 03:28:03 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 03:28:03 Status: Downloaded newer image for alpine:3.17 03:28:03 ---> 8650cd65339b 03:28:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:28:03 ---> Running in ac5a1a2ea82b 03:28:03 Removing intermediate container ac5a1a2ea82b 03:28:03 ---> e5c35007a850 03:28:03 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:28:03 ---> Running in 97dc8c9c3e29 03:28:03 Removing intermediate container 97dc8c9c3e29 03:28:03 ---> 44bdac3464cd 03:28:03 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:28:03 ---> Running in b4d1191a0727 03:28:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:28:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:28:04 (1/2) Installing ca-certificates (20230506-r0) 03:28:04 (2/2) Installing dumb-init (1.2.5-r2) 03:28:04 Executing busybox-1.35.0-r29.trigger 03:28:04 Executing ca-certificates-20230506-r0.trigger 03:28:05 OK: 8 MiB in 17 packages 03:28:06 Removing intermediate container b4d1191a0727 03:28:06 ---> de22d13df4d9 03:28:06 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:28:07 ---> f3322a5828c7 03:28:07 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:28:07 ---> 66f3edfb3200 03:28:07 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:28:07 ---> 0cb01f5f7618 03:28:07 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:28:09 ---> 55fa8111f44e 03:28:09 Step 21/26 : EXPOSE 59712 03:28:09 ---> Running in b987d46144bb 03:28:09 Removing intermediate container b987d46144bb 03:28:09 ---> 03f726eed16e 03:28:09 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:28:09 ---> Running in 07cef450fb5f 03:28:09 Removing intermediate container 07cef450fb5f 03:28:09 ---> bbbb35903c7e 03:28:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:28:09 ---> Running in c117ac66df43 03:28:09 Removing intermediate container c117ac66df43 03:28:09 ---> d12ac4f09e98 03:28:09 Step 24/26 : LABEL arch=arm64 03:28:10 ---> Running in a9ad3254582d 03:28:10 Removing intermediate container a9ad3254582d 03:28:10 ---> b2b5e8ea21b8 03:28:10 Step 25/26 : LABEL git_sha=949ca96ac928a1233316975bc650a36a6a71f5b7 03:28:10 ---> Running in 8a796db0f5a0 03:28:10 Removing intermediate container 8a796db0f5a0 03:28:10 ---> 5f8441e3c7ca 03:28:10 Step 26/26 : LABEL version=0.0.0 03:28:10 ---> Running in 835f846dc3fd 03:28:10 Removing intermediate container 835f846dc3fd 03:28:10 ---> 1f1bfddcaa55 03:28:10 [Warning] One or more build-args [ARCH] were not consumed 03:28:10 Successfully built 1f1bfddcaa55 03:28:10 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:28:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:28:11 03:28:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:28:12 arm64: Pulling from edgex-lftools-log-publisher 03:28:12 8998bd30e6a1: Pulling fs layer 03:28:12 04944245beec: Pulling fs layer 03:28:12 699f458cf7ca: Pulling fs layer 03:28:12 765212b225bb: Pulling fs layer 03:28:12 f23df028b6ca: Pulling fs layer 03:28:12 d65c8cfc05b1: Pulling fs layer 03:28:12 2437ff75d9bd: Pulling fs layer 03:28:12 765212b225bb: Waiting 03:28:12 f23df028b6ca: Waiting 03:28:12 d65c8cfc05b1: Waiting 03:28:12 2437ff75d9bd: Waiting 03:28:12 04944245beec: Verifying Checksum 03:28:12 04944245beec: Download complete 03:28:12 765212b225bb: Verifying Checksum 03:28:12 765212b225bb: Download complete 03:28:12 f23df028b6ca: Verifying Checksum 03:28:12 f23df028b6ca: Download complete 03:28:12 d65c8cfc05b1: Verifying Checksum 03:28:12 d65c8cfc05b1: Download complete 03:28:12 699f458cf7ca: Verifying Checksum 03:28:12 699f458cf7ca: Download complete 03:28:13 8998bd30e6a1: Verifying Checksum 03:28:13 8998bd30e6a1: Download complete 03:28:14 2437ff75d9bd: Verifying Checksum 03:28:14 2437ff75d9bd: Download complete 03:28:16 8998bd30e6a1: Pull complete 03:28:19 04944245beec: Pull complete 03:28:20 699f458cf7ca: Pull complete 03:28:20 765212b225bb: Pull complete 03:28:21 f23df028b6ca: Pull complete 03:28:21 d65c8cfc05b1: Pull complete 03:28:36 2437ff75d9bd: Pull complete 03:28:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:28:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:36 prd-ubuntu20.04-docker-arm64-4c-16g-4342 does not seem to be running inside a container 03:28:36 $ 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:28:39 $ docker top 1f66880a4e72f40b021f5f441374ab19cfacc2147824dc215d1b9b2120b333f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:40 ---> job-cost.sh 03:28:40 lf-activate-venv: SKIPPING 03:28:40 INFO: No Stack... 03:28:40 INFO: Retrieving Pricing Info for: v3-standard-4 03:28:41 INFO: Archiving Costs [Pipeline] sh 03:28:42 + cat /w/workspace/app-record-replay/1/archives/cost.csv 03:28:42 + cut -d, -f6 [Pipeline] lock 03:28:42 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-67-1-stack-cost] 03:28:42 Resource [jenkins-edgexfoundry-app-record-replay-PR-67-1-stack-cost] did not exist. Created. 03:28:42 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-67-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:28:42 /w/workspace/app-record-replay/1@tmp/durable-4df55d41/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:28:42 + echo total: 0.10999999940395355 [Pipeline] stash 03:28:43 Warning: overwriting stash ‘stack-cost’ 03:28:43 Stashed 1 file(s) [Pipeline] } 03:28:43 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-67-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:28:43 $ docker stop --time=1 1f66880a4e72f40b021f5f441374ab19cfacc2147824dc215d1b9b2120b333f7 03:28:46 $ docker rm -f --volumes 1f66880a4e72f40b021f5f441374ab19cfacc2147824dc215d1b9b2120b333f7 [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:28:47 provisioning config files... 03:28:47 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-67 #1 03:28:47 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-67@tmp/config18405592495640124004tmp [Pipeline] { [Pipeline] sh 03:28:47 + set +x 03:28:47 + curl -s https://codecov.io/bash 03:28:47 + bash -s -- 03:28:47 03:28:47 _____ _ 03:28:47 / ____| | | 03:28:47 | | ___ __| | ___ ___ _____ __ 03:28:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:28:47 | |___| (_) | (_| | __/ (_| (_) \ V / 03:28:47 \_____\___/ \__,_|\___|\___\___/ \_/ 03:28:47 Bash-1.0.6 03:28:47 03:28:47 03:28:47 ==> git version 2.25.1 found 03:28:47 ==> 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:28:47 Release-Date: 2020-01-08 03:28:47 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:28:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:28:47 ==> Jenkins CI detected. 03:28:47 current dir:  /w/workspace/xfoundry_app-record-replay_PR-67 03:28:47 project root: . 03:28:47 --> token set from env 03:28:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:28:47 ==> Running gcov in . (disable via -X gcov) 03:28:47 ==> Python coveragepy not found 03:28:47 ==> Searching for coverage reports in: 03:28:47 + . 03:28:47 -> Found 1 reports 03:28:47 ==> Detecting git/mercurial file structure 03:28:47 ==> Reading reports 03:28:47 + ./coverage.out bytes=19940 03:28:47 ==> Appending adjustments 03:28:47 https://docs.codecov.io/docs/fixing-reports 03:28:47 + Found adjustments 03:28:47 ==> Gzipping contents 03:28:47 8.0K /tmp/codecov.tHh348.gz 03:28:47 ==> Uploading reports 03:28:47 url: https://codecov.io 03:28:47 query: branch=PR-67&commit=949ca96ac928a1233316975bc650a36a6a71f5b7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-67%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=67&job=&cmd_args= 03:28:47 -> Pinging Codecov 03:28:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-67&commit=949ca96ac928a1233316975bc650a36a6a71f5b7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-67%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=67&job=&cmd_args= 03:28:47 Invalid request parameters 03:28:47 400 [Pipeline] } 03:28:47 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:28:49 + [ -d /w/workspace/xfoundry_app-record-replay_PR-67/archives ] 03:28:49 + ls -al /w/workspace/xfoundry_app-record-replay_PR-67/archives 03:28:49 total 16 03:28:49 drwxr-xr-x 3 root root 4096 Aug 23 03:18 . 03:28:49 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 03:18 .. 03:28:49 drwxr-xr-x 2 root root 4096 Aug 23 03:18 cost 03:28:49 -rw-r--r-- 1 root root 88 Aug 23 03:18 cost.csv 03:28:49 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-67/archives 03:28:49 + ls -al /w/workspace/xfoundry_app-record-replay_PR-67/archives 03:28:49 total 16 03:28:49 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 03:18 . 03:28:49 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 03:18 .. 03:28:49 drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 03:18 cost 03:28:49 -rw-r--r-- 1 jenkins jenkins 88 Aug 23 03:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:28:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:28:51 ---> package-listing.sh 03:28:51 ++ facter osfamily 03:28:51 ++ tr '[:upper:]' '[:lower:]' 03:28:51 + OS_FAMILY=debian 03:28:51 + workspace=/w/workspace/xfoundry_app-record-replay_PR-67 03:28:51 + START_PACKAGES=/tmp/packages_start.txt 03:28:51 + END_PACKAGES=/tmp/packages_end.txt 03:28:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:28:51 + PACKAGES=/tmp/packages_start.txt 03:28:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-67 ']' 03:28:51 + PACKAGES=/tmp/packages_end.txt 03:28:51 + case "${OS_FAMILY}" in 03:28:51 + dpkg -l 03:28:51 + grep '^ii' 03:28:51 + '[' -f /tmp/packages_start.txt ']' 03:28:51 + '[' -f /tmp/packages_end.txt ']' 03:28:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:28:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-67 ']' 03:28:51 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-67/archives/ 03:28:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-67/archives/ [Pipeline] echo 03:28:51 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-67/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:28:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:52 prd-ubuntu20.04-docker-8c-8g-4341 does not seem to be running inside a container 03:28:52 $ 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-67/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-67 -v /w/workspace/xfoundry_app-record-replay_PR-67:/w/workspace/xfoundry_app-record-replay_PR-67:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-67@tmp:/w/workspace/xfoundry_app-record-replay_PR-67@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:28:52 $ docker top f89f304617962481fad1f947f1de7df85a5b0dec0f69afcfc27455e40e0d5912 -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:53 + touch /tmp/pre-build-complete [Pipeline] sh 03:28:53 + mkdir -p /var/log/sysstat [Pipeline] sh 03:28:53 + ls /var/log/sa-host 03:28:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:54 provisioning config files... 03:28:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-67@tmp/config5080006731660931170tmp [Pipeline] { [Pipeline] echo 03:28:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:28:54 ---> create-netrc.sh [Pipeline] } 03:28:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:28:54 ---> python-tools-install.sh [Pipeline] echo 03:28:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:28:55 ---> sudo-logs.sh 03:28:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:28:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:28:55 ---> job-cost.sh 03:28:55 lf-activate-venv: SKIPPING 03:28:55 DEBUG: total: 0.2199999988079071 03:28:55 INFO: Retrieving Stack Cost... 03:28:55 INFO: Retrieving Pricing Info for: v3-standard-8 03:28:56 INFO: Archiving Costs [Pipeline] echo 03:28:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:28:56 ---> logs-deploy.sh 03:28:56 lf-activate-venv: SKIPPING 03:28:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-67/1 03:28:56 INFO: archiving workspace using pattern(s): 03:28:57 Archives upload complete. 03:28:57 INFO: archiving logs to Nexus