Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-record-replay Loading trusted files from base branch main at 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b rather than 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 Obtained Jenkinsfile from 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b 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-ssh14346500000659253394.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10273949741387718988.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-56/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-56/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7907010252329059512.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh8393957261359750194.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-56/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-56/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13784919044837033649.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3869 in /w/workspace/xfoundry_app-record-replay_PR-56 [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-56 # 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 > 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/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b into PR head commit 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 Merge succeeded, producing 1ad073cca624a1583db6d75c8c43702e0bb754c1 Checking out Revision 1ad073cca624a1583db6d75c8c43702e0bb754c1 (PR-56) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 # 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 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ad073cca624a1583db6d75c8c43702e0bb754c1 # timeout=10 Commit message: "Merge commit '2e2d2508cb469b8aa4f57d66e2e040b41fc2985b' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk b1c445ba58da862789ab70ebf79a7cf2e0b66a63 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:09:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:09:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:09:37 ========================================================= 23:09:37 EdgeX Global Pipelines Version Info 23:09:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:09:38 ------------------- 23:09:38 stable info: 23:09:38 ------------------- 23:09:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:09:38 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 23:09:38 Message: update stable to v1.0.253 23:09:38 ------------------- 23:09:38 experimental info: 23:09:38 ------------------- 23:09:38 Commited By: **** collab-it+edgex@linuxfoundation.org 23:09:38 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 23:09:38 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ad073cca624a1583db6d75c8c43702e0bb754c1 [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ad073c [Pipeline] echo 23:09:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:09:39 provisioning config files... 23:09:39 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config11344170108053555907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:40 ---> docker-login.sh 23:09:40 nexus3.edgexfoundry.org:10001 23:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:40 Configure a credential helper to remove this warning. See 23:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:40 23:09:40 Login Succeeded 23:09:40 nexus3.edgexfoundry.org:10002 23:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:40 Configure a credential helper to remove this warning. See 23:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:40 23:09:40 Login Succeeded 23:09:40 nexus3.edgexfoundry.org:10003 23:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:40 Configure a credential helper to remove this warning. See 23:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:40 23:09:40 Login Succeeded 23:09:40 nexus3.edgexfoundry.org:10004 23:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:40 Configure a credential helper to remove this warning. See 23:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:40 23:09:40 Login Succeeded 23:09:40 docker.io 23:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:41 Configure a credential helper to remove this warning. See 23:09:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:41 23:09:41 Login Succeeded 23:09:41 ---> docker-login.sh ends [Pipeline] } 23:09:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:09:41 + git rev-list -1 --merges 1ad073cca624a1583db6d75c8c43702e0bb754c1~1..1ad073cca624a1583db6d75c8c43702e0bb754c1 [Pipeline] echo 23:09:41 -----------> git rev-list -1 --merges 1ad073cca624a1583db6d75c8c43702e0bb754c1~1..1ad073cca624a1583db6d75c8c43702e0bb754c1 1ad073cca624a1583db6d75c8c43702e0bb754c1 23:09:41 1ad073cca624a1583db6d75c8c43702e0bb754c1 [false] [Pipeline] sh 23:09:41 + git log --format=format:%s -1 1ad073cca624a1583db6d75c8c43702e0bb754c1 [Pipeline] echo 23:09:41 ========================================================= 23:09:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:09:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:09:42 + git log --format=format:%s -1 1ad073cca624a1583db6d75c8c43702e0bb754c1 [Pipeline] echo 23:09:42 [semverPrep] GIT_COMMIT: 1ad073cca624a1583db6d75c8c43702e0bb754c1, Commit Message: Merge commit '2e2d2508cb469b8aa4f57d66e2e040b41fc2985b' into HEAD [Pipeline] echo 23:09:42 [semverPrep] This is not a build commit. [Pipeline] sh 23:09:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:09:42 + grep -v github /etc/ssh/ssh_known_hosts 23:09:42 + [ -e /tmp/ssh_known_hosts ] 23:09:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:09:42 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:09:42 sudo tee -a /etc/ssh/ssh_known_hosts 23:09:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:09:43 23:09:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:09:43 0.1.4: Pulling from edgex-devops/py-git-semver 23:09:43 b85a868b505f: Pulling fs layer 23:09:43 e2be974225ed: Pulling fs layer 23:09:43 339a4e72a1f5: Pulling fs layer 23:09:43 988bab9f4d93: Pulling fs layer 23:09:43 1469e6f7b9e6: Pulling fs layer 23:09:43 eaf3925da568: Pulling fs layer 23:09:43 bab4dde63d76: Pulling fs layer 23:09:43 bde34c3a00c8: Pulling fs layer 23:09:43 b352a97aabf1: Pulling fs layer 23:09:43 4872d77fe225: Pulling fs layer 23:09:43 5851b861e8e6: Pulling fs layer 23:09:43 4872d77fe225: Waiting 23:09:43 bab4dde63d76: Waiting 23:09:43 bde34c3a00c8: Waiting 23:09:43 b352a97aabf1: Waiting 23:09:43 5851b861e8e6: Waiting 23:09:43 1469e6f7b9e6: Waiting 23:09:43 eaf3925da568: Waiting 23:09:43 e2be974225ed: Verifying Checksum 23:09:43 988bab9f4d93: Download complete 23:09:43 1469e6f7b9e6: Verifying Checksum 23:09:43 1469e6f7b9e6: Download complete 23:09:43 339a4e72a1f5: Verifying Checksum 23:09:43 339a4e72a1f5: Download complete 23:09:43 eaf3925da568: Download complete 23:09:43 bde34c3a00c8: Verifying Checksum 23:09:43 bde34c3a00c8: Download complete 23:09:43 b352a97aabf1: Verifying Checksum 23:09:43 b352a97aabf1: Download complete 23:09:43 4872d77fe225: Download complete 23:09:43 5851b861e8e6: Verifying Checksum 23:09:43 5851b861e8e6: Download complete 23:09:43 b85a868b505f: Verifying Checksum 23:09:43 b85a868b505f: Download complete 23:09:43 bab4dde63d76: Verifying Checksum 23:09:43 bab4dde63d76: Download complete 23:09:45 b85a868b505f: Pull complete 23:09:45 e2be974225ed: Pull complete 23:09:45 339a4e72a1f5: Pull complete 23:09:45 988bab9f4d93: Pull complete 23:09:46 1469e6f7b9e6: Pull complete 23:09:46 eaf3925da568: Pull complete 23:09:47 bab4dde63d76: Pull complete 23:09:47 bde34c3a00c8: Pull complete 23:09:47 b352a97aabf1: Pull complete 23:09:47 4872d77fe225: Pull complete 23:09:48 5851b861e8e6: Pull complete 23:09:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:09:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:09:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:48 prd-ubuntu20.04-docker-8c-8g-3869 does not seem to be running inside a container 23:09:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@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-devops/py-git-semver:0.1.4 cat 23:09:53 $ docker top 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 -eo pid,comm 23:09:53 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). 23:09:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:09:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:09:53 [ssh-agent] Looking for ssh-agent implementation... 23:09:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:09:53 $ docker exec 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 ssh-agent 23:09:53 SSH_AUTH_SOCK=/tmp/ssh-sNRceeFkQ7Zb/agent.32 23:09:53 SSH_AGENT_PID=38 23:09:53 Running ssh-add (command line suppressed) 23:09:53 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_15919815641997373063.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_15919815641997373063.key) 23:09:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:09:53 + git tag --points-at HEAD [Pipeline] } 23:09:53 $ docker exec --env ******** --env ******** 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 ssh-agent -k 23:09:53 unset SSH_AUTH_SOCK; 23:09:53 unset SSH_AGENT_PID; 23:09:53 echo Agent pid 38 killed; 23:09:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:09:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:09:53 [ssh-agent] Looking for ssh-agent implementation... 23:09:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:09:54 $ docker exec 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 ssh-agent 23:09:54 SSH_AUTH_SOCK=/tmp/ssh-S4hJgRAFPlbr/agent.70 23:09:54 SSH_AGENT_PID=76 23:09:54 Running ssh-add (command line suppressed) 23:09:54 Identity added: /w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_1772396737486514541.key (/w/workspace/xfoundry_app-record-replay_PR-56@tmp/private_key_1772396737486514541.key) 23:09:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:09:54 + git semver init 23:09:55 2023-08-16 23:09:54,883 [run_init] DEBUG init version:0.0.0 force:False 23:09:55 2023-08-16 23:09:54,884 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-56/.semver 23:09:55 2023-08-16 23:09:54,884 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-56/.semver 23:09:55 2023-08-16 23:09:54,885 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-56/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56, universal_newlines=False, shell=None, istream=None) 23:09:55 2023-08-16 23:09:55,457 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-56/.git/info/exclude 23:09:55 2023-08-16 23:09:55,458 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 with force:False 23:09:55 2023-08-16 23:09:55,458 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 23:09:55 2023-08-16 23:09:55,461 [execute] INFO git cat-file --batch-check 23:09:55 2023-08-16 23:09:55,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 23:09:55 2023-08-16 23:09:55,467 [execute] INFO git cat-file --batch 23:09:55 2023-08-16 23:09:55,468 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-56/.semver, universal_newlines=False, shell=None, istream=) 23:09:55 2023-08-16 23:09:55,472 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-56/.semver/PR-56 23:09:55 0.0.0 [Pipeline] } 23:09:55 $ docker exec --env ******** --env ******** 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 ssh-agent -k 23:09:55 unset SSH_AUTH_SOCK; 23:09:55 unset SSH_AGENT_PID; 23:09:55 echo Agent pid 76 killed; 23:09:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:09:56 + git semver [Pipeline] } 23:09:56 $ docker stop --time=1 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 23:09:57 $ docker rm -f --volumes 04aa854d8ddce4a9286379e7ed4426eea98e21db7ff281c8cb78635c2581a2f8 [Pipeline] // withDockerContainer [Pipeline] sh 23:09:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:09:58 Stashed 1 file(s) [Pipeline] echo 23:09:58 [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 23:09:58 provisioning config files... 23:09:58 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config15491348811103008951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:58 ---> docker-login.sh 23:09:58 nexus3.edgexfoundry.org:10001 23:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:58 Configure a credential helper to remove this warning. See 23:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:58 23:09:58 Login Succeeded 23:09:58 nexus3.edgexfoundry.org:10002 23:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:58 Configure a credential helper to remove this warning. See 23:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:58 23:09:58 Login Succeeded 23:09:58 nexus3.edgexfoundry.org:10003 23:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:59 Configure a credential helper to remove this warning. See 23:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:59 23:09:59 Login Succeeded 23:09:59 nexus3.edgexfoundry.org:10004 23:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:59 Configure a credential helper to remove this warning. See 23:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:59 23:09:59 Login Succeeded 23:09:59 docker.io 23:09:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:09:59 Configure a credential helper to remove this warning. See 23:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:09:59 23:09:59 Login Succeeded 23:09:59 ---> docker-login.sh ends [Pipeline] } 23:09:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:09:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:09:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:09:59 ========================================================= 23:09:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:09:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:00 + 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 . 23:10:00 Sending build context to Docker daemon 454.1kB 23:10:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:10:00 Step 2/12 : FROM ${BASE} AS builder 23:10:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:10:00 4db1b89c0bd1: Pulling fs layer 23:10:00 6911f1a30b25: Pulling fs layer 23:10:00 e194b8c5c2a9: Pulling fs layer 23:10:00 6863d3e3a2b1: Pulling fs layer 23:10:00 ec0bb842ea78: Pulling fs layer 23:10:00 40a00589a448: Pulling fs layer 23:10:00 6c08303d61cc: Pulling fs layer 23:10:00 798269fcf238: Pulling fs layer 23:10:00 ec0bb842ea78: Waiting 23:10:00 6863d3e3a2b1: Waiting 23:10:00 40a00589a448: Waiting 23:10:00 798269fcf238: Waiting 23:10:00 6c08303d61cc: Waiting 23:10:00 6911f1a30b25: Download complete 23:10:00 6863d3e3a2b1: Download complete 23:10:00 ec0bb842ea78: Verifying Checksum 23:10:00 ec0bb842ea78: Download complete 23:10:00 4db1b89c0bd1: Verifying Checksum 23:10:00 4db1b89c0bd1: Download complete 23:10:00 40a00589a448: Verifying Checksum 23:10:00 40a00589a448: Download complete 23:10:00 4db1b89c0bd1: Pull complete 23:10:00 6911f1a30b25: Pull complete 23:10:01 798269fcf238: Verifying Checksum 23:10:01 798269fcf238: Download complete 23:10:01 e194b8c5c2a9: Verifying Checksum 23:10:01 e194b8c5c2a9: Download complete 23:10:01 6c08303d61cc: Verifying Checksum 23:10:01 6c08303d61cc: Download complete 23:10:04 e194b8c5c2a9: Pull complete 23:10:04 6863d3e3a2b1: Pull complete 23:10:04 ec0bb842ea78: Pull complete 23:10:04 40a00589a448: Pull complete 23:10:07 6c08303d61cc: Pull complete 23:10:08 798269fcf238: Pull complete 23:10:08 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 23:10:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:10:08 ---> ec979cd7f677 23:10:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:10:13 Still waiting to schedule task 23:10:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:10:16 ---> Running in 519fc0b493b4 23:10:16 Removing intermediate container 519fc0b493b4 23:10:16 ---> 272cbac7d214 23:10:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:10:16 ---> Running in 6c20a2640452 23:10:16 Removing intermediate container 6c20a2640452 23:10:16 ---> f0eb7c67c646 23:10:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:10:16 ---> Running in 66ffac5197f3 23:10:16 Removing intermediate container 66ffac5197f3 23:10:16 ---> 09ae186263f0 23:10:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:10:16 ---> Running in f73b572b1357 23:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:10:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:10:17 OK: 265 MiB in 53 packages 23:10:17 Removing intermediate container f73b572b1357 23:10:17 ---> bd9de067a9ce 23:10:17 Step 7/12 : WORKDIR /app 23:10:17 ---> Running in a45eafe1df81 23:10:18 Removing intermediate container a45eafe1df81 23:10:18 ---> 69af4650a4d1 23:10:18 Step 8/12 : COPY go.mod vendor* ./ 23:10:18 ---> 508f89040634 23:10:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:10:18 ---> Running in f782e1a3a825 23:11:04 Removing intermediate container f782e1a3a825 23:11:04 ---> aada9fd6632a 23:11:04 Step 10/12 : COPY . . 23:11:05 ---> 1a79c85bbe7b 23:11:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:11:05 ---> Running in 802f60fec070 23:11:05 Removing intermediate container 802f60fec070 23:11:05 ---> 3e8370f8c954 23:11:05 Step 12/12 : RUN $MAKE 23:11:05 ---> Running in 1614a0e89e50 23:11:05 noop 23:11:05 Removing intermediate container 1614a0e89e50 23:11:05 ---> e3c7386561ae 23:11:05 Successfully built e3c7386561ae 23:11:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:06 + docker inspect -f . ci-base-image-x86_64 23:11:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:06 prd-ubuntu20.04-docker-8c-8g-3869 does not seem to be running inside a container 23:11:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:11:06 $ docker top 30d1fbaab24b90a588183d578c7b3205a2aae1e920f3111167d474a8d3209286 -eo pid,comm [Pipeline] { [Pipeline] sh 23:11:07 + go version 23:11:07 go version go1.20.6 linux/amd64 [Pipeline] } 23:11:07 $ docker stop --time=1 30d1fbaab24b90a588183d578c7b3205a2aae1e920f3111167d474a8d3209286 23:11:08 $ docker rm -f --volumes 30d1fbaab24b90a588183d578c7b3205a2aae1e920f3111167d474a8d3209286 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:08 + docker inspect -f . ci-base-image-x86_64 23:11:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:08 prd-ubuntu20.04-docker-8c-8g-3869 does not seem to be running inside a container 23:11:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:11:09 $ docker top 2fadf0fd4eb60482dcbb3d9e9b48cae6697f2edd9b4acb33ead64ac76e7ba8e9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:11:09 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-56 [Pipeline] fileExists [Pipeline] sh 23:11:09 + make test 23:11:09 go test -race -coverprofile=coverage.out ./... 23:11:31 ? github.com/edgexfoundry/app-record-replay [no test files] 23:11:31 ok github.com/edgexfoundry/app-record-replay/internal/app 0.059s coverage: 88.0% of statements 23:11:31 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:11:31 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:11:31 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:11:39 ok github.com/edgexfoundry/app-record-replay/internal/application 8.164s coverage: 97.5% of statements 23:11:39 --- FAIL: TestHttpController_ExportRecordedData (0.01s) 23:11:39 --- FAIL: TestHttpController_ExportRecordedData/Valid_-_no_events (0.00s) 23:11:39 controller_test.go:486: 23:11:39 Error Trace: /w/workspace/xfoundry_app-record-replay_PR-56/internal/controller/controller_test.go:486 23:11:39 Error: Not equal: 23:11:39 expected: 204 23:11:39 actual : 200 23:11:39 Test: TestHttpController_ExportRecordedData/Valid_-_no_events 23:11:39 FAIL 23:11:39 github.com/edgexfoundry/app-record-replay/internal/controller coverage: 76.5% of statements 23:11:39 FAIL github.com/edgexfoundry/app-record-replay/internal/controller 0.081s 23:11:39 FAIL 23:11:39 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 23:11:40 $ docker stop --time=1 2fadf0fd4eb60482dcbb3d9e9b48cae6697f2edd9b4acb33ead64ac76e7ba8e9 23:11:46 $ docker rm -f --volumes 2fadf0fd4eb60482dcbb3d9e9b48cae6697f2edd9b4acb33ead64ac76e7ba8e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:11:46 23:11:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:11:47 latest: Pulling from edgex-lftools-log-publisher 23:11:47 5eb5b503b376: Pulling fs layer 23:11:47 5c69ac0246d0: Pulling fs layer 23:11:47 ec43610c2a17: Pulling fs layer 23:11:47 3a2ae6a8a46f: Pulling fs layer 23:11:47 33b1e0a273af: Pulling fs layer 23:11:47 5d3b04190fa2: Pulling fs layer 23:11:47 2f39f015ded8: Pulling fs layer 23:11:47 5d3b04190fa2: Waiting 23:11:47 2f39f015ded8: Waiting 23:11:47 33b1e0a273af: Waiting 23:11:47 3a2ae6a8a46f: Waiting 23:11:47 5c69ac0246d0: Download complete 23:11:47 3a2ae6a8a46f: Download complete 23:11:47 33b1e0a273af: Verifying Checksum 23:11:47 33b1e0a273af: Download complete 23:11:47 5d3b04190fa2: Download complete 23:11:47 ec43610c2a17: Verifying Checksum 23:11:47 ec43610c2a17: Download complete 23:11:47 5eb5b503b376: Verifying Checksum 23:11:47 5eb5b503b376: Download complete 23:11:48 2f39f015ded8: Verifying Checksum 23:11:48 2f39f015ded8: Download complete 23:11:48 5eb5b503b376: Pull complete 23:11:48 5c69ac0246d0: Pull complete 23:11:49 ec43610c2a17: Pull complete 23:11:49 3a2ae6a8a46f: Pull complete 23:11:49 33b1e0a273af: Pull complete 23:11:49 5d3b04190fa2: Pull complete 23:11:53 2f39f015ded8: Pull complete 23:11:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:11:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:11:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:53 prd-ubuntu20.04-docker-8c-8g-3869 does not seem to be running inside a container 23:11:53 $ 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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:12:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3870 in /w/workspace/xfoundry_app-record-replay_PR-56 23:12:01 $ docker top 5876583d81e9505cb7529312a62ddec16561811e8624d7f3d542de1eeceee9b3 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 23:12:01 Running in /w/workspace/app-record-replay/8 [Pipeline] { [Pipeline] checkout 23:12:01 Selected Git installation does not exist. Using Default 23:12:01 The recommended git tool is: NONE 23:12:01 ---> job-cost.sh 23:12:01 lf-activate-venv: SKIPPING 23:12:01 INFO: No Stack... 23:12:01 INFO: Retrieving Pricing Info for: v3-standard-8 23:12:02 INFO: Archiving Costs [Pipeline] sh 23:12:02 + cat /w/workspace/xfoundry_app-record-replay_PR-56/archives/cost.csv 23:12:02 + cut -d, -f6 [Pipeline] lock 23:12:02 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] 23:12:02 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] did not exist. Created. 23:12:02 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:12:02 + echo total: 0.2199999988079071 [Pipeline] stash 23:12:02 Stashed 1 file(s) [Pipeline] } 23:12:02 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] [Pipeline] // lock [Pipeline] } 23:12:02 $ docker stop --time=1 5876583d81e9505cb7529312a62ddec16561811e8624d7f3d542de1eeceee9b3 23:12:04 $ docker rm -f --volumes 5876583d81e9505cb7529312a62ddec16561811e8624d7f3d542de1eeceee9b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:12:04 Failed in branch amd64 23:12:06 using credential edgex-jenkins-ssh 23:12:06 Cloning the remote Git repository 23:12:06 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 23:12:06 > git init /w/workspace/app-record-replay/8 # timeout=10 23:12:06 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:12:06 > git --version # timeout=10 23:12:06 > git --version # 'git version 2.25.1' 23:12:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:12:07 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:12:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:12:08 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 23:12:08 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 23:12:08 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:12:09 Merging remotes/origin/main commit 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b into PR head commit 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 23:12:09 Merge succeeded, producing 46bab419da94713a7477aba5f391dbd06f238263 23:12:09 Checking out Revision 46bab419da94713a7477aba5f391dbd06f238263 (PR-56) 23:12:09 > git config core.sparsecheckout # timeout=10 23:12:09 > git checkout -f 4f77e5967b87e4a8d86ddcf2266ddff5d3639c13 # timeout=10 23:12:09 > git remote # timeout=10 23:12:09 > git config --get remote.origin.url # timeout=10 23:12:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:09 > git merge 2e2d2508cb469b8aa4f57d66e2e040b41fc2985b # timeout=10 23:12:09 > git rev-parse HEAD^{commit} # timeout=10 23:12:09 > git config core.sparsecheckout # timeout=10 23:12:09 > git checkout -f 46bab419da94713a7477aba5f391dbd06f238263 # timeout=10 23:12:12 Commit message: "Merge commit '2e2d2508cb469b8aa4f57d66e2e040b41fc2985b' into HEAD" 23:12:12 First time build. Skipping changelog. 23:12:12 > git rev-list --no-walk b1c445ba58da862789ab70ebf79a7cf2e0b66a63 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:12:13 % Total % Received % Xferd Average Speed Time Time Time Current 23:12:13 Dload Upload Total Spent Left Speed 23:12:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 23:12:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:12:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:12:14 + sudo tee /etc/docker/daemon.new 23:12:14 { 23:12:14 "registry-mirrors": [ 23:12:14 "https://nexus3.edgexfoundry.org:10001" 23:12:14 ], 23:12:14 "bip": "10.250.0.254/24", 23:12:14 "hosts": [ 23:12:14 "tcp://0.0.0.0:5555", 23:12:14 "unix:///var/run/docker.sock" 23:12:14 ], 23:12:14 "mtu": 1458, 23:12:14 "selinux-enabled": true, 23:12:14 "seccomp-profile": "/etc/docker/seccomp.json" 23:12:14 } [Pipeline] sh 23:12:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:12:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:34 provisioning config files... 23:12:34 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/8@tmp/config2678776663576446635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:34 ---> docker-login.sh 23:12:34 nexus3.edgexfoundry.org:10001 23:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:34 Configure a credential helper to remove this warning. See 23:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:34 23:12:34 Login Succeeded 23:12:34 nexus3.edgexfoundry.org:10002 23:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:35 Configure a credential helper to remove this warning. See 23:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:35 23:12:35 Login Succeeded 23:12:35 nexus3.edgexfoundry.org:10003 23:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:35 Configure a credential helper to remove this warning. See 23:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:35 23:12:35 Login Succeeded 23:12:35 nexus3.edgexfoundry.org:10004 23:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:36 Configure a credential helper to remove this warning. See 23:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:36 23:12:36 Login Succeeded 23:12:36 docker.io 23:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:36 Configure a credential helper to remove this warning. See 23:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:36 23:12:36 Login Succeeded 23:12:36 ---> docker-login.sh ends [Pipeline] } 23:12:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:12:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:36 ========================================================= 23:12:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:12:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:37 + 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 . 23:12:37 Sending build context to Docker daemon 204.8kB 23:12:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:12:37 Step 2/12 : FROM ${BASE} AS builder 23:12:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:12:37 edb6bdbacee9: Pulling fs layer 23:12:37 5f9638ab2659: Pulling fs layer 23:12:37 8d51d6327a98: Pulling fs layer 23:12:37 8b374f2dd631: Pulling fs layer 23:12:37 ec14aa9079de: Pulling fs layer 23:12:37 2f466654f4bb: Pulling fs layer 23:12:37 554e91adad29: Pulling fs layer 23:12:37 8b374f2dd631: Waiting 23:12:37 ec14aa9079de: Waiting 23:12:37 2f466654f4bb: Waiting 23:12:37 554e91adad29: Waiting 23:12:37 5f9638ab2659: Verifying Checksum 23:12:37 5f9638ab2659: Download complete 23:12:37 8b374f2dd631: Verifying Checksum 23:12:37 8b374f2dd631: Download complete 23:12:37 ec14aa9079de: Verifying Checksum 23:12:37 ec14aa9079de: Download complete 23:12:37 edb6bdbacee9: Verifying Checksum 23:12:37 edb6bdbacee9: Download complete 23:12:38 edb6bdbacee9: Pull complete 23:12:38 554e91adad29: Verifying Checksum 23:12:38 554e91adad29: Download complete 23:12:39 5f9638ab2659: Pull complete 23:12:40 2f466654f4bb: Verifying Checksum 23:12:40 8d51d6327a98: Verifying Checksum 23:12:40 8d51d6327a98: Download complete 23:12:52 8d51d6327a98: Pull complete 23:12:52 8b374f2dd631: Pull complete 23:12:52 ec14aa9079de: Pull complete 23:12:57 2f466654f4bb: Pull complete 23:13:00 554e91adad29: Pull complete 23:13:00 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 23:13:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:13:00 ---> 1e15ea492957 23:13:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:13:02 ---> Running in 3695161150d0 23:13:03 Removing intermediate container 3695161150d0 23:13:03 ---> 31085e728060 23:13:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:13:03 ---> Running in 8e7d389fcee5 23:13:03 Removing intermediate container 8e7d389fcee5 23:13:03 ---> 5e12c0941568 23:13:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:13:03 ---> Running in 3f5f24999c7b 23:13:03 Removing intermediate container 3f5f24999c7b 23:13:03 ---> d6654f766cca 23:13:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:13:03 ---> Running in 7a5a725266d2 23:13:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:13:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:13:06 OK: 263 MiB in 53 packages 23:13:07 Removing intermediate container 7a5a725266d2 23:13:07 ---> d8b94e51eb7a 23:13:07 Step 7/12 : WORKDIR /app 23:13:07 ---> Running in 1214aa0c4e12 23:13:07 Removing intermediate container 1214aa0c4e12 23:13:07 ---> cdef7150587a 23:13:07 Step 8/12 : COPY go.mod vendor* ./ 23:13:07 ---> c13e673ed5bd 23:13:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:13:07 ---> Running in 41971b12be92 23:14:15 Removing intermediate container 41971b12be92 23:14:15 ---> e39893c334ce 23:14:15 Step 10/12 : COPY . . 23:14:15 ---> 357ccd5363f9 23:14:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:14:15 ---> Running in a2c477549d80 23:14:15 Removing intermediate container a2c477549d80 23:14:15 ---> 489e4374e481 23:14:15 Step 12/12 : RUN $MAKE 23:14:15 ---> Running in 378fab09427e 23:14:15 noop 23:14:15 Removing intermediate container 378fab09427e 23:14:15 ---> 8bfe85a43226 23:14:15 Successfully built 8bfe85a43226 23:14:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:16 + docker inspect -f . ci-base-image-arm64 23:14:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:16 prd-ubuntu20.04-docker-arm64-4c-16g-3870 does not seem to be running inside a container 23:14:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/8 -v /w/workspace/app-record-replay/8:/w/workspace/app-record-replay/8:rw,z -v /w/workspace/app-record-replay/8@tmp:/w/workspace/app-record-replay/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:14:20 $ docker top f0fdb0993cf2c11c7acb55feca29a4d4cde67c8f34991a905b6186e7349fb49f -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:21 + go version 23:14:21 go version go1.20.6 linux/arm64 [Pipeline] } 23:14:21 $ docker stop --time=1 f0fdb0993cf2c11c7acb55feca29a4d4cde67c8f34991a905b6186e7349fb49f 23:14:23 $ docker rm -f --volumes f0fdb0993cf2c11c7acb55feca29a4d4cde67c8f34991a905b6186e7349fb49f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:23 + docker inspect -f . ci-base-image-arm64 23:14:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:23 prd-ubuntu20.04-docker-arm64-4c-16g-3870 does not seem to be running inside a container 23:14:23 $ 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/8 -v /w/workspace/app-record-replay/8:/w/workspace/app-record-replay/8:rw,z -v /w/workspace/app-record-replay/8@tmp:/w/workspace/app-record-replay/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:14:25 $ docker top 8c4279404507edd01194aec0f7740a7c8238685b3cb0f568ae3126cdb7341f17 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:25 + git config --global --add safe.directory /w/workspace/app-record-replay/8 [Pipeline] fileExists [Pipeline] sh 23:14:25 + make test 23:14:25 go test -race -coverprofile=coverage.out ./... 23:17:02 ? github.com/edgexfoundry/app-record-replay [no test files] 23:17:02 ok github.com/edgexfoundry/app-record-replay/internal/app 0.263s coverage: 88.0% of statements 23:17:06 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 23:17:06 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 23:17:06 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 23:17:10 ok github.com/edgexfoundry/app-record-replay/internal/application 8.826s coverage: 97.5% of statements 23:17:10 --- FAIL: TestHttpController_ExportRecordedData (0.45s) 23:17:10 --- FAIL: TestHttpController_ExportRecordedData/Valid_-_no_events (0.00s) 23:17:10 controller_test.go:486: 23:17:10 Error Trace: /w/workspace/app-record-replay/8/internal/controller/controller_test.go:486 23:17:10 Error: Not equal: 23:17:10 expected: 204 23:17:10 actual : 200 23:17:10 Test: TestHttpController_ExportRecordedData/Valid_-_no_events 23:17:10 FAIL 23:17:10 github.com/edgexfoundry/app-record-replay/internal/controller coverage: 76.5% of statements 23:17:10 FAIL github.com/edgexfoundry/app-record-replay/internal/controller 0.823s 23:17:10 FAIL 23:17:10 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 23:17:10 $ docker stop --time=1 8c4279404507edd01194aec0f7740a7c8238685b3cb0f568ae3126cdb7341f17 23:17:14 $ docker rm -f --volumes 8c4279404507edd01194aec0f7740a7c8238685b3cb0f568ae3126cdb7341f17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:15 23:17:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:16 arm64: Pulling from edgex-lftools-log-publisher 23:17:16 8998bd30e6a1: Pulling fs layer 23:17:16 04944245beec: Pulling fs layer 23:17:16 699f458cf7ca: Pulling fs layer 23:17:16 765212b225bb: Pulling fs layer 23:17:16 f23df028b6ca: Pulling fs layer 23:17:16 d65c8cfc05b1: Pulling fs layer 23:17:16 2437ff75d9bd: Pulling fs layer 23:17:16 f23df028b6ca: Waiting 23:17:16 d65c8cfc05b1: Waiting 23:17:16 2437ff75d9bd: Waiting 23:17:16 765212b225bb: Waiting 23:17:16 04944245beec: Verifying Checksum 23:17:16 04944245beec: Download complete 23:17:16 765212b225bb: Verifying Checksum 23:17:16 765212b225bb: Download complete 23:17:16 f23df028b6ca: Verifying Checksum 23:17:16 f23df028b6ca: Download complete 23:17:16 d65c8cfc05b1: Verifying Checksum 23:17:16 d65c8cfc05b1: Download complete 23:17:16 699f458cf7ca: Verifying Checksum 23:17:16 699f458cf7ca: Download complete 23:17:16 8998bd30e6a1: Verifying Checksum 23:17:16 8998bd30e6a1: Download complete 23:17:19 2437ff75d9bd: Verifying Checksum 23:17:19 2437ff75d9bd: Download complete 23:17:20 8998bd30e6a1: Pull complete 23:17:21 04944245beec: Pull complete 23:17:22 699f458cf7ca: Pull complete 23:17:22 765212b225bb: Pull complete 23:17:23 f23df028b6ca: Pull complete 23:17:23 d65c8cfc05b1: Pull complete 23:17:38 2437ff75d9bd: Pull complete 23:17:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:17:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:17:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:38 prd-ubuntu20.04-docker-arm64-4c-16g-3870 does not seem to be running inside a container 23:17:38 $ 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/8 -v /w/workspace/app-record-replay/8:/w/workspace/app-record-replay/8:rw,z -v /w/workspace/app-record-replay/8@tmp:/w/workspace/app-record-replay/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:17:41 $ docker top 5da25ea605d4f04beae8749e8d173e846d6fa79d470b652a36c3671e0db93c16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:41 ---> job-cost.sh 23:17:42 lf-activate-venv: SKIPPING 23:17:42 INFO: No Stack... 23:17:42 INFO: Retrieving Pricing Info for: v3-standard-4 23:17:43 INFO: Archiving Costs [Pipeline] sh 23:17:43 + cat /w/workspace/app-record-replay/8/archives/cost.csv 23:17:43 + cut -d, -f6 [Pipeline] lock 23:17:43 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] 23:17:43 Resource [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] did not exist. Created. 23:17:43 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:17:44 /w/workspace/app-record-replay/8@tmp/durable-a01cac93/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:17:44 + echo total: 0.10999999940395355 [Pipeline] stash 23:17:44 Warning: overwriting stash ‘stack-cost’ 23:17:44 Stashed 1 file(s) [Pipeline] } 23:17:44 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-56-8-stack-cost] [Pipeline] // lock [Pipeline] } 23:17:44 $ docker stop --time=1 5da25ea605d4f04beae8749e8d173e846d6fa79d470b652a36c3671e0db93c16 23:17:46 $ docker rm -f --volumes 5da25ea605d4f04beae8749e8d173e846d6fa79d470b652a36c3671e0db93c16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:17:46 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:17:47 + [ -d /w/workspace/xfoundry_app-record-replay_PR-56/archives ] 23:17:47 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:17:47 total 16 23:17:47 drwxr-xr-x 3 root root 4096 Aug 16 23:12 . 23:17:47 drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 23:12 .. 23:17:47 drwxr-xr-x 2 root root 4096 Aug 16 23:12 cost 23:17:47 -rw-r--r-- 1 root root 88 Aug 16 23:12 cost.csv 23:17:47 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:17:47 + ls -al /w/workspace/xfoundry_app-record-replay_PR-56/archives 23:17:47 total 16 23:17:47 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 23:12 . 23:17:47 drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 23:12 .. 23:17:47 drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 23:12 cost 23:17:47 -rw-r--r-- 1 jenkins jenkins 88 Aug 16 23:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:17:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:17:48 ---> package-listing.sh 23:17:48 ++ facter osfamily 23:17:48 ++ tr '[:upper:]' '[:lower:]' 23:17:48 + OS_FAMILY=debian 23:17:48 + workspace=/w/workspace/xfoundry_app-record-replay_PR-56 23:17:48 + START_PACKAGES=/tmp/packages_start.txt 23:17:48 + END_PACKAGES=/tmp/packages_end.txt 23:17:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:17:48 + PACKAGES=/tmp/packages_start.txt 23:17:48 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 23:17:48 + PACKAGES=/tmp/packages_end.txt 23:17:48 + case "${OS_FAMILY}" in 23:17:48 + dpkg -l 23:17:48 + grep '^ii' 23:17:48 + '[' -f /tmp/packages_start.txt ']' 23:17:48 + '[' -f /tmp/packages_end.txt ']' 23:17:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:17:48 + '[' /w/workspace/xfoundry_app-record-replay_PR-56 ']' 23:17:48 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-56/archives/ 23:17:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-56/archives/ [Pipeline] echo 23:17:48 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-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:17:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:17:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:49 prd-ubuntu20.04-docker-8c-8g-3869 does not seem to be running inside a container 23:17:49 $ 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-56/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-56 -v /w/workspace/xfoundry_app-record-replay_PR-56:/w/workspace/xfoundry_app-record-replay_PR-56:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-56@tmp:/w/workspace/xfoundry_app-record-replay_PR-56@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:17:49 $ docker top 86299e7ffa0e0cd540e57b9fd2ed2fa282b75b96414cb60e1a2f1ced4069c3e5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:50 + touch /tmp/pre-build-complete [Pipeline] sh 23:17:50 + mkdir -p /var/log/sysstat [Pipeline] sh 23:17:50 + ls /var/log/sa-host 23:17:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:50 provisioning config files... 23:17:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-56@tmp/config11920025738616931077tmp [Pipeline] { [Pipeline] echo 23:17:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:17:51 ---> create-netrc.sh [Pipeline] } 23:17:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:17:51 ---> python-tools-install.sh [Pipeline] echo 23:17:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:17:51 ---> sudo-logs.sh 23:17:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:17:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:17:51 ---> job-cost.sh 23:17:51 lf-activate-venv: SKIPPING 23:17:51 DEBUG: total: 0.2199999988079071 23:17:51 INFO: Retrieving Stack Cost... 23:17:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:17:52 INFO: Archiving Costs [Pipeline] echo 23:17:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:17:52 ---> logs-deploy.sh 23:17:52 lf-activate-venv: SKIPPING 23:17:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-56/8 23:17:52 INFO: archiving workspace using pattern(s): 23:17:53 Archives upload complete. 23:17:53 INFO: archiving logs to Nexus