Pull request #44 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from af78ecbe9d4c61d660ae496ed508f7de77df5497+0ad4d9acad8bf24a025cedcbd7ddd6fb4b5c3077 (99fd7c94e6a726526d42ff8c87c17fd907219b17) 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-ssh8966364906047531315.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7492783742353522037.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-44/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-44/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16226858969449822831.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-44/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12139643811918931013.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5511948340704777376.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-44/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-44/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1219116622756928259.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1296 in /w/workspace/xfoundry_app-record-replay_PR-44 [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-44 # 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 0ad4d9acad8bf24a025cedcbd7ddd6fb4b5c3077 into PR head commit af78ecbe9d4c61d660ae496ed508f7de77df5497 Merge succeeded, producing af78ecbe9d4c61d660ae496ed508f7de77df5497 Checking out Revision af78ecbe9d4c61d660ae496ed508f7de77df5497 (PR-44) > 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/44/head:refs/remotes/origin/PR-44 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af78ecbe9d4c61d660ae496ed508f7de77df5497 # 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 0ad4d9acad8bf24a025cedcbd7ddd6fb4b5c3077 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af78ecbe9d4c61d660ae496ed508f7de77df5497 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:20:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:20:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:20:50 ========================================================= 03:20:50 EdgeX Global Pipelines Version Info 03:20:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:20:51 ------------------- 03:20:51 stable info: 03:20:51 ------------------- 03:20:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:20:51 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:20:51 Message: update stable to v1.0.250 03:20:51 ------------------- 03:20:51 experimental info: 03:20:51 ------------------- 03:20:51 Commited By: **** collab-it+edgex@linuxfoundation.org 03:20:51 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:20:51 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:20:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-44 [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-44 [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-44 [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af78ecbe9d4c61d660ae496ed508f7de77df5497 [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af78ecb [Pipeline] echo 03:20:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:20:53 provisioning config files... 03:20:53 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-44@tmp/config16168339860546615811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:20:54 ---> docker-login.sh 03:20:54 nexus3.edgexfoundry.org:10001 03:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:54 Configure a credential helper to remove this warning. See 03:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:54 03:20:54 Login Succeeded 03:20:54 nexus3.edgexfoundry.org:10002 03:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:54 Configure a credential helper to remove this warning. See 03:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:54 03:20:54 Login Succeeded 03:20:54 nexus3.edgexfoundry.org:10003 03:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:54 Configure a credential helper to remove this warning. See 03:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:54 03:20:54 Login Succeeded 03:20:54 nexus3.edgexfoundry.org:10004 03:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:55 Configure a credential helper to remove this warning. See 03:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:55 03:20:55 Login Succeeded 03:20:55 docker.io 03:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:55 Configure a credential helper to remove this warning. See 03:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:55 03:20:55 Login Succeeded 03:20:55 ---> docker-login.sh ends [Pipeline] } 03:20:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:20:56 + git rev-list -1 --merges af78ecbe9d4c61d660ae496ed508f7de77df5497~1..af78ecbe9d4c61d660ae496ed508f7de77df5497 [Pipeline] echo 03:20:56 -----------> git rev-list -1 --merges af78ecbe9d4c61d660ae496ed508f7de77df5497~1..af78ecbe9d4c61d660ae496ed508f7de77df5497 af78ecbe9d4c61d660ae496ed508f7de77df5497 [false] [Pipeline] sh 03:20:56 + git log --format=format:%s -1 af78ecbe9d4c61d660ae496ed508f7de77df5497 [Pipeline] echo 03:20:56 ========================================================= 03:20:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:20:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:20:56 + git log --format=format:%s -1 af78ecbe9d4c61d660ae496ed508f7de77df5497 [Pipeline] echo 03:20:57 [semverPrep] GIT_COMMIT: af78ecbe9d4c61d660ae496ed508f7de77df5497, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 03:20:57 [semverPrep] This is not a build commit. [Pipeline] sh 03:20:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:20:57 + grep -v github /etc/ssh/ssh_known_hosts 03:20:57 + [ -e /tmp/ssh_known_hosts ] 03:20:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:20:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 03:20:57 sudo tee -a /etc/ssh/ssh_known_hosts 03:20:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:20:57 03:20:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:20:58 0.1.4: Pulling from edgex-devops/py-git-semver 03:20:58 b85a868b505f: Pulling fs layer 03:20:58 e2be974225ed: Pulling fs layer 03:20:58 339a4e72a1f5: Pulling fs layer 03:20:58 988bab9f4d93: Pulling fs layer 03:20:58 1469e6f7b9e6: Pulling fs layer 03:20:58 eaf3925da568: Pulling fs layer 03:20:58 bab4dde63d76: Pulling fs layer 03:20:58 bde34c3a00c8: Pulling fs layer 03:20:58 b352a97aabf1: Pulling fs layer 03:20:58 4872d77fe225: Pulling fs layer 03:20:58 5851b861e8e6: Pulling fs layer 03:20:58 988bab9f4d93: Waiting 03:20:58 1469e6f7b9e6: Waiting 03:20:58 bde34c3a00c8: Waiting 03:20:58 eaf3925da568: Waiting 03:20:58 bab4dde63d76: Waiting 03:20:58 4872d77fe225: Waiting 03:20:58 5851b861e8e6: Waiting 03:20:58 b352a97aabf1: Waiting 03:20:58 e2be974225ed: Verifying Checksum 03:20:58 e2be974225ed: Download complete 03:20:58 988bab9f4d93: Download complete 03:20:58 1469e6f7b9e6: Verifying Checksum 03:20:58 1469e6f7b9e6: Download complete 03:20:58 339a4e72a1f5: Verifying Checksum 03:20:58 339a4e72a1f5: Download complete 03:20:58 eaf3925da568: Verifying Checksum 03:20:58 eaf3925da568: Download complete 03:20:58 bde34c3a00c8: Download complete 03:20:58 b352a97aabf1: Download complete 03:20:58 4872d77fe225: Verifying Checksum 03:20:58 4872d77fe225: Download complete 03:20:58 5851b861e8e6: Verifying Checksum 03:20:58 5851b861e8e6: Download complete 03:20:58 b85a868b505f: Verifying Checksum 03:20:58 b85a868b505f: Download complete 03:20:58 bab4dde63d76: Verifying Checksum 03:20:58 bab4dde63d76: Download complete 03:20:59 b85a868b505f: Pull complete 03:21:00 e2be974225ed: Pull complete 03:21:00 339a4e72a1f5: Pull complete 03:21:00 988bab9f4d93: Pull complete 03:21:00 1469e6f7b9e6: Pull complete 03:21:00 eaf3925da568: Pull complete 03:21:02 bab4dde63d76: Pull complete 03:21:02 bde34c3a00c8: Pull complete 03:21:02 b352a97aabf1: Pull complete 03:21:02 4872d77fe225: Pull complete 03:21:02 5851b861e8e6: Pull complete 03:21:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:21:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:03 prd-ubuntu20.04-docker-8c-8g-1296 does not seem to be running inside a container 03:21:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-44 -v /w/workspace/xfoundry_app-record-replay_PR-44:/w/workspace/xfoundry_app-record-replay_PR-44:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-44@tmp:/w/workspace/xfoundry_app-record-replay_PR-44@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:21:06 $ docker top b6f7078f68e2782c13b7c5324dfcf2d9be285b6905444de978e9a9f1a945088c -eo pid,comm 03:21:06 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:21:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:21:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:21:07 [ssh-agent] Looking for ssh-agent implementation... 03:21:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:21:07 $ docker exec b6f7078f68e2782c13b7c5324dfcf2d9be285b6905444de978e9a9f1a945088c ssh-agent 03:21:07 SSH_AUTH_SOCK=/tmp/ssh-R4XITJf0kGsw/agent.33 03:21:07 SSH_AGENT_PID=39 03:21:07 Running ssh-add (command line suppressed) 03:21:07 Identity added: /w/workspace/xfoundry_app-record-replay_PR-44@tmp/private_key_14339085778603622130.key (/w/workspace/xfoundry_app-record-replay_PR-44@tmp/private_key_14339085778603622130.key) 03:21:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:21:07 + git tag --points-at HEAD [Pipeline] } 03:21:07 $ docker exec --env ******** --env ******** b6f7078f68e2782c13b7c5324dfcf2d9be285b6905444de978e9a9f1a945088c ssh-agent -k 03:21:07 unset SSH_AUTH_SOCK; 03:21:07 unset SSH_AGENT_PID; 03:21:07 echo Agent pid 39 killed; 03:21:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:21:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:21:07 [ssh-agent] Looking for ssh-agent implementation... 03:21:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:21:08 $ docker exec b6f7078f68e2782c13b7c5324dfcf2d9be285b6905444de978e9a9f1a945088c ssh-agent 03:21:08 SSH_AUTH_SOCK=/tmp/ssh-JxUGlw7eUpVa/agent.71 03:21:08 SSH_AGENT_PID=77 03:21:08 Running ssh-add (command line suppressed) 03:21:08 Identity added: /w/workspace/xfoundry_app-record-replay_PR-44@tmp/private_key_15048410815723771296.key (/w/workspace/xfoundry_app-record-replay_PR-44@tmp/private_key_15048410815723771296.key) 03:21:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:21:08 + git semver init 03:21:08 2023-07-17 03:21:08,828 [run_init] DEBUG init version:0.0.0 force:False 03:21:08 2023-07-17 03:21:08,828 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-44/.semver 03:21:08 2023-07-17 03:21:08,829 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-44/.semver 03:21:08 2023-07-17 03:21:08,829 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-44/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-44, universal_newlines=False, shell=None, istream=None) 03:21:09 2023-07-17 03:21:09,379 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-44/.git/info/exclude 03:21:09 2023-07-17 03:21:09,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-44/.semver/PR-44 with force:False 03:21:09 2023-07-17 03:21:09,381 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-44/.semver/PR-44 03:21:09 2023-07-17 03:21:09,386 [execute] INFO git cat-file --batch-check 03:21:09 2023-07-17 03:21:09,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-44/.semver, universal_newlines=False, shell=None, istream=) 03:21:09 2023-07-17 03:21:09,391 [execute] INFO git cat-file --batch 03:21:09 2023-07-17 03:21:09,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-44/.semver, universal_newlines=False, shell=None, istream=) 03:21:09 2023-07-17 03:21:09,396 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-44/.semver/PR-44 03:21:09 0.0.0 [Pipeline] } 03:21:09 $ docker exec --env ******** --env ******** b6f7078f68e2782c13b7c5324dfcf2d9be285b6905444de978e9a9f1a945088c ssh-agent -k 03:21:09 unset SSH_AUTH_SOCK; 03:21:09 unset SSH_AGENT_PID; 03:21:09 echo Agent pid 77 killed; 03:21:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:21:10 + git semver [Pipeline] } 03:21:10 $ docker stop --time=1 b6f7078f68e2782c13b7c5324dfcf2d9be285b6905444de978e9a9f1a945088c 03:21:11 $ docker rm -f --volumes b6f7078f68e2782c13b7c5324dfcf2d9be285b6905444de978e9a9f1a945088c [Pipeline] // withDockerContainer [Pipeline] sh 03:21:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:21:12 Stashed 1 file(s) [Pipeline] echo 03:21:12 [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:21:12 provisioning config files... 03:21:12 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-44@tmp/config1519041692584255688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:21:13 ---> docker-login.sh 03:21:13 nexus3.edgexfoundry.org:10001 03:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:13 Configure a credential helper to remove this warning. See 03:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:13 03:21:13 Login Succeeded 03:21:13 nexus3.edgexfoundry.org:10002 03:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:13 Configure a credential helper to remove this warning. See 03:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:13 03:21:13 Login Succeeded 03:21:13 nexus3.edgexfoundry.org:10003 03:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:13 Configure a credential helper to remove this warning. See 03:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:13 03:21:13 Login Succeeded 03:21:13 nexus3.edgexfoundry.org:10004 03:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:13 Configure a credential helper to remove this warning. See 03:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:13 03:21:13 Login Succeeded 03:21:13 docker.io 03:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:13 Configure a credential helper to remove this warning. See 03:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:13 03:21:13 Login Succeeded 03:21:13 ---> docker-login.sh ends [Pipeline] } 03:21:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:21:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:21:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:21:14 ========================================================= 03:21:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:21:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:14 + 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:21:14 Sending build context to Docker daemon 342kB 03:21:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:21:14 Step 2/12 : FROM ${BASE} AS builder 03:21:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:21:14 4db1b89c0bd1: Pulling fs layer 03:21:14 6911f1a30b25: Pulling fs layer 03:21:14 e194b8c5c2a9: Pulling fs layer 03:21:14 6863d3e3a2b1: Pulling fs layer 03:21:14 ec0bb842ea78: Pulling fs layer 03:21:14 40a00589a448: Pulling fs layer 03:21:14 6c08303d61cc: Pulling fs layer 03:21:14 798269fcf238: Pulling fs layer 03:21:14 ec0bb842ea78: Waiting 03:21:14 40a00589a448: Waiting 03:21:14 6c08303d61cc: Waiting 03:21:14 798269fcf238: Waiting 03:21:14 6863d3e3a2b1: Waiting 03:21:14 6911f1a30b25: Verifying Checksum 03:21:14 6911f1a30b25: Download complete 03:21:14 6863d3e3a2b1: Verifying Checksum 03:21:14 6863d3e3a2b1: Download complete 03:21:14 ec0bb842ea78: Verifying Checksum 03:21:14 ec0bb842ea78: Download complete 03:21:14 4db1b89c0bd1: Download complete 03:21:14 40a00589a448: Verifying Checksum 03:21:14 40a00589a448: Download complete 03:21:14 4db1b89c0bd1: Pull complete 03:21:15 6911f1a30b25: Pull complete 03:21:15 798269fcf238: Verifying Checksum 03:21:15 798269fcf238: Download complete 03:21:15 e194b8c5c2a9: Download complete 03:21:15 6c08303d61cc: Verifying Checksum 03:21:15 6c08303d61cc: Download complete 03:21:18 e194b8c5c2a9: Pull complete 03:21:18 6863d3e3a2b1: Pull complete 03:21:19 ec0bb842ea78: Pull complete 03:21:19 40a00589a448: Pull complete 03:21:21 6c08303d61cc: Pull complete 03:21:22 798269fcf238: Pull complete 03:21:22 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:21:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:21:22 ---> ec979cd7f677 03:21:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:21:27 Still waiting to schedule task 03:21:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:21:29 ---> Running in bc475579c498 03:21:29 Removing intermediate container bc475579c498 03:21:29 ---> 5dff164f4d99 03:21:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:21:29 ---> Running in 9205fdd38a8a 03:21:29 Removing intermediate container 9205fdd38a8a 03:21:29 ---> 3318dc83efc8 03:21:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:21:29 ---> Running in e0447ca652f5 03:21:29 Removing intermediate container e0447ca652f5 03:21:29 ---> 7da33a242dc1 03:21:29 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:21:29 ---> Running in 0041be51ccb9 03:21:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:21:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:21:30 OK: 265 MiB in 53 packages 03:21:30 Removing intermediate container 0041be51ccb9 03:21:30 ---> 1e8ca705d915 03:21:30 Step 7/12 : WORKDIR /app 03:21:30 ---> Running in c54ab428bf1c 03:21:30 Removing intermediate container c54ab428bf1c 03:21:30 ---> d388e5fe6481 03:21:30 Step 8/12 : COPY go.mod vendor* ./ 03:21:30 ---> ac24162556c4 03:21:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:21:30 ---> Running in 7e526393ca0b 03:22:27 Removing intermediate container 7e526393ca0b 03:22:27 ---> 3161ec5b5144 03:22:27 Step 10/12 : COPY . . 03:22:27 ---> e80cc5788975 03:22:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:22:27 ---> Running in 23a92cc4186c 03:22:27 Removing intermediate container 23a92cc4186c 03:22:27 ---> cc2fe29384cf 03:22:27 Step 12/12 : RUN $MAKE 03:22:27 ---> Running in 3e3cf231d692 03:22:27 noop 03:22:27 Removing intermediate container 3e3cf231d692 03:22:27 ---> 0f2675caac41 03:22:27 Successfully built 0f2675caac41 03:22:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:27 + docker inspect -f . ci-base-image-x86_64 03:22:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:27 prd-ubuntu20.04-docker-8c-8g-1296 does not seem to be running inside a container 03:22:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-44 -v /w/workspace/xfoundry_app-record-replay_PR-44:/w/workspace/xfoundry_app-record-replay_PR-44:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-44@tmp:/w/workspace/xfoundry_app-record-replay_PR-44@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:22:28 $ docker top 0608dd53d428e0d4a3471ba89a2dacbeeb4fc03af02767e957fd0fdeb4c3435f -eo pid,comm [Pipeline] { [Pipeline] sh 03:22:28 + go version 03:22:28 go version go1.20.6 linux/amd64 [Pipeline] } 03:22:28 $ docker stop --time=1 0608dd53d428e0d4a3471ba89a2dacbeeb4fc03af02767e957fd0fdeb4c3435f 03:22:29 $ docker rm -f --volumes 0608dd53d428e0d4a3471ba89a2dacbeeb4fc03af02767e957fd0fdeb4c3435f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:30 + docker inspect -f . ci-base-image-x86_64 03:22:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:30 prd-ubuntu20.04-docker-8c-8g-1296 does not seem to be running inside a container 03:22:30 $ 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-44 -v /w/workspace/xfoundry_app-record-replay_PR-44:/w/workspace/xfoundry_app-record-replay_PR-44:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-44@tmp:/w/workspace/xfoundry_app-record-replay_PR-44@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:22:30 $ docker top 53641034a121c24655d1c8f6957edc867cf0ca2ad5a93314dc6b2766ff4c5165 -eo pid,comm [Pipeline] { [Pipeline] sh 03:22:31 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-44 [Pipeline] fileExists [Pipeline] sh 03:22:31 + make test 03:22:31 go test -race -coverprofile=coverage.out ./... 03:22:53 ? github.com/edgexfoundry/app-record-replay [no test files] 03:22:53 ok github.com/edgexfoundry/app-record-replay/internal/app 0.138s coverage: 87.5% of statements 03:22:53 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:22:53 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:22:53 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:22:53 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.072s coverage: 91.6% of statements 03:22:53 ok github.com/edgexfoundry/app-record-replay/internal/data 0.069s coverage: 65.2% of statements 03:23:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1297 in /w/workspace/xfoundry_app-record-replay_PR-44 [Pipeline] { [Pipeline] ws 03:23:01 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 03:23:01 Selected Git installation does not exist. Using Default 03:23:01 The recommended git tool is: NONE 03:23:11 using credential edgex-jenkins-ssh 03:23:11 Cloning the remote Git repository 03:23:11 go vet ./... 03:23:11 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 03:23:11 > git init /w/workspace/app-record-replay/1 # timeout=10 03:23:12 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:23:12 > git --version # timeout=10 03:23:12 > git --version # 'git version 2.25.1' 03:23:12 using GIT_SSH to set credentials SSH Credentials for GitHub 03:23:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:23:12 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:23:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:23:14 Merging remotes/origin/main commit 0ad4d9acad8bf24a025cedcbd7ddd6fb4b5c3077 into PR head commit af78ecbe9d4c61d660ae496ed508f7de77df5497 03:23:14 Merge succeeded, producing af78ecbe9d4c61d660ae496ed508f7de77df5497 03:23:14 Checking out Revision af78ecbe9d4c61d660ae496ed508f7de77df5497 (PR-44) 03:23:13 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 03:23:14 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 03:23:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:23:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/44/head:refs/remotes/origin/PR-44 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:23:14 > git config core.sparsecheckout # timeout=10 03:23:14 > git checkout -f af78ecbe9d4c61d660ae496ed508f7de77df5497 # timeout=10 03:23:14 > git remote # timeout=10 03:23:14 > git config --get remote.origin.url # timeout=10 03:23:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:23:14 > git merge 0ad4d9acad8bf24a025cedcbd7ddd6fb4b5c3077 # timeout=10 03:23:14 > git rev-parse HEAD^{commit} # timeout=10 03:23:14 > git config core.sparsecheckout # timeout=10 03:23:15 > git checkout -f af78ecbe9d4c61d660ae496ed508f7de77df5497 # timeout=10 03:23:15 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 03:23:15 > git --version # timeout=10 03:23:15 > git --version # 'git version 2.25.1' 03:23:15 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 03:23:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:23:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:23:15 ./bin/test-attribution-txt.sh [Pipeline] echo 03:23:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:23:16 $ docker stop --time=1 53641034a121c24655d1c8f6957edc867cf0ca2ad5a93314dc6b2766ff4c5165 03:23:22 $ docker rm -f --volumes 53641034a121c24655d1c8f6957edc867cf0ca2ad5a93314dc6b2766ff4c5165 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:23:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 03:23:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:23:23 % Total % Received % Xferd Average Speed Time Time Time Current 03:23:23 Dload Upload Total Spent Left Speed 03:23:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 03:23:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh 03:23:23 + ls -al . 03:23:23 total 164 03:23:23 drwxrwxr-x 9 jenkins jenkins 4096 Jul 17 03:22 . 03:23:23 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 03:20 .. 03:23:23 -rw-rw-r-- 1 jenkins jenkins 119 Jul 17 03:20 .dockerignore 03:23:23 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 03:21 .git 03:23:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 03:20 .github 03:23:23 -rw-rw-r-- 1 jenkins jenkins 164 Jul 17 03:20 .gitignore 03:23:23 -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 03:20 .golangci.yml 03:23:23 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 03:21 .semver 03:23:23 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 17 03:20 Attribution.txt 03:23:23 -rw-rw-r-- 1 jenkins jenkins 258 Jul 17 03:20 CHANGELOG.md 03:23:23 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 17 03:20 Dockerfile 03:23:23 -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 03:20 GOVERNANCE.md 03:23:23 -rw-rw-r-- 1 jenkins jenkins 681 Jul 17 03:20 Jenkinsfile 03:23:23 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 17 03:20 LICENSE 03:23:23 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 17 03:20 Makefile 03:23:23 -rw-rw-r-- 1 jenkins jenkins 611 Jul 17 03:20 OWNERS.md 03:23:23 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 17 03:20 README.md 03:23:23 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 17 03:20 Record and Reply.postman_collection.json 03:23:23 -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 03:21 VERSION 03:23:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 03:20 bin 03:23:23 -rw-r--r-- 1 jenkins jenkins 7545 Jul 17 03:22 coverage.out 03:23:23 -rw-rw-r-- 1 jenkins jenkins 3679 Jul 17 03:20 go.mod 03:23:23 -rw-rw-r-- 1 jenkins jenkins 32845 Jul 17 03:20 go.sum 03:23:23 drwxrwxr-x 6 jenkins jenkins 4096 Jul 17 03:20 internal 03:23:23 -rw-rw-r-- 1 jenkins jenkins 913 Jul 17 03:20 main.go 03:23:23 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 03:20 pkg 03:23:23 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 03:20 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 03:23:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh 03:23:24 + 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=af78ecbe9d4c61d660ae496ed508f7de77df5497 --label arch=amd64 --label version=0.0.0 . 03:23:24 Sending build context to Docker daemon 350.2kB 03:23:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:23:24 Step 2/26 : FROM ${BASE} AS builder 03:23:24 ---> 0f2675caac41 03:23:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:23:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:23:24 + sudo tee /etc/docker/daemon.new 03:23:24 { 03:23:24 "registry-mirrors": [ 03:23:24 "https://nexus3.edgexfoundry.org:10001" 03:23:24 ], 03:23:24 "bip": "10.250.0.254/24", 03:23:24 "hosts": [ 03:23:24 "tcp://0.0.0.0:5555", 03:23:24 "unix:///var/run/docker.sock" 03:23:24 ], 03:23:24 "mtu": 1458, 03:23:24 "selinux-enabled": true, 03:23:24 "seccomp-profile": "/etc/docker/seccomp.json" 03:23:24 } [Pipeline] sh 03:23:24 ---> Running in dbc98dd5a2c3 03:23:24 Removing intermediate container dbc98dd5a2c3 03:23:24 ---> 11dd58d777d0 03:23:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:23:24 ---> Running in 1fe201f549f6 03:23:24 Removing intermediate container 1fe201f549f6 03:23:24 ---> c23f2df46016 03:23:24 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:23:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:23:24 ---> Running in ed26f8b2f261 03:23:24 Removing intermediate container ed26f8b2f261 03:23:24 ---> ee4cefb6ec40 03:23:24 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:23:24 ---> Running in 78cdb163184e 03:23:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:23:24 + sudo service docker restart 03:23:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:23:28 OK: 265 MiB in 53 packages 03:23:28 Removing intermediate container 78cdb163184e 03:23:28 ---> 5ddbc4ea8f56 03:23:28 Step 7/26 : WORKDIR /app 03:23:28 ---> Running in dc9abcbbc159 03:23:28 Removing intermediate container dc9abcbbc159 03:23:28 ---> 4eb33fc991c8 03:23:28 Step 8/26 : COPY go.mod vendor* ./ 03:23:28 ---> 31d6828926bd 03:23:28 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:28 ---> Running in 3ade82c9c3e4 03:23:29 Removing intermediate container 3ade82c9c3e4 03:23:29 ---> 647983beb4f7 03:23:29 Step 10/26 : COPY . . 03:23:29 ---> 8bec864299e0 03:23:29 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:23:29 ---> Running in ce7e174ad98d 03:23:29 Removing intermediate container ce7e174ad98d 03:23:29 ---> e35429d40b32 03:23:29 Step 12/26 : RUN $MAKE 03:23:29 ---> Running in f08f7ced7953 03:23:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.7 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:43 provisioning config files... 03:23:43 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config17339818569725031094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:43 ---> docker-login.sh 03:23:43 nexus3.edgexfoundry.org:10001 03:23:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:44 Configure a credential helper to remove this warning. See 03:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:44 03:23:44 Login Succeeded 03:23:44 nexus3.edgexfoundry.org:10002 03:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:44 Configure a credential helper to remove this warning. See 03:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:44 03:23:44 Login Succeeded 03:23:44 nexus3.edgexfoundry.org:10003 03:23:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:44 Configure a credential helper to remove this warning. See 03:23:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:44 03:23:44 Login Succeeded 03:23:45 nexus3.edgexfoundry.org:10004 03:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:45 Configure a credential helper to remove this warning. See 03:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:45 03:23:45 Login Succeeded 03:23:45 docker.io 03:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:45 Configure a credential helper to remove this warning. See 03:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:45 03:23:45 Login Succeeded 03:23:45 ---> docker-login.sh ends [Pipeline] } 03:23:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:23:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:23:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:23:46 ========================================================= 03:23:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:23:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:23:46 Sending build context to Docker daemon 158.2kB 03:23:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:23:47 Step 2/12 : FROM ${BASE} AS builder 03:23:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:23:47 edb6bdbacee9: Pulling fs layer 03:23:47 5f9638ab2659: Pulling fs layer 03:23:47 8d51d6327a98: Pulling fs layer 03:23:47 8b374f2dd631: Pulling fs layer 03:23:47 ec14aa9079de: Pulling fs layer 03:23:47 8b374f2dd631: Waiting 03:23:47 ec14aa9079de: Waiting 03:23:47 2f466654f4bb: Pulling fs layer 03:23:47 554e91adad29: Pulling fs layer 03:23:47 2f466654f4bb: Waiting 03:23:47 554e91adad29: Waiting 03:23:47 5f9638ab2659: Download complete 03:23:47 8b374f2dd631: Verifying Checksum 03:23:47 8b374f2dd631: Download complete 03:23:47 ec14aa9079de: Verifying Checksum 03:23:47 ec14aa9079de: Download complete 03:23:47 edb6bdbacee9: Verifying Checksum 03:23:47 edb6bdbacee9: Download complete 03:23:48 edb6bdbacee9: Pull complete 03:23:48 554e91adad29: Verifying Checksum 03:23:48 554e91adad29: Download complete 03:23:48 5f9638ab2659: Pull complete 03:23:49 8d51d6327a98: Download complete 03:23:49 2f466654f4bb: Verifying Checksum 03:23:49 2f466654f4bb: Download complete 03:23:51 Removing intermediate container f08f7ced7953 03:23:51 ---> cc713384489d 03:23:51 Step 13/26 : FROM alpine:3.17 03:23:51 3.17: Pulling from library/alpine 03:23:51 4db1b89c0bd1: Already exists 03:23:52 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:23:52 Status: Downloaded newer image for alpine:3.17 03:23:52 ---> 1f73a9d63274 03:23:52 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:23:52 ---> Running in 1472d9b3cd7a 03:23:52 Removing intermediate container 1472d9b3cd7a 03:23:52 ---> 95fc63d260ea 03:23:52 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:23:52 ---> Running in 5707adef44d2 03:23:52 Removing intermediate container 5707adef44d2 03:23:52 ---> 29ab4093f9e5 03:23:52 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:23:52 ---> Running in 981a088cd784 03:23:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:23:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:23:52 (1/2) Installing ca-certificates (20230506-r0) 03:23:52 (2/2) Installing dumb-init (1.2.5-r2) 03:23:52 Executing busybox-1.35.0-r29.trigger 03:23:52 Executing ca-certificates-20230506-r0.trigger 03:23:53 OK: 8 MiB in 17 packages 03:23:53 Removing intermediate container 981a088cd784 03:23:53 ---> fd948335e9ff 03:23:53 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:23:53 ---> ea017bf6e278 03:23:53 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:23:53 ---> 993788c2a70f 03:23:53 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:23:53 ---> 1dd8ed829247 03:23:53 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:23:54 ---> 8165a5cb60b4 03:23:54 Step 21/26 : EXPOSE 59712 03:23:54 ---> Running in d3c70fe65e89 03:23:54 Removing intermediate container d3c70fe65e89 03:23:54 ---> 9d227dc05fe8 03:23:54 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:23:54 ---> Running in 4f466c193ed9 03:23:54 Removing intermediate container 4f466c193ed9 03:23:54 ---> 932de2d45c1a 03:23:54 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:23:54 ---> Running in d87b0ca62321 03:23:55 Removing intermediate container d87b0ca62321 03:23:55 ---> 8a8d5adbeb21 03:23:55 Step 24/26 : LABEL arch=amd64 03:23:55 ---> Running in ba6e7cde923a 03:23:55 Removing intermediate container ba6e7cde923a 03:23:55 ---> 25ac330de24a 03:23:55 Step 25/26 : LABEL git_sha=af78ecbe9d4c61d660ae496ed508f7de77df5497 03:23:55 ---> Running in 050dcb9b2dae 03:23:55 Removing intermediate container 050dcb9b2dae 03:23:55 ---> c3ae2dc0b9f2 03:23:55 Step 26/26 : LABEL version=0.0.0 03:23:55 ---> Running in 1e0cfd92efad 03:23:55 Removing intermediate container 1e0cfd92efad 03:23:55 ---> 656e01b1228f 03:23:55 [Warning] One or more build-args [ARCH] were not consumed 03:23:55 Successfully built 656e01b1228f 03:23:55 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:23:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:23:56 03:23:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:23:56 latest: Pulling from edgex-lftools-log-publisher 03:23:56 5eb5b503b376: Pulling fs layer 03:23:56 5c69ac0246d0: Pulling fs layer 03:23:56 ec43610c2a17: Pulling fs layer 03:23:56 3a2ae6a8a46f: Pulling fs layer 03:23:56 33b1e0a273af: Pulling fs layer 03:23:56 5d3b04190fa2: Pulling fs layer 03:23:56 2f39f015ded8: Pulling fs layer 03:23:56 3a2ae6a8a46f: Waiting 03:23:56 33b1e0a273af: Waiting 03:23:56 5d3b04190fa2: Waiting 03:23:56 2f39f015ded8: Waiting 03:23:56 5c69ac0246d0: Download complete 03:23:56 3a2ae6a8a46f: Verifying Checksum 03:23:56 3a2ae6a8a46f: Download complete 03:23:56 ec43610c2a17: Verifying Checksum 03:23:56 ec43610c2a17: Download complete 03:23:56 33b1e0a273af: Verifying Checksum 03:23:56 33b1e0a273af: Download complete 03:23:56 5d3b04190fa2: Verifying Checksum 03:23:56 5d3b04190fa2: Download complete 03:23:56 5eb5b503b376: Verifying Checksum 03:23:56 5eb5b503b376: Download complete 03:23:57 2f39f015ded8: Verifying Checksum 03:23:57 2f39f015ded8: Download complete 03:23:58 5eb5b503b376: Pull complete 03:23:58 5c69ac0246d0: Pull complete 03:23:58 ec43610c2a17: Pull complete 03:23:58 3a2ae6a8a46f: Pull complete 03:23:58 33b1e0a273af: Pull complete 03:23:58 5d3b04190fa2: Pull complete 03:24:02 8d51d6327a98: Pull complete 03:24:02 8b374f2dd631: Pull complete 03:24:02 ec14aa9079de: Pull complete 03:24:02 2f39f015ded8: Pull complete 03:24:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:24:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:24:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:03 prd-ubuntu20.04-docker-8c-8g-1296 does not seem to be running inside a container 03:24:03 $ 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-44 -v /w/workspace/xfoundry_app-record-replay_PR-44:/w/workspace/xfoundry_app-record-replay_PR-44:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-44@tmp:/w/workspace/xfoundry_app-record-replay_PR-44@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:24:09 $ docker top 205dfae7d63cab3e803a3e2eaf43f4e7ca19c1c82c6b9640b3488daab0f95eaf -eo pid,comm 03:24:09 2f466654f4bb: Pull complete [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:09 ---> job-cost.sh 03:24:09 lf-activate-venv: SKIPPING 03:24:09 INFO: No Stack... 03:24:10 INFO: Retrieving Pricing Info for: v3-standard-8 03:24:10 INFO: Archiving Costs [Pipeline] sh 03:24:10 554e91adad29: Pull complete 03:24:10 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:24:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:24:10 ---> 1e15ea492957 03:24:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 03:24:10 + cat /w/workspace/xfoundry_app-record-replay_PR-44/archives/cost.csv 03:24:10 + cut -d, -f6 [Pipeline] lock 03:24:10 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-44-1-stack-cost] 03:24:10 Resource [jenkins-edgexfoundry-app-record-replay-PR-44-1-stack-cost] did not exist. Created. 03:24:10 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-44-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:24:11 + echo total: 0.2199999988079071 [Pipeline] stash 03:24:11 Stashed 1 file(s) [Pipeline] } 03:24:11 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-44-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:24:11 $ docker stop --time=1 205dfae7d63cab3e803a3e2eaf43f4e7ca19c1c82c6b9640b3488daab0f95eaf 03:24:12 $ docker rm -f --volumes 205dfae7d63cab3e803a3e2eaf43f4e7ca19c1c82c6b9640b3488daab0f95eaf 03:24:12 ---> Running in 57d647191748 03:24:12 Removing intermediate container 57d647191748 03:24:12 ---> d844d7a56f1e 03:24:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 03:24:12 ---> Running in 4191ed91d8f2 [Pipeline] // stage [Pipeline] } 03:24:13 Removing intermediate container 4191ed91d8f2 03:24:13 ---> 44896d62d850 03:24:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:24:13 ---> Running in 79bd849e96dc 03:24:13 Removing intermediate container 79bd849e96dc 03:24:13 ---> 947d41db3a1a 03:24:13 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:24:13 ---> Running in fdb3a203545a 03:24:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:24:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:24:15 OK: 263 MiB in 53 packages 03:24:16 Removing intermediate container fdb3a203545a 03:24:16 ---> 347866f27828 03:24:16 Step 7/12 : WORKDIR /app 03:24:16 ---> Running in a37526c5a094 03:24:17 Removing intermediate container a37526c5a094 03:24:17 ---> 87867add3d6d 03:24:17 Step 8/12 : COPY go.mod vendor* ./ 03:24:17 ---> 0b1a1f6683d8 03:24:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:17 ---> Running in 7c81fec07915 03:25:25 Removing intermediate container 7c81fec07915 03:25:25 ---> ec33f2a2ade4 03:25:25 Step 10/12 : COPY . . 03:25:25 ---> 15272049d21c 03:25:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:25:25 ---> Running in 963d24b195ec 03:25:25 Removing intermediate container 963d24b195ec 03:25:25 ---> da5c36f0462a 03:25:25 Step 12/12 : RUN $MAKE 03:25:25 ---> Running in ad9206d5221f 03:25:25 noop 03:25:25 Removing intermediate container ad9206d5221f 03:25:25 ---> b9f9032096ca 03:25:25 Successfully built b9f9032096ca 03:25:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:25 + docker inspect -f . ci-base-image-arm64 03:25:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:26 prd-ubuntu20.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container 03:25:26 $ 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:25:27 $ docker top b80b87d39ce046210b2d73a6fb4c369a873302adbf0349e3829b12589a5fe8ac -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:28 + go version 03:25:28 go version go1.20.6 linux/arm64 [Pipeline] } 03:25:28 $ docker stop --time=1 b80b87d39ce046210b2d73a6fb4c369a873302adbf0349e3829b12589a5fe8ac 03:25:31 $ docker rm -f --volumes b80b87d39ce046210b2d73a6fb4c369a873302adbf0349e3829b12589a5fe8ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:32 + docker inspect -f . ci-base-image-arm64 03:25:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:32 prd-ubuntu20.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container 03:25:32 $ 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:25:33 $ docker top 79f6da8798419ca10f4327b9a2f683f4b714c849e31e5f72db1ba6d98b2dd95e -eo pid,comm [Pipeline] { [Pipeline] sh 03:25:34 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 03:25:34 + make test 03:25:34 go test -race -coverprofile=coverage.out ./... 03:27:56 ? github.com/edgexfoundry/app-record-replay [no test files] 03:28:08 ok github.com/edgexfoundry/app-record-replay/internal/app 0.242s coverage: 87.5% of statements 03:28:08 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.338s coverage: 91.6% of statements 03:28:11 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 03:28:11 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 03:28:11 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 03:28:12 ok github.com/edgexfoundry/app-record-replay/internal/data 0.210s coverage: 65.2% of statements 03:28:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:28:12 go vet ./... 03:30:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:30:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:30:34 ./bin/test-attribution-txt.sh [Pipeline] echo 03:30:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:30:34 $ docker stop --time=1 79f6da8798419ca10f4327b9a2f683f4b714c849e31e5f72db1ba6d98b2dd95e 03:30:38 $ docker rm -f --volumes 79f6da8798419ca10f4327b9a2f683f4b714c849e31e5f72db1ba6d98b2dd95e [Pipeline] // withDockerContainer [Pipeline] sh 03:30:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:30:39 Warning: overwriting stash ‘coverage-report’ 03:30:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:30:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:30:41 + ls -al . 03:30:41 total 160 03:30:41 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 03:25 . 03:30:41 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 03:23 .. 03:30:41 -rw-rw-r-- 1 jenkins jenkins 119 Jul 17 03:23 .dockerignore 03:30:41 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 03:23 .git 03:30:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 03:23 .github 03:30:41 -rw-rw-r-- 1 jenkins jenkins 164 Jul 17 03:23 .gitignore 03:30:41 -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 03:23 .golangci.yml 03:30:41 -rw-rw-r-- 1 jenkins jenkins 10642 Jul 17 03:23 Attribution.txt 03:30:41 -rw-rw-r-- 1 jenkins jenkins 258 Jul 17 03:23 CHANGELOG.md 03:30:41 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 17 03:23 Dockerfile 03:30:41 -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 03:23 GOVERNANCE.md 03:30:41 -rw-rw-r-- 1 jenkins jenkins 681 Jul 17 03:23 Jenkinsfile 03:30:41 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 17 03:23 LICENSE 03:30:41 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 17 03:23 Makefile 03:30:41 -rw-rw-r-- 1 jenkins jenkins 611 Jul 17 03:23 OWNERS.md 03:30:41 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 17 03:23 README.md 03:30:41 -rw-rw-r-- 1 jenkins jenkins 4285 Jul 17 03:23 Record and Reply.postman_collection.json 03:30:41 -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 03:21 VERSION 03:30:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 03:23 bin 03:30:41 -rw-r--r-- 1 jenkins jenkins 7545 Jul 17 03:28 coverage.out 03:30:41 -rw-rw-r-- 1 jenkins jenkins 3679 Jul 17 03:23 go.mod 03:30:41 -rw-rw-r-- 1 jenkins jenkins 32845 Jul 17 03:23 go.sum 03:30:41 drwxrwxr-x 6 jenkins jenkins 4096 Jul 17 03:23 internal 03:30:41 -rw-rw-r-- 1 jenkins jenkins 913 Jul 17 03:23 main.go 03:30:41 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 03:23 pkg 03:30:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 03:23 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:41 + 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=af78ecbe9d4c61d660ae496ed508f7de77df5497 --label arch=arm64 --label version=0.0.0 . 03:30:41 Sending build context to Docker daemon 166.4kB 03:30:41 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:30:41 Step 2/26 : FROM ${BASE} AS builder 03:30:41 ---> b9f9032096ca 03:30:41 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 03:30:41 ---> Running in 360ab6f63a02 03:30:42 Removing intermediate container 360ab6f63a02 03:30:42 ---> ca32c2ae2c8e 03:30:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:30:42 ---> Running in 605763e23464 03:30:42 Removing intermediate container 605763e23464 03:30:42 ---> 9751babf1df8 03:30:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:30:42 ---> Running in 2591dea73bea 03:30:42 Removing intermediate container 2591dea73bea 03:30:42 ---> 61c0d3e6498b 03:30:42 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:30:43 ---> Running in 3854fb80aa8c 03:30:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:30:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:30:45 OK: 263 MiB in 53 packages 03:30:46 Removing intermediate container 3854fb80aa8c 03:30:46 ---> 18d0c25b6ce6 03:30:46 Step 7/26 : WORKDIR /app 03:30:46 ---> Running in 040f2398d570 03:30:46 Removing intermediate container 040f2398d570 03:30:46 ---> a399371b20bd 03:30:46 Step 8/26 : COPY go.mod vendor* ./ 03:30:46 ---> c7e250a83079 03:30:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:30:46 ---> Running in 3073718f4a3d 03:30:49 Removing intermediate container 3073718f4a3d 03:30:49 ---> 6aa97ff66b93 03:30:49 Step 10/26 : COPY . . 03:30:49 ---> c78c10edc3f5 03:30:49 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:30:49 ---> Running in a372bb0f1b2c 03:30:49 Removing intermediate container a372bb0f1b2c 03:30:49 ---> 2afcf902ab24 03:30:49 Step 12/26 : RUN $MAKE 03:30:49 ---> Running in d14fadb00ad5 03:30:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.7 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 03:32:57 Removing intermediate container d14fadb00ad5 03:32:57 ---> b5e885cdc660 03:32:57 Step 13/26 : FROM alpine:3.17 03:32:57 3.17: Pulling from library/alpine 03:32:57 edb6bdbacee9: Already exists 03:32:57 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 03:32:57 Status: Downloaded newer image for alpine:3.17 03:32:57 ---> 779605e5fbc0 03:32:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:32:57 ---> Running in cccdbbbef448 03:32:57 Removing intermediate container cccdbbbef448 03:32:57 ---> d7de13e30de6 03:32:57 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 03:32:57 ---> Running in c58286aefee8 03:32:57 Removing intermediate container c58286aefee8 03:32:57 ---> 29d5a1afb466 03:32:57 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 03:32:57 ---> Running in a045e0fd2fcb 03:32:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:32:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:32:57 (1/2) Installing ca-certificates (20230506-r0) 03:32:57 (2/2) Installing dumb-init (1.2.5-r2) 03:32:57 Executing busybox-1.35.0-r29.trigger 03:32:57 Executing ca-certificates-20230506-r0.trigger 03:32:57 OK: 8 MiB in 17 packages 03:32:58 Removing intermediate container a045e0fd2fcb 03:32:58 ---> 8b193c043e5d 03:32:58 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 03:32:58 ---> 0db4aa9780aa 03:32:58 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 03:32:59 ---> a22b225806e8 03:32:59 Step 19/26 : COPY --from=builder /app/res/ /res/ 03:32:59 ---> 01b9df396d0f 03:32:59 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 03:33:00 ---> ea0d8be9fde3 03:33:00 Step 21/26 : EXPOSE 59712 03:33:00 ---> Running in 6f9a4b4854e2 03:33:01 Removing intermediate container 6f9a4b4854e2 03:33:01 ---> 6df9d1fb66ec 03:33:01 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 03:33:01 ---> Running in a8f41d111ad1 03:33:01 Removing intermediate container a8f41d111ad1 03:33:01 ---> 3ec7d09440bc 03:33:01 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:33:01 ---> Running in e8c927761f0e 03:33:01 Removing intermediate container e8c927761f0e 03:33:01 ---> 7de8709a8227 03:33:01 Step 24/26 : LABEL arch=arm64 03:33:01 ---> Running in c5eaa6b182c1 03:33:01 Removing intermediate container c5eaa6b182c1 03:33:01 ---> 525c7d506268 03:33:01 Step 25/26 : LABEL git_sha=af78ecbe9d4c61d660ae496ed508f7de77df5497 03:33:02 ---> Running in 38dbbb7523cf 03:33:02 Removing intermediate container 38dbbb7523cf 03:33:02 ---> 8f02ae2f03b4 03:33:02 Step 26/26 : LABEL version=0.0.0 03:33:02 ---> Running in 370f67e2defd 03:33:02 Removing intermediate container 370f67e2defd 03:33:02 ---> 958badae62fc 03:33:02 [Warning] One or more build-args [ARCH] were not consumed 03:33:02 Successfully built 958badae62fc 03:33:02 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:33:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:03 03:33:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:03 arm64: Pulling from edgex-lftools-log-publisher 03:33:03 8998bd30e6a1: Pulling fs layer 03:33:03 04944245beec: Pulling fs layer 03:33:03 699f458cf7ca: Pulling fs layer 03:33:03 765212b225bb: Pulling fs layer 03:33:03 f23df028b6ca: Pulling fs layer 03:33:03 d65c8cfc05b1: Pulling fs layer 03:33:03 2437ff75d9bd: Pulling fs layer 03:33:03 765212b225bb: Waiting 03:33:03 f23df028b6ca: Waiting 03:33:03 d65c8cfc05b1: Waiting 03:33:03 2437ff75d9bd: Waiting 03:33:04 04944245beec: Verifying Checksum 03:33:04 04944245beec: Download complete 03:33:04 765212b225bb: Verifying Checksum 03:33:04 765212b225bb: Download complete 03:33:04 f23df028b6ca: Verifying Checksum 03:33:04 f23df028b6ca: Download complete 03:33:04 d65c8cfc05b1: Verifying Checksum 03:33:04 d65c8cfc05b1: Download complete 03:33:04 699f458cf7ca: Verifying Checksum 03:33:04 699f458cf7ca: Download complete 03:33:04 8998bd30e6a1: Download complete 03:33:06 2437ff75d9bd: Verifying Checksum 03:33:06 2437ff75d9bd: Download complete 03:33:08 8998bd30e6a1: Pull complete 03:33:09 04944245beec: Pull complete 03:33:10 699f458cf7ca: Pull complete 03:33:10 765212b225bb: Pull complete 03:33:11 f23df028b6ca: Pull complete 03:33:11 d65c8cfc05b1: Pull complete 03:33:26 2437ff75d9bd: Pull complete 03:33:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:33:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:27 prd-ubuntu20.04-docker-arm64-4c-16g-1297 does not seem to be running inside a container 03:33:27 $ 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:33:29 $ docker top 986b469b46637e50bd3985f4588c41273c02222ff7a528c6ed1448a4f1d30a6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:30 ---> job-cost.sh 03:33:30 lf-activate-venv: SKIPPING 03:33:30 INFO: No Stack... 03:33:31 INFO: Retrieving Pricing Info for: v3-standard-4 03:33:31 INFO: Archiving Costs [Pipeline] sh 03:33:31 + cut -d, -f6 03:33:31 + cat /w/workspace/app-record-replay/1/archives/cost.csv [Pipeline] lock 03:33:32 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-44-1-stack-cost] 03:33:32 Resource [jenkins-edgexfoundry-app-record-replay-PR-44-1-stack-cost] did not exist. Created. 03:33:32 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-44-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:33:32 /w/workspace/app-record-replay/1@tmp/durable-772b5482/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:33:33 + echo total: 0.10999999940395355 [Pipeline] stash 03:33:33 Warning: overwriting stash ‘stack-cost’ 03:33:33 Stashed 1 file(s) [Pipeline] } 03:33:33 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-44-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:33:33 $ docker stop --time=1 986b469b46637e50bd3985f4588c41273c02222ff7a528c6ed1448a4f1d30a6a 03:33:34 $ docker rm -f --volumes 986b469b46637e50bd3985f4588c41273c02222ff7a528c6ed1448a4f1d30a6a [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:33:35 provisioning config files... 03:33:35 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-44 #1 03:33:35 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-44@tmp/config7517462534215879109tmp [Pipeline] { [Pipeline] sh 03:33:36 + set +x 03:33:36 + curl -s https://codecov.io/bash 03:33:36 + bash -s -- 03:33:36 03:33:36 _____ _ 03:33:36 / ____| | | 03:33:36 | | ___ __| | ___ ___ _____ __ 03:33:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:33:36 | |___| (_) | (_| | __/ (_| (_) \ V / 03:33:36 \_____\___/ \__,_|\___|\___\___/ \_/ 03:33:36 Bash-1.0.6 03:33:36 03:33:36 03:33:36 ==> git version 2.25.1 found 03:33:36 ==> 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:33:36 Release-Date: 2020-01-08 03:33:36 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:33:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:33:36 ==> Jenkins CI detected. 03:33:36 current dir:  /w/workspace/xfoundry_app-record-replay_PR-44 03:33:36 project root: . 03:33:36 --> token set from env 03:33:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:33:36 ==> Running gcov in . (disable via -X gcov) 03:33:36 ==> Python coveragepy not found 03:33:36 ==> Searching for coverage reports in: 03:33:36 + . 03:33:36 -> Found 1 reports 03:33:36 ==> Detecting git/mercurial file structure 03:33:36 ==> Reading reports 03:33:36 + ./coverage.out bytes=7545 03:33:36 ==> Appending adjustments 03:33:36 https://docs.codecov.io/docs/fixing-reports 03:33:36 + Found adjustments 03:33:36 ==> Gzipping contents 03:33:36 4.0K /tmp/codecov.1Lvd8W.gz 03:33:36 ==> Uploading reports 03:33:36 url: https://codecov.io 03:33:36 query: branch=PR-44&commit=af78ecbe9d4c61d660ae496ed508f7de77df5497&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-44%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=44&job=&cmd_args= 03:33:36 -> Pinging Codecov 03:33:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-44&commit=af78ecbe9d4c61d660ae496ed508f7de77df5497&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-44%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=44&job=&cmd_args= 03:33:36 Invalid request parameters 03:33:36 400 [Pipeline] } 03:33:36 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:33:38 + [ -d /w/workspace/xfoundry_app-record-replay_PR-44/archives ] 03:33:38 + ls -al /w/workspace/xfoundry_app-record-replay_PR-44/archives 03:33:38 total 16 03:33:38 drwxr-xr-x 3 root root 4096 Jul 17 03:24 . 03:33:38 drwxrwxr-x 10 jenkins jenkins 4096 Jul 17 03:24 .. 03:33:38 drwxr-xr-x 2 root root 4096 Jul 17 03:24 cost 03:33:38 -rw-r--r-- 1 root root 88 Jul 17 03:24 cost.csv 03:33:38 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-44/archives 03:33:38 + ls -al /w/workspace/xfoundry_app-record-replay_PR-44/archives 03:33:38 total 16 03:33:38 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 03:24 . 03:33:38 drwxrwxr-x 10 jenkins jenkins 4096 Jul 17 03:24 .. 03:33:38 drwxr-xr-x 2 jenkins jenkins 4096 Jul 17 03:24 cost 03:33:38 -rw-r--r-- 1 jenkins jenkins 88 Jul 17 03:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:33:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:33:39 ---> package-listing.sh 03:33:39 ++ facter osfamily 03:33:39 ++ tr '[:upper:]' '[:lower:]' 03:33:39 + OS_FAMILY=debian 03:33:39 + workspace=/w/workspace/xfoundry_app-record-replay_PR-44 03:33:39 + START_PACKAGES=/tmp/packages_start.txt 03:33:39 + END_PACKAGES=/tmp/packages_end.txt 03:33:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:33:39 + PACKAGES=/tmp/packages_start.txt 03:33:39 + '[' /w/workspace/xfoundry_app-record-replay_PR-44 ']' 03:33:39 + PACKAGES=/tmp/packages_end.txt 03:33:39 + case "${OS_FAMILY}" in 03:33:39 + dpkg -l 03:33:39 + grep '^ii' 03:33:39 + '[' -f /tmp/packages_start.txt ']' 03:33:39 + '[' -f /tmp/packages_end.txt ']' 03:33:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:33:39 + '[' /w/workspace/xfoundry_app-record-replay_PR-44 ']' 03:33:39 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-44/archives/ 03:33:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-44/archives/ [Pipeline] echo 03:33:39 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-44/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:33:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:33:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:33:40 prd-ubuntu20.04-docker-8c-8g-1296 does not seem to be running inside a container 03:33:40 $ 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-44/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-44 -v /w/workspace/xfoundry_app-record-replay_PR-44:/w/workspace/xfoundry_app-record-replay_PR-44:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-44@tmp:/w/workspace/xfoundry_app-record-replay_PR-44@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:33:41 $ docker top baa36fe265bfcf7eae3648ddf641ecccc66f68f64d7df7e0d6b32d405553d86e -eo pid,comm [Pipeline] { [Pipeline] sh 03:33:41 + touch /tmp/pre-build-complete [Pipeline] sh 03:33:41 + mkdir -p /var/log/sysstat [Pipeline] sh 03:33:42 + ls /var/log/sa-host 03:33:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:42 provisioning config files... 03:33:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-44@tmp/config954238952398300143tmp [Pipeline] { [Pipeline] echo 03:33:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:33:42 ---> create-netrc.sh [Pipeline] } 03:33:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:33:43 ---> python-tools-install.sh [Pipeline] echo 03:33:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:33:43 ---> sudo-logs.sh 03:33:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:33:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:33:44 ---> job-cost.sh 03:33:44 lf-activate-venv: SKIPPING 03:33:44 DEBUG: total: 0.2199999988079071 03:33:44 INFO: Retrieving Stack Cost... 03:33:44 INFO: Retrieving Pricing Info for: v3-standard-8 03:33:44 INFO: Archiving Costs [Pipeline] echo 03:33:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:33:45 ---> logs-deploy.sh 03:33:45 lf-activate-venv: SKIPPING 03:33:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-44/1 03:33:45 INFO: archiving workspace using pattern(s): 03:33:46 Archives upload complete. 03:33:46 INFO: archiving logs to Nexus