Pull request #107 opened 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 1f331b35fa0ab3032d6136dac830af336dfd0786+6f96719caec97f71daa19372f5503ea6385d9957 (b5e3bac1874e38a1b4a7abeb5c94d892954ad5c9) 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-ssh10474175080930478644.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh16547841678927027903.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-107/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-107/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1637994013877647175.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-107/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1720942973159643883.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10473075020673866276.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-107/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-record-replay/branches/PR-107/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17558914393683602674.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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.21 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-18135 in /w/workspace/foundry_app-record-replay_PR-107 [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/foundry_app-record-replay_PR-107 # 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 Merging remotes/origin/main commit 6f96719caec97f71daa19372f5503ea6385d9957 into PR head commit 1f331b35fa0ab3032d6136dac830af336dfd0786 Merge succeeded, producing 1f331b35fa0ab3032d6136dac830af336dfd0786 Checking out Revision 1f331b35fa0ab3032d6136dac830af336dfd0786 (PR-107) > 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/107/head:refs/remotes/origin/PR-107 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f331b35fa0ab3032d6136dac830af336dfd0786 # 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 6f96719caec97f71daa19372f5503ea6385d9957 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f331b35fa0ab3032d6136dac830af336dfd0786 # timeout=10 Commit message: "build: Fix vendor target" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-15T18:51:14.993Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-15T18:51:15.182Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T18:51:15.280Z] ========================================================= [2023-11-15T18:51:15.280Z] EdgeX Global Pipelines Version Info [2023-11-15T18:51:15.280Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-15T18:51:16.405Z] ------------------- [2023-11-15T18:51:16.405Z] stable info: [2023-11-15T18:51:16.405Z] ------------------- [2023-11-15T18:51:16.405Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-15T18:51:16.405Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T18:51:16.405Z] Message: update stable to v1.0.257 [2023-11-15T18:51:16.665Z] ------------------- [2023-11-15T18:51:16.665Z] experimental info: [2023-11-15T18:51:16.665Z] ------------------- [2023-11-15T18:51:16.665Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-15T18:51:16.665Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T18:51:16.665Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-15T18:51:16.935Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo [2023-11-15T18:51:16.991Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo [2023-11-15T18:51:17.033Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-15T18:51:17.079Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-15T18:51:17.116Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-15T18:51:17.153Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-15T18:51:17.192Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-15T18:51:17.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-15T18:51:17.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-15T18:51:17.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-15T18:51:17.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-15T18:51:17.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo [2023-11-15T18:51:17.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-15T18:51:17.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-15T18:51:17.531Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T18:51:17.569Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T18:51:17.606Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T18:51:17.646Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T18:51:17.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-15T18:51:17.721Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-15T18:51:17.762Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-15T18:51:17.803Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-15T18:51:17.844Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-15T18:51:17.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-15T18:51:17.928Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-15T18:51:17.967Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-15T18:51:18.012Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-15T18:51:18.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-107 [Pipeline] echo [2023-11-15T18:51:18.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-107 [Pipeline] echo [2023-11-15T18:51:18.134Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-107 [Pipeline] echo [2023-11-15T18:51:18.181Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f331b35fa0ab3032d6136dac830af336dfd0786 [Pipeline] echo [2023-11-15T18:51:18.221Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f331b3 [Pipeline] echo [2023-11-15T18:51:18.260Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T18:51:18.375Z] provisioning config files... [2023-11-15T18:51:18.388Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-107@tmp/config15654114481012869541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T18:51:18.733Z] ---> docker-login.sh [2023-11-15T18:51:18.733Z] nexus3.edgexfoundry.org:10001 [2023-11-15T18:51:19.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:51:19.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:51:19.934Z] Configure a credential helper to remove this warning. See [2023-11-15T18:51:19.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:51:19.934Z] [2023-11-15T18:51:19.934Z] Login Succeeded [2023-11-15T18:51:19.934Z] nexus3.edgexfoundry.org:10002 [2023-11-15T18:51:19.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:51:20.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:51:20.194Z] Configure a credential helper to remove this warning. See [2023-11-15T18:51:20.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:51:20.194Z] [2023-11-15T18:51:20.194Z] Login Succeeded [2023-11-15T18:51:20.194Z] nexus3.edgexfoundry.org:10003 [2023-11-15T18:51:20.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:51:20.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:51:20.194Z] Configure a credential helper to remove this warning. See [2023-11-15T18:51:20.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:51:20.194Z] [2023-11-15T18:51:20.194Z] Login Succeeded [2023-11-15T18:51:20.194Z] nexus3.edgexfoundry.org:10004 [2023-11-15T18:51:20.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:51:20.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:51:20.456Z] Configure a credential helper to remove this warning. See [2023-11-15T18:51:20.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:51:20.456Z] [2023-11-15T18:51:20.456Z] Login Succeeded [2023-11-15T18:51:20.456Z] docker.io [2023-11-15T18:51:20.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:51:20.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:51:20.717Z] Configure a credential helper to remove this warning. See [2023-11-15T18:51:20.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:51:20.717Z] [2023-11-15T18:51:20.717Z] Login Succeeded [2023-11-15T18:51:20.717Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T18:51:20.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-15T18:51:21.389Z] + git rev-list -1 --merges 1f331b35fa0ab3032d6136dac830af336dfd0786~1..1f331b35fa0ab3032d6136dac830af336dfd0786 [Pipeline] echo [2023-11-15T18:51:21.455Z] -----------> git rev-list -1 --merges 1f331b35fa0ab3032d6136dac830af336dfd0786~1..1f331b35fa0ab3032d6136dac830af336dfd0786 1f331b35fa0ab3032d6136dac830af336dfd0786 [false] [Pipeline] sh [2023-11-15T18:51:21.761Z] + git log --format=format:%s -1 1f331b35fa0ab3032d6136dac830af336dfd0786 [Pipeline] echo [2023-11-15T18:51:21.794Z] ========================================================= [2023-11-15T18:51:21.794Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-15T18:51:21.794Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T18:51:22.213Z] + git log --format=format:%s -1 1f331b35fa0ab3032d6136dac830af336dfd0786 [Pipeline] echo [2023-11-15T18:51:22.245Z] [semverPrep] GIT_COMMIT: 1f331b35fa0ab3032d6136dac830af336dfd0786, Commit Message: build: Fix vendor target [Pipeline] echo [2023-11-15T18:51:22.273Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-15T18:51:22.697Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T18:51:22.697Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-15T18:51:22.697Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-15T18:51:22.697Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-15T18:51:22.697Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-15T18:51:22.697Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-15T18:51:22.697Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:51:23.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T18:51:23.191Z] [2023-11-15T18:51:23.191Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:51:23.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T18:51:23.568Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-15T18:51:23.568Z] b85a868b505f: Pulling fs layer [2023-11-15T18:51:23.568Z] e2be974225ed: Pulling fs layer [2023-11-15T18:51:23.568Z] 339a4e72a1f5: Pulling fs layer [2023-11-15T18:51:23.568Z] 988bab9f4d93: Pulling fs layer [2023-11-15T18:51:23.568Z] 1469e6f7b9e6: Pulling fs layer [2023-11-15T18:51:23.568Z] 988bab9f4d93: Waiting [2023-11-15T18:51:23.568Z] eaf3925da568: Pulling fs layer [2023-11-15T18:51:23.568Z] bab4dde63d76: Pulling fs layer [2023-11-15T18:51:23.568Z] 1469e6f7b9e6: Waiting [2023-11-15T18:51:23.568Z] bde34c3a00c8: Pulling fs layer [2023-11-15T18:51:23.568Z] bab4dde63d76: Waiting [2023-11-15T18:51:23.568Z] eaf3925da568: Waiting [2023-11-15T18:51:23.568Z] b352a97aabf1: Pulling fs layer [2023-11-15T18:51:23.568Z] 4872d77fe225: Pulling fs layer [2023-11-15T18:51:23.568Z] 5851b861e8e6: Pulling fs layer [2023-11-15T18:51:23.568Z] b352a97aabf1: Waiting [2023-11-15T18:51:23.568Z] 4872d77fe225: Waiting [2023-11-15T18:51:23.568Z] e2be974225ed: Verifying Checksum [2023-11-15T18:51:23.568Z] e2be974225ed: Download complete [2023-11-15T18:51:23.568Z] 988bab9f4d93: Download complete [2023-11-15T18:51:23.828Z] 1469e6f7b9e6: Verifying Checksum [2023-11-15T18:51:23.829Z] 1469e6f7b9e6: Download complete [2023-11-15T18:51:23.829Z] 339a4e72a1f5: Verifying Checksum [2023-11-15T18:51:23.829Z] 339a4e72a1f5: Download complete [2023-11-15T18:51:23.829Z] eaf3925da568: Verifying Checksum [2023-11-15T18:51:23.829Z] eaf3925da568: Download complete [2023-11-15T18:51:23.829Z] bde34c3a00c8: Verifying Checksum [2023-11-15T18:51:23.829Z] bde34c3a00c8: Download complete [2023-11-15T18:51:23.829Z] b352a97aabf1: Verifying Checksum [2023-11-15T18:51:23.829Z] b352a97aabf1: Download complete [2023-11-15T18:51:23.829Z] 4872d77fe225: Verifying Checksum [2023-11-15T18:51:23.829Z] 4872d77fe225: Download complete [2023-11-15T18:51:23.829Z] 5851b861e8e6: Download complete [2023-11-15T18:51:23.829Z] b85a868b505f: Verifying Checksum [2023-11-15T18:51:23.829Z] b85a868b505f: Download complete [2023-11-15T18:51:24.088Z] bab4dde63d76: Verifying Checksum [2023-11-15T18:51:24.088Z] bab4dde63d76: Download complete [2023-11-15T18:51:25.025Z] b85a868b505f: Pull complete [2023-11-15T18:51:25.284Z] e2be974225ed: Pull complete [2023-11-15T18:51:25.545Z] 339a4e72a1f5: Pull complete [2023-11-15T18:51:25.805Z] 988bab9f4d93: Pull complete [2023-11-15T18:51:26.063Z] 1469e6f7b9e6: Pull complete [2023-11-15T18:51:26.063Z] eaf3925da568: Pull complete [2023-11-15T18:51:27.967Z] bab4dde63d76: Pull complete [2023-11-15T18:51:27.967Z] bde34c3a00c8: Pull complete [2023-11-15T18:51:27.967Z] b352a97aabf1: Pull complete [2023-11-15T18:51:28.227Z] 4872d77fe225: Pull complete [2023-11-15T18:51:28.227Z] 5851b861e8e6: Pull complete [2023-11-15T18:51:28.227Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-15T18:51:28.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T18:51:28.227Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T18:51:28.458Z] prd-ubuntu20.04-docker-8c-8g-18135 does not seem to be running inside a container [2023-11-15T18:51:28.494Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_app-record-replay_PR-107 -v /w/workspace/foundry_app-record-replay_PR-107:/w/workspace/foundry_app-record-replay_PR-107:rw,z -v /w/workspace/foundry_app-record-replay_PR-107@tmp:/w/workspace/foundry_app-record-replay_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T18:51:34.201Z] $ docker top 23d6f681a2e6f079f7b53d39d5e397360a6b42298252df2e54db80265ab91e0e -eo pid,comm [2023-11-15T18:51:34.251Z] 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). [2023-11-15T18:51:34.251Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-15T18:51:34.382Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T18:51:34.382Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T18:51:34.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T18:51:34.484Z] $ docker exec 23d6f681a2e6f079f7b53d39d5e397360a6b42298252df2e54db80265ab91e0e ssh-agent [2023-11-15T18:51:34.597Z] SSH_AUTH_SOCK=/tmp/ssh-zrljj0gYET8v/agent.32 [2023-11-15T18:51:34.597Z] SSH_AGENT_PID=38 [2023-11-15T18:51:34.602Z] Running ssh-add (command line suppressed) [2023-11-15T18:51:34.763Z] Identity added: /w/workspace/foundry_app-record-replay_PR-107@tmp/private_key_14569063895515780584.key (/w/workspace/foundry_app-record-replay_PR-107@tmp/private_key_14569063895515780584.key) [2023-11-15T18:51:34.775Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T18:51:35.105Z] + git tag --points-at HEAD [Pipeline] } [2023-11-15T18:51:35.134Z] $ docker exec --env ******** --env ******** 23d6f681a2e6f079f7b53d39d5e397360a6b42298252df2e54db80265ab91e0e ssh-agent -k [2023-11-15T18:51:35.226Z] unset SSH_AUTH_SOCK; [2023-11-15T18:51:35.227Z] unset SSH_AGENT_PID; [2023-11-15T18:51:35.227Z] echo Agent pid 38 killed; [2023-11-15T18:51:35.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-15T18:51:35.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T18:51:35.324Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T18:51:35.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T18:51:35.440Z] $ docker exec 23d6f681a2e6f079f7b53d39d5e397360a6b42298252df2e54db80265ab91e0e ssh-agent [2023-11-15T18:51:35.528Z] SSH_AUTH_SOCK=/tmp/ssh-ag4FEPx9oc5r/agent.70 [2023-11-15T18:51:35.528Z] SSH_AGENT_PID=76 [2023-11-15T18:51:35.532Z] Running ssh-add (command line suppressed) [2023-11-15T18:51:35.630Z] Identity added: /w/workspace/foundry_app-record-replay_PR-107@tmp/private_key_16623368941773243964.key (/w/workspace/foundry_app-record-replay_PR-107@tmp/private_key_16623368941773243964.key) [2023-11-15T18:51:35.641Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T18:51:35.971Z] + git semver init [2023-11-15T18:51:36.231Z] 2023-11-15 18:51:36,166 [run_init] DEBUG init version:0.0.0 force:False [2023-11-15T18:51:36.231Z] 2023-11-15 18:51:36,167 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_app-record-replay_PR-107/.semver [2023-11-15T18:51:36.231Z] 2023-11-15 18:51:36,167 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/foundry_app-record-replay_PR-107/.semver [2023-11-15T18:51:36.231Z] 2023-11-15 18:51:36,168 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/foundry_app-record-replay_PR-107/.semver'], cwd=/w/workspace/foundry_app-record-replay_PR-107, universal_newlines=False, shell=None, istream=None) [2023-11-15T18:51:37.168Z] 2023-11-15 18:51:36,990 [append_file] DEBUG append to file:/w/workspace/foundry_app-record-replay_PR-107/.git/info/exclude [2023-11-15T18:51:37.168Z] 2023-11-15 18:51:36,990 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_app-record-replay_PR-107/.semver/PR-107 with force:False [2023-11-15T18:51:37.168Z] 2023-11-15 18:51:36,991 [write_file] DEBUG write to file:/w/workspace/foundry_app-record-replay_PR-107/.semver/PR-107 [2023-11-15T18:51:37.168Z] 2023-11-15 18:51:36,995 [execute] INFO git cat-file --batch-check [2023-11-15T18:51:37.169Z] 2023-11-15 18:51:36,995 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_app-record-replay_PR-107/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T18:51:37.169Z] 2023-11-15 18:51:37,002 [execute] INFO git cat-file --batch [2023-11-15T18:51:37.169Z] 2023-11-15 18:51:37,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_app-record-replay_PR-107/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T18:51:37.169Z] 2023-11-15 18:51:37,006 [read_version] DEBUG read version from /w/workspace/foundry_app-record-replay_PR-107/.semver/PR-107 [2023-11-15T18:51:37.169Z] 0.0.0 [Pipeline] } [2023-11-15T18:51:37.198Z] $ docker exec --env ******** --env ******** 23d6f681a2e6f079f7b53d39d5e397360a6b42298252df2e54db80265ab91e0e ssh-agent -k [2023-11-15T18:51:37.284Z] unset SSH_AUTH_SOCK; [2023-11-15T18:51:37.284Z] unset SSH_AGENT_PID; [2023-11-15T18:51:37.284Z] echo Agent pid 76 killed; [2023-11-15T18:51:37.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T18:51:37.733Z] + git semver [Pipeline] } [2023-11-15T18:51:38.020Z] $ docker stop --time=1 23d6f681a2e6f079f7b53d39d5e397360a6b42298252df2e54db80265ab91e0e [2023-11-15T18:51:39.733Z] $ docker rm -f --volumes 23d6f681a2e6f079f7b53d39d5e397360a6b42298252df2e54db80265ab91e0e [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T18:51:40.134Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-15T18:51:40.436Z] Stashed 1 file(s) [Pipeline] echo [2023-11-15T18:51:40.452Z] [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 [2023-11-15T18:51:41.050Z] provisioning config files... [2023-11-15T18:51:41.059Z] copy managed file [app-record-replay-settings] to file:/w/workspace/foundry_app-record-replay_PR-107@tmp/config1674852159483415732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T18:51:41.410Z] ---> docker-login.sh [2023-11-15T18:51:41.410Z] nexus3.edgexfoundry.org:10001 [2023-11-15T18:51:41.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:51:41.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:51:41.410Z] Configure a credential helper to remove this warning. See [2023-11-15T18:51:41.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:51:41.410Z] [2023-11-15T18:51:41.410Z] Login Succeeded [2023-11-15T18:51:41.410Z] nexus3.edgexfoundry.org:10002 [2023-11-15T18:51:41.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:51:41.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:51:41.410Z] Configure a credential helper to remove this warning. See [2023-11-15T18:51:41.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:51:41.410Z] [2023-11-15T18:51:41.410Z] Login Succeeded [2023-11-15T18:51:41.410Z] nexus3.edgexfoundry.org:10003 [2023-11-15T18:51:41.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:51:41.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:51:41.670Z] Configure a credential helper to remove this warning. See [2023-11-15T18:51:41.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:51:41.670Z] [2023-11-15T18:51:41.670Z] Login Succeeded [2023-11-15T18:51:41.670Z] nexus3.edgexfoundry.org:10004 [2023-11-15T18:51:41.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:51:41.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:51:41.670Z] Configure a credential helper to remove this warning. See [2023-11-15T18:51:41.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:51:41.670Z] [2023-11-15T18:51:41.670Z] Login Succeeded [2023-11-15T18:51:41.670Z] docker.io [2023-11-15T18:51:41.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:51:41.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:51:41.933Z] Configure a credential helper to remove this warning. See [2023-11-15T18:51:41.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:51:41.933Z] [2023-11-15T18:51:41.933Z] Login Succeeded [2023-11-15T18:51:41.933Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T18:51:41.963Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T18:51:42.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T18:51:42.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T18:51:42.238Z] ========================================================= [2023-11-15T18:51:42.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-15T18:51:42.238Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:51:42.722Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-15T18:51:42.722Z] Sending build context to Docker daemon 654.3kB [2023-11-15T18:51:42.722Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T18:51:42.722Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-15T18:51:42.722Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-15T18:51:42.722Z] 7264a8db6415: Pulling fs layer [2023-11-15T18:51:42.722Z] c4d48a809fc2: Pulling fs layer [2023-11-15T18:51:42.722Z] 4f1c88b9dad5: Pulling fs layer [2023-11-15T18:51:42.722Z] ad3a456e5733: Pulling fs layer [2023-11-15T18:51:42.722Z] 69c7f0334f64: Pulling fs layer [2023-11-15T18:51:42.722Z] 1f1c1a5573a3: Pulling fs layer [2023-11-15T18:51:42.722Z] ce7588e14bc9: Pulling fs layer [2023-11-15T18:51:42.722Z] b5e4710f87ac: Pulling fs layer [2023-11-15T18:51:42.722Z] ad3a456e5733: Waiting [2023-11-15T18:51:42.722Z] 69c7f0334f64: Waiting [2023-11-15T18:51:42.722Z] 1f1c1a5573a3: Waiting [2023-11-15T18:51:42.722Z] ce7588e14bc9: Waiting [2023-11-15T18:51:42.722Z] b5e4710f87ac: Waiting [2023-11-15T18:51:43.009Z] c4d48a809fc2: Verifying Checksum [2023-11-15T18:51:43.009Z] c4d48a809fc2: Download complete [2023-11-15T18:51:43.009Z] ad3a456e5733: Verifying Checksum [2023-11-15T18:51:43.009Z] ad3a456e5733: Download complete [2023-11-15T18:51:43.009Z] 69c7f0334f64: Verifying Checksum [2023-11-15T18:51:43.009Z] 69c7f0334f64: Download complete [2023-11-15T18:51:43.009Z] 7264a8db6415: Download complete [2023-11-15T18:51:43.009Z] 1f1c1a5573a3: Verifying Checksum [2023-11-15T18:51:43.009Z] 1f1c1a5573a3: Download complete [2023-11-15T18:51:43.268Z] b5e4710f87ac: Verifying Checksum [2023-11-15T18:51:43.268Z] b5e4710f87ac: Download complete [2023-11-15T18:51:43.268Z] 7264a8db6415: Pull complete [2023-11-15T18:51:43.268Z] 4f1c88b9dad5: Verifying Checksum [2023-11-15T18:51:43.268Z] 4f1c88b9dad5: Download complete [2023-11-15T18:51:43.528Z] c4d48a809fc2: Pull complete [2023-11-15T18:51:43.791Z] ce7588e14bc9: Verifying Checksum [2023-11-15T18:51:43.791Z] ce7588e14bc9: Download complete [2023-11-15T18:51:47.076Z] 4f1c88b9dad5: Pull complete [2023-11-15T18:51:47.076Z] ad3a456e5733: Pull complete [2023-11-15T18:51:47.076Z] 69c7f0334f64: Pull complete [2023-11-15T18:51:47.076Z] 1f1c1a5573a3: Pull complete [2023-11-15T18:51:49.606Z] ce7588e14bc9: Pull complete [2023-11-15T18:51:50.542Z] b5e4710f87ac: Pull complete [2023-11-15T18:51:50.542Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-15T18:51:50.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-15T18:51:50.542Z] ---> 88b5674ff536 [2023-11-15T18:51:50.542Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T18:51:55.873Z] Still waiting to schedule task [2023-11-15T18:51:55.873Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-15T18:52:02.805Z] ---> Running in 7bd14989382d [2023-11-15T18:52:02.805Z] Removing intermediate container 7bd14989382d [2023-11-15T18:52:02.805Z] ---> dcc547c94623 [2023-11-15T18:52:02.805Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T18:52:02.805Z] ---> Running in 9bdfad1bb717 [2023-11-15T18:52:02.805Z] Removing intermediate container 9bdfad1bb717 [2023-11-15T18:52:02.805Z] ---> 893fd6769694 [2023-11-15T18:52:02.805Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-15T18:52:02.805Z] ---> Running in effc0ad63f61 [2023-11-15T18:52:02.805Z] Removing intermediate container effc0ad63f61 [2023-11-15T18:52:02.805Z] ---> 131dc75fe59b [2023-11-15T18:52:02.805Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T18:52:02.805Z] ---> Running in 818e461165f6 [2023-11-15T18:52:02.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T18:52:02.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T18:52:02.805Z] OK: 264 MiB in 52 packages [2023-11-15T18:52:03.372Z] Removing intermediate container 818e461165f6 [2023-11-15T18:52:03.372Z] ---> d696bda07c1c [2023-11-15T18:52:03.372Z] Step 7/12 : WORKDIR /app [2023-11-15T18:52:03.372Z] ---> Running in b1728bc9212d [2023-11-15T18:52:03.372Z] Removing intermediate container b1728bc9212d [2023-11-15T18:52:03.372Z] ---> 49132be066a7 [2023-11-15T18:52:03.372Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-15T18:52:03.643Z] ---> e7e499e1dd04 [2023-11-15T18:52:03.643Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T18:52:03.902Z] ---> Running in a3d502fbe3ad [2023-11-15T18:53:11.840Z] Removing intermediate container a3d502fbe3ad [2023-11-15T18:53:11.840Z] ---> 085a87dafe54 [2023-11-15T18:53:11.841Z] Step 10/12 : COPY . . [2023-11-15T18:53:11.841Z] ---> 647aea0c8fb3 [2023-11-15T18:53:11.841Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T18:53:11.841Z] ---> Running in ec6bcc633fdd [2023-11-15T18:53:11.841Z] Removing intermediate container ec6bcc633fdd [2023-11-15T18:53:11.841Z] ---> 4d731398cc53 [2023-11-15T18:53:11.841Z] Step 12/12 : RUN $MAKE [2023-11-15T18:53:11.841Z] ---> Running in da28f5a80fa5 [2023-11-15T18:53:11.841Z] noop [2023-11-15T18:53:11.841Z] Removing intermediate container da28f5a80fa5 [2023-11-15T18:53:11.841Z] ---> 8a0f7c3e57b5 [2023-11-15T18:53:11.841Z] Successfully built 8a0f7c3e57b5 [2023-11-15T18:53:11.841Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:53:12.275Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T18:53:12.276Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T18:53:12.413Z] prd-ubuntu20.04-docker-8c-8g-18135 does not seem to be running inside a container [2023-11-15T18:53:12.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_app-record-replay_PR-107 -v /w/workspace/foundry_app-record-replay_PR-107:/w/workspace/foundry_app-record-replay_PR-107:rw,z -v /w/workspace/foundry_app-record-replay_PR-107@tmp:/w/workspace/foundry_app-record-replay_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T18:53:12.856Z] $ docker top f27b47db3618f974997d484538fd57af0124569e6d06f707a7aedbce0788beea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T18:53:13.234Z] + go version [2023-11-15T18:53:13.234Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-15T18:53:13.270Z] $ docker stop --time=1 f27b47db3618f974997d484538fd57af0124569e6d06f707a7aedbce0788beea [2023-11-15T18:53:14.641Z] $ docker rm -f --volumes f27b47db3618f974997d484538fd57af0124569e6d06f707a7aedbce0788beea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:53:15.304Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T18:53:15.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T18:53:15.439Z] prd-ubuntu20.04-docker-8c-8g-18135 does not seem to be running inside a container [2023-11-15T18:53:15.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_app-record-replay_PR-107 -v /w/workspace/foundry_app-record-replay_PR-107:/w/workspace/foundry_app-record-replay_PR-107:rw,z -v /w/workspace/foundry_app-record-replay_PR-107@tmp:/w/workspace/foundry_app-record-replay_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T18:53:15.858Z] $ docker top 90b59e897facdd21d1b07345e34e93f93faf440b03471c9eaf00e71594491c07 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T18:53:16.264Z] + git config --global --add safe.directory /w/workspace/foundry_app-record-replay_PR-107 [Pipeline] fileExists [Pipeline] sh [2023-11-15T18:53:16.627Z] + make test [2023-11-15T18:53:16.627Z] go test -race -coverprofile=coverage.out ./... [2023-11-15T18:53:27.412Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18136 in /w/workspace/foundry_app-record-replay_PR-107 [Pipeline] { [Pipeline] ws [2023-11-15T18:53:27.473Z] Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout [2023-11-15T18:53:27.551Z] Selected Git installation does not exist. Using Default [2023-11-15T18:53:27.551Z] The recommended git tool is: NONE [2023-11-15T18:53:32.598Z] using credential edgex-jenkins-ssh [2023-11-15T18:53:32.614Z] Cloning the remote Git repository [2023-11-15T18:53:32.661Z] Cloning repository git@github.com:edgexfoundry/app-record-replay.git [2023-11-15T18:53:32.756Z] > git init /w/workspace/app-record-replay/1 # timeout=10 [2023-11-15T18:53:32.892Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-11-15T18:53:32.893Z] > git --version # timeout=10 [2023-11-15T18:53:32.915Z] > git --version # 'git version 2.25.1' [2023-11-15T18:53:32.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T18:53:33.060Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T18:53:35.326Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-11-15T18:53:35.346Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T18:53:36.169Z] > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 [2023-11-15T18:53:36.204Z] Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git [2023-11-15T18:53:36.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T18:53:36.221Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/107/head:refs/remotes/origin/PR-107 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-15T18:53:36.825Z] Merging remotes/origin/main commit 6f96719caec97f71daa19372f5503ea6385d9957 into PR head commit 1f331b35fa0ab3032d6136dac830af336dfd0786 [2023-11-15T18:53:37.096Z] Merge succeeded, producing 1f331b35fa0ab3032d6136dac830af336dfd0786 [2023-11-15T18:53:37.096Z] Checking out Revision 1f331b35fa0ab3032d6136dac830af336dfd0786 (PR-107) [2023-11-15T18:53:36.850Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T18:53:36.927Z] > git checkout -f 1f331b35fa0ab3032d6136dac830af336dfd0786 # timeout=10 [2023-11-15T18:53:37.005Z] > git remote # timeout=10 [2023-11-15T18:53:37.027Z] > git config --get remote.origin.url # timeout=10 [2023-11-15T18:53:37.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T18:53:37.057Z] > git merge 6f96719caec97f71daa19372f5503ea6385d9957 # timeout=10 [2023-11-15T18:53:37.085Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-15T18:53:37.105Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T18:53:37.119Z] > git checkout -f 1f331b35fa0ab3032d6136dac830af336dfd0786 # timeout=10 [2023-11-15T18:53:38.612Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-11-15T18:53:38.612Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-11-15T18:53:38.612Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-11-15T18:53:38.612Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-11-15T18:53:38.612Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.049s coverage: 88.0% of statements [2023-11-15T18:53:40.546Z] Commit message: "build: Fix vendor target" [2023-11-15T18:53:40.593Z] > git --version # timeout=10 [2023-11-15T18:53:40.604Z] > git --version # 'git version 2.25.1' [2023-11-15T18:53:40.630Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T18:53:41.806Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-15T18:53:41.806Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T18:53:41.806Z] Dload Upload Total Spent Left Speed [2023-11-15T18:53:41.806Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 91898 0 --:--:-- --:--:-- --:--:-- 91898 [Pipeline] sh [2023-11-15T18:53:42.596Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-15T18:53:42.946Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-15T18:53:42.946Z] + sudo tee /etc/docker/daemon.new [2023-11-15T18:53:42.946Z] { [2023-11-15T18:53:42.946Z] "registry-mirrors": [ [2023-11-15T18:53:42.946Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-15T18:53:42.946Z] ], [2023-11-15T18:53:42.946Z] "bip": "10.250.0.254/24", [2023-11-15T18:53:42.946Z] "hosts": [ [2023-11-15T18:53:42.946Z] "tcp://0.0.0.0:5555", [2023-11-15T18:53:42.946Z] "unix:///var/run/docker.sock" [2023-11-15T18:53:42.946Z] ], [2023-11-15T18:53:42.946Z] "mtu": 1458, [2023-11-15T18:53:42.946Z] "selinux-enabled": true, [2023-11-15T18:53:42.946Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-15T18:53:42.946Z] } [Pipeline] sh [2023-11-15T18:53:43.295Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-15T18:53:43.645Z] + sudo service docker restart [2023-11-15T18:53:46.726Z] ok github.com/edgexfoundry/app-record-replay/internal/application 9.607s coverage: 98.7% of statements [2023-11-15T18:53:46.726Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.104s coverage: 89.7% of statements [2023-11-15T18:53:46.726Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.037s coverage: 100.0% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T18:54:01.984Z] provisioning config files... [2023-11-15T18:54:02.022Z] copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config2193459738751347248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T18:54:02.416Z] ---> docker-login.sh [2023-11-15T18:54:02.417Z] nexus3.edgexfoundry.org:10001 [2023-11-15T18:54:02.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:54:02.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:54:02.963Z] Configure a credential helper to remove this warning. See [2023-11-15T18:54:02.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:54:02.963Z] [2023-11-15T18:54:02.963Z] Login Succeeded [2023-11-15T18:54:02.963Z] nexus3.edgexfoundry.org:10002 [2023-11-15T18:54:03.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:54:03.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:54:03.236Z] Configure a credential helper to remove this warning. See [2023-11-15T18:54:03.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:54:03.236Z] [2023-11-15T18:54:03.236Z] Login Succeeded [2023-11-15T18:54:03.236Z] nexus3.edgexfoundry.org:10003 [2023-11-15T18:54:03.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:54:03.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:54:03.505Z] Configure a credential helper to remove this warning. See [2023-11-15T18:54:03.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:54:03.505Z] [2023-11-15T18:54:03.505Z] Login Succeeded [2023-11-15T18:54:03.775Z] nexus3.edgexfoundry.org:10004 [2023-11-15T18:54:03.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:54:04.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:54:04.051Z] Configure a credential helper to remove this warning. See [2023-11-15T18:54:04.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:54:04.051Z] [2023-11-15T18:54:04.051Z] Login Succeeded [2023-11-15T18:54:04.051Z] docker.io [2023-11-15T18:54:04.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T18:54:04.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T18:54:04.589Z] Configure a credential helper to remove this warning. See [2023-11-15T18:54:04.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T18:54:04.589Z] [2023-11-15T18:54:04.589Z] Login Succeeded [2023-11-15T18:54:04.589Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T18:54:04.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T18:54:05.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T18:54:05.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T18:54:05.101Z] ========================================================= [2023-11-15T18:54:05.101Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-15T18:54:05.101Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:54:05.623Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-15T18:54:05.623Z] Sending build context to Docker daemon 258.6kB [2023-11-15T18:54:05.905Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T18:54:05.905Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-15T18:54:05.905Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-15T18:54:05.905Z] 9fda8d8052c6: Pulling fs layer [2023-11-15T18:54:05.905Z] 5d54e960e981: Pulling fs layer [2023-11-15T18:54:05.905Z] c4a7e357bf2a: Pulling fs layer [2023-11-15T18:54:05.905Z] f0e02332f6b5: Pulling fs layer [2023-11-15T18:54:05.905Z] 872ee5b61b7b: Pulling fs layer [2023-11-15T18:54:05.905Z] 0c6a40ed1a82: Pulling fs layer [2023-11-15T18:54:05.905Z] 94ae7d8d031c: Pulling fs layer [2023-11-15T18:54:05.905Z] f0e02332f6b5: Waiting [2023-11-15T18:54:05.905Z] 872ee5b61b7b: Waiting [2023-11-15T18:54:05.905Z] 0c6a40ed1a82: Waiting [2023-11-15T18:54:05.905Z] 94ae7d8d031c: Waiting [2023-11-15T18:54:05.905Z] 5d54e960e981: Download complete [2023-11-15T18:54:06.176Z] f0e02332f6b5: Verifying Checksum [2023-11-15T18:54:06.176Z] f0e02332f6b5: Download complete [2023-11-15T18:54:06.176Z] 9fda8d8052c6: Download complete [2023-11-15T18:54:06.176Z] 872ee5b61b7b: Verifying Checksum [2023-11-15T18:54:06.176Z] 872ee5b61b7b: Download complete [2023-11-15T18:54:06.445Z] 94ae7d8d031c: Download complete [2023-11-15T18:54:07.037Z] 9fda8d8052c6: Pull complete [2023-11-15T18:54:07.627Z] 5d54e960e981: Pull complete [2023-11-15T18:54:07.896Z] c4a7e357bf2a: Verifying Checksum [2023-11-15T18:54:07.896Z] c4a7e357bf2a: Download complete [2023-11-15T18:54:08.863Z] 0c6a40ed1a82: Download complete [2023-11-15T18:54:18.860Z] go vet ./... [2023-11-15T18:54:18.860Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T18:54:18.860Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T18:54:18.860Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T18:54:18.906Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-15T18:54:18.939Z] $ docker stop --time=1 90b59e897facdd21d1b07345e34e93f93faf440b03471c9eaf00e71594491c07 [2023-11-15T18:54:21.189Z] c4a7e357bf2a: Pull complete [2023-11-15T18:54:21.189Z] f0e02332f6b5: Pull complete [2023-11-15T18:54:21.189Z] 872ee5b61b7b: Pull complete [2023-11-15T18:54:29.395Z] $ docker rm -f --volumes 90b59e897facdd21d1b07345e34e93f93faf440b03471c9eaf00e71594491c07 [2023-11-15T18:54:29.404Z] 0c6a40ed1a82: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T18:54:30.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T18:54:30.091Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-15T18:54:30.775Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T18:54:31.094Z] + ls -al . [2023-11-15T18:54:31.094Z] total 192 [2023-11-15T18:54:31.094Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 18:53 . [2023-11-15T18:54:31.094Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 18:51 .. [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 119 Nov 15 18:51 .dockerignore [2023-11-15T18:54:31.094Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 18:53 .git [2023-11-15T18:54:31.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 18:51 .github [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 164 Nov 15 18:51 .gitignore [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 18:51 .golangci.yml [2023-11-15T18:54:31.094Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 18:51 .semver [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 11301 Nov 15 18:51 Attribution.txt [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 458 Nov 15 18:51 CHANGELOG.md [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 1725 Nov 15 18:51 Dockerfile [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 18:51 GOVERNANCE.md [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 681 Nov 15 18:51 Jenkinsfile [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 15 18:51 LICENSE [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 3136 Nov 15 18:51 Makefile [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 611 Nov 15 18:51 OWNERS.md [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 4107 Nov 15 18:51 README.md [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 7789 Nov 15 18:51 Record and Reply.postman_collection.json [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 18:51 VERSION [2023-11-15T18:54:31.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 18:51 bin [2023-11-15T18:54:31.094Z] -rw-r--r-- 1 jenkins jenkins 24666 Nov 15 18:53 coverage.out [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 3859 Nov 15 18:51 go.mod [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 34797 Nov 15 18:51 go.sum [2023-11-15T18:54:31.094Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 15 18:51 internal [2023-11-15T18:54:31.094Z] -rw-rw-r-- 1 jenkins jenkins 913 Nov 15 18:51 main.go [2023-11-15T18:54:31.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 18:51 openapi [2023-11-15T18:54:31.094Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 18:51 pkg [2023-11-15T18:54:31.094Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 18:51 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:54:31.494Z] + docker build -t app-record-replay -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1f331b35fa0ab3032d6136dac830af336dfd0786 --label arch=amd64 --label version=0.0.0 . [2023-11-15T18:54:31.494Z] Sending build context to Docker daemon 679.9kB [2023-11-15T18:54:31.494Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T18:54:31.494Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-15T18:54:31.494Z] ---> 8a0f7c3e57b5 [2023-11-15T18:54:31.494Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T18:54:31.494Z] ---> Running in 5c6424e804dd [2023-11-15T18:54:31.494Z] Removing intermediate container 5c6424e804dd [2023-11-15T18:54:31.494Z] ---> 0549123f7e22 [2023-11-15T18:54:31.494Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T18:54:31.756Z] ---> Running in 6f8eec18845e [2023-11-15T18:54:31.756Z] Removing intermediate container 6f8eec18845e [2023-11-15T18:54:31.756Z] ---> 26a9158edf90 [2023-11-15T18:54:31.756Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2023-11-15T18:54:31.756Z] ---> Running in e41b1fd09acc [2023-11-15T18:54:32.015Z] Removing intermediate container e41b1fd09acc [2023-11-15T18:54:32.015Z] ---> 8c74af572ef1 [2023-11-15T18:54:32.015Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T18:54:32.015Z] ---> Running in b6eb8e6fd16b [2023-11-15T18:54:32.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T18:54:32.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T18:54:32.532Z] OK: 264 MiB in 52 packages [2023-11-15T18:54:32.754Z] 94ae7d8d031c: Pull complete [2023-11-15T18:54:32.754Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-15T18:54:32.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-15T18:54:32.754Z] ---> 86de565de09d [2023-11-15T18:54:32.754Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T18:54:32.792Z] Removing intermediate container b6eb8e6fd16b [2023-11-15T18:54:32.792Z] ---> aa5aa569218e [2023-11-15T18:54:32.792Z] Step 7/27 : WORKDIR /app [2023-11-15T18:54:33.050Z] ---> Running in 88566db72469 [2023-11-15T18:54:33.050Z] Removing intermediate container 88566db72469 [2023-11-15T18:54:33.050Z] ---> aba9f1532833 [2023-11-15T18:54:33.050Z] Step 8/27 : COPY go.mod vendor* ./ [2023-11-15T18:54:33.308Z] ---> d942033596a8 [2023-11-15T18:54:33.308Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T18:54:33.308Z] ---> Running in b44bb0853087 [2023-11-15T18:54:34.158Z] ---> Running in 52345948731a [2023-11-15T18:54:34.249Z] Removing intermediate container b44bb0853087 [2023-11-15T18:54:34.249Z] ---> ddf31cf41318 [2023-11-15T18:54:34.249Z] Step 10/27 : COPY . . [2023-11-15T18:54:34.249Z] ---> 654c96237ed1 [2023-11-15T18:54:34.249Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T18:54:34.249Z] ---> Running in 1ede5a980a1f [2023-11-15T18:54:34.249Z] Removing intermediate container 1ede5a980a1f [2023-11-15T18:54:34.249Z] ---> dfb61dc3718a [2023-11-15T18:54:34.249Z] Step 12/27 : RUN $MAKE [2023-11-15T18:54:34.249Z] ---> Running in d6962ff94d7f [2023-11-15T18:54:34.425Z] Removing intermediate container 52345948731a [2023-11-15T18:54:34.425Z] ---> d9a5eb4cb317 [2023-11-15T18:54:34.425Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T18:54:34.508Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-11-15T18:54:34.703Z] ---> Running in af2f1534c163 [2023-11-15T18:54:34.968Z] Removing intermediate container af2f1534c163 [2023-11-15T18:54:34.968Z] ---> 0dfe4c761c5c [2023-11-15T18:54:34.968Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-15T18:54:34.968Z] ---> Running in a93e366890f5 [2023-11-15T18:54:35.236Z] Removing intermediate container a93e366890f5 [2023-11-15T18:54:35.236Z] ---> 3146a2b76dd8 [2023-11-15T18:54:35.236Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T18:54:35.236Z] ---> Running in e3f74e87025e [2023-11-15T18:54:36.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T18:54:36.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T18:54:38.045Z] OK: 266 MiB in 52 packages [2023-11-15T18:54:38.632Z] Removing intermediate container e3f74e87025e [2023-11-15T18:54:38.632Z] ---> b24112e28bbd [2023-11-15T18:54:38.632Z] Step 7/12 : WORKDIR /app [2023-11-15T18:54:38.632Z] ---> Running in cb998473704d [2023-11-15T18:54:38.899Z] Removing intermediate container cb998473704d [2023-11-15T18:54:38.899Z] ---> c66501a11672 [2023-11-15T18:54:38.899Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-15T18:54:39.481Z] ---> 33a0aade83b2 [2023-11-15T18:54:39.482Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T18:54:39.482Z] ---> Running in a9fdc3fef59b [2023-11-15T18:55:01.133Z] Removing intermediate container d6962ff94d7f [2023-11-15T18:55:01.133Z] ---> 2040d91c8f99 [2023-11-15T18:55:01.133Z] Step 13/27 : FROM alpine:3.18 [2023-11-15T18:55:01.133Z] 3.18: Pulling from library/alpine [2023-11-15T18:55:01.133Z] 96526aa774ef: Pulling fs layer [2023-11-15T18:55:01.133Z] 96526aa774ef: Verifying Checksum [2023-11-15T18:55:01.133Z] 96526aa774ef: Download complete [2023-11-15T18:55:01.133Z] 96526aa774ef: Pull complete [2023-11-15T18:55:01.133Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T18:55:01.133Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T18:55:01.133Z] ---> 8ca4688f4f35 [2023-11-15T18:55:01.133Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-15T18:55:01.133Z] ---> Running in e8dad2cc0b9a [2023-11-15T18:55:01.133Z] Removing intermediate container e8dad2cc0b9a [2023-11-15T18:55:01.133Z] ---> b3ef9580592e [2023-11-15T18:55:01.133Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2023-11-15T18:55:01.133Z] ---> Running in 02dc18fc5851 [2023-11-15T18:55:01.133Z] Removing intermediate container 02dc18fc5851 [2023-11-15T18:55:01.133Z] ---> 985bb87d4fb8 [2023-11-15T18:55:01.133Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-11-15T18:55:01.133Z] ---> Running in 1a2d0b15c4ee [2023-11-15T18:55:01.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T18:55:01.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T18:55:01.133Z] (1/2) Installing ca-certificates (20230506-r0) [2023-11-15T18:55:01.133Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-11-15T18:55:01.133Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T18:55:01.133Z] Executing ca-certificates-20230506-r0.trigger [2023-11-15T18:55:01.133Z] OK: 8 MiB in 17 packages [2023-11-15T18:55:01.133Z] Removing intermediate container 1a2d0b15c4ee [2023-11-15T18:55:01.133Z] ---> fd3c3c3c39f9 [2023-11-15T18:55:01.133Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-15T18:55:01.133Z] ---> Running in 2ffa1ae6427a [2023-11-15T18:55:01.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T18:55:01.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T18:55:01.133Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T18:55:01.133Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T18:55:01.133Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T18:55:01.133Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T18:55:01.133Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T18:55:01.133Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T18:55:01.133Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T18:55:01.133Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T18:55:01.133Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T18:55:01.133Z] Executing ca-certificates-20230506-r0.trigger [2023-11-15T18:55:01.133Z] OK: 8 MiB in 17 packages [2023-11-15T18:55:01.699Z] Removing intermediate container 2ffa1ae6427a [2023-11-15T18:55:01.699Z] ---> 9a4e6b551d55 [2023-11-15T18:55:01.699Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-11-15T18:55:01.960Z] ---> b2c7811c2c32 [2023-11-15T18:55:01.960Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2023-11-15T18:55:02.226Z] ---> 7c25933d6785 [2023-11-15T18:55:02.226Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2023-11-15T18:55:02.226Z] ---> 7b53bce597dc [2023-11-15T18:55:02.226Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-11-15T18:55:03.903Z] ---> 6ad136fde9d4 [2023-11-15T18:55:03.903Z] Step 22/27 : EXPOSE 59712 [2023-11-15T18:55:03.903Z] ---> Running in a135650b0c10 [2023-11-15T18:55:03.903Z] Removing intermediate container a135650b0c10 [2023-11-15T18:55:03.903Z] ---> ba6549e91ef8 [2023-11-15T18:55:03.903Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2023-11-15T18:55:04.164Z] ---> Running in 7ee6d3a22a0d [2023-11-15T18:55:04.164Z] Removing intermediate container 7ee6d3a22a0d [2023-11-15T18:55:04.164Z] ---> 8b0cba1703bf [2023-11-15T18:55:04.164Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-15T18:55:04.164Z] ---> Running in c32cf100525a [2023-11-15T18:55:04.164Z] Removing intermediate container c32cf100525a [2023-11-15T18:55:04.164Z] ---> 208a5d43d255 [2023-11-15T18:55:04.164Z] Step 25/27 : LABEL arch=amd64 [2023-11-15T18:55:04.164Z] ---> Running in 20af42eab86a [2023-11-15T18:55:04.424Z] Removing intermediate container 20af42eab86a [2023-11-15T18:55:04.424Z] ---> 949b86ce11d0 [2023-11-15T18:55:04.424Z] Step 26/27 : LABEL git_sha=1f331b35fa0ab3032d6136dac830af336dfd0786 [2023-11-15T18:55:04.424Z] ---> Running in 57ff51c7a4ac [2023-11-15T18:55:04.424Z] Removing intermediate container 57ff51c7a4ac [2023-11-15T18:55:04.424Z] ---> 7242ebfaa926 [2023-11-15T18:55:04.424Z] Step 27/27 : LABEL version=0.0.0 [2023-11-15T18:55:04.424Z] ---> Running in 500b71e750de [2023-11-15T18:55:04.685Z] Removing intermediate container 500b71e750de [2023-11-15T18:55:04.685Z] ---> 97fa75e20e9c [2023-11-15T18:55:04.685Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T18:55:04.685Z] Successfully built 97fa75e20e9c [2023-11-15T18:55:04.685Z] Successfully tagged app-record-replay:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:55:05.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T18:55:05.585Z] [2023-11-15T18:55:05.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:55:05.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T18:55:05.965Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-15T18:55:05.965Z] 5eb5b503b376: Pulling fs layer [2023-11-15T18:55:05.965Z] 5c69ac0246d0: Pulling fs layer [2023-11-15T18:55:05.965Z] ec43610c2a17: Pulling fs layer [2023-11-15T18:55:05.965Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-15T18:55:05.965Z] 33b1e0a273af: Pulling fs layer [2023-11-15T18:55:05.965Z] 5d3b04190fa2: Pulling fs layer [2023-11-15T18:55:05.965Z] 2f39f015ded8: Pulling fs layer [2023-11-15T18:55:05.965Z] 5d3b04190fa2: Waiting [2023-11-15T18:55:05.965Z] 2f39f015ded8: Waiting [2023-11-15T18:55:05.965Z] 33b1e0a273af: Waiting [2023-11-15T18:55:05.965Z] 3a2ae6a8a46f: Waiting [2023-11-15T18:55:05.965Z] 5c69ac0246d0: Verifying Checksum [2023-11-15T18:55:05.965Z] 5c69ac0246d0: Download complete [2023-11-15T18:55:05.965Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-15T18:55:05.965Z] 3a2ae6a8a46f: Download complete [2023-11-15T18:55:05.965Z] 33b1e0a273af: Verifying Checksum [2023-11-15T18:55:05.965Z] 33b1e0a273af: Download complete [2023-11-15T18:55:05.965Z] ec43610c2a17: Verifying Checksum [2023-11-15T18:55:05.965Z] ec43610c2a17: Download complete [2023-11-15T18:55:05.965Z] 5d3b04190fa2: Verifying Checksum [2023-11-15T18:55:05.965Z] 5d3b04190fa2: Download complete [2023-11-15T18:55:06.225Z] 5eb5b503b376: Verifying Checksum [2023-11-15T18:55:06.225Z] 5eb5b503b376: Download complete [2023-11-15T18:55:06.791Z] 2f39f015ded8: Verifying Checksum [2023-11-15T18:55:06.791Z] 2f39f015ded8: Download complete [2023-11-15T18:55:07.358Z] 5eb5b503b376: Pull complete [2023-11-15T18:55:07.616Z] 5c69ac0246d0: Pull complete [2023-11-15T18:55:07.875Z] ec43610c2a17: Pull complete [2023-11-15T18:55:08.135Z] 3a2ae6a8a46f: Pull complete [2023-11-15T18:55:08.135Z] 33b1e0a273af: Pull complete [2023-11-15T18:55:08.394Z] 5d3b04190fa2: Pull complete [2023-11-15T18:55:12.587Z] 2f39f015ded8: Pull complete [2023-11-15T18:55:12.587Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-15T18:55:12.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T18:55:12.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T18:55:12.830Z] prd-ubuntu20.04-docker-8c-8g-18135 does not seem to be running inside a container [2023-11-15T18:55:12.862Z] $ 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/foundry_app-record-replay_PR-107 -v /w/workspace/foundry_app-record-replay_PR-107:/w/workspace/foundry_app-record-replay_PR-107:rw,z -v /w/workspace/foundry_app-record-replay_PR-107@tmp:/w/workspace/foundry_app-record-replay_PR-107@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 [2023-11-15T18:55:19.426Z] $ docker top 3a461d8b6759ebc7705b5965255cc36406687257731c52050d22f0f498567d24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T18:55:19.886Z] ---> job-cost.sh [2023-11-15T18:55:19.886Z] lf-activate-venv: SKIPPING [2023-11-15T18:55:19.886Z] INFO: No Stack... [2023-11-15T18:55:20.145Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T18:55:20.713Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T18:55:21.036Z] + cat /w/workspace/foundry_app-record-replay_PR-107/archives/cost.csv [2023-11-15T18:55:21.036Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T18:55:21.079Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-107-1-stack-cost] [2023-11-15T18:55:21.084Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-107-1-stack-cost] did not exist. Created. [2023-11-15T18:55:21.084Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T18:55:21.484Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-15T18:55:21.538Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T18:55:21.566Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-107-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T18:55:21.653Z] $ docker stop --time=1 3a461d8b6759ebc7705b5965255cc36406687257731c52050d22f0f498567d24 [2023-11-15T18:55:22.878Z] $ docker rm -f --volumes 3a461d8b6759ebc7705b5965255cc36406687257731c52050d22f0f498567d24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-15T18:56:01.074Z] Removing intermediate container a9fdc3fef59b [2023-11-15T18:56:01.074Z] ---> e109266f0cdb [2023-11-15T18:56:01.074Z] Step 10/12 : COPY . . [2023-11-15T18:56:01.074Z] ---> 3c760b78f722 [2023-11-15T18:56:01.074Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T18:56:01.074Z] ---> Running in 592c43e20e7f [2023-11-15T18:56:01.074Z] Removing intermediate container 592c43e20e7f [2023-11-15T18:56:01.074Z] ---> 304d12987274 [2023-11-15T18:56:01.074Z] Step 12/12 : RUN $MAKE [2023-11-15T18:56:01.074Z] ---> Running in c2946693dcf4 [2023-11-15T18:56:01.074Z] noop [2023-11-15T18:56:01.074Z] Removing intermediate container c2946693dcf4 [2023-11-15T18:56:01.074Z] ---> 3b945b18fb5b [2023-11-15T18:56:01.074Z] Successfully built 3b945b18fb5b [2023-11-15T18:56:01.074Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:56:01.555Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T18:56:01.555Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T18:56:01.825Z] prd-ubuntu20.04-docker-arm64-4c-16g-18136 does not seem to be running inside a container [2023-11-15T18:56:01.887Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-15T18:56:03.116Z] $ docker top 8c5f0045bc07803259f0672f4edd864db42e029a23068fbbe5f474cc7573f58d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T18:56:03.998Z] + go version [2023-11-15T18:56:03.998Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-15T18:56:04.036Z] $ docker stop --time=1 8c5f0045bc07803259f0672f4edd864db42e029a23068fbbe5f474cc7573f58d [2023-11-15T18:56:05.643Z] $ docker rm -f --volumes 8c5f0045bc07803259f0672f4edd864db42e029a23068fbbe5f474cc7573f58d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T18:56:06.517Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T18:56:06.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T18:56:06.755Z] prd-ubuntu20.04-docker-arm64-4c-16g-18136 does not seem to be running inside a container [2023-11-15T18:56:06.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-15T18:56:07.977Z] $ docker top 4a5657244125866cd8ed4aa8cb06884f58ecc66d915ac706e80ad0ec4b830326 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T18:56:08.838Z] + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh [2023-11-15T18:56:09.232Z] + make test [2023-11-15T18:56:09.232Z] go test -race -coverprofile=coverage.out ./... [2023-11-15T18:58:30.919Z] ? github.com/edgexfoundry/app-record-replay [no test files] [2023-11-15T18:58:36.251Z] ok github.com/edgexfoundry/app-record-replay/internal/app 1.226s coverage: 88.0% of statements [2023-11-15T18:58:37.662Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces [no test files] [2023-11-15T18:58:37.662Z] ? github.com/edgexfoundry/app-record-replay/internal/interfaces/mocks [no test files] [2023-11-15T18:58:39.601Z] ? github.com/edgexfoundry/app-record-replay/pkg/dtos [no test files] [2023-11-15T18:58:47.813Z] ok github.com/edgexfoundry/app-record-replay/internal/application 10.044s coverage: 98.7% of statements [2023-11-15T18:58:47.813Z] ok github.com/edgexfoundry/app-record-replay/internal/controller 1.569s coverage: 89.7% of statements [2023-11-15T18:58:47.813Z] ok github.com/edgexfoundry/app-record-replay/internal/utils 1.167s coverage: 100.0% of statements [2023-11-15T18:58:48.769Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-15T18:58:48.769Z] go vet ./... [2023-11-15T19:00:40.445Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-15T19:00:40.445Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-15T19:00:40.445Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-15T19:00:40.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-15T19:00:40.525Z] $ docker stop --time=1 4a5657244125866cd8ed4aa8cb06884f58ecc66d915ac706e80ad0ec4b830326 [2023-11-15T19:00:42.427Z] $ docker rm -f --volumes 4a5657244125866cd8ed4aa8cb06884f58ecc66d915ac706e80ad0ec4b830326 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T19:00:44.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-15T19:00:44.158Z] Warning: overwriting stash ‘coverage-report’ [2023-11-15T19:00:44.650Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T19:00:45.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T19:00:45.633Z] + ls -al . [2023-11-15T19:00:45.633Z] total 188 [2023-11-15T19:00:45.633Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 18:56 . [2023-11-15T19:00:45.633Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 18:53 .. [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 119 Nov 15 18:53 .dockerignore [2023-11-15T19:00:45.633Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 18:53 .git [2023-11-15T19:00:45.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 18:53 .github [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 164 Nov 15 18:53 .gitignore [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 15 18:53 .golangci.yml [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 11301 Nov 15 18:53 Attribution.txt [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 458 Nov 15 18:53 CHANGELOG.md [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 1725 Nov 15 18:53 Dockerfile [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 18:53 GOVERNANCE.md [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 681 Nov 15 18:53 Jenkinsfile [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 15 18:53 LICENSE [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 3136 Nov 15 18:53 Makefile [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 611 Nov 15 18:53 OWNERS.md [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 4107 Nov 15 18:53 README.md [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 7789 Nov 15 18:53 Record and Reply.postman_collection.json [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 18:51 VERSION [2023-11-15T19:00:45.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 18:53 bin [2023-11-15T19:00:45.633Z] -rw-r--r-- 1 jenkins jenkins 24667 Nov 15 18:58 coverage.out [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 3859 Nov 15 18:53 go.mod [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 34797 Nov 15 18:53 go.sum [2023-11-15T19:00:45.633Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 15 18:53 internal [2023-11-15T19:00:45.633Z] -rw-rw-r-- 1 jenkins jenkins 913 Nov 15 18:53 main.go [2023-11-15T19:00:45.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 18:53 openapi [2023-11-15T19:00:45.633Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 18:53 pkg [2023-11-15T19:00:45.633Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 18:53 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T19:00:46.066Z] + docker build -t app-record-replay-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1f331b35fa0ab3032d6136dac830af336dfd0786 --label arch=arm64 --label version=0.0.0 . [2023-11-15T19:00:46.335Z] Sending build context to Docker daemon 284.2kB [2023-11-15T19:00:46.335Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2023-11-15T19:00:46.335Z] Step 2/27 : FROM ${BASE} AS builder [2023-11-15T19:00:46.335Z] ---> 3b945b18fb5b [2023-11-15T19:00:46.335Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git" [2023-11-15T19:00:48.921Z] ---> Running in 9320e6c435c2 [2023-11-15T19:00:48.921Z] Removing intermediate container 9320e6c435c2 [2023-11-15T19:00:48.921Z] ---> 4b54302ec0d4 [2023-11-15T19:00:48.921Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2023-11-15T19:00:48.921Z] ---> Running in 87709970cce2 [2023-11-15T19:00:49.189Z] Removing intermediate container 87709970cce2 [2023-11-15T19:00:49.189Z] ---> de52c058bc6c [2023-11-15T19:00:49.189Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2023-11-15T19:00:49.189Z] ---> Running in 43eceb9e5cb9 [2023-11-15T19:00:49.456Z] Removing intermediate container 43eceb9e5cb9 [2023-11-15T19:00:49.456Z] ---> 82af1c5555db [2023-11-15T19:00:49.456Z] Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-15T19:00:49.723Z] ---> Running in c6a7dc769cb6 [2023-11-15T19:00:50.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T19:00:51.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T19:00:52.258Z] OK: 266 MiB in 52 packages [2023-11-15T19:00:53.326Z] Removing intermediate container c6a7dc769cb6 [2023-11-15T19:00:53.326Z] ---> 39b06aac4076 [2023-11-15T19:00:53.326Z] Step 7/27 : WORKDIR /app [2023-11-15T19:00:53.326Z] ---> Running in 8b71291235a4 [2023-11-15T19:00:53.594Z] Removing intermediate container 8b71291235a4 [2023-11-15T19:00:53.594Z] ---> cf661d44b0dd [2023-11-15T19:00:53.594Z] Step 8/27 : COPY go.mod vendor* ./ [2023-11-15T19:00:54.180Z] ---> 771bb3799a11 [2023-11-15T19:00:54.180Z] Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-15T19:00:54.180Z] ---> Running in d8c4e55f95cc [2023-11-15T19:00:56.786Z] Removing intermediate container d8c4e55f95cc [2023-11-15T19:00:56.786Z] ---> 19398e0dde1d [2023-11-15T19:00:56.786Z] Step 10/27 : COPY . . [2023-11-15T19:00:57.371Z] ---> fca38e99f2e1 [2023-11-15T19:00:57.371Z] Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-15T19:00:57.640Z] ---> Running in 3cbd96a8dcf1 [2023-11-15T19:00:57.911Z] Removing intermediate container 3cbd96a8dcf1 [2023-11-15T19:00:57.911Z] ---> 50b4736137f8 [2023-11-15T19:00:57.911Z] Step 12/27 : RUN $MAKE [2023-11-15T19:00:57.911Z] ---> Running in be6e9ce54307 [2023-11-15T19:00:58.875Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay [2023-11-15T19:02:50.783Z] Removing intermediate container be6e9ce54307 [2023-11-15T19:02:50.783Z] ---> eec24d4b4167 [2023-11-15T19:02:50.783Z] Step 13/27 : FROM alpine:3.18 [2023-11-15T19:02:50.783Z] 3.18: Pulling from library/alpine [2023-11-15T19:02:50.783Z] 579b34f0a95b: Pulling fs layer [2023-11-15T19:02:50.783Z] 579b34f0a95b: Verifying Checksum [2023-11-15T19:02:50.783Z] 579b34f0a95b: Download complete [2023-11-15T19:02:51.364Z] 579b34f0a95b: Pull complete [2023-11-15T19:02:51.364Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-15T19:02:51.364Z] Status: Downloaded newer image for alpine:3.18 [2023-11-15T19:02:51.364Z] ---> 3cc203321400 [2023-11-15T19:02:51.364Z] Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-15T19:02:51.632Z] ---> Running in 50256db627fa [2023-11-15T19:02:51.903Z] Removing intermediate container 50256db627fa [2023-11-15T19:02:51.903Z] ---> 8a786ee659c8 [2023-11-15T19:02:51.903Z] Step 15/27 : LABEL Name=app-record-replay Version=${VERSION} [2023-11-15T19:02:51.903Z] ---> Running in 96bf123595d6 [2023-11-15T19:02:52.171Z] Removing intermediate container 96bf123595d6 [2023-11-15T19:02:52.171Z] ---> 51b8fa92c299 [2023-11-15T19:02:52.171Z] Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init [2023-11-15T19:02:52.171Z] ---> Running in 3b2abd7232ba [2023-11-15T19:02:53.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T19:02:53.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T19:02:54.670Z] (1/2) Installing ca-certificates (20230506-r0) [2023-11-15T19:02:54.945Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-11-15T19:02:54.945Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T19:02:54.945Z] Executing ca-certificates-20230506-r0.trigger [2023-11-15T19:02:54.945Z] OK: 9 MiB in 17 packages [2023-11-15T19:02:56.891Z] Removing intermediate container 3b2abd7232ba [2023-11-15T19:02:56.891Z] ---> 5267013bc54e [2023-11-15T19:02:56.891Z] Step 17/27 : RUN apk --no-cache upgrade [2023-11-15T19:02:56.891Z] ---> Running in 92f83f204d8f [2023-11-15T19:02:57.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T19:02:58.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T19:02:59.071Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T19:02:59.071Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T19:02:59.071Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-15T19:02:59.071Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T19:02:59.071Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T19:02:59.336Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-15T19:02:59.336Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-15T19:02:59.336Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-15T19:02:59.336Z] Executing busybox-1.36.1-r5.trigger [2023-11-15T19:02:59.336Z] Executing ca-certificates-20230506-r0.trigger [2023-11-15T19:02:59.602Z] OK: 9 MiB in 17 packages [2023-11-15T19:03:00.566Z] Removing intermediate container 92f83f204d8f [2023-11-15T19:03:00.566Z] ---> f61e9c9a1786 [2023-11-15T19:03:00.566Z] Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-11-15T19:03:01.147Z] ---> eeb0a2c3d9af [2023-11-15T19:03:01.147Z] Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE [2023-11-15T19:03:01.413Z] ---> eb566d45bda2 [2023-11-15T19:03:01.413Z] Step 20/27 : COPY --from=builder /app/res/ /res/ [2023-11-15T19:03:01.994Z] ---> 03d3bd01261e [2023-11-15T19:03:01.994Z] Step 21/27 : COPY --from=builder /app/app-record-replay /app-record-replay [2023-11-15T19:03:03.400Z] ---> 0a1819dcb3c5 [2023-11-15T19:03:03.400Z] Step 22/27 : EXPOSE 59712 [2023-11-15T19:03:03.400Z] ---> Running in 9f97f39e8a06 [2023-11-15T19:03:03.982Z] Removing intermediate container 9f97f39e8a06 [2023-11-15T19:03:03.983Z] ---> 2e610bf44542 [2023-11-15T19:03:03.983Z] Step 23/27 : ENTRYPOINT ["/app-record-replay"] [2023-11-15T19:03:03.983Z] ---> Running in f7c945e59faa [2023-11-15T19:03:04.250Z] Removing intermediate container f7c945e59faa [2023-11-15T19:03:04.250Z] ---> e3ce7090a24a [2023-11-15T19:03:04.250Z] Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-15T19:03:04.250Z] ---> Running in 7953ca8fe4c7 [2023-11-15T19:03:04.517Z] Removing intermediate container 7953ca8fe4c7 [2023-11-15T19:03:04.517Z] ---> def4b7e02181 [2023-11-15T19:03:04.518Z] Step 25/27 : LABEL arch=arm64 [2023-11-15T19:03:04.518Z] ---> Running in cb43ba112f9d [2023-11-15T19:03:04.805Z] Removing intermediate container cb43ba112f9d [2023-11-15T19:03:04.805Z] ---> 52005fe5fa5d [2023-11-15T19:03:04.805Z] Step 26/27 : LABEL git_sha=1f331b35fa0ab3032d6136dac830af336dfd0786 [2023-11-15T19:03:05.074Z] ---> Running in e64396372219 [2023-11-15T19:03:05.341Z] Removing intermediate container e64396372219 [2023-11-15T19:03:05.341Z] ---> e31060586365 [2023-11-15T19:03:05.341Z] Step 27/27 : LABEL version=0.0.0 [2023-11-15T19:03:05.341Z] ---> Running in 88ade9882504 [2023-11-15T19:03:05.609Z] Removing intermediate container 88ade9882504 [2023-11-15T19:03:05.609Z] ---> 8c128dc58463 [2023-11-15T19:03:05.609Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-15T19:03:05.609Z] Successfully built 8c128dc58463 [2023-11-15T19:03:05.609Z] Successfully tagged app-record-replay-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T19:03:06.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T19:03:06.468Z] [2023-11-15T19:03:06.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T19:03:06.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T19:03:07.150Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-15T19:03:07.150Z] 8998bd30e6a1: Pulling fs layer [2023-11-15T19:03:07.150Z] 04944245beec: Pulling fs layer [2023-11-15T19:03:07.150Z] 699f458cf7ca: Pulling fs layer [2023-11-15T19:03:07.150Z] 765212b225bb: Pulling fs layer [2023-11-15T19:03:07.150Z] f23df028b6ca: Pulling fs layer [2023-11-15T19:03:07.150Z] d65c8cfc05b1: Pulling fs layer [2023-11-15T19:03:07.150Z] 2437ff75d9bd: Pulling fs layer [2023-11-15T19:03:07.150Z] 765212b225bb: Waiting [2023-11-15T19:03:07.150Z] f23df028b6ca: Waiting [2023-11-15T19:03:07.150Z] d65c8cfc05b1: Waiting [2023-11-15T19:03:07.150Z] 2437ff75d9bd: Waiting [2023-11-15T19:03:07.150Z] 04944245beec: Verifying Checksum [2023-11-15T19:03:07.150Z] 04944245beec: Download complete [2023-11-15T19:03:07.150Z] 765212b225bb: Verifying Checksum [2023-11-15T19:03:07.150Z] 765212b225bb: Download complete [2023-11-15T19:03:07.150Z] f23df028b6ca: Verifying Checksum [2023-11-15T19:03:07.150Z] f23df028b6ca: Download complete [2023-11-15T19:03:07.150Z] d65c8cfc05b1: Verifying Checksum [2023-11-15T19:03:07.150Z] d65c8cfc05b1: Download complete [2023-11-15T19:03:07.419Z] 699f458cf7ca: Verifying Checksum [2023-11-15T19:03:07.419Z] 699f458cf7ca: Download complete [2023-11-15T19:03:07.686Z] 8998bd30e6a1: Verifying Checksum [2023-11-15T19:03:07.686Z] 8998bd30e6a1: Download complete [2023-11-15T19:03:10.277Z] 2437ff75d9bd: Verifying Checksum [2023-11-15T19:03:10.277Z] 2437ff75d9bd: Download complete [2023-11-15T19:03:12.210Z] 8998bd30e6a1: Pull complete [2023-11-15T19:03:12.797Z] 04944245beec: Pull complete [2023-11-15T19:03:14.204Z] 699f458cf7ca: Pull complete [2023-11-15T19:03:14.204Z] 765212b225bb: Pull complete [2023-11-15T19:03:15.159Z] f23df028b6ca: Pull complete [2023-11-15T19:03:15.159Z] d65c8cfc05b1: Pull complete [2023-11-15T19:03:33.368Z] 2437ff75d9bd: Pull complete [2023-11-15T19:03:33.368Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-15T19:03:33.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T19:03:33.368Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T19:03:33.703Z] prd-ubuntu20.04-docker-arm64-4c-16g-18136 does not seem to be running inside a container [2023-11-15T19:03:33.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-record-replay/1 -v /w/workspace/app-record-replay/1:/w/workspace/app-record-replay/1:rw,z -v /w/workspace/app-record-replay/1@tmp:/w/workspace/app-record-replay/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-15T19:03:36.346Z] $ docker top a505e3e9139707a98088c6cfdec759aa65d6b3b311062b4f1e50b60968a3d792 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T19:03:37.242Z] ---> job-cost.sh [2023-11-15T19:03:37.242Z] lf-activate-venv: SKIPPING [2023-11-15T19:03:37.242Z] INFO: No Stack... [2023-11-15T19:03:37.823Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-15T19:03:38.405Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T19:03:38.756Z] + cat /w/workspace/app-record-replay/1/archives/cost.csv [2023-11-15T19:03:38.756Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T19:03:38.836Z] Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-107-1-stack-cost] [2023-11-15T19:03:38.841Z] Resource [jenkins-edgexfoundry-app-record-replay-PR-107-1-stack-cost] did not exist. Created. [2023-11-15T19:03:38.841Z] Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T19:03:39.566Z] /w/workspace/app-record-replay/1@tmp/durable-46b68773/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-15T19:03:39.916Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-15T19:03:39.953Z] Warning: overwriting stash ‘stack-cost’ [2023-11-15T19:03:40.006Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T19:03:40.025Z] Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-107-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T19:03:40.126Z] $ docker stop --time=1 a505e3e9139707a98088c6cfdec759aa65d6b3b311062b4f1e50b60968a3d792 [2023-11-15T19:03:41.648Z] $ docker rm -f --volumes a505e3e9139707a98088c6cfdec759aa65d6b3b311062b4f1e50b60968a3d792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-15T19:03:42.634Z] provisioning config files... [2023-11-15T19:03:42.642Z] copy managed file [app-record-replay-codecov-token] to file:/w/workspace/foundry_app-record-replay_PR-107@tmp/config6731196798118939767tmp [Pipeline] { [Pipeline] sh [2023-11-15T19:03:42.985Z] + set +x [2023-11-15T19:03:42.985Z] + curl -s https://codecov.io/bash [2023-11-15T19:03:42.985Z] + bash -s -- [2023-11-15T19:03:42.985Z] [2023-11-15T19:03:42.985Z] _____ _ [2023-11-15T19:03:42.985Z] / ____| | | [2023-11-15T19:03:42.985Z] | | ___ __| | ___ ___ _____ __ [2023-11-15T19:03:42.985Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-15T19:03:42.985Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-15T19:03:42.985Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-15T19:03:42.985Z] Bash-1.0.6 [2023-11-15T19:03:42.985Z] [2023-11-15T19:03:42.985Z] [2023-11-15T19:03:42.985Z] ==> git version 2.25.1 found [2023-11-15T19:03:42.985Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-15T19:03:42.985Z] Release-Date: 2020-01-08 [2023-11-15T19:03:42.985Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-15T19:03:42.985Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-15T19:03:42.985Z] ==> Jenkins CI detected. [2023-11-15T19:03:42.985Z] current dir:  /w/workspace/foundry_app-record-replay_PR-107 [2023-11-15T19:03:42.985Z] project root: . [2023-11-15T19:03:42.985Z] --> token set from env [2023-11-15T19:03:42.985Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-15T19:03:42.985Z] ==> Running gcov in . (disable via -X gcov) [2023-11-15T19:03:43.253Z] ==> Python coveragepy not found [2023-11-15T19:03:43.253Z] ==> Searching for coverage reports in: [2023-11-15T19:03:43.253Z] + . [2023-11-15T19:03:43.253Z] -> Found 1 reports [2023-11-15T19:03:43.253Z] ==> Detecting git/mercurial file structure [2023-11-15T19:03:43.253Z] ==> Reading reports [2023-11-15T19:03:43.253Z] + ./coverage.out bytes=24667 [2023-11-15T19:03:43.253Z] ==> Appending adjustments [2023-11-15T19:03:43.253Z] https://docs.codecov.io/docs/fixing-reports [2023-11-15T19:03:43.253Z] + Found adjustments [2023-11-15T19:03:43.253Z] ==> Gzipping contents [2023-11-15T19:03:43.253Z] 8.0K /tmp/codecov.rVZ9Rp.gz [2023-11-15T19:03:43.253Z] ==> Uploading reports [2023-11-15T19:03:43.253Z] url: https://codecov.io [2023-11-15T19:03:43.253Z] query: branch=PR-107&commit=1f331b35fa0ab3032d6136dac830af336dfd0786&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-107%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=107&job=&cmd_args= [2023-11-15T19:03:43.253Z] -> Pinging Codecov [2023-11-15T19:03:43.253Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6761a825-4501-4abd-88ee-552c6fc4520a&branch=PR-107&commit=1f331b35fa0ab3032d6136dac830af336dfd0786&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-107%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=107&job=&cmd_args= [2023-11-15T19:03:43.513Z] -> Uploading to [2023-11-15T19:03:43.513Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-15/F467761B9912B4F32F9BC62907045C81/1f331b35fa0ab3032d6136dac830af336dfd0786/2ef6350d-cae1-449d-9eb1-09b4f60e658a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231115T190343Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ef22361ffbd21fb250d418bdadcb2d688c035edde9a39a6a2bc339729b37e0d [2023-11-15T19:03:43.513Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T19:03:43.513Z] Dload Upload Total Spent Left Speed [2023-11-15T19:03:43.772Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4846 0 0 100 4846 0 23639 --:--:-- --:--:-- --:--:-- 23524 100 4846 0 0 100 4846 0 20276 --:--:-- --:--:-- --:--:-- 20191 [2023-11-15T19:03:43.772Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-record-replay/commit/1f331b35fa0ab3032d6136dac830af336dfd0786 [Pipeline] } [2023-11-15T19:03:43.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-15T19:03:45.614Z] + [ -d /w/workspace/foundry_app-record-replay_PR-107/archives ] [2023-11-15T19:03:45.615Z] + ls -al /w/workspace/foundry_app-record-replay_PR-107/archives [2023-11-15T19:03:45.615Z] total 16 [2023-11-15T19:03:45.615Z] drwxr-xr-x 3 root root 4096 Nov 15 18:55 . [2023-11-15T19:03:45.615Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 18:55 .. [2023-11-15T19:03:45.615Z] drwxr-xr-x 2 root root 4096 Nov 15 18:55 cost [2023-11-15T19:03:45.615Z] -rw-r--r-- 1 root root 89 Nov 15 18:55 cost.csv [2023-11-15T19:03:45.615Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_app-record-replay_PR-107/archives [2023-11-15T19:03:45.615Z] + ls -al /w/workspace/foundry_app-record-replay_PR-107/archives [2023-11-15T19:03:45.615Z] total 16 [2023-11-15T19:03:45.615Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 18:55 . [2023-11-15T19:03:45.615Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 15 18:55 .. [2023-11-15T19:03:45.615Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 18:55 cost [2023-11-15T19:03:45.615Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 15 18:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-15T19:03:45.961Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T19:03:46.869Z] ---> package-listing.sh [2023-11-15T19:03:46.870Z] ++ facter osfamily [2023-11-15T19:03:46.870Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-15T19:03:47.129Z] + OS_FAMILY=debian [2023-11-15T19:03:47.129Z] + workspace=/w/workspace/foundry_app-record-replay_PR-107 [2023-11-15T19:03:47.129Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-15T19:03:47.129Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-15T19:03:47.129Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-15T19:03:47.129Z] + PACKAGES=/tmp/packages_start.txt [2023-11-15T19:03:47.129Z] + '[' /w/workspace/foundry_app-record-replay_PR-107 ']' [2023-11-15T19:03:47.129Z] + PACKAGES=/tmp/packages_end.txt [2023-11-15T19:03:47.129Z] + case "${OS_FAMILY}" in [2023-11-15T19:03:47.129Z] + dpkg -l [2023-11-15T19:03:47.129Z] + grep '^ii' [2023-11-15T19:03:47.129Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-15T19:03:47.129Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-15T19:03:47.129Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-15T19:03:47.129Z] + '[' /w/workspace/foundry_app-record-replay_PR-107 ']' [2023-11-15T19:03:47.129Z] + mkdir -p /w/workspace/foundry_app-record-replay_PR-107/archives/ [2023-11-15T19:03:47.129Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_app-record-replay_PR-107/archives/ [Pipeline] echo [2023-11-15T19:03:47.161Z] 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/foundry_app-record-replay_PR-107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-15T19:03:47.452Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T19:03:48.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T19:03:48.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T19:03:48.224Z] prd-ubuntu20.04-docker-8c-8g-18135 does not seem to be running inside a container [2023-11-15T19:03:48.254Z] $ 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/foundry_app-record-replay_PR-107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_app-record-replay_PR-107 -v /w/workspace/foundry_app-record-replay_PR-107:/w/workspace/foundry_app-record-replay_PR-107:rw,z -v /w/workspace/foundry_app-record-replay_PR-107@tmp:/w/workspace/foundry_app-record-replay_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T19:03:49.495Z] $ docker top cfb92d733d779357e72eda7c7b3da96646fbfb3ec66a52b8844c3b1f3a51ce0d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T19:03:49.879Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-15T19:03:50.181Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-15T19:03:50.493Z] + ls /var/log/sa-host [2023-11-15T19:03:50.494Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T19:03:50.711Z] provisioning config files... [2023-11-15T19:03:50.719Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_app-record-replay_PR-107@tmp/config13291944522914750122tmp [Pipeline] { [Pipeline] echo [2023-11-15T19:03:50.776Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T19:03:51.094Z] ---> create-netrc.sh [Pipeline] } [2023-11-15T19:03:51.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-15T19:03:51.525Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-15T19:03:51.556Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T19:03:51.866Z] ---> sudo-logs.sh [2023-11-15T19:03:51.866Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-15T19:03:51.948Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T19:03:52.263Z] ---> job-cost.sh [2023-11-15T19:03:52.263Z] lf-activate-venv: SKIPPING [2023-11-15T19:03:52.263Z] DEBUG: total: 0.2199999988079071 [2023-11-15T19:03:52.263Z] INFO: Retrieving Stack Cost... [2023-11-15T19:03:52.524Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T19:03:53.090Z] INFO: Archiving Costs [Pipeline] echo [2023-11-15T19:03:53.123Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T19:03:53.435Z] ---> logs-deploy.sh [2023-11-15T19:03:53.435Z] lf-activate-venv: SKIPPING [2023-11-15T19:03:53.435Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-107/1 [2023-11-15T19:03:53.435Z] INFO: archiving workspace using pattern(s): [2023-11-15T19:03:54.374Z] Archives upload complete. [2023-11-15T19:03:54.633Z] INFO: archiving logs to Nexus