Pull request #32 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from add8d43339873e998bd45a94f9020545bee4b020+5c5c0fa1b183acca9b573439bae46aaad6e22dbc (7aa1124d995911fa4e99979795e1a1c9db2ffba0) 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-ssh10682108128428157959.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-ssh8625087637543836334.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-32/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-32/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2618954642029780288.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 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-ssh8156539864814343511.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-32/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-32/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4336373787944009847.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-ubuntu20.04-docker-8c-8g-19274’ is offline Running on prd-ubuntu20.04-docker-8c-8g-19280 in /w/workspace/xfoundry_app-record-replay_PR-32 [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-32 # 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 5c5c0fa1b183acca9b573439bae46aaad6e22dbc into PR head commit add8d43339873e998bd45a94f9020545bee4b020 Merge succeeded, producing add8d43339873e998bd45a94f9020545bee4b020 Checking out Revision add8d43339873e998bd45a94f9020545bee4b020 (PR-32) > 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/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f add8d43339873e998bd45a94f9020545bee4b020 # 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 5c5c0fa1b183acca9b573439bae46aaad6e22dbc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f add8d43339873e998bd45a94f9020545bee4b020 # timeout=10 Commit message: "feat: Add validations for negative duration and event count" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:13:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:13:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:13:05 ========================================================= 21:13:05 EdgeX Global Pipelines Version Info 21:13:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk bb796cdde101ffaab04176c5aa20f380fe461fec # timeout=10 21:13:06 ------------------- 21:13:06 stable info: 21:13:06 ------------------- 21:13:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:13:06 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:13:06 Message: update stable to v1.0.250 21:13:06 ------------------- 21:13:06 experimental info: 21:13:06 ------------------- 21:13:06 Commited By: **** collab-it+edgex@linuxfoundation.org 21:13:06 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:13:06 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-32 [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-32 [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-32 [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = add8d43339873e998bd45a94f9020545bee4b020 [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = add8d43 [Pipeline] echo 21:13:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:13:07 provisioning config files... 21:13:07 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-32@tmp/config12858370324079431866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:08 ---> docker-login.sh 21:13:08 nexus3.edgexfoundry.org:10001 21:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:08 Configure a credential helper to remove this warning. See 21:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:08 21:13:08 Login Succeeded 21:13:08 nexus3.edgexfoundry.org:10002 21:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:08 Configure a credential helper to remove this warning. See 21:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:08 21:13:08 Login Succeeded 21:13:08 nexus3.edgexfoundry.org:10003 21:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:08 Configure a credential helper to remove this warning. See 21:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:08 21:13:08 Login Succeeded 21:13:08 nexus3.edgexfoundry.org:10004 21:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:08 Configure a credential helper to remove this warning. See 21:13:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:08 21:13:08 Login Succeeded 21:13:08 docker.io 21:13:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:09 Configure a credential helper to remove this warning. See 21:13:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:09 21:13:09 Login Succeeded 21:13:09 ---> docker-login.sh ends [Pipeline] } 21:13:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:13:09 + git rev-list -1 --merges add8d43339873e998bd45a94f9020545bee4b020~1..add8d43339873e998bd45a94f9020545bee4b020 [Pipeline] echo 21:13:09 -----------> git rev-list -1 --merges add8d43339873e998bd45a94f9020545bee4b020~1..add8d43339873e998bd45a94f9020545bee4b020 add8d43339873e998bd45a94f9020545bee4b020 [false] [Pipeline] sh 21:13:09 + git log --format=format:%s -1 add8d43339873e998bd45a94f9020545bee4b020 [Pipeline] echo 21:13:09 ========================================================= 21:13:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:13:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:10 + git log --format=format:%s -1 add8d43339873e998bd45a94f9020545bee4b020 [Pipeline] echo 21:13:10 [semverPrep] GIT_COMMIT: add8d43339873e998bd45a94f9020545bee4b020, Commit Message: feat: Add validations for negative duration and event count [Pipeline] echo 21:13:10 [semverPrep] This is not a build commit. [Pipeline] sh 21:13:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:13:10 + grep -v github /etc/ssh/ssh_known_hosts 21:13:10 + [ -e /tmp/ssh_known_hosts ] 21:13:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:13:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:13:10 + sudo tee -a /etc/ssh/ssh_known_hosts 21:13:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:10 21:13:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:11 0.1.4: Pulling from edgex-devops/py-git-semver 21:13:11 b85a868b505f: Pulling fs layer 21:13:11 e2be974225ed: Pulling fs layer 21:13:11 339a4e72a1f5: Pulling fs layer 21:13:11 988bab9f4d93: Pulling fs layer 21:13:11 1469e6f7b9e6: Pulling fs layer 21:13:11 eaf3925da568: Pulling fs layer 21:13:11 bab4dde63d76: Pulling fs layer 21:13:11 bde34c3a00c8: Pulling fs layer 21:13:11 b352a97aabf1: Pulling fs layer 21:13:11 4872d77fe225: Pulling fs layer 21:13:11 5851b861e8e6: Pulling fs layer 21:13:11 bde34c3a00c8: Waiting 21:13:11 988bab9f4d93: Waiting 21:13:11 b352a97aabf1: Waiting 21:13:11 1469e6f7b9e6: Waiting 21:13:11 4872d77fe225: Waiting 21:13:11 5851b861e8e6: Waiting 21:13:11 eaf3925da568: Waiting 21:13:11 bab4dde63d76: Waiting 21:13:11 e2be974225ed: Download complete 21:13:11 988bab9f4d93: Verifying Checksum 21:13:11 988bab9f4d93: Download complete 21:13:11 1469e6f7b9e6: Verifying Checksum 21:13:11 1469e6f7b9e6: Download complete 21:13:11 eaf3925da568: Verifying Checksum 21:13:11 eaf3925da568: Download complete 21:13:11 339a4e72a1f5: Verifying Checksum 21:13:11 339a4e72a1f5: Download complete 21:13:11 bde34c3a00c8: Download complete 21:13:11 b352a97aabf1: Download complete 21:13:11 4872d77fe225: Verifying Checksum 21:13:11 4872d77fe225: Download complete 21:13:11 5851b861e8e6: Verifying Checksum 21:13:11 5851b861e8e6: Download complete 21:13:11 b85a868b505f: Verifying Checksum 21:13:11 b85a868b505f: Download complete 21:13:11 bab4dde63d76: Verifying Checksum 21:13:11 bab4dde63d76: Download complete 21:13:12 b85a868b505f: Pull complete 21:13:12 e2be974225ed: Pull complete 21:13:13 339a4e72a1f5: Pull complete 21:13:13 988bab9f4d93: Pull complete 21:13:13 1469e6f7b9e6: Pull complete 21:13:13 eaf3925da568: Pull complete 21:13:15 bab4dde63d76: Pull complete 21:13:15 bde34c3a00c8: Pull complete 21:13:15 b352a97aabf1: Pull complete 21:13:15 4872d77fe225: Pull complete 21:13:15 5851b861e8e6: Pull complete 21:13:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:13:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:13:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:16 prd-ubuntu20.04-docker-8c-8g-19280 does not seem to be running inside a container 21:13:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-32 -v /w/workspace/xfoundry_app-record-replay_PR-32:/w/workspace/xfoundry_app-record-replay_PR-32:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-32@tmp:/w/workspace/xfoundry_app-record-replay_PR-32@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:13:18 $ docker top a2e90e0b2d98b36362f3d3333d26c7fc66640ecb8b4263c2b3cd6fd366a67030 -eo pid,comm 21:13:18 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). 21:13:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:13:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:13:18 [ssh-agent] Looking for ssh-agent implementation... 21:13:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:13:18 $ docker exec a2e90e0b2d98b36362f3d3333d26c7fc66640ecb8b4263c2b3cd6fd366a67030 ssh-agent 21:13:19 SSH_AUTH_SOCK=/tmp/ssh-tTPl9huchkal/agent.33 21:13:19 SSH_AGENT_PID=39 21:13:19 Running ssh-add (command line suppressed) 21:13:19 Identity added: /w/workspace/xfoundry_app-record-replay_PR-32@tmp/private_key_12474171665292767532.key (/w/workspace/xfoundry_app-record-replay_PR-32@tmp/private_key_12474171665292767532.key) 21:13:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:13:19 + git tag --points-at HEAD [Pipeline] } 21:13:19 $ docker exec --env ******** --env ******** a2e90e0b2d98b36362f3d3333d26c7fc66640ecb8b4263c2b3cd6fd366a67030 ssh-agent -k 21:13:19 unset SSH_AUTH_SOCK; 21:13:19 unset SSH_AGENT_PID; 21:13:19 echo Agent pid 39 killed; 21:13:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:13:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:13:19 [ssh-agent] Looking for ssh-agent implementation... 21:13:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:13:19 $ docker exec a2e90e0b2d98b36362f3d3333d26c7fc66640ecb8b4263c2b3cd6fd366a67030 ssh-agent 21:13:19 SSH_AUTH_SOCK=/tmp/ssh-BvgZzDCrhl3d/agent.71 21:13:19 SSH_AGENT_PID=77 21:13:19 Running ssh-add (command line suppressed) 21:13:19 Identity added: /w/workspace/xfoundry_app-record-replay_PR-32@tmp/private_key_1903037765888042808.key (/w/workspace/xfoundry_app-record-replay_PR-32@tmp/private_key_1903037765888042808.key) 21:13:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:13:20 + git semver init 21:13:20 2023-06-26 21:13:20,416 [run_init] DEBUG init version:0.0.0 force:False 21:13:20 2023-06-26 21:13:20,417 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-32/.semver 21:13:20 2023-06-26 21:13:20,417 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-32/.semver 21:13:20 2023-06-26 21:13:20,418 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-32/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-32, universal_newlines=False, shell=None, istream=None) 21:13:21 2023-06-26 21:13:20,980 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-32/.git/info/exclude 21:13:21 2023-06-26 21:13:20,980 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-32/.semver/PR-32 with force:False 21:13:21 2023-06-26 21:13:20,980 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-32/.semver/PR-32 21:13:21 2023-06-26 21:13:20,984 [execute] INFO git cat-file --batch-check 21:13:21 2023-06-26 21:13:20,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-32/.semver, universal_newlines=False, shell=None, istream=) 21:13:21 2023-06-26 21:13:20,991 [execute] INFO git cat-file --batch 21:13:21 2023-06-26 21:13:20,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-32/.semver, universal_newlines=False, shell=None, istream=) 21:13:21 2023-06-26 21:13:20,996 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-32/.semver/PR-32 21:13:21 0.0.0 [Pipeline] } 21:13:21 $ docker exec --env ******** --env ******** a2e90e0b2d98b36362f3d3333d26c7fc66640ecb8b4263c2b3cd6fd366a67030 ssh-agent -k 21:13:21 unset SSH_AUTH_SOCK; 21:13:21 unset SSH_AGENT_PID; 21:13:21 echo Agent pid 77 killed; 21:13:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:13:21 + git semver [Pipeline] } 21:13:21 $ docker stop --time=1 a2e90e0b2d98b36362f3d3333d26c7fc66640ecb8b4263c2b3cd6fd366a67030 21:13:23 $ docker rm -f --volumes a2e90e0b2d98b36362f3d3333d26c7fc66640ecb8b4263c2b3cd6fd366a67030 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:13:23 Stashed 1 file(s) [Pipeline] echo 21:13:23 [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 21:13:23 provisioning config files... 21:13:23 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-32@tmp/config13935764389279783575tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:24 ---> docker-login.sh 21:13:24 nexus3.edgexfoundry.org:10001 21:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:24 Configure a credential helper to remove this warning. See 21:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:24 21:13:24 Login Succeeded 21:13:24 nexus3.edgexfoundry.org:10002 21:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:24 Configure a credential helper to remove this warning. See 21:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:24 21:13:24 Login Succeeded 21:13:24 nexus3.edgexfoundry.org:10003 21:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:24 Configure a credential helper to remove this warning. See 21:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:24 21:13:24 Login Succeeded 21:13:24 nexus3.edgexfoundry.org:10004 21:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:24 Configure a credential helper to remove this warning. See 21:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:24 21:13:24 Login Succeeded 21:13:24 docker.io 21:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:24 Configure a credential helper to remove this warning. See 21:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:24 21:13:24 Login Succeeded 21:13:24 ---> docker-login.sh ends [Pipeline] } 21:13:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:13:24 ========================================================= 21:13:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:13:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:25 + 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 . 21:13:25 Sending build context to Docker daemon 248.8kB 21:13:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:13:25 Step 2/12 : FROM ${BASE} AS builder 21:13:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:13:25 f56be85fc22e: Pulling fs layer 21:13:25 85791d961cd3: Pulling fs layer 21:13:25 d694b5ae8c79: Pulling fs layer 21:13:25 9f32a84ed3da: Pulling fs layer 21:13:25 4d19c01a9841: Pulling fs layer 21:13:25 9f32a84ed3da: Waiting 21:13:25 9325e15d5711: Pulling fs layer 21:13:25 4d19c01a9841: Waiting 21:13:25 556b6ee489ea: Pulling fs layer 21:13:25 9325e15d5711: Waiting 21:13:25 c5a4b2cf53e6: Pulling fs layer 21:13:25 85791d961cd3: Download complete 21:13:25 9f32a84ed3da: Verifying Checksum 21:13:25 9f32a84ed3da: Download complete 21:13:25 4d19c01a9841: Verifying Checksum 21:13:25 4d19c01a9841: Download complete 21:13:25 f56be85fc22e: Verifying Checksum 21:13:25 f56be85fc22e: Download complete 21:13:25 9325e15d5711: Verifying Checksum 21:13:25 9325e15d5711: Download complete 21:13:25 f56be85fc22e: Pull complete 21:13:25 85791d961cd3: Pull complete 21:13:25 c5a4b2cf53e6: Verifying Checksum 21:13:25 c5a4b2cf53e6: Download complete 21:13:25 d694b5ae8c79: Verifying Checksum 21:13:25 d694b5ae8c79: Download complete 21:13:26 556b6ee489ea: Verifying Checksum 21:13:26 556b6ee489ea: Download complete 21:13:29 d694b5ae8c79: Pull complete 21:13:29 9f32a84ed3da: Pull complete 21:13:29 4d19c01a9841: Pull complete 21:13:29 9325e15d5711: Pull complete 21:13:32 556b6ee489ea: Pull complete 21:13:32 c5a4b2cf53e6: Pull complete 21:13:32 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:13:32 ---> c4be618373d6 21:13:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:13:38 ---> Running in c6d47748578b 21:13:38 Removing intermediate container c6d47748578b 21:13:38 ---> d45ffa559638 21:13:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:13:38 ---> Running in 52ccc98b7fe1 21:13:38 Removing intermediate container 52ccc98b7fe1 21:13:38 ---> f8639f2d3c37 21:13:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:13:38 ---> Running in 68006c99de91 21:13:38 Removing intermediate container 68006c99de91 21:13:38 ---> 852600f5fad0 21:13:38 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:38 ---> Running in 8404fcb0d07f 21:13:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:13:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:13:38 OK: 265 MiB in 53 packages 21:13:38 Still waiting to schedule task 21:13:38 ‘prd-ubuntu20.04-docker-arm64-4c-16g-19275’ is offline 21:13:39 Removing intermediate container 8404fcb0d07f 21:13:39 ---> dec2c408639b 21:13:39 Step 7/12 : WORKDIR /app 21:13:39 ---> Running in 9b2c77ac5f39 21:13:39 Removing intermediate container 9b2c77ac5f39 21:13:39 ---> 644fa5ca5d69 21:13:39 Step 8/12 : COPY go.mod vendor* ./ 21:13:39 ---> 6bf0ddb44ace 21:13:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:39 ---> Running in f026829998de 21:14:05 Removing intermediate container f026829998de 21:14:05 ---> 88a9df856f9d 21:14:05 Step 10/12 : COPY . . 21:14:05 ---> 005da5c506f8 21:14:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:14:05 ---> Running in 830d62a8387d 21:14:05 Removing intermediate container 830d62a8387d 21:14:05 ---> ddfc5f593670 21:14:05 Step 12/12 : RUN $MAKE 21:14:05 ---> Running in 48e6c569e5a3 21:14:05 noop 21:14:05 Removing intermediate container 48e6c569e5a3 21:14:05 ---> 32b7e4a8fa8a 21:14:05 Successfully built 32b7e4a8fa8a 21:14:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:05 + docker inspect -f . ci-base-image-x86_64 21:14:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:06 prd-ubuntu20.04-docker-8c-8g-19280 does not seem to be running inside a container 21:14:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-32 -v /w/workspace/xfoundry_app-record-replay_PR-32:/w/workspace/xfoundry_app-record-replay_PR-32:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-32@tmp:/w/workspace/xfoundry_app-record-replay_PR-32@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:14:06 $ docker top cbbf55d4670630eb5bbd988730ea6da495e78cf2da1454076925be3e103bfda6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:06 + go version 21:14:06 go version go1.20.2 linux/amd64 [Pipeline] } 21:14:06 $ docker stop --time=1 cbbf55d4670630eb5bbd988730ea6da495e78cf2da1454076925be3e103bfda6 21:14:08 $ docker rm -f --volumes cbbf55d4670630eb5bbd988730ea6da495e78cf2da1454076925be3e103bfda6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:08 + docker inspect -f . ci-base-image-x86_64 21:14:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:08 prd-ubuntu20.04-docker-8c-8g-19280 does not seem to be running inside a container 21:14:08 $ 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-32 -v /w/workspace/xfoundry_app-record-replay_PR-32:/w/workspace/xfoundry_app-record-replay_PR-32:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-32@tmp:/w/workspace/xfoundry_app-record-replay_PR-32@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:14:08 $ docker top 3be8d8630f0f2fa183d8ff4b81deb0c617a0e93d9c42a8ed9fabe1c443f1a30b -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:09 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-32 [Pipeline] fileExists [Pipeline] sh 21:14:09 + make test 21:14:09 go test -race -coverprofile=coverage.out ./... 21:14:17 ? github.com/edgexfoundry/app-record-replay [no test files] 21:14:27 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:14:27 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:14:27 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:14:27 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.070s coverage: 85.1% of statements 21:14:27 ok github.com/edgexfoundry/app-record-replay/internal/data 0.060s coverage: 27.3% of statements 21:14:45 go vet ./... 21:14:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:14:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:14:48 ./bin/test-attribution-txt.sh [Pipeline] echo 21:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:14:48 $ docker stop --time=1 3be8d8630f0f2fa183d8ff4b81deb0c617a0e93d9c42a8ed9fabe1c443f1a30b 21:14:52 $ docker rm -f --volumes 3be8d8630f0f2fa183d8ff4b81deb0c617a0e93d9c42a8ed9fabe1c443f1a30b [Pipeline] // withDockerContainer [Pipeline] sh 21:14:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:14:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:14:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:14:54 + ls -al . 21:14:54 total 152 21:14:54 drwxrwxr-x 9 jenkins jenkins 4096 Jun 26 21:14 . 21:14:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 21:13 .. 21:14:54 -rw-rw-r-- 1 jenkins jenkins 119 Jun 26 21:13 .dockerignore 21:14:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 21:13 .git 21:14:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 21:13 .github 21:14:54 -rw-rw-r-- 1 jenkins jenkins 164 Jun 26 21:13 .gitignore 21:14:54 -rw-rw-r-- 1 jenkins jenkins 41 Jun 26 21:13 .golangci.yml 21:14:54 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 21:13 .semver 21:14:54 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 26 21:13 Attribution.txt 21:14:54 -rw-rw-r-- 1 jenkins jenkins 258 Jun 26 21:13 CHANGELOG.md 21:14:54 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 26 21:13 Dockerfile 21:14:54 -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 21:13 GOVERNANCE.md 21:14:54 -rw-rw-r-- 1 jenkins jenkins 681 Jun 26 21:13 Jenkinsfile 21:14:54 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 26 21:13 LICENSE 21:14:54 -rw-rw-r-- 1 jenkins jenkins 611 Jun 26 21:13 OWNERS.md 21:14:54 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 26 21:13 README.md 21:14:54 -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 21:13 VERSION 21:14:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 21:13 bin 21:14:54 -rw-r--r-- 1 jenkins jenkins 4241 Jun 26 21:14 coverage.out 21:14:54 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 26 21:13 go.mod 21:14:54 -rw-rw-r-- 1 jenkins jenkins 30668 Jun 26 21:13 go.sum 21:14:54 drwxrwxr-x 5 jenkins jenkins 4096 Jun 26 21:13 internal 21:14:54 -rw-rw-r-- 1 jenkins jenkins 693 Jun 26 21:13 main.go 21:14:54 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 26 21:13 makefile 21:14:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 21:13 pkg 21:14:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 21:13 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:54 + 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=add8d43339873e998bd45a94f9020545bee4b020 --label arch=amd64 --label version=0.0.0 . 21:14:54 Sending build context to Docker daemon 254kB 21:14:54 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:14:54 Step 2/26 : FROM ${BASE} AS builder 21:14:54 ---> 32b7e4a8fa8a 21:14:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:14:54 ---> Running in 8ae818cf8537 21:14:54 Removing intermediate container 8ae818cf8537 21:14:54 ---> a471ce17e43a 21:14:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:14:54 ---> Running in 42380681a229 21:14:54 Removing intermediate container 42380681a229 21:14:54 ---> 31c49835b6a8 21:14:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:14:54 ---> Running in 5602e7a8d2d3 21:14:54 Removing intermediate container 5602e7a8d2d3 21:14:54 ---> 73a1432643ee 21:14:54 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:14:54 ---> Running in 88ca88377aa4 21:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:14:55 OK: 265 MiB in 53 packages 21:14:55 Removing intermediate container 88ca88377aa4 21:14:55 ---> 18915edef4e7 21:14:55 Step 7/26 : WORKDIR /app 21:14:55 ---> Running in be4f35ddd8cb 21:14:56 Removing intermediate container be4f35ddd8cb 21:14:56 ---> 13d62fab902a 21:14:56 Step 8/26 : COPY go.mod vendor* ./ 21:14:56 ---> 0f7d1891b712 21:14:56 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:56 ---> Running in 6a3f57596d30 21:14:57 Removing intermediate container 6a3f57596d30 21:14:57 ---> d7b17ee4c218 21:14:57 Step 10/26 : COPY . . 21:14:57 ---> 4ff5127bfc3d 21:14:57 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:14:57 ---> Running in 02b4729db724 21:14:57 Removing intermediate container 02b4729db724 21:14:57 ---> f2958e69ff9f 21:14:57 Step 12/26 : RUN $MAKE 21:14:57 ---> Running in 010102d7f1f2 21:14:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 21:15:02 Removing intermediate container 010102d7f1f2 21:15:02 ---> 43b7d91a9878 21:15:02 Step 13/26 : FROM alpine:3.17 21:15:03 3.17: Pulling from library/alpine 21:15:03 4db1b89c0bd1: Pulling fs layer 21:15:03 4db1b89c0bd1: Verifying Checksum 21:15:03 4db1b89c0bd1: Download complete 21:15:03 4db1b89c0bd1: Pull complete 21:15:04 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:15:04 Status: Downloaded newer image for alpine:3.17 21:15:04 ---> 1f73a9d63274 21:15:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:15:04 ---> Running in 9a84a0d93aae 21:15:04 Removing intermediate container 9a84a0d93aae 21:15:04 ---> 78f636d3722a 21:15:04 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:15:04 ---> Running in 85d59a7fcd63 21:15:04 Removing intermediate container 85d59a7fcd63 21:15:04 ---> c7e92b34397c 21:15:04 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:15:04 ---> Running in d30088838881 21:15:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:15:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:15:04 (1/2) Installing ca-certificates (20230506-r0) 21:15:04 (2/2) Installing dumb-init (1.2.5-r2) 21:15:04 Executing busybox-1.35.0-r29.trigger 21:15:04 Executing ca-certificates-20230506-r0.trigger 21:15:04 OK: 8 MiB in 17 packages 21:15:05 Removing intermediate container d30088838881 21:15:05 ---> cf454f53e0d8 21:15:05 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:15:05 ---> c4a68b269f2e 21:15:05 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:15:05 ---> 2d2072e5dcbe 21:15:05 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:15:05 ---> b1b87081ae37 21:15:05 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:15:05 ---> 36c9258da226 21:15:05 Step 21/26 : EXPOSE 59712 21:15:05 ---> Running in 4c4e78019d64 21:15:05 Removing intermediate container 4c4e78019d64 21:15:05 ---> 6c89bd7321aa 21:15:05 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:15:05 ---> Running in 0fdb1f02e8f6 21:15:06 Removing intermediate container 0fdb1f02e8f6 21:15:06 ---> 47d6bfc56d17 21:15:06 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:15:06 ---> Running in ba050db5366f 21:15:06 Removing intermediate container ba050db5366f 21:15:06 ---> 8592efc75427 21:15:06 Step 24/26 : LABEL arch=amd64 21:15:06 ---> Running in b0462d07116b 21:15:06 Removing intermediate container b0462d07116b 21:15:06 ---> 23f8824c9170 21:15:06 Step 25/26 : LABEL git_sha=add8d43339873e998bd45a94f9020545bee4b020 21:15:06 ---> Running in 88edef2dc29e 21:15:06 Removing intermediate container 88edef2dc29e 21:15:06 ---> d8f10833adf0 21:15:06 Step 26/26 : LABEL version=0.0.0 21:15:06 ---> Running in 857a247c271a 21:15:06 Removing intermediate container 857a247c271a 21:15:06 ---> c5a25e8d9c19 21:15:06 [Warning] One or more build-args [ARCH] were not consumed 21:15:06 Successfully built c5a25e8d9c19 21:15:06 Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:06 21:15:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:07 latest: Pulling from edgex-lftools-log-publisher 21:15:07 5eb5b503b376: Pulling fs layer 21:15:07 5c69ac0246d0: Pulling fs layer 21:15:07 ec43610c2a17: Pulling fs layer 21:15:07 3a2ae6a8a46f: Pulling fs layer 21:15:07 33b1e0a273af: Pulling fs layer 21:15:07 5d3b04190fa2: Pulling fs layer 21:15:07 2f39f015ded8: Pulling fs layer 21:15:07 5d3b04190fa2: Waiting 21:15:07 33b1e0a273af: Waiting 21:15:07 2f39f015ded8: Waiting 21:15:07 3a2ae6a8a46f: Waiting 21:15:07 5c69ac0246d0: Verifying Checksum 21:15:07 5c69ac0246d0: Download complete 21:15:07 3a2ae6a8a46f: Verifying Checksum 21:15:07 3a2ae6a8a46f: Download complete 21:15:07 33b1e0a273af: Verifying Checksum 21:15:07 33b1e0a273af: Download complete 21:15:07 5d3b04190fa2: Verifying Checksum 21:15:07 5d3b04190fa2: Download complete 21:15:07 ec43610c2a17: Verifying Checksum 21:15:07 ec43610c2a17: Download complete 21:15:07 5eb5b503b376: Verifying Checksum 21:15:07 5eb5b503b376: Download complete 21:15:07 2f39f015ded8: Download complete 21:15:08 5eb5b503b376: Pull complete 21:15:08 5c69ac0246d0: Pull complete 21:15:09 ec43610c2a17: Pull complete 21:15:09 3a2ae6a8a46f: Pull complete 21:15:09 33b1e0a273af: Pull complete 21:15:09 5d3b04190fa2: Pull complete 21:15:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19281 in /w/workspace/xfoundry_app-record-replay_PR-32 [Pipeline] { [Pipeline] ws 21:15:13 Running in /w/workspace/app-record-replay/4 [Pipeline] { [Pipeline] checkout 21:15:13 Selected Git installation does not exist. Using Default 21:15:13 The recommended git tool is: NONE 21:15:13 2f39f015ded8: Pull complete 21:15:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:15:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:13 prd-ubuntu20.04-docker-8c-8g-19280 does not seem to be running inside a container 21:15:13 $ 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-32 -v /w/workspace/xfoundry_app-record-replay_PR-32:/w/workspace/xfoundry_app-record-replay_PR-32:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-32@tmp:/w/workspace/xfoundry_app-record-replay_PR-32@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:15:17 $ docker top 68833d357aa16926c7afc839f472a56ce550b1a3bee44c201ffcdeb37f9826c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:17 ---> job-cost.sh 21:15:17 lf-activate-venv: SKIPPING 21:15:17 INFO: No Stack... 21:15:18 INFO: Retrieving Pricing Info for: v3-standard-8 21:15:18 INFO: Archiving Costs 21:15:18 using credential edgex-jenkins-ssh 21:15:18 Cloning the remote Git repository [Pipeline] sh 21:15:18 + cat /w/workspace/xfoundry_app-record-replay_PR-32/archives/cost.csv 21:15:18 + cut -d, -f6 [Pipeline] lock 21:15:18 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-32-4-stack-cost] 21:15:18 Resource [jenkins-edgexfoundry-app-record-replay-PR-32-4-stack-cost] did not exist. Created. 21:15:18 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-32-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:15:19 + echo total: 0.2199999988079071 [Pipeline] stash 21:15:19 Stashed 1 file(s) [Pipeline] } 21:15:19 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-32-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:15:19 $ docker stop --time=1 68833d357aa16926c7afc839f472a56ce550b1a3bee44c201ffcdeb37f9826c2 21:15:18 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 21:15:18 > git init /w/workspace/app-record-replay/4 # timeout=10 21:15:19 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:15:19 > git --version # timeout=10 21:15:19 > git --version # 'git version 2.25.1' 21:15:19 using GIT_SSH to set credentials SSH Credentials for GitHub 21:15:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:15:20 $ docker rm -f --volumes 68833d357aa16926c7afc839f472a56ce550b1a3bee44c201ffcdeb37f9826c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:15:19 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:15:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:15:20 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 21:15:20 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 21:15:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:15:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/32/head:refs/remotes/origin/PR-32 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:15:21 Merging remotes/origin/main commit 5c5c0fa1b183acca9b573439bae46aaad6e22dbc into PR head commit add8d43339873e998bd45a94f9020545bee4b020 21:15:21 Merge succeeded, producing add8d43339873e998bd45a94f9020545bee4b020 21:15:21 Checking out Revision add8d43339873e998bd45a94f9020545bee4b020 (PR-32) 21:15:21 > git config core.sparsecheckout # timeout=10 21:15:21 > git checkout -f add8d43339873e998bd45a94f9020545bee4b020 # timeout=10 21:15:21 > git remote # timeout=10 21:15:21 > git config --get remote.origin.url # timeout=10 21:15:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:15:21 > git merge 5c5c0fa1b183acca9b573439bae46aaad6e22dbc # timeout=10 21:15:21 > git rev-parse HEAD^{commit} # timeout=10 21:15:21 > git config core.sparsecheckout # timeout=10 21:15:21 > git checkout -f add8d43339873e998bd45a94f9020545bee4b020 # timeout=10 21:15:24 Commit message: "feat: Add validations for negative duration and event count" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:15:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:15:25 % Total % Received % Xferd Average Speed Time Time Time Current 21:15:25 Dload Upload Total Spent Left Speed 21:15:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 21:15:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:15:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:15:26 + sudo tee /etc/docker/daemon.new 21:15:26 { 21:15:26 "registry-mirrors": [ 21:15:26 "https://nexus3.edgexfoundry.org:10001" 21:15:26 ], 21:15:26 "bip": "10.250.0.254/24", 21:15:26 "hosts": [ 21:15:26 "tcp://0.0.0.0:5555", 21:15:26 "unix:///var/run/docker.sock" 21:15:26 ], 21:15:26 "mtu": 1458, 21:15:26 "selinux-enabled": true, 21:15:26 "seccomp-profile": "/etc/docker/seccomp.json" 21:15:26 } [Pipeline] sh 21:15:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:15:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:45 provisioning config files... 21:15:45 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/4@tmp/config16798278198643095029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:46 ---> docker-login.sh 21:15:46 nexus3.edgexfoundry.org:10001 21:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:46 Configure a credential helper to remove this warning. See 21:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:46 21:15:46 Login Succeeded 21:15:46 nexus3.edgexfoundry.org:10002 21:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:46 Configure a credential helper to remove this warning. See 21:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:46 21:15:46 Login Succeeded 21:15:46 nexus3.edgexfoundry.org:10003 21:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:47 Configure a credential helper to remove this warning. See 21:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:47 21:15:47 Login Succeeded 21:15:47 nexus3.edgexfoundry.org:10004 21:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:47 Configure a credential helper to remove this warning. See 21:15:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:47 21:15:47 Login Succeeded 21:15:47 docker.io 21:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:48 Configure a credential helper to remove this warning. See 21:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:48 21:15:48 Login Succeeded 21:15:48 ---> docker-login.sh ends [Pipeline] } 21:15:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:15:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:48 ========================================================= 21:15:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:15:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:48 + 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 . 21:15:48 Sending build context to Docker daemon 127.5kB 21:15:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:15:49 Step 2/12 : FROM ${BASE} AS builder 21:15:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:15:49 c41833b44d91: Pulling fs layer 21:15:49 ed15518f5707: Pulling fs layer 21:15:49 feae8fd75edb: Pulling fs layer 21:15:49 242c74f7c9fa: Pulling fs layer 21:15:49 3cdef696dda3: Pulling fs layer 21:15:49 2ced38df9373: Pulling fs layer 21:15:49 58f1dce35555: Pulling fs layer 21:15:49 242c74f7c9fa: Waiting 21:15:49 3cdef696dda3: Waiting 21:15:49 2ced38df9373: Waiting 21:15:49 58f1dce35555: Waiting 21:15:49 ed15518f5707: Download complete 21:15:49 242c74f7c9fa: Verifying Checksum 21:15:49 242c74f7c9fa: Download complete 21:15:49 3cdef696dda3: Verifying Checksum 21:15:49 3cdef696dda3: Download complete 21:15:49 c41833b44d91: Download complete 21:15:50 c41833b44d91: Pull complete 21:15:51 58f1dce35555: Verifying Checksum 21:15:51 58f1dce35555: Download complete 21:15:51 ed15518f5707: Pull complete 21:15:52 feae8fd75edb: Verifying Checksum 21:15:52 feae8fd75edb: Download complete 21:15:52 2ced38df9373: Verifying Checksum 21:15:52 2ced38df9373: Download complete 21:16:07 feae8fd75edb: Pull complete 21:16:07 242c74f7c9fa: Pull complete 21:16:07 3cdef696dda3: Pull complete 21:16:12 2ced38df9373: Pull complete 21:16:15 58f1dce35555: Pull complete 21:16:15 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:16:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:16:15 ---> fadd8f120f05 21:16:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 21:16:16 ---> Running in c1fa81975dc6 21:16:16 Removing intermediate container c1fa81975dc6 21:16:16 ---> 7879ae11b200 21:16:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:16:17 ---> Running in cc1a9738e7c1 21:16:17 Removing intermediate container cc1a9738e7c1 21:16:17 ---> fbe4725427f5 21:16:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:16:17 ---> Running in 99f6b7e034f8 21:16:17 Removing intermediate container 99f6b7e034f8 21:16:17 ---> fedc0033c396 21:16:17 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:17 ---> Running in c609e393ff39 21:16:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:16:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:16:20 OK: 263 MiB in 53 packages 21:16:21 Removing intermediate container c609e393ff39 21:16:21 ---> 5c3048922117 21:16:21 Step 7/12 : WORKDIR /app 21:16:21 ---> Running in 3c1baec22099 21:16:21 Removing intermediate container 3c1baec22099 21:16:21 ---> 19fa495c2022 21:16:21 Step 8/12 : COPY go.mod vendor* ./ 21:16:21 ---> 91caa7a6c07e 21:16:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:22 ---> Running in eb0c1b5281d4 21:17:30 Removing intermediate container eb0c1b5281d4 21:17:30 ---> 8ca8d0830232 21:17:30 Step 10/12 : COPY . . 21:17:30 ---> 10d49a292338 21:17:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:30 ---> Running in a5d54bbe5bb0 21:17:30 Removing intermediate container a5d54bbe5bb0 21:17:30 ---> c7dd44d6faf9 21:17:30 Step 12/12 : RUN $MAKE 21:17:30 ---> Running in 7331d15278a7 21:17:30 noop 21:17:30 Removing intermediate container 7331d15278a7 21:17:30 ---> af105f7f5568 21:17:30 Successfully built af105f7f5568 21:17:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:30 + docker inspect -f . ci-base-image-arm64 21:17:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:30 prd-ubuntu20.04-docker-arm64-4c-16g-19281 does not seem to be running inside a container 21:17:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:17:31 $ docker top 603ad098a73b79040d5f84d9b56f0ee8c886a432d6d23b5ae204a874bd824adb -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:32 + go version 21:17:32 go version go1.20.2 linux/arm64 [Pipeline] } 21:17:32 $ docker stop --time=1 603ad098a73b79040d5f84d9b56f0ee8c886a432d6d23b5ae204a874bd824adb 21:17:34 $ docker rm -f --volumes 603ad098a73b79040d5f84d9b56f0ee8c886a432d6d23b5ae204a874bd824adb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:34 + docker inspect -f . ci-base-image-arm64 21:17:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:35 prd-ubuntu20.04-docker-arm64-4c-16g-19281 does not seem to be running inside a container 21:17:35 $ 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/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:17:36 $ docker top 2bbd1a3a987c82b1f3db813ef4baae119e4b2560f034b4718df4bff8907f177c -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:36 + git config --global --add safe.directory /w/workspace/app-record-replay/4 [Pipeline] fileExists [Pipeline] sh 21:17:37 + make test 21:17:37 go test -race -coverprofile=coverage.out ./... 21:18:23 ? github.com/edgexfoundry/app-record-replay [no test files] 21:20:04 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.408s coverage: 85.1% of statements 21:20:04 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 21:20:04 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 21:20:04 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 21:20:04 ok github.com/edgexfoundry/app-record-replay/internal/data 0.204s coverage: 27.3% of statements 21:20:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:20:04 go vet ./... 21:22:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:22:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:22:26 ./bin/test-attribution-txt.sh [Pipeline] echo 21:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:22:26 $ docker stop --time=1 2bbd1a3a987c82b1f3db813ef4baae119e4b2560f034b4718df4bff8907f177c 21:22:28 $ docker rm -f --volumes 2bbd1a3a987c82b1f3db813ef4baae119e4b2560f034b4718df4bff8907f177c [Pipeline] // withDockerContainer [Pipeline] sh 21:22:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:22:29 Warning: overwriting stash ‘coverage-report’ 21:22:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:22:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:22:31 + ls -al . 21:22:31 total 148 21:22:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 21:17 . 21:22:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 21:15 .. 21:22:31 -rw-rw-r-- 1 jenkins jenkins 119 Jun 26 21:15 .dockerignore 21:22:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 21:15 .git 21:22:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 21:15 .github 21:22:31 -rw-rw-r-- 1 jenkins jenkins 164 Jun 26 21:15 .gitignore 21:22:31 -rw-rw-r-- 1 jenkins jenkins 41 Jun 26 21:15 .golangci.yml 21:22:31 -rw-rw-r-- 1 jenkins jenkins 9658 Jun 26 21:15 Attribution.txt 21:22:31 -rw-rw-r-- 1 jenkins jenkins 258 Jun 26 21:15 CHANGELOG.md 21:22:31 -rw-rw-r-- 1 jenkins jenkins 1617 Jun 26 21:15 Dockerfile 21:22:31 -rw-rw-r-- 1 jenkins jenkins 677 Jun 26 21:15 GOVERNANCE.md 21:22:31 -rw-rw-r-- 1 jenkins jenkins 681 Jun 26 21:15 Jenkinsfile 21:22:31 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 26 21:15 LICENSE 21:22:31 -rw-rw-r-- 1 jenkins jenkins 611 Jun 26 21:15 OWNERS.md 21:22:31 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 26 21:15 README.md 21:22:31 -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 21:13 VERSION 21:22:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 21:15 bin 21:22:31 -rw-r--r-- 1 jenkins jenkins 4241 Jun 26 21:20 coverage.out 21:22:31 -rw-rw-r-- 1 jenkins jenkins 3256 Jun 26 21:15 go.mod 21:22:31 -rw-rw-r-- 1 jenkins jenkins 30668 Jun 26 21:15 go.sum 21:22:31 drwxrwxr-x 5 jenkins jenkins 4096 Jun 26 21:15 internal 21:22:31 -rw-rw-r-- 1 jenkins jenkins 693 Jun 26 21:15 main.go 21:22:31 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 26 21:15 makefile 21:22:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 26 21:15 pkg 21:22:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 21:15 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:31 + 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=add8d43339873e998bd45a94f9020545bee4b020 --label arch=arm64 --label version=0.0.0 . 21:22:31 Sending build context to Docker daemon 132.6kB 21:22:31 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 21:22:31 Step 2/26 : FROM ${BASE} AS builder 21:22:31 ---> af105f7f5568 21:22:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 21:22:31 ---> Running in c7daac1103fd 21:22:32 Removing intermediate container c7daac1103fd 21:22:32 ---> fff40495f044 21:22:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 21:22:32 ---> Running in 10342414ef25 21:22:32 Removing intermediate container 10342414ef25 21:22:32 ---> 2aa1dfeadd6b 21:22:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 21:22:32 ---> Running in 6ecaea9334f6 21:22:32 Removing intermediate container 6ecaea9334f6 21:22:32 ---> eb528c544b8b 21:22:32 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:22:32 ---> Running in 3469703d60d0 21:22:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:22:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:22:35 OK: 263 MiB in 53 packages 21:22:37 Removing intermediate container 3469703d60d0 21:22:37 ---> 4e2007bac76f 21:22:37 Step 7/26 : WORKDIR /app 21:22:37 ---> Running in 15055f5c8014 21:22:37 Removing intermediate container 15055f5c8014 21:22:37 ---> 01b1bf6cdf69 21:22:37 Step 8/26 : COPY go.mod vendor* ./ 21:22:38 ---> dc06a14cbb59 21:22:38 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:38 ---> Running in 6a427fe2e347 21:22:40 Removing intermediate container 6a427fe2e347 21:22:40 ---> 0cb01ccb77bb 21:22:40 Step 10/26 : COPY . . 21:22:41 ---> f62dfa35f8c7 21:22:41 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:22:41 ---> Running in f4120ef517a0 21:22:41 Removing intermediate container f4120ef517a0 21:22:41 ---> 1e5bee64c4df 21:22:41 Step 12/26 : RUN $MAKE 21:22:41 ---> Running in 197f4e49d7a5 21:22:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 21:23:08 Removing intermediate container 197f4e49d7a5 21:23:08 ---> 0f911f27a639 21:23:08 Step 13/26 : FROM alpine:3.17 21:23:08 3.17: Pulling from library/alpine 21:23:08 edb6bdbacee9: Pulling fs layer 21:23:08 edb6bdbacee9: Verifying Checksum 21:23:08 edb6bdbacee9: Download complete 21:23:08 edb6bdbacee9: Pull complete 21:23:08 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:23:08 Status: Downloaded newer image for alpine:3.17 21:23:08 ---> 779605e5fbc0 21:23:08 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:23:08 ---> Running in e5ff21a935d8 21:23:08 Removing intermediate container e5ff21a935d8 21:23:08 ---> afed64e84f6e 21:23:08 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 21:23:08 ---> Running in 73ab317a85ec 21:23:08 Removing intermediate container 73ab317a85ec 21:23:08 ---> 1e8eb6716bf0 21:23:08 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 21:23:08 ---> Running in 62997dfb1214 21:23:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:23:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:23:10 (1/2) Installing ca-certificates (20230506-r0) 21:23:10 (2/2) Installing dumb-init (1.2.5-r2) 21:23:10 Executing busybox-1.35.0-r29.trigger 21:23:10 Executing ca-certificates-20230506-r0.trigger 21:23:10 OK: 8 MiB in 17 packages 21:23:12 Removing intermediate container 62997dfb1214 21:23:12 ---> f99d44518af1 21:23:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 21:23:12 ---> 82de1d98f348 21:23:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 21:23:13 ---> 55bfb56e1c43 21:23:13 Step 19/26 : COPY --from=builder /app/res/ /res/ 21:23:13 ---> f3fdf9fc771d 21:23:13 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 21:23:14 ---> 1774790db5d4 21:23:14 Step 21/26 : EXPOSE 59712 21:23:14 ---> Running in a08b363dd308 21:23:14 Removing intermediate container a08b363dd308 21:23:14 ---> b2085033c4b9 21:23:14 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 21:23:14 ---> Running in 1ed79eebad52 21:23:14 Removing intermediate container 1ed79eebad52 21:23:14 ---> f464d667ffac 21:23:14 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:23:14 ---> Running in c5d63e23cd6e 21:23:15 Removing intermediate container c5d63e23cd6e 21:23:15 ---> 0f27e1ab1f77 21:23:15 Step 24/26 : LABEL arch=arm64 21:23:15 ---> Running in afba28e8f76c 21:23:15 Removing intermediate container afba28e8f76c 21:23:15 ---> 3e04a4741029 21:23:15 Step 25/26 : LABEL git_sha=add8d43339873e998bd45a94f9020545bee4b020 21:23:15 ---> Running in 5ecc16695661 21:23:15 Removing intermediate container 5ecc16695661 21:23:15 ---> 9e6f439a5627 21:23:15 Step 26/26 : LABEL version=0.0.0 21:23:15 ---> Running in 7811006258eb 21:23:16 Removing intermediate container 7811006258eb 21:23:16 ---> 2e08e0757b84 21:23:16 [Warning] One or more build-args [ARCH] were not consumed 21:23:16 Successfully built 2e08e0757b84 21:23:16 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 21:23:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:16 21:23:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:16 arm64: Pulling from edgex-lftools-log-publisher 21:23:16 8998bd30e6a1: Pulling fs layer 21:23:16 04944245beec: Pulling fs layer 21:23:16 699f458cf7ca: Pulling fs layer 21:23:16 765212b225bb: Pulling fs layer 21:23:16 f23df028b6ca: Pulling fs layer 21:23:16 d65c8cfc05b1: Pulling fs layer 21:23:16 2437ff75d9bd: Pulling fs layer 21:23:16 f23df028b6ca: Waiting 21:23:16 d65c8cfc05b1: Waiting 21:23:16 2437ff75d9bd: Waiting 21:23:16 765212b225bb: Waiting 21:23:17 04944245beec: Verifying Checksum 21:23:17 04944245beec: Download complete 21:23:17 765212b225bb: Verifying Checksum 21:23:17 765212b225bb: Download complete 21:23:17 f23df028b6ca: Verifying Checksum 21:23:17 f23df028b6ca: Download complete 21:23:17 d65c8cfc05b1: Verifying Checksum 21:23:17 d65c8cfc05b1: Download complete 21:23:17 699f458cf7ca: Verifying Checksum 21:23:17 699f458cf7ca: Download complete 21:23:17 8998bd30e6a1: Verifying Checksum 21:23:17 8998bd30e6a1: Download complete 21:23:19 2437ff75d9bd: Verifying Checksum 21:23:19 2437ff75d9bd: Download complete 21:23:21 8998bd30e6a1: Pull complete 21:23:22 04944245beec: Pull complete 21:23:23 699f458cf7ca: Pull complete 21:23:23 765212b225bb: Pull complete 21:23:24 f23df028b6ca: Pull complete 21:23:24 d65c8cfc05b1: Pull complete 21:23:39 2437ff75d9bd: Pull complete 21:23:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:23:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:39 prd-ubuntu20.04-docker-arm64-4c-16g-19281 does not seem to be running inside a container 21:23:39 $ 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/4 -v /w/workspace/app-record-replay/4:/w/workspace/app-record-replay/4:rw,z -v /w/workspace/app-record-replay/4@tmp:/w/workspace/app-record-replay/4@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:23:42 $ docker top eb38f1ceea4224d9f6000d8b62d88108337dc0d2440e9bcbfe6ff8786f4abb96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:42 ---> job-cost.sh 21:23:43 lf-activate-venv: SKIPPING 21:23:43 INFO: No Stack... 21:23:43 INFO: Retrieving Pricing Info for: v3-standard-4 21:23:44 INFO: Archiving Costs [Pipeline] sh 21:23:44 + cat /w/workspace/app-record-replay/4/archives/cost.csv 21:23:44 + cut -d, -f6 [Pipeline] lock 21:23:44 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-32-4-stack-cost] 21:23:44 Resource [jenkins-edgexfoundry-app-record-replay-PR-32-4-stack-cost] did not exist. Created. 21:23:44 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-32-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:23:45 /w/workspace/app-record-replay/4@tmp/durable-5983e599/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:23:45 + echo total: 0.10999999940395355 [Pipeline] stash 21:23:45 Warning: overwriting stash ‘stack-cost’ 21:23:45 Stashed 1 file(s) [Pipeline] } 21:23:45 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-32-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:23:45 $ docker stop --time=1 eb38f1ceea4224d9f6000d8b62d88108337dc0d2440e9bcbfe6ff8786f4abb96 21:23:47 $ docker rm -f --volumes eb38f1ceea4224d9f6000d8b62d88108337dc0d2440e9bcbfe6ff8786f4abb96 [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 21:23:47 provisioning config files... 21:23:47 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-32 #4 21:23:47 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-32@tmp/config12840170882037747041tmp [Pipeline] { [Pipeline] sh 21:23:47 + set +x 21:23:47 + curl -s https://codecov.io/bash 21:23:47 + bash -s -- 21:23:47 21:23:47 _____ _ 21:23:47 / ____| | | 21:23:47 | | ___ __| | ___ ___ _____ __ 21:23:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:23:47 | |___| (_) | (_| | __/ (_| (_) \ V / 21:23:47 \_____\___/ \__,_|\___|\___\___/ \_/ 21:23:47 Bash-1.0.6 21:23:47 21:23:47 21:23:47 ==> git version 2.25.1 found 21:23:47 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:23:47 Release-Date: 2020-01-08 21:23:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:23:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:23:47 ==> Jenkins CI detected. 21:23:48 current dir:  /w/workspace/xfoundry_app-record-replay_PR-32 21:23:48 project root: . 21:23:48 --> token set from env 21:23:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:23:48 ==> Running gcov in . (disable via -X gcov) 21:23:48 ==> Python coveragepy not found 21:23:48 ==> Searching for coverage reports in: 21:23:48 + . 21:23:48 -> Found 1 reports 21:23:48 ==> Detecting git/mercurial file structure 21:23:48 ==> Reading reports 21:23:48 + ./coverage.out bytes=4241 21:23:48 ==> Appending adjustments 21:23:48 https://docs.codecov.io/docs/fixing-reports 21:23:48 + Found adjustments 21:23:48 ==> Gzipping contents 21:23:48 4.0K /tmp/codecov.hIwfqa.gz 21:23:48 ==> Uploading reports 21:23:48 url: https://codecov.io 21:23:48 query: branch=PR-32&commit=add8d43339873e998bd45a94f9020545bee4b020&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-32%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=32&job=&cmd_args= 21:23:48 -> Pinging Codecov 21:23:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-32&commit=add8d43339873e998bd45a94f9020545bee4b020&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-32%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=32&job=&cmd_args= 21:23:48 Invalid request parameters 21:23:48 400 [Pipeline] } 21:23:48 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 21:23:49 + [ -d /w/workspace/xfoundry_app-record-replay_PR-32/archives ] 21:23:49 + ls -al /w/workspace/xfoundry_app-record-replay_PR-32/archives 21:23:49 total 16 21:23:49 drwxr-xr-x 3 root root 4096 Jun 26 21:15 . 21:23:49 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 21:15 .. 21:23:49 drwxr-xr-x 2 root root 4096 Jun 26 21:15 cost 21:23:49 -rw-r--r-- 1 root root 88 Jun 26 21:15 cost.csv 21:23:49 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-32/archives 21:23:49 + ls -al /w/workspace/xfoundry_app-record-replay_PR-32/archives 21:23:49 total 16 21:23:49 drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 21:15 . 21:23:49 drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 21:15 .. 21:23:49 drwxr-xr-x 2 jenkins jenkins 4096 Jun 26 21:15 cost 21:23:49 -rw-r--r-- 1 jenkins jenkins 88 Jun 26 21:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:23:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:23:50 ---> package-listing.sh 21:23:50 ++ tr '[:upper:]' '[:lower:]' 21:23:50 ++ facter osfamily 21:23:50 + OS_FAMILY=debian 21:23:50 + workspace=/w/workspace/xfoundry_app-record-replay_PR-32 21:23:50 + START_PACKAGES=/tmp/packages_start.txt 21:23:50 + END_PACKAGES=/tmp/packages_end.txt 21:23:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:23:50 + PACKAGES=/tmp/packages_start.txt 21:23:50 + '[' /w/workspace/xfoundry_app-record-replay_PR-32 ']' 21:23:50 + PACKAGES=/tmp/packages_end.txt 21:23:50 + case "${OS_FAMILY}" in 21:23:50 + dpkg -l 21:23:50 + grep '^ii' 21:23:50 + '[' -f /tmp/packages_start.txt ']' 21:23:50 + '[' -f /tmp/packages_end.txt ']' 21:23:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:23:50 + '[' /w/workspace/xfoundry_app-record-replay_PR-32 ']' 21:23:50 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-32/archives/ 21:23:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-32/archives/ [Pipeline] echo 21:23:50 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-32/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:23:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:51 prd-ubuntu20.04-docker-8c-8g-19280 does not seem to be running inside a container 21:23:51 $ 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-32/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-32 -v /w/workspace/xfoundry_app-record-replay_PR-32:/w/workspace/xfoundry_app-record-replay_PR-32:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-32@tmp:/w/workspace/xfoundry_app-record-replay_PR-32@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:23:51 $ docker top 59022fff384f98eb9a854b855d6ddf2073c8682cfa8dd6e956eb2cdd97dab953 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:52 + touch /tmp/pre-build-complete [Pipeline] sh 21:23:52 + mkdir -p /var/log/sysstat [Pipeline] sh 21:23:52 + ls /var/log/sa-host 21:23:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:52 provisioning config files... 21:23:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-32@tmp/config16419238193905212816tmp [Pipeline] { [Pipeline] echo 21:23:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:23:53 ---> create-netrc.sh [Pipeline] } 21:23:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:23:53 ---> python-tools-install.sh [Pipeline] echo 21:23:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:23:53 ---> sudo-logs.sh 21:23:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:23:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:23:54 ---> job-cost.sh 21:23:54 lf-activate-venv: SKIPPING 21:23:54 DEBUG: total: 0.2199999988079071 21:23:54 INFO: Retrieving Stack Cost... 21:23:54 INFO: Retrieving Pricing Info for: v3-standard-8 21:23:54 INFO: Archiving Costs [Pipeline] echo 21:23:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:23:55 ---> logs-deploy.sh 21:23:55 lf-activate-venv: SKIPPING 21:23:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-32/4 21:23:55 INFO: archiving workspace using pattern(s): 21:23:56 Archives upload complete. 21:23:56 INFO: archiving logs to Nexus