Pull request #63 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-record-replay Obtained Jenkinsfile from 7cad0131186e3f2ea51d84677ed08e4cd00c4479+0cf030821eec9376453adfe2348338ef327cf101 (deaf527da74d97cddac6d4e21a6e3ff98dde341e) 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-ssh5679683090543831074.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-ssh14464328194094366812.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-63/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-63/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7987959840285163095.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-ssh6509947804814480958.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-63/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-63/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17288392501656641262.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 Running on prd-ubuntu20.04-docker-8c-8g-4266 in /w/workspace/xfoundry_app-record-replay_PR-63 [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-63 # 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/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0cf030821eec9376453adfe2348338ef327cf101 into PR head commit 7cad0131186e3f2ea51d84677ed08e4cd00c4479 Merge succeeded, producing 7cad0131186e3f2ea51d84677ed08e4cd00c4479 Checking out Revision 7cad0131186e3f2ea51d84677ed08e4cd00c4479 (PR-63) > git config core.sparsecheckout # timeout=10 > git checkout -f 7cad0131186e3f2ea51d84677ed08e4cd00c4479 # 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 0cf030821eec9376453adfe2348338ef327cf101 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cad0131186e3f2ea51d84677ed08e4cd00c4479 # timeout=10 Commit message: "feat: Implement app layer Export" First time build. Skipping changelog. > git rev-list --no-walk 88a2ce8ebc1894a1ef51b751d1a9cef34847c76b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:44:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:44:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:44:34 ========================================================= 16:44:34 EdgeX Global Pipelines Version Info 16:44:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:44:35 ------------------- 16:44:35 stable info: 16:44:35 ------------------- 16:44:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:44:35 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 16:44:35 Message: update stable to v1.0.253 16:44:35 ------------------- 16:44:35 experimental info: 16:44:35 ------------------- 16:44:35 Commited By: **** collab-it+edgex@linuxfoundation.org 16:44:35 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 16:44:35 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:44:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-63 [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-63 [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-63 [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cad0131186e3f2ea51d84677ed08e4cd00c4479 [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cad013 [Pipeline] echo 16:44:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:44:36 provisioning config files... 16:44:36 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-63@tmp/config11826938290000396857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:44:36 ---> docker-login.sh 16:44:36 nexus3.edgexfoundry.org:10001 16:44:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:37 Configure a credential helper to remove this warning. See 16:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:37 16:44:37 Login Succeeded 16:44:37 nexus3.edgexfoundry.org:10002 16:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:37 Configure a credential helper to remove this warning. See 16:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:37 16:44:37 Login Succeeded 16:44:37 nexus3.edgexfoundry.org:10003 16:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:37 Configure a credential helper to remove this warning. See 16:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:37 16:44:37 Login Succeeded 16:44:37 nexus3.edgexfoundry.org:10004 16:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:37 Configure a credential helper to remove this warning. See 16:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:37 16:44:37 Login Succeeded 16:44:37 docker.io 16:44:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:37 Configure a credential helper to remove this warning. See 16:44:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:37 16:44:37 Login Succeeded 16:44:37 ---> docker-login.sh ends [Pipeline] } 16:44:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:44:38 + git rev-list -1 --merges 7cad0131186e3f2ea51d84677ed08e4cd00c4479~1..7cad0131186e3f2ea51d84677ed08e4cd00c4479 [Pipeline] echo 16:44:38 -----------> git rev-list -1 --merges 7cad0131186e3f2ea51d84677ed08e4cd00c4479~1..7cad0131186e3f2ea51d84677ed08e4cd00c4479 7cad0131186e3f2ea51d84677ed08e4cd00c4479 [false] [Pipeline] sh 16:44:38 + git log --format=format:%s -1 7cad0131186e3f2ea51d84677ed08e4cd00c4479 [Pipeline] echo 16:44:38 ========================================================= 16:44:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:44:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:38 + git log --format=format:%s -1 7cad0131186e3f2ea51d84677ed08e4cd00c4479 [Pipeline] echo 16:44:38 [semverPrep] GIT_COMMIT: 7cad0131186e3f2ea51d84677ed08e4cd00c4479, Commit Message: feat: Implement app layer Export [Pipeline] echo 16:44:38 [semverPrep] This is not a build commit. [Pipeline] sh 16:44:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:44:39 + grep -v github /etc/ssh/ssh_known_hosts 16:44:39 + [ -e /tmp/ssh_known_hosts ] 16:44:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:44:39 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:44:39 sudo tee -a /etc/ssh/ssh_known_hosts 16:44:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:44:39 16:44:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:44:39 0.1.4: Pulling from edgex-devops/py-git-semver 16:44:39 b85a868b505f: Pulling fs layer 16:44:39 e2be974225ed: Pulling fs layer 16:44:39 339a4e72a1f5: Pulling fs layer 16:44:39 988bab9f4d93: Pulling fs layer 16:44:39 1469e6f7b9e6: Pulling fs layer 16:44:39 eaf3925da568: Pulling fs layer 16:44:39 bab4dde63d76: Pulling fs layer 16:44:39 bde34c3a00c8: Pulling fs layer 16:44:39 b352a97aabf1: Pulling fs layer 16:44:39 4872d77fe225: Pulling fs layer 16:44:39 5851b861e8e6: Pulling fs layer 16:44:39 4872d77fe225: Waiting 16:44:39 bab4dde63d76: Waiting 16:44:39 bde34c3a00c8: Waiting 16:44:39 b352a97aabf1: Waiting 16:44:39 988bab9f4d93: Waiting 16:44:39 1469e6f7b9e6: Waiting 16:44:39 eaf3925da568: Waiting 16:44:39 e2be974225ed: Verifying Checksum 16:44:39 e2be974225ed: Download complete 16:44:39 988bab9f4d93: Download complete 16:44:40 1469e6f7b9e6: Verifying Checksum 16:44:40 1469e6f7b9e6: Download complete 16:44:40 eaf3925da568: Verifying Checksum 16:44:40 eaf3925da568: Download complete 16:44:40 339a4e72a1f5: Verifying Checksum 16:44:40 339a4e72a1f5: Download complete 16:44:40 bde34c3a00c8: Verifying Checksum 16:44:40 bde34c3a00c8: Download complete 16:44:40 b352a97aabf1: Download complete 16:44:40 4872d77fe225: Verifying Checksum 16:44:40 4872d77fe225: Download complete 16:44:40 5851b861e8e6: Verifying Checksum 16:44:40 5851b861e8e6: Download complete 16:44:40 b85a868b505f: Verifying Checksum 16:44:40 b85a868b505f: Download complete 16:44:40 bab4dde63d76: Download complete 16:44:41 b85a868b505f: Pull complete 16:44:41 e2be974225ed: Pull complete 16:44:41 339a4e72a1f5: Pull complete 16:44:41 988bab9f4d93: Pull complete 16:44:42 1469e6f7b9e6: Pull complete 16:44:42 eaf3925da568: Pull complete 16:44:43 bab4dde63d76: Pull complete 16:44:43 bde34c3a00c8: Pull complete 16:44:44 b352a97aabf1: Pull complete 16:44:44 4872d77fe225: Pull complete 16:44:44 5851b861e8e6: Pull complete 16:44:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:44:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:44:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:44:44 prd-ubuntu20.04-docker-8c-8g-4266 does not seem to be running inside a container 16:44:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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-devops/py-git-semver:0.1.4 cat 16:44:49 $ docker top 80c1e4a0e95578c7a0863bb682a11fc8442effcbd66dfbfc210fcbb20458a9e1 -eo pid,comm 16:44:49 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:44:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:44:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:44:49 [ssh-agent] Looking for ssh-agent implementation... 16:44:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:44:49 $ docker exec 80c1e4a0e95578c7a0863bb682a11fc8442effcbd66dfbfc210fcbb20458a9e1 ssh-agent 16:44:49 SSH_AUTH_SOCK=/tmp/ssh-HnOBBAdJvLSe/agent.15 16:44:49 SSH_AGENT_PID=21 16:44:49 Running ssh-add (command line suppressed) 16:44:49 Identity added: /w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_1980762130609680993.key (/w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_1980762130609680993.key) 16:44:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:44:50 + git tag --points-at HEAD [Pipeline] } 16:44:50 $ docker exec --env ******** --env ******** 80c1e4a0e95578c7a0863bb682a11fc8442effcbd66dfbfc210fcbb20458a9e1 ssh-agent -k 16:44:50 unset SSH_AUTH_SOCK; 16:44:50 unset SSH_AGENT_PID; 16:44:50 echo Agent pid 21 killed; 16:44:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:44:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:44:50 [ssh-agent] Looking for ssh-agent implementation... 16:44:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:44:50 $ docker exec 80c1e4a0e95578c7a0863bb682a11fc8442effcbd66dfbfc210fcbb20458a9e1 ssh-agent 16:44:50 SSH_AUTH_SOCK=/tmp/ssh-ypy7EpUkf1Jj/agent.72 16:44:50 SSH_AGENT_PID=79 16:44:50 Running ssh-add (command line suppressed) 16:44:50 Identity added: /w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_5148039255080815933.key (/w/workspace/xfoundry_app-record-replay_PR-63@tmp/private_key_5148039255080815933.key) 16:44:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:44:51 + git semver init 16:44:51 2023-08-22 16:44:51,169 [run_init] DEBUG init version:0.0.0 force:False 16:44:51 2023-08-22 16:44:51,170 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-63/.semver 16:44:51 2023-08-22 16:44:51,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-63/.semver 16:44:51 2023-08-22 16:44:51,170 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-63/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-63, universal_newlines=False, shell=None, istream=None) 16:44:52 2023-08-22 16:44:51,978 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-63/.git/info/exclude 16:44:52 2023-08-22 16:44:51,979 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-63/.semver/PR-63 with force:False 16:44:52 2023-08-22 16:44:51,979 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-63/.semver/PR-63 16:44:52 2023-08-22 16:44:51,982 [execute] INFO git cat-file --batch-check 16:44:52 2023-08-22 16:44:51,983 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-63/.semver, universal_newlines=False, shell=None, istream=) 16:44:52 2023-08-22 16:44:51,989 [execute] INFO git cat-file --batch 16:44:52 2023-08-22 16:44:51,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-63/.semver, universal_newlines=False, shell=None, istream=) 16:44:52 2023-08-22 16:44:51,995 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-63/.semver/PR-63 16:44:52 0.0.0 [Pipeline] } 16:44:52 $ docker exec --env ******** --env ******** 80c1e4a0e95578c7a0863bb682a11fc8442effcbd66dfbfc210fcbb20458a9e1 ssh-agent -k 16:44:52 unset SSH_AUTH_SOCK; 16:44:52 unset SSH_AGENT_PID; 16:44:52 echo Agent pid 79 killed; 16:44:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:44:52 + git semver [Pipeline] } 16:44:52 $ docker stop --time=1 80c1e4a0e95578c7a0863bb682a11fc8442effcbd66dfbfc210fcbb20458a9e1 16:44:54 $ docker rm -f --volumes 80c1e4a0e95578c7a0863bb682a11fc8442effcbd66dfbfc210fcbb20458a9e1 [Pipeline] // withDockerContainer [Pipeline] sh 16:44:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:44:55 Stashed 1 file(s) [Pipeline] echo 16:44:55 [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:44:55 provisioning config files... 16:44:55 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-63@tmp/config9157720176970123447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:44:55 ---> docker-login.sh 16:44:55 nexus3.edgexfoundry.org:10001 16:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:55 Configure a credential helper to remove this warning. See 16:44:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:55 16:44:55 Login Succeeded 16:44:55 nexus3.edgexfoundry.org:10002 16:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:56 Configure a credential helper to remove this warning. See 16:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:56 16:44:56 Login Succeeded 16:44:56 nexus3.edgexfoundry.org:10003 16:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:56 Configure a credential helper to remove this warning. See 16:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:56 16:44:56 Login Succeeded 16:44:56 nexus3.edgexfoundry.org:10004 16:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:56 Configure a credential helper to remove this warning. See 16:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:56 16:44:56 Login Succeeded 16:44:56 docker.io 16:44:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:44:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:44:56 Configure a credential helper to remove this warning. See 16:44:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:44:56 16:44:56 Login Succeeded 16:44:56 ---> docker-login.sh ends [Pipeline] } 16:44:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:44:56 ========================================================= 16:44:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:44:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:57 + 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:44:57 Sending build context to Docker daemon 464.9kB 16:44:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:44:57 Step 2/12 : FROM ${BASE} AS builder 16:44:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:44:57 4db1b89c0bd1: Pulling fs layer 16:44:57 6911f1a30b25: Pulling fs layer 16:44:57 e194b8c5c2a9: Pulling fs layer 16:44:57 6863d3e3a2b1: Pulling fs layer 16:44:57 ec0bb842ea78: Pulling fs layer 16:44:57 40a00589a448: Pulling fs layer 16:44:57 6c08303d61cc: Pulling fs layer 16:44:57 798269fcf238: Pulling fs layer 16:44:57 ec0bb842ea78: Waiting 16:44:57 40a00589a448: Waiting 16:44:57 6c08303d61cc: Waiting 16:44:57 798269fcf238: Waiting 16:44:57 6863d3e3a2b1: Waiting 16:44:57 6911f1a30b25: Verifying Checksum 16:44:57 6911f1a30b25: Download complete 16:44:57 6863d3e3a2b1: Verifying Checksum 16:44:57 6863d3e3a2b1: Download complete 16:44:57 ec0bb842ea78: Verifying Checksum 16:44:57 ec0bb842ea78: Download complete 16:44:57 4db1b89c0bd1: Verifying Checksum 16:44:57 4db1b89c0bd1: Download complete 16:44:57 40a00589a448: Verifying Checksum 16:44:57 40a00589a448: Download complete 16:44:57 4db1b89c0bd1: Pull complete 16:44:57 6911f1a30b25: Pull complete 16:44:58 798269fcf238: Verifying Checksum 16:44:58 798269fcf238: Download complete 16:44:58 e194b8c5c2a9: Verifying Checksum 16:44:58 e194b8c5c2a9: Download complete 16:44:58 6c08303d61cc: Verifying Checksum 16:44:58 6c08303d61cc: Download complete 16:45:01 e194b8c5c2a9: Pull complete 16:45:01 6863d3e3a2b1: Pull complete 16:45:01 ec0bb842ea78: Pull complete 16:45:01 40a00589a448: Pull complete 16:45:03 6c08303d61cc: Pull complete 16:45:04 798269fcf238: Pull complete 16:45:04 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 16:45:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:45:04 ---> ec979cd7f677 16:45:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:45:10 Still waiting to schedule task 16:45:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:45:14 ---> Running in a5438f30ae25 16:45:15 Removing intermediate container a5438f30ae25 16:45:15 ---> 23d35bf1efa4 16:45:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:45:15 ---> Running in 84f30dcef7c5 16:45:15 Removing intermediate container 84f30dcef7c5 16:45:15 ---> bb9bfc37a59e 16:45:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:45:15 ---> Running in 32230c61fecb 16:45:15 Removing intermediate container 32230c61fecb 16:45:15 ---> d7249aba1e59 16:45:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:45:15 ---> Running in 72a83d1ed9be 16:45:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:45:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:45:15 OK: 265 MiB in 53 packages 16:45:16 Removing intermediate container 72a83d1ed9be 16:45:16 ---> 6d3b364c1aff 16:45:16 Step 7/12 : WORKDIR /app 16:45:16 ---> Running in 45573258cc6b 16:45:16 Removing intermediate container 45573258cc6b 16:45:16 ---> 95276128a169 16:45:16 Step 8/12 : COPY go.mod vendor* ./ 16:45:16 ---> 27091bb90c09 16:45:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:45:16 ---> Running in c9e9f92543a3 16:45:55 Removing intermediate container c9e9f92543a3 16:45:55 ---> d81f594df24e 16:45:55 Step 10/12 : COPY . . 16:45:55 ---> 7f96209aed73 16:45:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:45:55 ---> Running in 607d7784350f 16:45:55 Removing intermediate container 607d7784350f 16:45:55 ---> 99b68c873cee 16:45:55 Step 12/12 : RUN $MAKE 16:45:55 ---> Running in 8a1353fea60a 16:45:55 noop 16:45:55 Removing intermediate container 8a1353fea60a 16:45:55 ---> 2d60e86e0bbb 16:45:55 Successfully built 2d60e86e0bbb 16:45:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:55 + docker inspect -f . ci-base-image-x86_64 16:45:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:55 prd-ubuntu20.04-docker-8c-8g-4266 does not seem to be running inside a container 16:45:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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 ******** ci-base-image-x86_64 cat 16:45:55 $ docker top 919c9e4ab8d63e958c88dc87140eccff9f08c7bc9c56ed9c8c4d97a958f8ffa8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:56 + go version 16:45:56 go version go1.20.6 linux/amd64 [Pipeline] } 16:45:56 $ docker stop --time=1 919c9e4ab8d63e958c88dc87140eccff9f08c7bc9c56ed9c8c4d97a958f8ffa8 16:45:57 $ docker rm -f --volumes 919c9e4ab8d63e958c88dc87140eccff9f08c7bc9c56ed9c8c4d97a958f8ffa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:45:57 + docker inspect -f . ci-base-image-x86_64 16:45:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:45:58 prd-ubuntu20.04-docker-8c-8g-4266 does not seem to be running inside a container 16:45:58 $ 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-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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 ******** ci-base-image-x86_64 cat 16:45:58 $ docker top e6bfca939b80e4207bb356bb4f3aa907582f41fb90085d4bb6ac288e5762e394 -eo pid,comm [Pipeline] { [Pipeline] sh 16:45:58 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-63 [Pipeline] fileExists [Pipeline] sh 16:45:59 + make test 16:45:59 go test -race -coverprofile=coverage.out ./... 16:46:17 ? github.com/edgexfoundry/app-record-replay [no test files] 16:46:17 ok github.com/edgexfoundry/app-record-replay/internal/app 0.087s coverage: 88.0% of statements 16:46:17 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 16:46:17 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 16:46:17 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 16:46:27 ok github.com/edgexfoundry/app-record-replay/internal/application 8.594s coverage: 98.7% of statements 16:46:27 --- FAIL: TestHttpController_ExportRecordedData (0.00s) 16:46:27 --- FAIL: TestHttpController_ExportRecordedData/Valid_with_data_with_GZIP_query_parameter (0.00s) 16:46:27 controller_test.go:488: 16:46:27 Error Trace: /w/workspace/xfoundry_app-record-replay_PR-63/internal/controller/controller_test.go:488 16:46:27 Error: Not equal: 16:46:27 expected: 200 16:46:27 actual : 500 16:46:27 Test: TestHttpController_ExportRecordedData/Valid_with_data_with_GZIP_query_parameter 16:46:27 --- FAIL: TestHttpController_ExportRecordedData/Valid_with_data_with_ZLIB_query_parameter (0.00s) 16:46:27 controller_test.go:488: 16:46:27 Error Trace: /w/workspace/xfoundry_app-record-replay_PR-63/internal/controller/controller_test.go:488 16:46:27 Error: Not equal: 16:46:27 expected: 200 16:46:27 actual : 500 16:46:27 Test: TestHttpController_ExportRecordedData/Valid_with_data_with_ZLIB_query_parameter 16:46:27 FAIL 16:46:27 github.com/edgexfoundry/app-record-replay/internal/controller coverage: 71.2% of statements 16:46:27 FAIL github.com/edgexfoundry/app-record-replay/internal/controller 0.096s 16:46:27 FAIL 16:46:27 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 16:46:27 $ docker stop --time=1 e6bfca939b80e4207bb356bb4f3aa907582f41fb90085d4bb6ac288e5762e394 16:46:33 $ docker rm -f --volumes e6bfca939b80e4207bb356bb4f3aa907582f41fb90085d4bb6ac288e5762e394 [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 16:46:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:46:33 16:46:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:46:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:46:34 latest: Pulling from edgex-lftools-log-publisher 16:46:34 5eb5b503b376: Pulling fs layer 16:46:34 5c69ac0246d0: Pulling fs layer 16:46:34 ec43610c2a17: Pulling fs layer 16:46:34 3a2ae6a8a46f: Pulling fs layer 16:46:34 33b1e0a273af: Pulling fs layer 16:46:34 5d3b04190fa2: Pulling fs layer 16:46:34 2f39f015ded8: Pulling fs layer 16:46:34 33b1e0a273af: Waiting 16:46:34 5d3b04190fa2: Waiting 16:46:34 2f39f015ded8: Waiting 16:46:34 3a2ae6a8a46f: Waiting 16:46:34 5c69ac0246d0: Download complete 16:46:34 3a2ae6a8a46f: Download complete 16:46:34 33b1e0a273af: Verifying Checksum 16:46:34 33b1e0a273af: Download complete 16:46:34 ec43610c2a17: Verifying Checksum 16:46:34 ec43610c2a17: Download complete 16:46:34 5d3b04190fa2: Verifying Checksum 16:46:34 5d3b04190fa2: Download complete 16:46:34 5eb5b503b376: Download complete 16:46:35 2f39f015ded8: Download complete 16:46:35 5eb5b503b376: Pull complete 16:46:35 5c69ac0246d0: Pull complete 16:46:36 ec43610c2a17: Pull complete 16:46:36 3a2ae6a8a46f: Pull complete 16:46:36 33b1e0a273af: Pull complete 16:46:37 5d3b04190fa2: Pull complete 16:46:41 2f39f015ded8: Pull complete 16:46:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:46:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:46:41 prd-ubuntu20.04-docker-8c-8g-4266 does not seem to be running inside a container 16:46:41 $ 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-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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 16:46:47 $ docker top 63a24cec6e91538e7579ad4cc1b0c86349d747716b5e5165f6540fd99c7f0c16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:46:48 ---> job-cost.sh 16:46:48 lf-activate-venv: SKIPPING 16:46:48 INFO: No Stack... 16:46:48 INFO: Retrieving Pricing Info for: v3-standard-8 16:46:48 INFO: Archiving Costs [Pipeline] sh 16:46:49 + cat /w/workspace/xfoundry_app-record-replay_PR-63/archives/cost.csv 16:46:49 + cut -d, -f6 [Pipeline] lock 16:46:49 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-63-2-stack-cost] 16:46:49 Resource [jenkins-edgexfoundry-app-record-replay-PR-63-2-stack-cost] did not exist. Created. 16:46:49 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-63-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:46:49 + echo total: 0.2199999988079071 [Pipeline] stash 16:46:49 Stashed 1 file(s) [Pipeline] } 16:46:49 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-63-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:46:49 $ docker stop --time=1 63a24cec6e91538e7579ad4cc1b0c86349d747716b5e5165f6540fd99c7f0c16 16:46:50 $ docker rm -f --volumes 63a24cec6e91538e7579ad4cc1b0c86349d747716b5e5165f6540fd99c7f0c16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:46:50 Failed in branch amd64 16:46:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4275 in /w/workspace/xfoundry_app-record-replay_PR-63 [Pipeline] { [Pipeline] ws 16:46:55 Running in /w/workspace/app-record-replay/2 [Pipeline] { [Pipeline] checkout 16:46:55 Selected Git installation does not exist. Using Default 16:46:55 The recommended git tool is: NONE 16:47:01 using credential edgex-jenkins-ssh 16:47:01 Cloning the remote Git repository 16:47:01 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 16:47:01 > git init /w/workspace/app-record-replay/2 # timeout=10 16:47:01 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 16:47:01 > git --version # timeout=10 16:47:01 > git --version # 'git version 2.25.1' 16:47:01 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:04 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 16:47:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:05 Merging remotes/origin/main commit 0cf030821eec9376453adfe2348338ef327cf101 into PR head commit 7cad0131186e3f2ea51d84677ed08e4cd00c4479 16:47:05 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 16:47:05 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 16:47:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/63/head:refs/remotes/origin/PR-63 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:47:05 > git config core.sparsecheckout # timeout=10 16:47:06 Merge succeeded, producing 7cad0131186e3f2ea51d84677ed08e4cd00c4479 16:47:06 Checking out Revision 7cad0131186e3f2ea51d84677ed08e4cd00c4479 (PR-63) 16:47:06 > git checkout -f 7cad0131186e3f2ea51d84677ed08e4cd00c4479 # timeout=10 16:47:06 > git remote # timeout=10 16:47:06 > git config --get remote.origin.url # timeout=10 16:47:06 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:06 > git merge 0cf030821eec9376453adfe2348338ef327cf101 # timeout=10 16:47:06 > git rev-parse HEAD^{commit} # timeout=10 16:47:06 > git config core.sparsecheckout # timeout=10 16:47:06 > git checkout -f 7cad0131186e3f2ea51d84677ed08e4cd00c4479 # timeout=10 16:47:09 Commit message: "feat: Implement app layer Export" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:47:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:47:10 % Total % Received % Xferd Average Speed Time Time Time Current 16:47:10 Dload Upload Total Spent Left Speed 16:47:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 54725 0 --:--:-- --:--:-- --:--:-- 54961 [Pipeline] sh 16:47:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:47:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:47:11 + sudo tee /etc/docker/daemon.new 16:47:11 { 16:47:11 "registry-mirrors": [ 16:47:11 "https://nexus3.edgexfoundry.org:10001" 16:47:11 ], 16:47:11 "bip": "10.250.0.254/24", 16:47:11 "hosts": [ 16:47:11 "tcp://0.0.0.0:5555", 16:47:11 "unix:///var/run/docker.sock" 16:47:11 ], 16:47:11 "mtu": 1458, 16:47:11 "selinux-enabled": true, 16:47:11 "seccomp-profile": "/etc/docker/seccomp.json" 16:47:11 } [Pipeline] sh 16:47:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:47:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:47:30 provisioning config files... 16:47:30 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/2@tmp/config13838030539088107337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:47:31 ---> docker-login.sh 16:47:31 nexus3.edgexfoundry.org:10001 16:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:31 Configure a credential helper to remove this warning. See 16:47:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:31 16:47:31 Login Succeeded 16:47:31 nexus3.edgexfoundry.org:10002 16:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:32 Configure a credential helper to remove this warning. See 16:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:32 16:47:32 Login Succeeded 16:47:32 nexus3.edgexfoundry.org:10003 16:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:32 Configure a credential helper to remove this warning. See 16:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:32 16:47:32 Login Succeeded 16:47:32 nexus3.edgexfoundry.org:10004 16:47:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:32 Configure a credential helper to remove this warning. See 16:47:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:32 16:47:32 Login Succeeded 16:47:32 docker.io 16:47:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:47:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:47:33 Configure a credential helper to remove this warning. See 16:47:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:47:33 16:47:33 Login Succeeded 16:47:33 ---> docker-login.sh ends [Pipeline] } 16:47:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:47:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:47:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:47:33 ========================================================= 16:47:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:47:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:34 + 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:47:34 Sending build context to Docker daemon 217.1kB 16:47:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:47:34 Step 2/12 : FROM ${BASE} AS builder 16:47:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:47:34 edb6bdbacee9: Pulling fs layer 16:47:34 5f9638ab2659: Pulling fs layer 16:47:34 8d51d6327a98: Pulling fs layer 16:47:34 8b374f2dd631: Pulling fs layer 16:47:34 ec14aa9079de: Pulling fs layer 16:47:34 2f466654f4bb: Pulling fs layer 16:47:34 554e91adad29: Pulling fs layer 16:47:34 ec14aa9079de: Waiting 16:47:34 2f466654f4bb: Waiting 16:47:34 554e91adad29: Waiting 16:47:34 8b374f2dd631: Waiting 16:47:34 5f9638ab2659: Download complete 16:47:34 8b374f2dd631: Download complete 16:47:34 ec14aa9079de: Verifying Checksum 16:47:34 ec14aa9079de: Download complete 16:47:34 edb6bdbacee9: Verifying Checksum 16:47:34 edb6bdbacee9: Download complete 16:47:35 edb6bdbacee9: Pull complete 16:47:35 554e91adad29: Verifying Checksum 16:47:35 554e91adad29: Download complete 16:47:36 5f9638ab2659: Pull complete 16:47:37 8d51d6327a98: Verifying Checksum 16:47:37 8d51d6327a98: Download complete 16:47:37 2f466654f4bb: Verifying Checksum 16:47:37 2f466654f4bb: Download complete 16:47:49 8d51d6327a98: Pull complete 16:47:49 8b374f2dd631: Pull complete 16:47:49 ec14aa9079de: Pull complete 16:47:56 2f466654f4bb: Pull complete 16:47:58 554e91adad29: Pull complete 16:47:58 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 16:47:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:47:58 ---> 1e15ea492957 16:47:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:48:00 ---> Running in 781eab14f901 16:48:00 Removing intermediate container 781eab14f901 16:48:00 ---> 389a4812cfbf 16:48:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:48:00 ---> Running in e82b8a4ab9fb 16:48:00 Removing intermediate container e82b8a4ab9fb 16:48:00 ---> 5288b915fe99 16:48:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:48:00 ---> Running in ab1a27abeee4 16:48:01 Removing intermediate container ab1a27abeee4 16:48:01 ---> f8690c5ce12e 16:48:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:01 ---> Running in 7f325b8a09c5 16:48:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:48:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:48:03 OK: 263 MiB in 53 packages 16:48:04 Removing intermediate container 7f325b8a09c5 16:48:04 ---> d3c78f0098d0 16:48:04 Step 7/12 : WORKDIR /app 16:48:04 ---> Running in 0196a0f0d8cb 16:48:05 Removing intermediate container 0196a0f0d8cb 16:48:05 ---> 1a299e8a4429 16:48:05 Step 8/12 : COPY go.mod vendor* ./ 16:48:05 ---> f7a3c4bdcc79 16:48:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:48:05 ---> Running in b005f494b8d0 16:49:13 Removing intermediate container b005f494b8d0 16:49:13 ---> c2f5aa3ea207 16:49:13 Step 10/12 : COPY . . 16:49:13 ---> 8058c2055e8d 16:49:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:49:13 ---> Running in 8560099047f6 16:49:13 Removing intermediate container 8560099047f6 16:49:13 ---> 12a94c0f0da8 16:49:13 Step 12/12 : RUN $MAKE 16:49:13 ---> Running in fa5cd4acc1d4 16:49:13 noop 16:49:13 Removing intermediate container fa5cd4acc1d4 16:49:13 ---> d00438404035 16:49:13 Successfully built d00438404035 16:49:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:13 + docker inspect -f . ci-base-image-arm64 16:49:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:14 prd-ubuntu20.04-docker-arm64-4c-16g-4275 does not seem to be running inside a container 16:49:14 $ 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 ******** -e ******** ci-base-image-arm64 cat 16:49:15 $ docker top cb879053ff1e5d5fd49791b93048d941be078f63977850ea4b81034d791d6364 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:16 + go version 16:49:16 go version go1.20.6 linux/arm64 [Pipeline] } 16:49:16 $ docker stop --time=1 cb879053ff1e5d5fd49791b93048d941be078f63977850ea4b81034d791d6364 16:49:17 $ docker rm -f --volumes cb879053ff1e5d5fd49791b93048d941be078f63977850ea4b81034d791d6364 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:18 + docker inspect -f . ci-base-image-arm64 16:49:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:18 prd-ubuntu20.04-docker-arm64-4c-16g-4275 does not seem to be running inside a container 16:49:18 $ 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 ******** -e ******** ci-base-image-arm64 cat 16:49:19 $ docker top 595fda5cc301e2278ec674cd1f2d9a21278275cb29aed1854114c0cca472bdac -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:20 + git config --global --add safe.directory /w/workspace/app-record-replay/2 [Pipeline] fileExists [Pipeline] sh 16:49:20 + make test 16:49:20 go test -race -coverprofile=coverage.out ./... 16:51:57 ? github.com/edgexfoundry/app-record-replay [no test files] 16:52:02 ok github.com/edgexfoundry/app-record-replay/internal/app 0.233s coverage: 88.0% of statements 16:52:06 ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] 16:52:06 ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] 16:52:06 ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] 16:52:14 ok github.com/edgexfoundry/app-record-replay/internal/application 8.828s coverage: 98.7% of statements 16:52:14 --- FAIL: TestHttpController_ExportRecordedData (0.02s) 16:52:14 --- FAIL: TestHttpController_ExportRecordedData/Valid_with_data_with_GZIP_query_parameter (0.00s) 16:52:14 controller_test.go:488: 16:52:14 Error Trace: /w/workspace/app-record-replay/2/internal/controller/controller_test.go:488 16:52:14 Error: Not equal: 16:52:14 expected: 200 16:52:14 actual : 500 16:52:14 Test: TestHttpController_ExportRecordedData/Valid_with_data_with_GZIP_query_parameter 16:52:14 --- FAIL: TestHttpController_ExportRecordedData/Valid_with_data_with_ZLIB_query_parameter (0.00s) 16:52:14 controller_test.go:488: 16:52:14 Error Trace: /w/workspace/app-record-replay/2/internal/controller/controller_test.go:488 16:52:14 Error: Not equal: 16:52:14 expected: 200 16:52:14 actual : 500 16:52:14 Test: TestHttpController_ExportRecordedData/Valid_with_data_with_ZLIB_query_parameter 16:52:14 FAIL 16:52:14 github.com/edgexfoundry/app-record-replay/internal/controller coverage: 71.2% of statements 16:52:14 FAIL github.com/edgexfoundry/app-record-replay/internal/controller 0.438s 16:52:14 FAIL 16:52:14 make: *** [Makefile:69: unittest] Error 1 [Pipeline] } 16:52:14 $ docker stop --time=1 595fda5cc301e2278ec674cd1f2d9a21278275cb29aed1854114c0cca472bdac 16:52:16 $ docker rm -f --volumes 595fda5cc301e2278ec674cd1f2d9a21278275cb29aed1854114c0cca472bdac [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 16:52:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:52:17 16:52:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:52:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:52:18 arm64: Pulling from edgex-lftools-log-publisher 16:52:18 8998bd30e6a1: Pulling fs layer 16:52:18 04944245beec: Pulling fs layer 16:52:18 699f458cf7ca: Pulling fs layer 16:52:18 765212b225bb: Pulling fs layer 16:52:18 f23df028b6ca: Pulling fs layer 16:52:18 d65c8cfc05b1: Pulling fs layer 16:52:18 2437ff75d9bd: Pulling fs layer 16:52:18 f23df028b6ca: Waiting 16:52:18 d65c8cfc05b1: Waiting 16:52:18 2437ff75d9bd: Waiting 16:52:18 765212b225bb: Waiting 16:52:18 04944245beec: Verifying Checksum 16:52:18 04944245beec: Download complete 16:52:18 765212b225bb: Verifying Checksum 16:52:18 765212b225bb: Download complete 16:52:18 f23df028b6ca: Verifying Checksum 16:52:18 f23df028b6ca: Download complete 16:52:18 d65c8cfc05b1: Verifying Checksum 16:52:18 d65c8cfc05b1: Download complete 16:52:18 699f458cf7ca: Verifying Checksum 16:52:18 699f458cf7ca: Download complete 16:52:18 8998bd30e6a1: Download complete 16:52:21 2437ff75d9bd: Verifying Checksum 16:52:21 2437ff75d9bd: Download complete 16:52:23 8998bd30e6a1: Pull complete 16:52:23 04944245beec: Pull complete 16:52:25 699f458cf7ca: Pull complete 16:52:25 765212b225bb: Pull complete 16:52:26 f23df028b6ca: Pull complete 16:52:26 d65c8cfc05b1: Pull complete 16:52:41 2437ff75d9bd: Pull complete 16:52:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:52:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:52:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:52:41 prd-ubuntu20.04-docker-arm64-4c-16g-4275 does not seem to be running inside a container 16:52:41 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:52:43 $ docker top 1a74a2608906a3cc63875239782fc7c6584129053fdc908d7fc748d1fcfbfacc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:52:44 ---> job-cost.sh 16:52:44 lf-activate-venv: SKIPPING 16:52:44 INFO: No Stack... 16:52:45 INFO: Retrieving Pricing Info for: v3-standard-4 16:52:46 INFO: Archiving Costs [Pipeline] sh 16:52:46 + cut -d, -f6 16:52:46 + cat /w/workspace/app-record-replay/2/archives/cost.csv [Pipeline] lock 16:52:46 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-63-2-stack-cost] 16:52:46 Resource [jenkins-edgexfoundry-app-record-replay-PR-63-2-stack-cost] did not exist. Created. 16:52:46 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-63-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:52:46 /w/workspace/app-record-replay/2@tmp/durable-0bf37257/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:52:47 + echo total: 0.10999999940395355 [Pipeline] stash 16:52:47 Warning: overwriting stash ‘stack-cost’ 16:52:47 Stashed 1 file(s) [Pipeline] } 16:52:47 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-63-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:52:47 $ docker stop --time=1 1a74a2608906a3cc63875239782fc7c6584129053fdc908d7fc748d1fcfbfacc 16:52:49 $ docker rm -f --volumes 1a74a2608906a3cc63875239782fc7c6584129053fdc908d7fc748d1fcfbfacc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:52:49 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 16:52:50 + [ -d /w/workspace/xfoundry_app-record-replay_PR-63/archives ] 16:52:50 + ls -al /w/workspace/xfoundry_app-record-replay_PR-63/archives 16:52:50 total 16 16:52:50 drwxr-xr-x 3 root root 4096 Aug 22 16:46 . 16:52:50 drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 16:46 .. 16:52:50 drwxr-xr-x 2 root root 4096 Aug 22 16:46 cost 16:52:50 -rw-r--r-- 1 root root 89 Aug 22 16:46 cost.csv 16:52:50 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-63/archives 16:52:50 + ls -al /w/workspace/xfoundry_app-record-replay_PR-63/archives 16:52:50 total 16 16:52:50 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:46 . 16:52:50 drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 16:46 .. 16:52:50 drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 16:46 cost 16:52:50 -rw-r--r-- 1 jenkins jenkins 89 Aug 22 16:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:52:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:52:51 ---> package-listing.sh 16:52:51 ++ facter osfamily 16:52:51 ++ tr '[:upper:]' '[:lower:]' 16:52:51 + OS_FAMILY=debian 16:52:51 + workspace=/w/workspace/xfoundry_app-record-replay_PR-63 16:52:51 + START_PACKAGES=/tmp/packages_start.txt 16:52:51 + END_PACKAGES=/tmp/packages_end.txt 16:52:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:52:51 + PACKAGES=/tmp/packages_start.txt 16:52:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-63 ']' 16:52:51 + PACKAGES=/tmp/packages_end.txt 16:52:51 + case "${OS_FAMILY}" in 16:52:51 + dpkg -l 16:52:51 + grep '^ii' 16:52:51 + '[' -f /tmp/packages_start.txt ']' 16:52:51 + '[' -f /tmp/packages_end.txt ']' 16:52:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:52:51 + '[' /w/workspace/xfoundry_app-record-replay_PR-63 ']' 16:52:51 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-63/archives/ 16:52:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-63/archives/ [Pipeline] echo 16:52:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-63/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:52:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:52:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:52:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:52:52 prd-ubuntu20.04-docker-8c-8g-4266 does not seem to be running inside a container 16:52:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-63/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-63 -v /w/workspace/xfoundry_app-record-replay_PR-63:/w/workspace/xfoundry_app-record-replay_PR-63:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-63@tmp:/w/workspace/xfoundry_app-record-replay_PR-63@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:latest cat 16:52:52 $ docker top 49d13f5775059b65e9895953fbf803a84d534356b42c9c09261bedb43cae1b3f -eo pid,comm [Pipeline] { [Pipeline] sh 16:52:53 + touch /tmp/pre-build-complete [Pipeline] sh 16:52:53 + mkdir -p /var/log/sysstat [Pipeline] sh 16:52:53 + ls /var/log/sa-host 16:52:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:52:53 provisioning config files... 16:52:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-63@tmp/config15147032566699314814tmp [Pipeline] { [Pipeline] echo 16:52:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:52:54 ---> create-netrc.sh [Pipeline] } 16:52:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:52:54 ---> python-tools-install.sh [Pipeline] echo 16:52:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:52:54 ---> sudo-logs.sh 16:52:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:52:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:52:55 ---> job-cost.sh 16:52:55 lf-activate-venv: SKIPPING 16:52:55 DEBUG: total: 0.2199999988079071 16:52:55 INFO: Retrieving Stack Cost... 16:52:55 INFO: Retrieving Pricing Info for: v3-standard-8 16:52:55 INFO: Archiving Costs [Pipeline] echo 16:52:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:52:56 ---> logs-deploy.sh 16:52:56 lf-activate-venv: SKIPPING 16:52:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-63/2 16:52:56 INFO: archiving workspace using pattern(s): 16:52:57 Archives upload complete. 16:52:57 INFO: archiving logs to Nexus