Pull request #36 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2+c21995dc83c9d4518c4a60710b227f9f01242914 (399c4eb515da1a4fbf9a477b76d1d10c0fc0934e) 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-ssh1735938668439585975.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-ssh16817199384304698687.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-36/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-36/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3502972151165551694.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-ssh14985922489149121524.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-36/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-36/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7857004529652767438.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-843’ is offline Running on prd-ubuntu20.04-docker-8c-8g-844 in /w/workspace/xfoundry_app-record-replay_PR-36 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/xfoundry_app-record-replay_PR-36 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c21995dc83c9d4518c4a60710b227f9f01242914 into PR head commit 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 Merge succeeded, producing 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 Checking out Revision 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 (PR-36) > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 # 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 c21995dc83c9d4518c4a60710b227f9f01242914 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:21:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:21:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:21:26 ========================================================= 16:21:26 EdgeX Global Pipelines Version Info 16:21:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git checkout -f 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 # timeout=10 > git rev-list --no-walk cabc917382b87e3a68ead34f7e6fd349ef4b0842 # timeout=10 16:21:26 ------------------- 16:21:26 stable info: 16:21:26 ------------------- 16:21:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:21:26 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 16:21:26 Message: update stable to v1.0.250 16:21:27 ------------------- 16:21:27 experimental info: 16:21:27 ------------------- 16:21:27 Commited By: **** collab-it+edgex@linuxfoundation.org 16:21:27 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 16:21:27 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-36 [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-36 [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-36 [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9dd4306 [Pipeline] echo 16:21:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:27 provisioning config files... 16:21:28 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-36@tmp/config12452721015286715725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:28 ---> docker-login.sh 16:21:28 nexus3.edgexfoundry.org:10001 16:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:28 Configure a credential helper to remove this warning. See 16:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:28 16:21:28 Login Succeeded 16:21:28 nexus3.edgexfoundry.org:10002 16:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:28 Configure a credential helper to remove this warning. See 16:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:28 16:21:28 Login Succeeded 16:21:28 nexus3.edgexfoundry.org:10003 16:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:28 Configure a credential helper to remove this warning. See 16:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:28 16:21:28 Login Succeeded 16:21:28 nexus3.edgexfoundry.org:10004 16:21:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:28 Configure a credential helper to remove this warning. See 16:21:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:28 16:21:28 Login Succeeded 16:21:28 docker.io 16:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:29 Configure a credential helper to remove this warning. See 16:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:29 16:21:29 Login Succeeded 16:21:29 ---> docker-login.sh ends [Pipeline] } 16:21:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:21:29 + git rev-list -1 --merges 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2~1..9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 [Pipeline] echo 16:21:29 -----------> git rev-list -1 --merges 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2~1..9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 [false] [Pipeline] sh 16:21:29 + git log --format=format:%s -1 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 [Pipeline] echo 16:21:29 ========================================================= 16:21:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:21:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:21:30 + git log --format=format:%s -1 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 [Pipeline] echo 16:21:30 [semverPrep] GIT_COMMIT: 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 16:21:30 [semverPrep] This is not a build commit. [Pipeline] sh 16:21:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:21:30 + grep -v github /etc/ssh/ssh_known_hosts 16:21:30 + [ -e /tmp/ssh_known_hosts ] 16:21:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:21:30 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 16:21:30 -a /etc/ssh/ssh_known_hosts 16:21:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:30 16:21:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:31 0.1.4: Pulling from edgex-devops/py-git-semver 16:21:31 b85a868b505f: Pulling fs layer 16:21:31 e2be974225ed: Pulling fs layer 16:21:31 339a4e72a1f5: Pulling fs layer 16:21:31 988bab9f4d93: Pulling fs layer 16:21:31 1469e6f7b9e6: Pulling fs layer 16:21:31 eaf3925da568: Pulling fs layer 16:21:31 988bab9f4d93: Waiting 16:21:31 1469e6f7b9e6: Waiting 16:21:31 eaf3925da568: Waiting 16:21:31 bab4dde63d76: Pulling fs layer 16:21:31 bde34c3a00c8: Pulling fs layer 16:21:31 b352a97aabf1: Pulling fs layer 16:21:31 bab4dde63d76: Waiting 16:21:31 bde34c3a00c8: Waiting 16:21:31 4872d77fe225: Pulling fs layer 16:21:31 5851b861e8e6: Pulling fs layer 16:21:31 5851b861e8e6: Waiting 16:21:31 4872d77fe225: Waiting 16:21:31 e2be974225ed: Download complete 16:21:31 988bab9f4d93: Verifying Checksum 16:21:31 988bab9f4d93: Download complete 16:21:31 1469e6f7b9e6: Verifying Checksum 16:21:31 1469e6f7b9e6: Download complete 16:21:31 339a4e72a1f5: Verifying Checksum 16:21:31 339a4e72a1f5: Download complete 16:21:31 eaf3925da568: Verifying Checksum 16:21:31 eaf3925da568: Download complete 16:21:31 bde34c3a00c8: Verifying Checksum 16:21:31 bde34c3a00c8: Download complete 16:21:31 b352a97aabf1: Download complete 16:21:31 4872d77fe225: Verifying Checksum 16:21:31 4872d77fe225: Download complete 16:21:31 5851b861e8e6: Verifying Checksum 16:21:31 b85a868b505f: Verifying Checksum 16:21:31 b85a868b505f: Download complete 16:21:31 bab4dde63d76: Verifying Checksum 16:21:31 bab4dde63d76: Download complete 16:21:32 b85a868b505f: Pull complete 16:21:32 e2be974225ed: Pull complete 16:21:33 339a4e72a1f5: Pull complete 16:21:33 988bab9f4d93: Pull complete 16:21:33 1469e6f7b9e6: Pull complete 16:21:33 eaf3925da568: Pull complete 16:21:35 bab4dde63d76: Pull complete 16:21:35 bde34c3a00c8: Pull complete 16:21:35 b352a97aabf1: Pull complete 16:21:35 4872d77fe225: Pull complete 16:21:35 5851b861e8e6: Pull complete 16:21:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:21:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:35 prd-ubuntu20.04-docker-8c-8g-844 does not seem to be running inside a container 16:21:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-36 -v /w/workspace/xfoundry_app-record-replay_PR-36:/w/workspace/xfoundry_app-record-replay_PR-36:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-36@tmp:/w/workspace/xfoundry_app-record-replay_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:21:38 $ docker top 3b8afcf3bae4fa42a93397634117fa0abba8cfc862c1040362f2b86239aa0f91 -eo pid,comm 16:21:38 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). 16:21:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:21:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:38 [ssh-agent] Looking for ssh-agent implementation... 16:21:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:38 $ docker exec 3b8afcf3bae4fa42a93397634117fa0abba8cfc862c1040362f2b86239aa0f91 ssh-agent 16:21:39 SSH_AUTH_SOCK=/tmp/ssh-Ld0tauiLzKvW/agent.32 16:21:39 SSH_AGENT_PID=38 16:21:39 Running ssh-add (command line suppressed) 16:21:39 Identity added: /w/workspace/xfoundry_app-record-replay_PR-36@tmp/private_key_12623148967681000809.key (/w/workspace/xfoundry_app-record-replay_PR-36@tmp/private_key_12623148967681000809.key) 16:21:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:39 + git tag --points-at HEAD [Pipeline] } 16:21:39 $ docker exec --env ******** --env ******** 3b8afcf3bae4fa42a93397634117fa0abba8cfc862c1040362f2b86239aa0f91 ssh-agent -k 16:21:39 unset SSH_AUTH_SOCK; 16:21:39 unset SSH_AGENT_PID; 16:21:39 echo Agent pid 38 killed; 16:21:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:21:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:21:39 [ssh-agent] Looking for ssh-agent implementation... 16:21:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:21:39 $ docker exec 3b8afcf3bae4fa42a93397634117fa0abba8cfc862c1040362f2b86239aa0f91 ssh-agent 16:21:39 SSH_AUTH_SOCK=/tmp/ssh-OPUkljgf4ZCv/agent.70 16:21:39 SSH_AGENT_PID=76 16:21:39 Running ssh-add (command line suppressed) 16:21:39 Identity added: /w/workspace/xfoundry_app-record-replay_PR-36@tmp/private_key_3934734561499180986.key (/w/workspace/xfoundry_app-record-replay_PR-36@tmp/private_key_3934734561499180986.key) 16:21:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:21:40 + git semver init 16:21:40 2023-07-11 16:21:40,449 [run_init] DEBUG init version:0.0.0 force:False 16:21:40 2023-07-11 16:21:40,450 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-36/.semver 16:21:40 2023-07-11 16:21:40,451 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-36/.semver 16:21:40 2023-07-11 16:21:40,451 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-36/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-36, universal_newlines=False, shell=None, istream=None) 16:21:41 2023-07-11 16:21:41,005 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-36/.git/info/exclude 16:21:41 2023-07-11 16:21:41,006 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-36/.semver/PR-36 with force:False 16:21:41 2023-07-11 16:21:41,006 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-36/.semver/PR-36 16:21:41 2023-07-11 16:21:41,010 [execute] INFO git cat-file --batch-check 16:21:41 2023-07-11 16:21:41,011 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-36/.semver, universal_newlines=False, shell=None, istream=) 16:21:41 2023-07-11 16:21:41,017 [execute] INFO git cat-file --batch 16:21:41 2023-07-11 16:21:41,017 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-36/.semver, universal_newlines=False, shell=None, istream=) 16:21:41 2023-07-11 16:21:41,022 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-36/.semver/PR-36 16:21:41 0.0.0 [Pipeline] } 16:21:41 $ docker exec --env ******** --env ******** 3b8afcf3bae4fa42a93397634117fa0abba8cfc862c1040362f2b86239aa0f91 ssh-agent -k 16:21:41 unset SSH_AUTH_SOCK; 16:21:41 unset SSH_AGENT_PID; 16:21:41 echo Agent pid 76 killed; 16:21:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:21:41 + git semver [Pipeline] } 16:21:41 $ docker stop --time=1 3b8afcf3bae4fa42a93397634117fa0abba8cfc862c1040362f2b86239aa0f91 16:21:43 $ docker rm -f --volumes 3b8afcf3bae4fa42a93397634117fa0abba8cfc862c1040362f2b86239aa0f91 [Pipeline] // withDockerContainer [Pipeline] sh 16:21:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:21:43 Stashed 1 file(s) [Pipeline] echo 16:21:43 [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 16:21:43 provisioning config files... 16:21:43 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-36@tmp/config16486999760815485926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:44 ---> docker-login.sh 16:21:44 nexus3.edgexfoundry.org:10001 16:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:44 Configure a credential helper to remove this warning. See 16:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:44 16:21:44 Login Succeeded 16:21:44 nexus3.edgexfoundry.org:10002 16:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:44 Configure a credential helper to remove this warning. See 16:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:44 16:21:44 Login Succeeded 16:21:44 nexus3.edgexfoundry.org:10003 16:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:44 Configure a credential helper to remove this warning. See 16:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:44 16:21:44 Login Succeeded 16:21:44 nexus3.edgexfoundry.org:10004 16:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:44 Configure a credential helper to remove this warning. See 16:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:44 16:21:44 Login Succeeded 16:21:44 docker.io 16:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:44 Configure a credential helper to remove this warning. See 16:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:44 16:21:44 Login Succeeded 16:21:44 ---> docker-login.sh ends [Pipeline] } 16:21:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:21:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:44 ========================================================= 16:21:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:21:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:45 + 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 . 16:21:45 Sending build context to Docker daemon 313.9kB 16:21:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:21:45 Step 2/12 : FROM ${BASE} AS builder 16:21:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:21:45 f56be85fc22e: Pulling fs layer 16:21:45 85791d961cd3: Pulling fs layer 16:21:45 d694b5ae8c79: Pulling fs layer 16:21:45 9f32a84ed3da: Pulling fs layer 16:21:45 4d19c01a9841: Pulling fs layer 16:21:45 9325e15d5711: Pulling fs layer 16:21:45 556b6ee489ea: Pulling fs layer 16:21:45 c5a4b2cf53e6: Pulling fs layer 16:21:45 9f32a84ed3da: Waiting 16:21:45 4d19c01a9841: Waiting 16:21:45 9325e15d5711: Waiting 16:21:45 c5a4b2cf53e6: Waiting 16:21:45 556b6ee489ea: Waiting 16:21:45 85791d961cd3: Download complete 16:21:45 9f32a84ed3da: Verifying Checksum 16:21:45 9f32a84ed3da: Download complete 16:21:45 4d19c01a9841: Verifying Checksum 16:21:45 f56be85fc22e: Verifying Checksum 16:21:45 f56be85fc22e: Download complete 16:21:45 9325e15d5711: Verifying Checksum 16:21:45 9325e15d5711: Download complete 16:21:45 f56be85fc22e: Pull complete 16:21:45 85791d961cd3: Pull complete 16:21:45 c5a4b2cf53e6: Verifying Checksum 16:21:45 c5a4b2cf53e6: Download complete 16:21:45 d694b5ae8c79: Verifying Checksum 16:21:45 d694b5ae8c79: Download complete 16:21:45 556b6ee489ea: Verifying Checksum 16:21:45 556b6ee489ea: Download complete 16:21:49 d694b5ae8c79: Pull complete 16:21:49 9f32a84ed3da: Pull complete 16:21:49 4d19c01a9841: Pull complete 16:21:49 9325e15d5711: Pull complete 16:21:51 556b6ee489ea: Pull complete 16:21:52 c5a4b2cf53e6: Pull complete 16:21:52 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 16:21:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:21:52 ---> c4be618373d6 16:21:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:21:55 ---> Running in 86acc7b9e2f5 16:21:55 Removing intermediate container 86acc7b9e2f5 16:21:55 ---> f2ed6c47205e 16:21:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:21:55 ---> Running in f6d38c9dcbff 16:21:55 Removing intermediate container f6d38c9dcbff 16:21:55 ---> 09655914d6f9 16:21:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:21:55 ---> Running in 0c8101fb0b1a 16:21:55 Removing intermediate container 0c8101fb0b1a 16:21:55 ---> 3cf7328ba12b 16:21:55 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:21:55 ---> Running in c3adbc807ae3 16:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:21:56 OK: 265 MiB in 53 packages 16:21:56 Removing intermediate container c3adbc807ae3 16:21:56 ---> 733f4115561d 16:21:56 Step 7/12 : WORKDIR /app 16:21:56 ---> Running in f7bdd895cf4a 16:21:56 Removing intermediate container f7bdd895cf4a 16:21:56 ---> 344f7c10e31a 16:21:56 Step 8/12 : COPY go.mod vendor* ./ 16:21:57 ---> 4299b8c120bd 16:21:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:21:57 ---> Running in 691a515eb267 16:21:58 Still waiting to schedule task 16:21:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-845’ 16:22:29 Removing intermediate container 691a515eb267 16:22:29 ---> c15fa94f0a23 16:22:29 Step 10/12 : COPY . . 16:22:29 ---> 3fc440c9c59d 16:22:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:22:29 ---> Running in 4f79fb98f169 16:22:29 Removing intermediate container 4f79fb98f169 16:22:29 ---> 5a5cba1f6c1b 16:22:29 Step 12/12 : RUN $MAKE 16:22:29 ---> Running in 69d8dfda1568 16:22:29 noop 16:22:29 Removing intermediate container 69d8dfda1568 16:22:29 ---> 9518a6309881 16:22:29 Successfully built 9518a6309881 16:22:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:29 + docker inspect -f . ci-base-image-x86_64 16:22:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:29 prd-ubuntu20.04-docker-8c-8g-844 does not seem to be running inside a container 16:22:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-36 -v /w/workspace/xfoundry_app-record-replay_PR-36:/w/workspace/xfoundry_app-record-replay_PR-36:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-36@tmp:/w/workspace/xfoundry_app-record-replay_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:22:30 $ docker top cfeafbdfcfddca453ba10e90f8caa1c49d60e18238cf313e724efebcf8b5d079 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:30 + go version 16:22:30 go version go1.20.2 linux/amd64 [Pipeline] } 16:22:30 $ docker stop --time=1 cfeafbdfcfddca453ba10e90f8caa1c49d60e18238cf313e724efebcf8b5d079 16:22:31 $ docker rm -f --volumes cfeafbdfcfddca453ba10e90f8caa1c49d60e18238cf313e724efebcf8b5d079 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:32 + docker inspect -f . ci-base-image-x86_64 16:22:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:32 prd-ubuntu20.04-docker-8c-8g-844 does not seem to be running inside a container 16:22:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-36 -v /w/workspace/xfoundry_app-record-replay_PR-36:/w/workspace/xfoundry_app-record-replay_PR-36:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-36@tmp:/w/workspace/xfoundry_app-record-replay_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:22:32 $ docker top d8ee1d7c61414889f98f87a17045eb61d5afaa39c7b999e87117d0449a159eef -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:32 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-36 [Pipeline] fileExists [Pipeline] sh 16:22:33 + make test 16:22:33 go test -race -coverprofile=coverage.out ./... 16:22:55 ? github.com/edgexfoundry/app-record-replay [no test files] 16:22:55 ok github.com/edgexfoundry/app-record-replay/internal/app 0.046s coverage: 76.9% of statements 16:22:55 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 16:22:55 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 16:22:55 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 16:22:55 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.071s coverage: 87.3% of statements 16:22:55 ok github.com/edgexfoundry/app-record-replay/internal/data 0.060s coverage: 27.3% of statements 16:23:13 go vet ./... 16:23:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:23:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:23:16 ./bin/test-attribution-txt.sh 16:23:16 An attribution for github.com/gabriel-vasile/mimetype is missing from Attribution.txt, please add 16:23:16 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 16:23:16 An attribution for golang.org/x/exp is missing from Attribution.txt, please add [Pipeline] echo 16:23:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:23:16 $ docker stop --time=1 d8ee1d7c61414889f98f87a17045eb61d5afaa39c7b999e87117d0449a159eef 16:23:21 $ docker rm -f --volumes d8ee1d7c61414889f98f87a17045eb61d5afaa39c7b999e87117d0449a159eef [Pipeline] // withDockerContainer [Pipeline] sh 16:23:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:23:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:23:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:23:22 + ls -al . 16:23:22 total 156 16:23:22 drwxrwxr-x 9 jenkins jenkins 4096 Jul 11 16:22 . 16:23:22 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 16:21 .. 16:23:22 -rw-rw-r-- 1 jenkins jenkins 119 Jul 11 16:21 .dockerignore 16:23:22 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 16:21 .git 16:23:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:21 .github 16:23:22 -rw-rw-r-- 1 jenkins jenkins 164 Jul 11 16:21 .gitignore 16:23:22 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 16:21 .golangci.yml 16:23:22 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 16:21 .semver 16:23:22 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 11 16:21 Attribution.txt 16:23:22 -rw-rw-r-- 1 jenkins jenkins 258 Jul 11 16:21 CHANGELOG.md 16:23:22 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 11 16:21 Dockerfile 16:23:22 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 16:21 GOVERNANCE.md 16:23:22 -rw-rw-r-- 1 jenkins jenkins 681 Jul 11 16:21 Jenkinsfile 16:23:22 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 11 16:21 LICENSE 16:23:22 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 11 16:21 Makefile 16:23:22 -rw-rw-r-- 1 jenkins jenkins 611 Jul 11 16:21 OWNERS.md 16:23:22 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 11 16:21 README.md 16:23:22 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 16:21 VERSION 16:23:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:21 bin 16:23:22 -rw-r--r-- 1 jenkins jenkins 5410 Jul 11 16:22 coverage.out 16:23:22 -rw-rw-r-- 1 jenkins jenkins 3678 Jul 11 16:21 go.mod 16:23:22 -rw-rw-r-- 1 jenkins jenkins 32843 Jul 11 16:21 go.sum 16:23:22 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 16:21 internal 16:23:22 -rw-rw-r-- 1 jenkins jenkins 913 Jul 11 16:21 main.go 16:23:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 16:21 pkg 16:23:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:21 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:22 + 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=9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 --label arch=amd64 --label version=0.0.0 . 16:23:22 Sending build context to Docker daemon 320kB 16:23:22 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:23:22 Step 2/26 : FROM ${BASE} AS builder 16:23:22 ---> 9518a6309881 16:23:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 16:23:22 ---> Running in 238b16540f8a 16:23:22 Removing intermediate container 238b16540f8a 16:23:22 ---> c30b4065566b 16:23:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:23:22 ---> Running in 68f2a5a43002 16:23:22 Removing intermediate container 68f2a5a43002 16:23:22 ---> 93ce47141d39 16:23:22 Step 5/26 : ARG ADD_BUILD_TAGS="" 16:23:22 ---> Running in 3a6d7c283f8c 16:23:22 Removing intermediate container 3a6d7c283f8c 16:23:22 ---> fc317a1ab0a4 16:23:22 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:23:22 ---> Running in c993d0d9e9bb 16:23:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:23 OK: 265 MiB in 53 packages 16:23:24 Removing intermediate container c993d0d9e9bb 16:23:24 ---> b28ccf48b3d2 16:23:24 Step 7/26 : WORKDIR /app 16:23:24 ---> Running in 907dc9017335 16:23:24 Removing intermediate container 907dc9017335 16:23:24 ---> 192443524f89 16:23:24 Step 8/26 : COPY go.mod vendor* ./ 16:23:24 ---> bbb2d8ec6786 16:23:24 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:23:24 ---> Running in d3e59f0b7ed8 16:23:25 Removing intermediate container d3e59f0b7ed8 16:23:25 ---> f4adbbe692ea 16:23:25 Step 10/26 : COPY . . 16:23:25 ---> 257facd2256a 16:23:25 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:23:25 ---> Running in 9227c92cf6a8 16:23:25 Removing intermediate container 9227c92cf6a8 16:23:25 ---> dfafd0b41065 16:23:25 Step 12/26 : RUN $MAKE 16:23:25 ---> Running in 1c63d88d8e5f 16:23:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 16:23:47 Removing intermediate container 1c63d88d8e5f 16:23:47 ---> 316943890b82 16:23:47 Step 13/26 : FROM alpine:3.17 16:23:47 3.17: Pulling from library/alpine 16:23:47 4db1b89c0bd1: Pulling fs layer 16:23:47 4db1b89c0bd1: Verifying Checksum 16:23:47 4db1b89c0bd1: Download complete 16:23:47 4db1b89c0bd1: Pull complete 16:23:47 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 16:23:47 Status: Downloaded newer image for alpine:3.17 16:23:47 ---> 1f73a9d63274 16:23:47 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:23:47 ---> Running in 2ec9aef84c62 16:23:47 Removing intermediate container 2ec9aef84c62 16:23:47 ---> d18b541380f5 16:23:47 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 16:23:47 ---> Running in a054f8ea1900 16:23:47 Removing intermediate container a054f8ea1900 16:23:47 ---> 04a7b931f313 16:23:47 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 16:23:47 ---> Running in 12cb7c731982 16:23:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:47 (1/2) Installing ca-certificates (20230506-r0) 16:23:47 (2/2) Installing dumb-init (1.2.5-r2) 16:23:47 Executing busybox-1.35.0-r29.trigger 16:23:47 Executing ca-certificates-20230506-r0.trigger 16:23:47 OK: 8 MiB in 17 packages 16:23:47 Removing intermediate container 12cb7c731982 16:23:47 ---> 789290f4b362 16:23:47 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:23:47 ---> fe900ac5bd6f 16:23:47 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 16:23:47 ---> 7fde194609b4 16:23:47 Step 19/26 : COPY --from=builder /app/res/ /res/ 16:23:47 ---> 10bf5daf9230 16:23:47 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 16:23:47 ---> e11a0b39fedd 16:23:47 Step 21/26 : EXPOSE 59712 16:23:47 ---> Running in af6a07882ea2 16:23:47 Removing intermediate container af6a07882ea2 16:23:47 ---> 07730b1b86d0 16:23:47 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 16:23:47 ---> Running in 982658d10911 16:23:47 Removing intermediate container 982658d10911 16:23:47 ---> 1c25c6005513 16:23:47 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:23:47 ---> Running in b903ba990dcd 16:23:48 Removing intermediate container b903ba990dcd 16:23:48 ---> f752b9929b7d 16:23:48 Step 24/26 : LABEL arch=amd64 16:23:48 ---> Running in 9d67f67277d6 16:23:48 Removing intermediate container 9d67f67277d6 16:23:48 ---> 9a8be8618beb 16:23:48 Step 25/26 : LABEL git_sha=9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 16:23:48 ---> Running in 29c47e061083 16:23:48 Removing intermediate container 29c47e061083 16:23:48 ---> 363063857f1e 16:23:48 Step 26/26 : LABEL version=0.0.0 16:23:48 ---> Running in 3806319e725f 16:23:48 Removing intermediate container 3806319e725f 16:23:48 ---> 52dfa594786c 16:23:48 [Warning] One or more build-args [ARCH] were not consumed 16:23:48 Successfully built 52dfa594786c 16:23:48 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 16:23:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:48 16:23:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:49 latest: Pulling from edgex-lftools-log-publisher 16:23:49 5eb5b503b376: Pulling fs layer 16:23:49 5c69ac0246d0: Pulling fs layer 16:23:49 ec43610c2a17: Pulling fs layer 16:23:49 3a2ae6a8a46f: Pulling fs layer 16:23:49 33b1e0a273af: Pulling fs layer 16:23:49 5d3b04190fa2: Pulling fs layer 16:23:49 2f39f015ded8: Pulling fs layer 16:23:49 5d3b04190fa2: Waiting 16:23:49 3a2ae6a8a46f: Waiting 16:23:49 33b1e0a273af: Waiting 16:23:49 2f39f015ded8: Waiting 16:23:49 5c69ac0246d0: Verifying Checksum 16:23:49 5c69ac0246d0: Download complete 16:23:49 3a2ae6a8a46f: Download complete 16:23:49 33b1e0a273af: Verifying Checksum 16:23:49 33b1e0a273af: Download complete 16:23:49 5d3b04190fa2: Verifying Checksum 16:23:49 5d3b04190fa2: Download complete 16:23:49 ec43610c2a17: Verifying Checksum 16:23:49 ec43610c2a17: Download complete 16:23:49 5eb5b503b376: Verifying Checksum 16:23:49 5eb5b503b376: Download complete 16:23:50 2f39f015ded8: Download complete 16:23:50 5eb5b503b376: Pull complete 16:23:50 5c69ac0246d0: Pull complete 16:23:51 ec43610c2a17: Pull complete 16:23:51 3a2ae6a8a46f: Pull complete 16:23:51 33b1e0a273af: Pull complete 16:23:51 5d3b04190fa2: Pull complete 16:23:55 2f39f015ded8: Pull complete 16:23:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:23:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:23:55 prd-ubuntu20.04-docker-8c-8g-844 does not seem to be running inside a container 16:23:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-36 -v /w/workspace/xfoundry_app-record-replay_PR-36:/w/workspace/xfoundry_app-record-replay_PR-36:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-36@tmp:/w/workspace/xfoundry_app-record-replay_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:24:00 $ docker top 30fc53aaafb0058fb6f5f2d68c1ae1da5acc113854090d2f9e14aa24e936398b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:00 ---> job-cost.sh 16:24:00 lf-activate-venv: SKIPPING 16:24:00 INFO: No Stack... 16:24:01 INFO: Retrieving Pricing Info for: v3-standard-8 16:24:01 INFO: Archiving Costs [Pipeline] sh 16:24:01 + cat /w/workspace/xfoundry_app-record-replay_PR-36/archives/cost.csv 16:24:01 + cut -d, -f6 [Pipeline] lock 16:24:01 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-36-2-stack-cost] 16:24:01 Resource [jenkins-edgexfoundry-app-record-replay-PR-36-2-stack-cost] did not exist. Created. 16:24:01 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-36-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:24:02 + echo total: 0.2199999988079071 [Pipeline] stash 16:24:02 Stashed 1 file(s) [Pipeline] } 16:24:02 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-36-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:24:02 $ docker stop --time=1 30fc53aaafb0058fb6f5f2d68c1ae1da5acc113854090d2f9e14aa24e936398b 16:24:03 $ docker rm -f --volumes 30fc53aaafb0058fb6f5f2d68c1ae1da5acc113854090d2f9e14aa24e936398b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:24:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-846 in /w/workspace/xfoundry_app-record-replay_PR-36 [Pipeline] { [Pipeline] ws 16:24:47 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 16:24:47 Selected Git installation does not exist. Using Default 16:24:47 The recommended git tool is: NONE 16:24:53 using credential edgex-jenkins-ssh 16:24:53 Cloning the remote Git repository 16:24:53 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 16:24:53 > git init /w/workspace/app-record-replay/2 # timeout=10 16:24:53 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 16:24:53 > git --version # timeout=10 16:24:53 > git --version # 'git version 2.25.1' 16:24:53 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:54 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 16:24:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:55 Merging remotes/origin/main commit c21995dc83c9d4518c4a60710b227f9f01242914 into PR head commit 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 16:24:56 Merge succeeded, producing 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 16:24:56 Checking out Revision 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 (PR-36) 16:24:55 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 16:24:55 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 16:24:55 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:24:56 > git config core.sparsecheckout # timeout=10 16:24:56 > git checkout -f 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 # timeout=10 16:24:56 > git remote # timeout=10 16:24:56 > git config --get remote.origin.url # timeout=10 16:24:56 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:56 > git merge c21995dc83c9d4518c4a60710b227f9f01242914 # timeout=10 16:24:56 > git rev-parse HEAD^{commit} # timeout=10 16:24:56 > git config core.sparsecheckout # timeout=10 16:24:56 > git checkout -f 9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 # timeout=10 16:24:56 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:24:57 % Total % Received % Xferd Average Speed Time Time Time Current 16:24:57 Dload Upload Total Spent Left Speed 16:24:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 16:24:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:24:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:24:58 + sudo tee /etc/docker/daemon.new 16:24:58 { 16:24:58 "registry-mirrors": [ 16:24:58 "https://nexus3.edgexfoundry.org:10001" 16:24:58 ], 16:24:58 "bip": "10.250.0.254/24", 16:24:58 "hosts": [ 16:24:58 "tcp://0.0.0.0:5555", 16:24:58 "unix:///var/run/docker.sock" 16:24:58 ], 16:24:58 "mtu": 1458, 16:24:58 "selinux-enabled": true, 16:24:58 "seccomp-profile": "/etc/docker/seccomp.json" 16:24:58 } [Pipeline] sh 16:24:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:24:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:17 provisioning config files... 16:25:17 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config14055844283711756328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:18 ---> docker-login.sh 16:25:18 nexus3.edgexfoundry.org:10001 16:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:18 Configure a credential helper to remove this warning. See 16:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:18 16:25:18 Login Succeeded 16:25:18 nexus3.edgexfoundry.org:10002 16:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:19 Configure a credential helper to remove this warning. See 16:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:19 16:25:19 Login Succeeded 16:25:19 nexus3.edgexfoundry.org:10003 16:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:19 Configure a credential helper to remove this warning. See 16:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:19 16:25:19 Login Succeeded 16:25:19 nexus3.edgexfoundry.org:10004 16:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:19 Configure a credential helper to remove this warning. See 16:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:19 16:25:19 Login Succeeded 16:25:19 docker.io 16:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:20 Configure a credential helper to remove this warning. See 16:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:20 16:25:20 Login Succeeded 16:25:20 ---> docker-login.sh ends [Pipeline] } 16:25:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:25:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:20 ========================================================= 16:25:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:25:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:20 + 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 . 16:25:20 Sending build context to Docker daemon 143.4kB 16:25:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:25:21 Step 2/12 : FROM ${BASE} AS builder 16:25:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:25:21 c41833b44d91: Pulling fs layer 16:25:21 ed15518f5707: Pulling fs layer 16:25:21 feae8fd75edb: Pulling fs layer 16:25:21 242c74f7c9fa: Pulling fs layer 16:25:21 3cdef696dda3: Pulling fs layer 16:25:21 2ced38df9373: Pulling fs layer 16:25:21 242c74f7c9fa: Waiting 16:25:21 58f1dce35555: Pulling fs layer 16:25:21 2ced38df9373: Waiting 16:25:21 58f1dce35555: Waiting 16:25:21 3cdef696dda3: Waiting 16:25:21 ed15518f5707: Verifying Checksum 16:25:21 ed15518f5707: Download complete 16:25:21 242c74f7c9fa: Verifying Checksum 16:25:21 242c74f7c9fa: Download complete 16:25:21 3cdef696dda3: Verifying Checksum 16:25:21 3cdef696dda3: Download complete 16:25:21 c41833b44d91: Verifying Checksum 16:25:21 c41833b44d91: Download complete 16:25:22 58f1dce35555: Verifying Checksum 16:25:22 58f1dce35555: Download complete 16:25:23 feae8fd75edb: Verifying Checksum 16:25:23 feae8fd75edb: Download complete 16:25:23 2ced38df9373: Download complete 16:25:25 c41833b44d91: Pull complete 16:25:25 ed15518f5707: Pull complete 16:25:40 feae8fd75edb: Pull complete 16:25:40 242c74f7c9fa: Pull complete 16:25:40 3cdef696dda3: Pull complete 16:25:46 2ced38df9373: Pull complete 16:25:48 58f1dce35555: Pull complete 16:25:48 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 16:25:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:25:48 ---> fadd8f120f05 16:25:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:25:50 ---> Running in 618e8c284302 16:25:50 Removing intermediate container 618e8c284302 16:25:50 ---> 8f2aec8c81ae 16:25:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:25:50 ---> Running in d1853ac4ffdd 16:25:50 Removing intermediate container d1853ac4ffdd 16:25:50 ---> 73f2617bfc7f 16:25:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:25:50 ---> Running in 430fb07d1e71 16:25:51 Removing intermediate container 430fb07d1e71 16:25:51 ---> 339239f81d8a 16:25:51 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:51 ---> Running in d45e2de2faa0 16:25:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:25:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:25:54 OK: 263 MiB in 53 packages 16:25:55 Removing intermediate container d45e2de2faa0 16:25:55 ---> 4275a70205b0 16:25:55 Step 7/12 : WORKDIR /app 16:25:55 ---> Running in 2f3542fce6a0 16:25:55 Removing intermediate container 2f3542fce6a0 16:25:55 ---> 949870fb0afe 16:25:55 Step 8/12 : COPY go.mod vendor* ./ 16:25:55 ---> aaef2138d48e 16:25:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:55 ---> Running in 7d8642a6c392 16:27:03 Removing intermediate container 7d8642a6c392 16:27:03 ---> f4ddd0880a57 16:27:03 Step 10/12 : COPY . . 16:27:03 ---> 064a4ddc9027 16:27:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:27:03 ---> Running in d2eada22c8b2 16:27:03 Removing intermediate container d2eada22c8b2 16:27:03 ---> cca5be5816a8 16:27:03 Step 12/12 : RUN $MAKE 16:27:03 ---> Running in 2d166ebb7c27 16:27:03 noop 16:27:03 Removing intermediate container 2d166ebb7c27 16:27:03 ---> 811f6b059a70 16:27:03 Successfully built 811f6b059a70 16:27:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:04 + docker inspect -f . ci-base-image-arm64 16:27:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:04 prd-ubuntu20.04-docker-arm64-4c-16g-846 does not seem to be running inside a container 16:27:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@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 ******** ci-base-image-arm64 cat 16:27:05 $ docker top e0a9bb8c812440c8b315ac6aafed1c63bb720ff32caa3895a4f87ce20e57f70d -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:06 + go version 16:27:06 go version go1.20.2 linux/arm64 [Pipeline] } 16:27:06 $ docker stop --time=1 e0a9bb8c812440c8b315ac6aafed1c63bb720ff32caa3895a4f87ce20e57f70d 16:27:11 $ docker rm -f --volumes e0a9bb8c812440c8b315ac6aafed1c63bb720ff32caa3895a4f87ce20e57f70d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:12 + docker inspect -f . ci-base-image-arm64 16:27:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:12 prd-ubuntu20.04-docker-arm64-4c-16g-846 does not seem to be running inside a container 16:27:12 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@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 ******** ci-base-image-arm64 cat 16:27:13 $ docker top 6d516051e961211f348680d6f52c44e7d16e015e3c27014c4ce11d7ae1c8d6f9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:14 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 16:27:15 + make test 16:27:15 go test -race -coverprofile=coverage.out ./... 16:30:21 ? github.com/edgexfoundry/app-record-replay [no test files] 16:30:21 ok github.com/edgexfoundry/app-record-replay/internal/app 0.281s coverage: 76.9% of statements 16:30:22 ok github.com/edgexfoundry/app-record-replay/internal/controller 0.431s coverage: 87.3% of statements 16:30:27 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 16:30:27 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 16:30:27 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 16:30:27 ok github.com/edgexfoundry/app-record-replay/internal/data 0.227s coverage: 27.3% of statements 16:30:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:30:28 go vet ./... 16:33:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:33:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:33:05 ./bin/test-attribution-txt.sh 16:33:05 An attribution for github.com/gabriel-vasile/mimetype is missing from Attribution.txt, please add 16:33:05 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 16:33:05 An attribution for golang.org/x/exp is missing from Attribution.txt, please add [Pipeline] echo 16:33:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:33:05 $ docker stop --time=1 6d516051e961211f348680d6f52c44e7d16e015e3c27014c4ce11d7ae1c8d6f9 16:33:07 $ docker rm -f --volumes 6d516051e961211f348680d6f52c44e7d16e015e3c27014c4ce11d7ae1c8d6f9 [Pipeline] // withDockerContainer [Pipeline] sh 16:33:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:33:09 Warning: overwriting stash ‘coverage-report’ 16:33:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:33:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:33:10 + ls -al . 16:33:10 total 152 16:33:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 16:27 . 16:33:10 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 16:24 .. 16:33:10 -rw-rw-r-- 1 jenkins jenkins 119 Jul 11 16:24 .dockerignore 16:33:10 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 16:24 .git 16:33:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:24 .github 16:33:10 -rw-rw-r-- 1 jenkins jenkins 164 Jul 11 16:24 .gitignore 16:33:10 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 16:24 .golangci.yml 16:33:10 -rw-rw-r-- 1 jenkins jenkins 10245 Jul 11 16:24 Attribution.txt 16:33:10 -rw-rw-r-- 1 jenkins jenkins 258 Jul 11 16:24 CHANGELOG.md 16:33:10 -rw-rw-r-- 1 jenkins jenkins 1616 Jul 11 16:24 Dockerfile 16:33:10 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 16:24 GOVERNANCE.md 16:33:10 -rw-rw-r-- 1 jenkins jenkins 681 Jul 11 16:24 Jenkinsfile 16:33:10 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 11 16:24 LICENSE 16:33:10 -rw-rw-r-- 1 jenkins jenkins 3139 Jul 11 16:24 Makefile 16:33:10 -rw-rw-r-- 1 jenkins jenkins 611 Jul 11 16:24 OWNERS.md 16:33:10 -rw-rw-r-- 1 jenkins jenkins 2363 Jul 11 16:24 README.md 16:33:10 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 16:21 VERSION 16:33:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:24 bin 16:33:10 -rw-r--r-- 1 jenkins jenkins 5410 Jul 11 16:30 coverage.out 16:33:10 -rw-rw-r-- 1 jenkins jenkins 3678 Jul 11 16:24 go.mod 16:33:10 -rw-rw-r-- 1 jenkins jenkins 32843 Jul 11 16:24 go.sum 16:33:10 drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 16:24 internal 16:33:10 -rw-rw-r-- 1 jenkins jenkins 913 Jul 11 16:24 main.go 16:33:10 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 16:24 pkg 16:33:10 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 16:24 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:10 + 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=9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 --label arch=arm64 --label version=0.0.0 . 16:33:10 Sending build context to Docker daemon 149.5kB 16:33:11 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:33:11 Step 2/26 : FROM ${BASE} AS builder 16:33:11 ---> 811f6b059a70 16:33:11 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 16:33:11 ---> Running in ef7a615b45bd 16:33:11 Removing intermediate container ef7a615b45bd 16:33:11 ---> 15b619d83c5a 16:33:11 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:33:11 ---> Running in 9b29265d207b 16:33:11 Removing intermediate container 9b29265d207b 16:33:11 ---> b504b5a5c381 16:33:11 Step 5/26 : ARG ADD_BUILD_TAGS="" 16:33:11 ---> Running in 50d549c4ea70 16:33:12 Removing intermediate container 50d549c4ea70 16:33:12 ---> 0710c2eac9fd 16:33:12 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:33:12 ---> Running in b6105f870ff5 16:33:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:33:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:33:14 OK: 263 MiB in 53 packages 16:33:15 Removing intermediate container b6105f870ff5 16:33:15 ---> fc5e42581871 16:33:15 Step 7/26 : WORKDIR /app 16:33:15 ---> Running in 7be05515fa44 16:33:15 Removing intermediate container 7be05515fa44 16:33:15 ---> c18fb696d4c0 16:33:15 Step 8/26 : COPY go.mod vendor* ./ 16:33:16 ---> 541b4fefefe0 16:33:16 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:33:16 ---> Running in cd962ad6783f 16:33:20 Removing intermediate container cd962ad6783f 16:33:20 ---> 45325a7b37dc 16:33:20 Step 10/26 : COPY . . 16:33:21 ---> fe2c26013a32 16:33:21 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:33:21 ---> Running in b0976fb6238a 16:33:21 Removing intermediate container b0976fb6238a 16:33:21 ---> 64a728885186 16:33:21 Step 12/26 : RUN $MAKE 16:33:21 ---> Running in 64fa9c3ec378 16:33:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 16:35:44 Removing intermediate container 64fa9c3ec378 16:35:44 ---> 6ce7ee5db490 16:35:44 Step 13/26 : FROM alpine:3.17 16:35:44 3.17: Pulling from library/alpine 16:35:44 edb6bdbacee9: Pulling fs layer 16:35:44 edb6bdbacee9: Verifying Checksum 16:35:44 edb6bdbacee9: Download complete 16:35:44 edb6bdbacee9: Pull complete 16:35:44 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 16:35:44 Status: Downloaded newer image for alpine:3.17 16:35:44 ---> 779605e5fbc0 16:35:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:35:44 ---> Running in 0db07870d28c 16:35:44 Removing intermediate container 0db07870d28c 16:35:44 ---> 1599b845236c 16:35:44 Step 15/26 : LABEL Name=app-record-replay Version=${VERSION} 16:35:44 ---> Running in d9f6de4b4009 16:35:44 Removing intermediate container d9f6de4b4009 16:35:44 ---> 70b1843b23a1 16:35:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 16:35:44 ---> Running in cc89bd365d10 16:35:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:35:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:35:44 (1/2) Installing ca-certificates (20230506-r0) 16:35:44 (2/2) Installing dumb-init (1.2.5-r2) 16:35:44 Executing busybox-1.35.0-r29.trigger 16:35:44 Executing ca-certificates-20230506-r0.trigger 16:35:44 OK: 8 MiB in 17 packages 16:35:44 Removing intermediate container cc89bd365d10 16:35:44 ---> d0cb1aee0302 16:35:44 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:35:44 ---> ceaf18b4f77b 16:35:44 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 16:35:44 ---> a493f36a469e 16:35:44 Step 19/26 : COPY --from=builder /app/res/ /res/ 16:35:44 ---> 0e10b084a85f 16:35:44 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 16:35:45 ---> aa3226ca6664 16:35:45 Step 21/26 : EXPOSE 59712 16:35:45 ---> Running in 30ff39e2312e 16:35:45 Removing intermediate container 30ff39e2312e 16:35:45 ---> fcfb7ff14560 16:35:45 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 16:35:45 ---> Running in f601902c7329 16:35:46 Removing intermediate container f601902c7329 16:35:46 ---> a5519eaa5036 16:35:46 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:35:46 ---> Running in 67a3266f2e12 16:35:46 Removing intermediate container 67a3266f2e12 16:35:46 ---> bad04e703cde 16:35:46 Step 24/26 : LABEL arch=arm64 16:35:46 ---> Running in 07919b927c9e 16:35:46 Removing intermediate container 07919b927c9e 16:35:46 ---> 4b3dce8a116b 16:35:46 Step 25/26 : LABEL git_sha=9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2 16:35:46 ---> Running in 712f48b49e11 16:35:47 Removing intermediate container 712f48b49e11 16:35:47 ---> 685b12d0d466 16:35:47 Step 26/26 : LABEL version=0.0.0 16:35:47 ---> Running in f6a54d2d223b 16:35:47 Removing intermediate container f6a54d2d223b 16:35:47 ---> d61fdfb5758f 16:35:47 [Warning] One or more build-args [ARCH] were not consumed 16:35:47 Successfully built d61fdfb5758f 16:35:47 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 16:35:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:47 16:35:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:48 arm64: Pulling from edgex-lftools-log-publisher 16:35:48 8998bd30e6a1: Pulling fs layer 16:35:48 04944245beec: Pulling fs layer 16:35:48 699f458cf7ca: Pulling fs layer 16:35:48 765212b225bb: Pulling fs layer 16:35:48 f23df028b6ca: Pulling fs layer 16:35:48 d65c8cfc05b1: Pulling fs layer 16:35:48 2437ff75d9bd: Pulling fs layer 16:35:48 765212b225bb: Waiting 16:35:48 f23df028b6ca: Waiting 16:35:48 2437ff75d9bd: Waiting 16:35:48 d65c8cfc05b1: Waiting 16:35:48 04944245beec: Verifying Checksum 16:35:48 04944245beec: Download complete 16:35:48 765212b225bb: Verifying Checksum 16:35:48 765212b225bb: Download complete 16:35:48 f23df028b6ca: Verifying Checksum 16:35:48 f23df028b6ca: Download complete 16:35:48 d65c8cfc05b1: Verifying Checksum 16:35:48 d65c8cfc05b1: Download complete 16:35:48 699f458cf7ca: Verifying Checksum 16:35:48 699f458cf7ca: Download complete 16:35:48 8998bd30e6a1: Verifying Checksum 16:35:48 8998bd30e6a1: Download complete 16:35:51 2437ff75d9bd: Verifying Checksum 16:35:51 2437ff75d9bd: Download complete 16:35:53 8998bd30e6a1: Pull complete 16:35:53 04944245beec: Pull complete 16:35:55 699f458cf7ca: Pull complete 16:35:55 765212b225bb: Pull complete 16:35:56 f23df028b6ca: Pull complete 16:35:56 d65c8cfc05b1: Pull complete 16:36:10 2437ff75d9bd: Pull complete 16:36:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:36:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:36:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:11 prd-ubuntu20.04-docker-arm64-4c-16g-846 does not seem to be running inside a container 16:36:11 $ 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/2 -v /w/workspace/app-record-replay/2:/w/workspace/app-record-replay/2:rw,z -v /w/workspace/app-record-replay/2@tmp:/w/workspace/app-record-replay/2@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-lftools-log-publisher:arm64 cat 16:36:13 $ docker top df235c8b4699721d4e122a45ab0776eceb55db1ae4e487daed23ab60fc3e4da7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:36:14 ---> job-cost.sh 16:36:14 lf-activate-venv: SKIPPING 16:36:14 INFO: No Stack... 16:36:14 INFO: Retrieving Pricing Info for: v3-standard-4 16:36:15 INFO: Archiving Costs [Pipeline] sh 16:36:16 + cat /w/workspace/app-record-replay/2/archives/cost.csv 16:36:16 + cut -d, -f6 [Pipeline] lock 16:36:16 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-36-2-stack-cost] 16:36:16 Resource [jenkins-edgexfoundry-app-record-replay-PR-36-2-stack-cost] did not exist. Created. 16:36:16 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-36-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:36:17 /w/workspace/app-record-replay/2@tmp/durable-b3e41b46/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:36:17 + echo total: 0.10999999940395355 [Pipeline] stash 16:36:17 Warning: overwriting stash ‘stack-cost’ 16:36:17 Stashed 1 file(s) [Pipeline] } 16:36:17 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-36-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:36:17 $ docker stop --time=1 df235c8b4699721d4e122a45ab0776eceb55db1ae4e487daed23ab60fc3e4da7 16:36:18 $ docker rm -f --volumes df235c8b4699721d4e122a45ab0776eceb55db1ae4e487daed23ab60fc3e4da7 [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 16:36:19 provisioning config files... 16:36:19 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-36 #2 16:36:19 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-36@tmp/config4235577891126360830tmp [Pipeline] { [Pipeline] sh 16:36:19 + set +x 16:36:19 + curl -s https://codecov.io/bash 16:36:19 + bash -s -- 16:36:19 16:36:19 _____ _ 16:36:19 / ____| | | 16:36:19 | | ___ __| | ___ ___ _____ __ 16:36:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:36:19 | |___| (_) | (_| | __/ (_| (_) \ V / 16:36:19 \_____\___/ \__,_|\___|\___\___/ \_/ 16:36:19 Bash-1.0.6 16:36:19 16:36:19 16:36:19 ==> git version 2.25.1 found 16:36:19 ==> 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 16:36:19 Release-Date: 2020-01-08 16:36:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:36:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:36:19 ==> Jenkins CI detected. 16:36:19 current dir:  /w/workspace/xfoundry_app-record-replay_PR-36 16:36:19 project root: . 16:36:19 --> token set from env 16:36:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:36:19 ==> Running gcov in . (disable via -X gcov) 16:36:19 ==> Python coveragepy not found 16:36:19 ==> Searching for coverage reports in: 16:36:19 + . 16:36:19 -> Found 1 reports 16:36:19 ==> Detecting git/mercurial file structure 16:36:19 ==> Reading reports 16:36:19 + ./coverage.out bytes=5410 16:36:19 ==> Appending adjustments 16:36:19 https://docs.codecov.io/docs/fixing-reports 16:36:19 + Found adjustments 16:36:19 ==> Gzipping contents 16:36:19 4.0K /tmp/codecov.7lE7ly.gz 16:36:19 ==> Uploading reports 16:36:19 url: https://codecov.io 16:36:19 query: branch=PR-36&commit=9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-36%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=36&job=&cmd_args= 16:36:19 -> Pinging Codecov 16:36:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-36&commit=9dd4306c184b3fe57fb86e9fb0a0e15d4073a0c2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-36%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=36&job=&cmd_args= 16:36:19 Invalid request parameters 16:36:19 400 [Pipeline] } 16:36:19 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 16:36:20 + [ -d /w/workspace/xfoundry_app-record-replay_PR-36/archives ] 16:36:20 + ls -al /w/workspace/xfoundry_app-record-replay_PR-36/archives 16:36:20 total 16 16:36:20 drwxr-xr-x 3 root root 4096 Jul 11 16:24 . 16:36:20 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 16:24 .. 16:36:20 drwxr-xr-x 2 root root 4096 Jul 11 16:24 cost 16:36:20 -rw-r--r-- 1 root root 88 Jul 11 16:24 cost.csv 16:36:20 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-36/archives 16:36:20 + ls -al /w/workspace/xfoundry_app-record-replay_PR-36/archives 16:36:20 total 16 16:36:20 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 16:24 . 16:36:20 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 16:24 .. 16:36:20 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 16:24 cost 16:36:20 -rw-r--r-- 1 jenkins jenkins 88 Jul 11 16:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:36:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:36:21 ---> package-listing.sh 16:36:21 ++ facter osfamily 16:36:21 ++ tr '[:upper:]' '[:lower:]' 16:36:22 + OS_FAMILY=debian 16:36:22 + workspace=/w/workspace/xfoundry_app-record-replay_PR-36 16:36:22 + START_PACKAGES=/tmp/packages_start.txt 16:36:22 + END_PACKAGES=/tmp/packages_end.txt 16:36:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:36:22 + PACKAGES=/tmp/packages_start.txt 16:36:22 + '[' /w/workspace/xfoundry_app-record-replay_PR-36 ']' 16:36:22 + PACKAGES=/tmp/packages_end.txt 16:36:22 + case "${OS_FAMILY}" in 16:36:22 + dpkg -l 16:36:22 + grep '^ii' 16:36:22 + '[' -f /tmp/packages_start.txt ']' 16:36:22 + '[' -f /tmp/packages_end.txt ']' 16:36:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:36:22 + '[' /w/workspace/xfoundry_app-record-replay_PR-36 ']' 16:36:22 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-36/archives/ 16:36:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-36/archives/ [Pipeline] echo 16:36:22 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:36:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:36:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:22 prd-ubuntu20.04-docker-8c-8g-844 does not seem to be running inside a container 16:36:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-36 -v /w/workspace/xfoundry_app-record-replay_PR-36:/w/workspace/xfoundry_app-record-replay_PR-36:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-36@tmp:/w/workspace/xfoundry_app-record-replay_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:36:23 $ docker top 0e16f4b4d94a14f32343d6197c6d6da00b490538eed69961af0ea87b897bb5a0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:36:23 + touch /tmp/pre-build-complete [Pipeline] sh 16:36:23 + mkdir -p /var/log/sysstat [Pipeline] sh 16:36:24 + ls /var/log/sa-host 16:36:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:36:24 provisioning config files... 16:36:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-36@tmp/config11229516050446899913tmp [Pipeline] { [Pipeline] echo 16:36:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:36:24 ---> create-netrc.sh [Pipeline] } 16:36:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:36:24 ---> python-tools-install.sh [Pipeline] echo 16:36:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:36:25 ---> sudo-logs.sh 16:36:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:36:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:36:25 ---> job-cost.sh 16:36:25 lf-activate-venv: SKIPPING 16:36:25 DEBUG: total: 0.2199999988079071 16:36:25 INFO: Retrieving Stack Cost... 16:36:25 INFO: Retrieving Pricing Info for: v3-standard-8 16:36:26 INFO: Archiving Costs [Pipeline] echo 16:36:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:36:26 ---> logs-deploy.sh 16:36:26 lf-activate-venv: SKIPPING 16:36:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-36/2 16:36:26 INFO: archiving workspace using pattern(s): 16:36:27 Archives upload complete. 16:36:27 INFO: archiving logs to Nexus