Pull request #22 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 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1+e01ec832849867a8389374ded9abbc6b5a0a3218 (e96b6401b882bd31826e44842b3ab22d47d9cb96) 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-ssh14894697007914587968.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2194383758780173985.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh 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-22/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-22/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7235464231840658509.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-22/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13586477166922045692.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh8346930388523870664.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-22/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-22/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12134498737561425577.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-record-replay, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-record-replay-settings PROJECT: app-record-replay USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-record-replay DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-18952’ is offline ‘prd-ubuntu20.04-docker-8c-8g-18953’ is offline Running on prd-ubuntu20.04-docker-8c-8g-18954 in /w/workspace/xfoundry_app-record-replay_PR-22 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-record-replay.git > git init /w/workspace/xfoundry_app-record-replay_PR-22 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e01ec832849867a8389374ded9abbc6b5a0a3218 into PR head commit 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 Merge succeeded, producing 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 Checking out Revision 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 (PR-22) > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 # 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 e01ec832849867a8389374ded9abbc6b5a0a3218 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 # timeout=10 Commit message: "feat: Add DTOs needed by HTTP Endpoints" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:33:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:33:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:33:24 ========================================================= 00:33:24 EdgeX Global Pipelines Version Info 00:33:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:33:25 ------------------- 00:33:25 stable info: 00:33:25 ------------------- 00:33:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:33:25 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:33:25 Message: update stable to v1.0.250 00:33:25 ------------------- 00:33:25 experimental info: 00:33:25 ------------------- 00:33:25 Commited By: **** collab-it+edgex@linuxfoundation.org 00:33:25 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:33:25 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-record-replay-settings [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-record-replay [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-record-replay [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:33:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-22 [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-22 [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-22 [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26e004f [Pipeline] echo 00:33:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:33:27 provisioning config files... 00:33:27 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-22@tmp/config13170005158950014416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:33:28 ---> docker-login.sh 00:33:28 nexus3.edgexfoundry.org:10001 00:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:28 Configure a credential helper to remove this warning. See 00:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:28 00:33:28 Login Succeeded 00:33:28 nexus3.edgexfoundry.org:10002 00:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:28 Configure a credential helper to remove this warning. See 00:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:28 00:33:28 Login Succeeded 00:33:28 nexus3.edgexfoundry.org:10003 00:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:28 Configure a credential helper to remove this warning. See 00:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:28 00:33:28 Login Succeeded 00:33:28 nexus3.edgexfoundry.org:10004 00:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:28 Configure a credential helper to remove this warning. See 00:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:28 00:33:28 Login Succeeded 00:33:28 docker.io 00:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:28 Configure a credential helper to remove this warning. See 00:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:28 00:33:28 Login Succeeded 00:33:28 ---> docker-login.sh ends [Pipeline] } 00:33:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:33:29 + git rev-list -1 --merges 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1~1..26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 [Pipeline] echo 00:33:29 -----------> git rev-list -1 --merges 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1~1..26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 [false] [Pipeline] sh 00:33:29 + git log --format=format:%s -1 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 [Pipeline] echo 00:33:29 ========================================================= 00:33:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:33:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:33:30 + git log --format=format:%s -1 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 [Pipeline] echo 00:33:30 [semverPrep] GIT_COMMIT: 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1, Commit Message: feat: Add DTOs needed by HTTP Endpoints [Pipeline] echo 00:33:30 [semverPrep] This is not a build commit. [Pipeline] sh 00:33:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:33:30 + grep -v github /etc/ssh/ssh_known_hosts 00:33:30 + [ -e /tmp/ssh_known_hosts ] 00:33:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:33:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:33:30 + sudo tee -a /etc/ssh/ssh_known_hosts 00:33:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:33:31 00:33:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:33:31 0.1.4: Pulling from edgex-devops/py-git-semver 00:33:31 b85a868b505f: Pulling fs layer 00:33:31 e2be974225ed: Pulling fs layer 00:33:31 339a4e72a1f5: Pulling fs layer 00:33:31 988bab9f4d93: Pulling fs layer 00:33:31 1469e6f7b9e6: Pulling fs layer 00:33:31 eaf3925da568: Pulling fs layer 00:33:31 bab4dde63d76: Pulling fs layer 00:33:31 bde34c3a00c8: Pulling fs layer 00:33:31 b352a97aabf1: Pulling fs layer 00:33:31 4872d77fe225: Pulling fs layer 00:33:31 5851b861e8e6: Pulling fs layer 00:33:31 988bab9f4d93: Waiting 00:33:31 1469e6f7b9e6: Waiting 00:33:31 eaf3925da568: Waiting 00:33:31 bab4dde63d76: Waiting 00:33:31 bde34c3a00c8: Waiting 00:33:31 b352a97aabf1: Waiting 00:33:31 4872d77fe225: Waiting 00:33:31 5851b861e8e6: Waiting 00:33:31 e2be974225ed: Verifying Checksum 00:33:31 e2be974225ed: Download complete 00:33:31 988bab9f4d93: Verifying Checksum 00:33:31 988bab9f4d93: Download complete 00:33:31 1469e6f7b9e6: Verifying Checksum 00:33:31 1469e6f7b9e6: Download complete 00:33:31 339a4e72a1f5: Verifying Checksum 00:33:31 339a4e72a1f5: Download complete 00:33:31 eaf3925da568: Verifying Checksum 00:33:31 eaf3925da568: Download complete 00:33:31 bde34c3a00c8: Verifying Checksum 00:33:31 bde34c3a00c8: Download complete 00:33:31 b352a97aabf1: Verifying Checksum 00:33:31 b352a97aabf1: Download complete 00:33:31 4872d77fe225: Download complete 00:33:31 5851b861e8e6: Verifying Checksum 00:33:31 5851b861e8e6: Download complete 00:33:31 b85a868b505f: Verifying Checksum 00:33:31 b85a868b505f: Download complete 00:33:32 bab4dde63d76: Verifying Checksum 00:33:32 bab4dde63d76: Download complete 00:33:33 b85a868b505f: Pull complete 00:33:33 e2be974225ed: Pull complete 00:33:33 339a4e72a1f5: Pull complete 00:33:33 988bab9f4d93: Pull complete 00:33:33 1469e6f7b9e6: Pull complete 00:33:33 eaf3925da568: Pull complete 00:33:35 bab4dde63d76: Pull complete 00:33:35 bde34c3a00c8: Pull complete 00:33:35 b352a97aabf1: Pull complete 00:33:35 4872d77fe225: Pull complete 00:33:35 5851b861e8e6: Pull complete 00:33:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:33:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:33:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:36 prd-ubuntu20.04-docker-8c-8g-18954 does not seem to be running inside a container 00:33:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_app-record-replay_PR-22 -v /w/workspace/xfoundry_app-record-replay_PR-22:/w/workspace/xfoundry_app-record-replay_PR-22:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-22@tmp:/w/workspace/xfoundry_app-record-replay_PR-22@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 00:33:38 $ docker top 087ccdd6433647e3f8ac7fe83105aa84d822601755f8ecfcb7bc6a44f0c3776f -eo pid,comm 00:33:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:33:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:33:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:33:38 [ssh-agent] Looking for ssh-agent implementation... 00:33:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:38 $ docker exec 087ccdd6433647e3f8ac7fe83105aa84d822601755f8ecfcb7bc6a44f0c3776f ssh-agent 00:33:38 SSH_AUTH_SOCK=/tmp/ssh-DIZ5pvdwaTYz/agent.33 00:33:38 SSH_AGENT_PID=39 00:33:38 Running ssh-add (command line suppressed) 00:33:39 Identity added: /w/workspace/xfoundry_app-record-replay_PR-22@tmp/private_key_3854666391369826748.key (/w/workspace/xfoundry_app-record-replay_PR-22@tmp/private_key_3854666391369826748.key) 00:33:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:33:39 + git tag --points-at HEAD [Pipeline] } 00:33:39 $ docker exec --env ******** --env ******** 087ccdd6433647e3f8ac7fe83105aa84d822601755f8ecfcb7bc6a44f0c3776f ssh-agent -k 00:33:39 unset SSH_AUTH_SOCK; 00:33:39 unset SSH_AGENT_PID; 00:33:39 echo Agent pid 39 killed; 00:33:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:33:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:33:39 [ssh-agent] Looking for ssh-agent implementation... 00:33:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:33:39 $ docker exec 087ccdd6433647e3f8ac7fe83105aa84d822601755f8ecfcb7bc6a44f0c3776f ssh-agent 00:33:39 SSH_AUTH_SOCK=/tmp/ssh-pkWfdVDp0Nu2/agent.71 00:33:39 SSH_AGENT_PID=77 00:33:39 Running ssh-add (command line suppressed) 00:33:40 Identity added: /w/workspace/xfoundry_app-record-replay_PR-22@tmp/private_key_17150926929056497723.key (/w/workspace/xfoundry_app-record-replay_PR-22@tmp/private_key_17150926929056497723.key) 00:33:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:33:40 + git semver init 00:33:40 2023-06-21 00:33:40,539 [run_init] DEBUG init version:0.0.0 force:False 00:33:40 2023-06-21 00:33:40,539 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_app-record-replay_PR-22/.semver 00:33:40 2023-06-21 00:33:40,540 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-record-replay.git /w/workspace/xfoundry_app-record-replay_PR-22/.semver 00:33:40 2023-06-21 00:33:40,540 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-record-replay.git', '/w/workspace/xfoundry_app-record-replay_PR-22/.semver'], cwd=/w/workspace/xfoundry_app-record-replay_PR-22, universal_newlines=False, shell=None, istream=None) 00:33:41 2023-06-21 00:33:41,094 [append_file] DEBUG append to file:/w/workspace/xfoundry_app-record-replay_PR-22/.git/info/exclude 00:33:41 2023-06-21 00:33:41,095 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_app-record-replay_PR-22/.semver/PR-22 with force:False 00:33:41 2023-06-21 00:33:41,095 [write_file] DEBUG write to file:/w/workspace/xfoundry_app-record-replay_PR-22/.semver/PR-22 00:33:41 2023-06-21 00:33:41,099 [execute] INFO git cat-file --batch-check 00:33:41 2023-06-21 00:33:41,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_app-record-replay_PR-22/.semver, universal_newlines=False, shell=None, istream=) 00:33:41 2023-06-21 00:33:41,105 [execute] INFO git cat-file --batch 00:33:41 2023-06-21 00:33:41,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_app-record-replay_PR-22/.semver, universal_newlines=False, shell=None, istream=) 00:33:41 2023-06-21 00:33:41,110 [read_version] DEBUG read version from /w/workspace/xfoundry_app-record-replay_PR-22/.semver/PR-22 00:33:41 0.0.0 [Pipeline] } 00:33:41 $ docker exec --env ******** --env ******** 087ccdd6433647e3f8ac7fe83105aa84d822601755f8ecfcb7bc6a44f0c3776f ssh-agent -k 00:33:41 unset SSH_AUTH_SOCK; 00:33:41 unset SSH_AGENT_PID; 00:33:41 echo Agent pid 77 killed; 00:33:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:33:41 + git semver [Pipeline] } 00:33:42 $ docker stop --time=1 087ccdd6433647e3f8ac7fe83105aa84d822601755f8ecfcb7bc6a44f0c3776f 00:33:43 $ docker rm -f --volumes 087ccdd6433647e3f8ac7fe83105aa84d822601755f8ecfcb7bc6a44f0c3776f [Pipeline] // withDockerContainer [Pipeline] sh 00:33:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:33:43 Stashed 1 file(s) [Pipeline] echo 00:33:43 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:33:44 provisioning config files... 00:33:44 copy managed file [app-record-replay-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-22@tmp/config9682735919908432771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:33:44 ---> docker-login.sh 00:33:44 nexus3.edgexfoundry.org:10001 00:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:44 Configure a credential helper to remove this warning. See 00:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:44 00:33:44 Login Succeeded 00:33:44 nexus3.edgexfoundry.org:10002 00:33:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:44 Configure a credential helper to remove this warning. See 00:33:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:44 00:33:44 Login Succeeded 00:33:44 nexus3.edgexfoundry.org:10003 00:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:45 Configure a credential helper to remove this warning. See 00:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:45 00:33:45 Login Succeeded 00:33:45 nexus3.edgexfoundry.org:10004 00:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:45 Configure a credential helper to remove this warning. See 00:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:45 00:33:45 Login Succeeded 00:33:45 docker.io 00:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:45 Configure a credential helper to remove this warning. See 00:33:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:45 00:33:45 Login Succeeded 00:33:45 ---> docker-login.sh ends [Pipeline] } 00:33:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:33:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:33:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:33:45 ========================================================= 00:33:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:33:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:33:46 Sending build context to Docker daemon 160.3kB 00:33:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:33:46 Step 2/12 : FROM ${BASE} AS builder 00:33:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:33:46 f56be85fc22e: Pulling fs layer 00:33:46 85791d961cd3: Pulling fs layer 00:33:46 d694b5ae8c79: Pulling fs layer 00:33:46 9f32a84ed3da: Pulling fs layer 00:33:46 4d19c01a9841: Pulling fs layer 00:33:46 9325e15d5711: Pulling fs layer 00:33:46 556b6ee489ea: Pulling fs layer 00:33:46 c5a4b2cf53e6: Pulling fs layer 00:33:46 9f32a84ed3da: Waiting 00:33:46 4d19c01a9841: Waiting 00:33:46 9325e15d5711: Waiting 00:33:46 556b6ee489ea: Waiting 00:33:46 c5a4b2cf53e6: Waiting 00:33:46 85791d961cd3: Download complete 00:33:46 9f32a84ed3da: Verifying Checksum 00:33:46 9f32a84ed3da: Download complete 00:33:46 4d19c01a9841: Download complete 00:33:46 f56be85fc22e: Verifying Checksum 00:33:46 f56be85fc22e: Download complete 00:33:46 9325e15d5711: Verifying Checksum 00:33:46 9325e15d5711: Download complete 00:33:46 f56be85fc22e: Pull complete 00:33:46 85791d961cd3: Pull complete 00:33:47 d694b5ae8c79: Verifying Checksum 00:33:47 d694b5ae8c79: Download complete 00:33:47 c5a4b2cf53e6: Verifying Checksum 00:33:47 c5a4b2cf53e6: Download complete 00:33:47 556b6ee489ea: Verifying Checksum 00:33:47 556b6ee489ea: Download complete 00:33:50 d694b5ae8c79: Pull complete 00:33:50 9f32a84ed3da: Pull complete 00:33:50 4d19c01a9841: Pull complete 00:33:50 9325e15d5711: Pull complete 00:33:52 556b6ee489ea: Pull complete 00:33:53 c5a4b2cf53e6: Pull complete 00:33:53 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:33:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:33:53 ---> c4be618373d6 00:33:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:33:56 ---> Running in 0345a41075a0 00:33:56 Removing intermediate container 0345a41075a0 00:33:56 ---> f0fda3dd3113 00:33:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:33:56 ---> Running in cf2a887040f5 00:33:56 Removing intermediate container cf2a887040f5 00:33:56 ---> 28e1ddd9697d 00:33:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:33:56 ---> Running in f6d8a287b56b 00:33:56 Removing intermediate container f6d8a287b56b 00:33:56 ---> 8cab6d5072e6 00:33:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:33:56 ---> Running in 96baf4f5d870 00:33:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:33:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:33:57 OK: 265 MiB in 53 packages 00:33:58 Removing intermediate container 96baf4f5d870 00:33:58 ---> 237bfcef91ca 00:33:58 Step 7/12 : WORKDIR /app 00:33:58 ---> Running in 569895f0ef9e 00:33:58 Removing intermediate container 569895f0ef9e 00:33:58 ---> dbd5743c88bf 00:33:58 Step 8/12 : COPY go.mod vendor* ./ 00:33:58 ---> 081037aa3937 00:33:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:33:58 ---> Running in 605319168c8d 00:33:59 Still waiting to schedule task 00:33:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-18951’ 00:34:06 Removing intermediate container 605319168c8d 00:34:06 ---> c49050f780b2 00:34:06 Step 10/12 : COPY . . 00:34:06 ---> ef7eefc4c58a 00:34:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:34:06 ---> Running in b1d7d176f74d 00:34:06 Removing intermediate container b1d7d176f74d 00:34:06 ---> 417fdba812e2 00:34:06 Step 12/12 : RUN $MAKE 00:34:06 ---> Running in d012345ec87c 00:34:06 noop 00:34:07 Removing intermediate container d012345ec87c 00:34:07 ---> fb702ca0e061 00:34:07 Successfully built fb702ca0e061 00:34:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:07 + docker inspect -f . ci-base-image-x86_64 00:34:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:07 prd-ubuntu20.04-docker-8c-8g-18954 does not seem to be running inside a container 00:34:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_app-record-replay_PR-22 -v /w/workspace/xfoundry_app-record-replay_PR-22:/w/workspace/xfoundry_app-record-replay_PR-22:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-22@tmp:/w/workspace/xfoundry_app-record-replay_PR-22@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 00:34:08 $ docker top d32fae291323b74b4b88d7b9f8c5dc9bf2e147557c6fa7d5fd95532c9e08fb70 -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:08 + go version 00:34:08 go version go1.20.2 linux/amd64 [Pipeline] } 00:34:08 $ docker stop --time=1 d32fae291323b74b4b88d7b9f8c5dc9bf2e147557c6fa7d5fd95532c9e08fb70 00:34:09 $ docker rm -f --volumes d32fae291323b74b4b88d7b9f8c5dc9bf2e147557c6fa7d5fd95532c9e08fb70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:10 + docker inspect -f . ci-base-image-x86_64 00:34:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:10 prd-ubuntu20.04-docker-8c-8g-18954 does not seem to be running inside a container 00:34:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_app-record-replay_PR-22 -v /w/workspace/xfoundry_app-record-replay_PR-22:/w/workspace/xfoundry_app-record-replay_PR-22:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-22@tmp:/w/workspace/xfoundry_app-record-replay_PR-22@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 00:34:11 $ docker top c35bbbec037165eaf77117e6775b8712d7fe695d5f626a47a44cbb916bab62d3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:11 + git config --global --add safe.directory /w/workspace/xfoundry_app-record-replay_PR-22 [Pipeline] fileExists [Pipeline] sh 00:34:11 + make test 00:34:11 go test -race -coverprofile=coverage.out ./... 00:34:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:34:25 ? github.com/edgexfoundry/app-service-configurable/pkg/dtos [no test files] 00:34:40 go vet ./... 00:34:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:34:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:34:40 ./bin/test-attribution-txt.sh [Pipeline] echo 00:34:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:34:40 $ docker stop --time=1 c35bbbec037165eaf77117e6775b8712d7fe695d5f626a47a44cbb916bab62d3 00:34:43 $ docker rm -f --volumes c35bbbec037165eaf77117e6775b8712d7fe695d5f626a47a44cbb916bab62d3 [Pipeline] // withDockerContainer [Pipeline] sh 00:34:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:34:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:34:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:34:44 + ls -al . 00:34:44 total 116 00:34:44 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 00:34 . 00:34:44 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 00:33 .. 00:34:44 -rw-rw-r-- 1 jenkins jenkins 119 Jun 21 00:33 .dockerignore 00:34:44 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 00:33 .git 00:34:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 00:33 .github 00:34:44 -rw-rw-r-- 1 jenkins jenkins 164 Jun 21 00:33 .gitignore 00:34:44 -rw-rw-r-- 1 jenkins jenkins 41 Jun 21 00:33 .golangci.yml 00:34:44 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 00:33 .semver 00:34:44 -rw-rw-r-- 1 jenkins jenkins 8955 Jun 21 00:33 Attribution.txt 00:34:44 -rw-rw-r-- 1 jenkins jenkins 258 Jun 21 00:33 CHANGELOG.md 00:34:44 -rw-rw-r-- 1 jenkins jenkins 1624 Jun 21 00:33 Dockerfile 00:34:44 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 00:33 GOVERNANCE.md 00:34:44 -rw-rw-r-- 1 jenkins jenkins 681 Jun 21 00:33 Jenkinsfile 00:34:44 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 00:33 LICENSE 00:34:44 -rw-rw-r-- 1 jenkins jenkins 611 Jun 21 00:33 OWNERS.md 00:34:44 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 21 00:33 README.md 00:34:44 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 00:33 VERSION 00:34:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 00:33 bin 00:34:44 -rw-r--r-- 1 jenkins jenkins 13 Jun 21 00:34 coverage.out 00:34:44 -rw-rw-r-- 1 jenkins jenkins 529 Jun 21 00:33 go.mod 00:34:44 -rw-rw-r-- 1 jenkins jenkins 3110 Jun 21 00:33 go.sum 00:34:44 -rw-rw-r-- 1 jenkins jenkins 693 Jun 21 00:33 main.go 00:34:44 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 21 00:33 makefile 00:34:44 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 00:33 pkg 00:34:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 00:33 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:45 + 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=26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 --label arch=amd64 --label version=0.0.0 . 00:34:45 Sending build context to Docker daemon 161.3kB 00:34:45 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:34:45 Step 2/26 : FROM ${BASE} AS builder 00:34:45 ---> fb702ca0e061 00:34:45 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:34:45 ---> Running in e36b0081523a 00:34:45 Removing intermediate container e36b0081523a 00:34:45 ---> 37dfd4a00729 00:34:45 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:34:45 ---> Running in c22a4bf50766 00:34:45 Removing intermediate container c22a4bf50766 00:34:45 ---> c1187337f96e 00:34:45 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:34:45 ---> Running in 8d59d626966c 00:34:45 Removing intermediate container 8d59d626966c 00:34:45 ---> f550529c9e57 00:34:45 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:34:45 ---> Running in 5d3ae58c5f1c 00:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:34:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:34:46 OK: 265 MiB in 53 packages 00:34:46 Removing intermediate container 5d3ae58c5f1c 00:34:46 ---> f8923d4ee419 00:34:46 Step 7/26 : WORKDIR /app 00:34:46 ---> Running in 4d8525cadb72 00:34:46 Removing intermediate container 4d8525cadb72 00:34:46 ---> fde2c39cc8cc 00:34:46 Step 8/26 : COPY go.mod vendor* ./ 00:34:46 ---> 813692f8a7df 00:34:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:34:46 ---> Running in 2b08133160c8 00:34:47 Removing intermediate container 2b08133160c8 00:34:47 ---> 044e552a6a13 00:34:47 Step 10/26 : COPY . . 00:34:47 ---> f8c269fd3b0e 00:34:47 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:34:47 ---> Running in 9f657b108db1 00:34:47 Removing intermediate container 9f657b108db1 00:34:47 ---> f80a5d4a7da4 00:34:47 Step 12/26 : RUN $MAKE 00:34:47 ---> Running in b16017b131b7 00:34:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 00:34:53 Removing intermediate container b16017b131b7 00:34:53 ---> b00fb69bac3e 00:34:53 Step 13/26 : FROM alpine:3.17 00:34:53 3.17: Pulling from library/alpine 00:34:53 4db1b89c0bd1: Pulling fs layer 00:34:53 4db1b89c0bd1: Download complete 00:34:53 4db1b89c0bd1: Pull complete 00:34:53 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:34:53 Status: Downloaded newer image for alpine:3.17 00:34:53 ---> 1f73a9d63274 00:34:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:34:53 ---> Running in 6248d05759a7 00:34:53 Removing intermediate container 6248d05759a7 00:34:53 ---> 4d07e99399b7 00:34:53 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:34:53 ---> Running in 75d4eee991c2 00:34:54 Removing intermediate container 75d4eee991c2 00:34:54 ---> 7b5136afb22d 00:34:54 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:34:54 ---> Running in 9d8acd8a0698 00:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:34:54 (1/2) Installing ca-certificates (20230506-r0) 00:34:54 (2/2) Installing dumb-init (1.2.5-r2) 00:34:54 Executing busybox-1.35.0-r29.trigger 00:34:54 Executing ca-certificates-20230506-r0.trigger 00:34:54 OK: 8 MiB in 17 packages 00:34:55 Removing intermediate container 9d8acd8a0698 00:34:55 ---> 1715e3a4ee2d 00:34:55 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:34:55 ---> 03f65464a831 00:34:55 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:34:55 ---> 275039b08473 00:34:55 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:34:55 ---> f6d37030c217 00:34:55 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 00:34:55 ---> 623fd382e1e8 00:34:55 Step 21/26 : EXPOSE 59712 00:34:55 ---> Running in 0de1b9e945ad 00:34:55 Removing intermediate container 0de1b9e945ad 00:34:55 ---> d63361b442c6 00:34:55 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 00:34:55 ---> Running in 8264259f3ec6 00:34:56 Removing intermediate container 8264259f3ec6 00:34:56 ---> 030908791351 00:34:56 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:34:56 ---> Running in 3c17a80844c7 00:34:56 Removing intermediate container 3c17a80844c7 00:34:56 ---> 1285f7594822 00:34:56 Step 24/26 : LABEL arch=amd64 00:34:56 ---> Running in 4cbdf090f20d 00:34:56 Removing intermediate container 4cbdf090f20d 00:34:56 ---> bf85c13e292d 00:34:56 Step 25/26 : LABEL git_sha=26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 00:34:56 ---> Running in 03ddd5521c71 00:34:56 Removing intermediate container 03ddd5521c71 00:34:56 ---> 5852d1e191b0 00:34:56 Step 26/26 : LABEL version=0.0.0 00:34:56 ---> Running in 2ed82f92db27 00:34:56 Removing intermediate container 2ed82f92db27 00:34:56 ---> 709bae51d399 00:34:56 [Warning] One or more build-args [ARCH] were not consumed 00:34:56 Successfully built 709bae51d399 00:34:56 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 00:34:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:34:57 00:34:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:34:57 latest: Pulling from edgex-lftools-log-publisher 00:34:57 5eb5b503b376: Pulling fs layer 00:34:57 5c69ac0246d0: Pulling fs layer 00:34:57 ec43610c2a17: Pulling fs layer 00:34:57 3a2ae6a8a46f: Pulling fs layer 00:34:57 33b1e0a273af: Pulling fs layer 00:34:57 5d3b04190fa2: Pulling fs layer 00:34:57 2f39f015ded8: Pulling fs layer 00:34:57 3a2ae6a8a46f: Waiting 00:34:57 33b1e0a273af: Waiting 00:34:57 5d3b04190fa2: Waiting 00:34:57 2f39f015ded8: Waiting 00:34:57 5c69ac0246d0: Verifying Checksum 00:34:57 5c69ac0246d0: Download complete 00:34:57 3a2ae6a8a46f: Verifying Checksum 00:34:57 3a2ae6a8a46f: Download complete 00:34:57 33b1e0a273af: Verifying Checksum 00:34:57 33b1e0a273af: Download complete 00:34:57 5d3b04190fa2: Verifying Checksum 00:34:57 5d3b04190fa2: Download complete 00:34:57 ec43610c2a17: Verifying Checksum 00:34:57 ec43610c2a17: Download complete 00:34:57 5eb5b503b376: Download complete 00:34:58 2f39f015ded8: Download complete 00:34:58 5eb5b503b376: Pull complete 00:34:59 5c69ac0246d0: Pull complete 00:34:59 ec43610c2a17: Pull complete 00:34:59 3a2ae6a8a46f: Pull complete 00:34:59 33b1e0a273af: Pull complete 00:35:00 5d3b04190fa2: Pull complete 00:35:04 2f39f015ded8: Pull complete 00:35:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:35:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:35:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:35:04 prd-ubuntu20.04-docker-8c-8g-18954 does not seem to be running inside a container 00:35:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-22 -v /w/workspace/xfoundry_app-record-replay_PR-22:/w/workspace/xfoundry_app-record-replay_PR-22:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-22@tmp:/w/workspace/xfoundry_app-record-replay_PR-22@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 00:35:07 $ docker top cf5237e20a0b313368f3f57788c691c659417bce4572add5ea29f912991e840b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:35:08 ---> job-cost.sh 00:35:08 lf-activate-venv: SKIPPING 00:35:08 INFO: No Stack... 00:35:08 INFO: Retrieving Pricing Info for: v3-standard-8 00:35:09 INFO: Archiving Costs [Pipeline] sh 00:35:09 + cat /w/workspace/xfoundry_app-record-replay_PR-22/archives/cost.csv 00:35:09 + cut -d, -f6 [Pipeline] lock 00:35:09 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-22-1-stack-cost] 00:35:09 Resource [jenkins-edgexfoundry-app-record-replay-PR-22-1-stack-cost] did not exist. Created. 00:35:09 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-22-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:35:09 + echo total: 0.2199999988079071 [Pipeline] stash 00:35:09 Stashed 1 file(s) [Pipeline] } 00:35:09 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-22-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:35:10 $ docker stop --time=1 cf5237e20a0b313368f3f57788c691c659417bce4572add5ea29f912991e840b 00:35:11 $ docker rm -f --volumes cf5237e20a0b313368f3f57788c691c659417bce4572add5ea29f912991e840b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:37:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18955 in /w/workspace/xfoundry_app-record-replay_PR-22 [Pipeline] { [Pipeline] ws 00:37:20 Running in /w/workspace/app-record-replay/1 [Pipeline] { [Pipeline] checkout 00:37:20 The recommended git tool is: NONE 00:37:25 using credential edgex-jenkins-ssh 00:37:25 Cloning the remote Git repository 00:37:25 Cloning repository git@github.com:edgexfoundry/app-record-replay.git 00:37:25 > git init /w/workspace/app-record-replay/1 # timeout=10 00:37:25 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 00:37:25 > git --version # timeout=10 00:37:25 > git --version # 'git version 2.25.1' 00:37:25 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:37:26 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 00:37:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:37:27 Merging remotes/origin/main commit e01ec832849867a8389374ded9abbc6b5a0a3218 into PR head commit 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 00:37:27 > git config remote.origin.url git@github.com:edgexfoundry/app-record-replay.git # timeout=10 00:37:27 Fetching upstream changes from git@github.com:edgexfoundry/app-record-replay.git 00:37:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-record-replay.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:37:27 > git config core.sparsecheckout # timeout=10 00:37:28 > git checkout -f 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 # timeout=10 00:37:28 > git remote # timeout=10 00:37:28 > git config --get remote.origin.url # timeout=10 00:37:28 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:28 Merge succeeded, producing 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 00:37:28 Checking out Revision 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 (PR-22) 00:37:28 > git merge e01ec832849867a8389374ded9abbc6b5a0a3218 # timeout=10 00:37:28 > git rev-parse HEAD^{commit} # timeout=10 00:37:28 > git config core.sparsecheckout # timeout=10 00:37:28 > git checkout -f 26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 # timeout=10 00:37:31 Commit message: "feat: Add DTOs needed by HTTP Endpoints" 00:37:31 > git --version # timeout=10 00:37:31 > git --version # 'git version 2.25.1' 00:37:31 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:37:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:37:32 % Total % Received % Xferd Average Speed Time Time Time Current 00:37:32 Dload Upload Total Spent Left Speed 00:37:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 65726 0 --:--:-- --:--:-- --:--:-- 66067 [Pipeline] sh 00:37:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:37:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:37:33 + sudo tee /etc/docker/daemon.new 00:37:33 { 00:37:33 "registry-mirrors": [ 00:37:33 "https://nexus3.edgexfoundry.org:10001" 00:37:33 ], 00:37:33 "bip": "10.250.0.254/24", 00:37:33 "hosts": [ 00:37:33 "tcp://0.0.0.0:5555", 00:37:33 "unix:///var/run/docker.sock" 00:37:33 ], 00:37:33 "mtu": 1458, 00:37:33 "selinux-enabled": true, 00:37:33 "seccomp-profile": "/etc/docker/seccomp.json" 00:37:33 } [Pipeline] sh 00:37:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:37:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:37:52 provisioning config files... 00:37:52 copy managed file [app-record-replay-settings] to file:/w/workspace/app-record-replay/1@tmp/config1076351608244890967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:37:53 ---> docker-login.sh 00:37:53 nexus3.edgexfoundry.org:10001 00:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:53 Configure a credential helper to remove this warning. See 00:37:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:53 00:37:53 Login Succeeded 00:37:53 nexus3.edgexfoundry.org:10002 00:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:54 Configure a credential helper to remove this warning. See 00:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:54 00:37:54 Login Succeeded 00:37:54 nexus3.edgexfoundry.org:10003 00:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:54 Configure a credential helper to remove this warning. See 00:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:54 00:37:54 Login Succeeded 00:37:54 nexus3.edgexfoundry.org:10004 00:37:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:54 Configure a credential helper to remove this warning. See 00:37:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:54 00:37:54 Login Succeeded 00:37:54 docker.io 00:37:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:37:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:37:55 Configure a credential helper to remove this warning. See 00:37:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:37:55 00:37:55 Login Succeeded 00:37:55 ---> docker-login.sh ends [Pipeline] } 00:37:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:37:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:37:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:37:55 ========================================================= 00:37:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:37:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:37:56 Sending build context to Docker daemon 62.46kB 00:37:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:37:56 Step 2/12 : FROM ${BASE} AS builder 00:37:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:37:57 c41833b44d91: Pulling fs layer 00:37:57 ed15518f5707: Pulling fs layer 00:37:57 feae8fd75edb: Pulling fs layer 00:37:57 242c74f7c9fa: Pulling fs layer 00:37:57 3cdef696dda3: Pulling fs layer 00:37:57 2ced38df9373: Pulling fs layer 00:37:57 58f1dce35555: Pulling fs layer 00:37:57 242c74f7c9fa: Waiting 00:37:57 3cdef696dda3: Waiting 00:37:57 2ced38df9373: Waiting 00:37:57 ed15518f5707: Verifying Checksum 00:37:57 ed15518f5707: Download complete 00:37:57 242c74f7c9fa: Verifying Checksum 00:37:57 242c74f7c9fa: Download complete 00:37:57 3cdef696dda3: Download complete 00:37:57 c41833b44d91: Verifying Checksum 00:37:57 c41833b44d91: Download complete 00:37:58 c41833b44d91: Pull complete 00:37:58 58f1dce35555: Verifying Checksum 00:37:58 58f1dce35555: Download complete 00:37:59 ed15518f5707: Pull complete 00:38:00 2ced38df9373: Verifying Checksum 00:38:00 2ced38df9373: Download complete 00:38:00 feae8fd75edb: Verifying Checksum 00:38:00 feae8fd75edb: Download complete 00:38:12 feae8fd75edb: Pull complete 00:38:12 242c74f7c9fa: Pull complete 00:38:12 3cdef696dda3: Pull complete 00:38:19 2ced38df9373: Pull complete 00:38:20 58f1dce35555: Pull complete 00:38:20 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:38:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:38:20 ---> fadd8f120f05 00:38:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:38:22 ---> Running in 174b11adebc8 00:38:22 Removing intermediate container 174b11adebc8 00:38:22 ---> 66ac3f8b6856 00:38:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:38:23 ---> Running in e9e234b3f31b 00:38:23 Removing intermediate container e9e234b3f31b 00:38:23 ---> f085697eeb82 00:38:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:38:23 ---> Running in 236f79af656f 00:38:23 Removing intermediate container 236f79af656f 00:38:23 ---> 8f32d4725cc9 00:38:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:38:23 ---> Running in e11e537347c0 00:38:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:38:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:38:26 OK: 263 MiB in 53 packages 00:38:27 Removing intermediate container e11e537347c0 00:38:27 ---> dc9c2875431e 00:38:27 Step 7/12 : WORKDIR /app 00:38:27 ---> Running in cd0ccafe1bea 00:38:27 Removing intermediate container cd0ccafe1bea 00:38:27 ---> 892e311b2aa7 00:38:27 Step 8/12 : COPY go.mod vendor* ./ 00:38:28 ---> bfdf275062a8 00:38:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:38:28 ---> Running in ae9c19a4c7fb 00:38:46 Removing intermediate container ae9c19a4c7fb 00:38:46 ---> 5b4a2329fab6 00:38:46 Step 10/12 : COPY . . 00:38:46 ---> e2e6b7e90bf3 00:38:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:38:46 ---> Running in 51763f7b05fa 00:38:46 Removing intermediate container 51763f7b05fa 00:38:46 ---> f4835c891e43 00:38:46 Step 12/12 : RUN $MAKE 00:38:46 ---> Running in 9bcac930c5eb 00:38:46 noop 00:38:46 Removing intermediate container 9bcac930c5eb 00:38:46 ---> 820ea5c95a85 00:38:46 Successfully built 820ea5c95a85 00:38:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:47 + docker inspect -f . ci-base-image-arm64 00:38:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:38:47 prd-ubuntu20.04-docker-arm64-4c-16g-18955 does not seem to be running inside a container 00:38:47 $ 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 00:38:48 $ docker top d1945d305f133dd7e0a8b8e10d4f5e59a8c296808f8626072aa4c45d0646b055 -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:49 + go version 00:38:49 go version go1.20.2 linux/arm64 [Pipeline] } 00:38:49 $ docker stop --time=1 d1945d305f133dd7e0a8b8e10d4f5e59a8c296808f8626072aa4c45d0646b055 00:38:51 $ docker rm -f --volumes d1945d305f133dd7e0a8b8e10d4f5e59a8c296808f8626072aa4c45d0646b055 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:38:52 + docker inspect -f . ci-base-image-arm64 00:38:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:38:52 prd-ubuntu20.04-docker-arm64-4c-16g-18955 does not seem to be running inside a container 00:38:52 $ 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 00:38:53 $ docker top aa978d1ec832f30fb13977e88ff598c8e4f6be46a10e88786463cba61253e77f -eo pid,comm [Pipeline] { [Pipeline] sh 00:38:54 + git config --global --add safe.directory /w/workspace/app-record-replay/1 [Pipeline] fileExists [Pipeline] sh 00:38:54 + make test 00:38:54 go test -race -coverprofile=coverage.out ./... 00:39:41 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:40:20 ? github.com/edgexfoundry/app-service-configurable/pkg/dtos [no test files] 00:40:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:40:20 go vet ./... 00:41:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:41:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:41:28 ./bin/test-attribution-txt.sh [Pipeline] echo 00:41:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:41:28 $ docker stop --time=1 aa978d1ec832f30fb13977e88ff598c8e4f6be46a10e88786463cba61253e77f 00:41:29 $ docker rm -f --volumes aa978d1ec832f30fb13977e88ff598c8e4f6be46a10e88786463cba61253e77f [Pipeline] // withDockerContainer [Pipeline] sh 00:41:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:41:30 Warning: overwriting stash ‘coverage-report’ 00:41:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:41:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:41:32 + ls -al . 00:41:32 total 112 00:41:32 drwxrwxr-x 7 jenkins jenkins 4096 Jun 21 00:38 . 00:41:32 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 00:37 .. 00:41:32 -rw-rw-r-- 1 jenkins jenkins 119 Jun 21 00:37 .dockerignore 00:41:32 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 00:37 .git 00:41:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 00:37 .github 00:41:32 -rw-rw-r-- 1 jenkins jenkins 164 Jun 21 00:37 .gitignore 00:41:32 -rw-rw-r-- 1 jenkins jenkins 41 Jun 21 00:37 .golangci.yml 00:41:32 -rw-rw-r-- 1 jenkins jenkins 8955 Jun 21 00:37 Attribution.txt 00:41:32 -rw-rw-r-- 1 jenkins jenkins 258 Jun 21 00:37 CHANGELOG.md 00:41:32 -rw-rw-r-- 1 jenkins jenkins 1624 Jun 21 00:37 Dockerfile 00:41:32 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 00:37 GOVERNANCE.md 00:41:32 -rw-rw-r-- 1 jenkins jenkins 681 Jun 21 00:37 Jenkinsfile 00:41:32 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 21 00:37 LICENSE 00:41:32 -rw-rw-r-- 1 jenkins jenkins 611 Jun 21 00:37 OWNERS.md 00:41:32 -rw-rw-r-- 1 jenkins jenkins 2363 Jun 21 00:37 README.md 00:41:32 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 00:33 VERSION 00:41:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 00:37 bin 00:41:32 -rw-r--r-- 1 jenkins jenkins 13 Jun 21 00:38 coverage.out 00:41:32 -rw-rw-r-- 1 jenkins jenkins 529 Jun 21 00:37 go.mod 00:41:32 -rw-rw-r-- 1 jenkins jenkins 3110 Jun 21 00:37 go.sum 00:41:32 -rw-rw-r-- 1 jenkins jenkins 693 Jun 21 00:37 main.go 00:41:32 -rw-rw-r-- 1 jenkins jenkins 2548 Jun 21 00:37 makefile 00:41:32 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 00:37 pkg 00:41:32 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 00:37 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:32 + 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=26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 --label arch=arm64 --label version=0.0.0 . 00:41:32 Sending build context to Docker daemon 63.49kB 00:41:32 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:41:32 Step 2/26 : FROM ${BASE} AS builder 00:41:32 ---> 820ea5c95a85 00:41:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:41:32 ---> Running in 283174a4c0d6 00:41:33 Removing intermediate container 283174a4c0d6 00:41:33 ---> 085cde55c896 00:41:33 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:41:33 ---> Running in cb04fdef1a08 00:41:33 Removing intermediate container cb04fdef1a08 00:41:33 ---> 88ac4e593799 00:41:33 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:41:33 ---> Running in 11814523044b 00:41:34 Removing intermediate container 11814523044b 00:41:34 ---> cc67f52c8832 00:41:34 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:41:34 ---> Running in 34e141ba1bf1 00:41:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:41:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:41:36 OK: 263 MiB in 53 packages 00:41:37 Removing intermediate container 34e141ba1bf1 00:41:37 ---> f8c84ac01b71 00:41:37 Step 7/26 : WORKDIR /app 00:41:37 ---> Running in 717038a4468b 00:41:37 Removing intermediate container 717038a4468b 00:41:37 ---> dbd110f48361 00:41:37 Step 8/26 : COPY go.mod vendor* ./ 00:41:38 ---> 73f9b7a8b0da 00:41:38 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:41:38 ---> Running in b326011d4614 00:41:40 Removing intermediate container b326011d4614 00:41:40 ---> 3f735fdf3ba1 00:41:40 Step 10/26 : COPY . . 00:41:40 ---> 0a839a93416d 00:41:40 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:41:40 ---> Running in 21929300ad51 00:41:40 Removing intermediate container 21929300ad51 00:41:40 ---> 53f4c14cb36b 00:41:40 Step 12/26 : RUN $MAKE 00:41:40 ---> Running in 1c538c8b660f 00:41:41 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-record-replay 00:42:09 Removing intermediate container 1c538c8b660f 00:42:09 ---> cbd76cb001b7 00:42:09 Step 13/26 : FROM alpine:3.17 00:42:10 3.17: Pulling from library/alpine 00:42:10 edb6bdbacee9: Pulling fs layer 00:42:10 edb6bdbacee9: Download complete 00:42:11 edb6bdbacee9: Pull complete 00:42:11 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:42:11 Status: Downloaded newer image for alpine:3.17 00:42:11 ---> 779605e5fbc0 00:42:11 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:42:11 ---> Running in 08965ebb8d42 00:42:11 Removing intermediate container 08965ebb8d42 00:42:11 ---> f7f357c12c95 00:42:11 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:42:11 ---> Running in 41b0e77b9434 00:42:12 Removing intermediate container 41b0e77b9434 00:42:12 ---> babad0b891f2 00:42:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:42:12 ---> Running in c9c5ba52ad50 00:42:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:42:15 (1/2) Installing ca-certificates (20230506-r0) 00:42:15 (2/2) Installing dumb-init (1.2.5-r2) 00:42:15 Executing busybox-1.35.0-r29.trigger 00:42:15 Executing ca-certificates-20230506-r0.trigger 00:42:15 OK: 8 MiB in 17 packages 00:42:18 Removing intermediate container c9c5ba52ad50 00:42:18 ---> 20cc4281a488 00:42:18 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:42:18 ---> cad2bc9e2876 00:42:18 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:42:18 ---> 098803e5a8f6 00:42:18 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:42:19 ---> a6e7f8299706 00:42:19 Step 20/26 : COPY --from=builder /app/app-record-replay /app-record-replay 00:42:19 ---> 259367e38dbd 00:42:19 Step 21/26 : EXPOSE 59712 00:42:19 ---> Running in 07ada447ce28 00:42:20 Removing intermediate container 07ada447ce28 00:42:20 ---> 16b1cef62ce2 00:42:20 Step 22/26 : ENTRYPOINT ["/app-record-replay"] 00:42:20 ---> Running in 95c66ff3b02c 00:42:20 Removing intermediate container 95c66ff3b02c 00:42:20 ---> 96858cc0484d 00:42:20 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:42:20 ---> Running in f340a8121c11 00:42:21 Removing intermediate container f340a8121c11 00:42:21 ---> 3b6b5fe7c6af 00:42:21 Step 24/26 : LABEL arch=arm64 00:42:21 ---> Running in bcee673dc7e7 00:42:21 Removing intermediate container bcee673dc7e7 00:42:21 ---> 5a166bd9cc15 00:42:21 Step 25/26 : LABEL git_sha=26e004f8d10f144a1f65bc16abea7ecdcb2f40c1 00:42:21 ---> Running in 15518588b8da 00:42:21 Removing intermediate container 15518588b8da 00:42:21 ---> 926ac187abdf 00:42:21 Step 26/26 : LABEL version=0.0.0 00:42:21 ---> Running in 79f33f375437 00:42:22 Removing intermediate container 79f33f375437 00:42:22 ---> 19caac54f202 00:42:22 [Warning] One or more build-args [ARCH] were not consumed 00:42:22 Successfully built 19caac54f202 00:42:22 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 00:42:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:42:22 00:42:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:42:23 arm64: Pulling from edgex-lftools-log-publisher 00:42:23 8998bd30e6a1: Pulling fs layer 00:42:23 04944245beec: Pulling fs layer 00:42:23 699f458cf7ca: Pulling fs layer 00:42:23 765212b225bb: Pulling fs layer 00:42:23 f23df028b6ca: Pulling fs layer 00:42:23 d65c8cfc05b1: Pulling fs layer 00:42:23 2437ff75d9bd: Pulling fs layer 00:42:23 f23df028b6ca: Waiting 00:42:23 d65c8cfc05b1: Waiting 00:42:23 2437ff75d9bd: Waiting 00:42:23 765212b225bb: Waiting 00:42:23 04944245beec: Verifying Checksum 00:42:23 04944245beec: Download complete 00:42:23 765212b225bb: Verifying Checksum 00:42:23 765212b225bb: Download complete 00:42:23 f23df028b6ca: Verifying Checksum 00:42:23 f23df028b6ca: Download complete 00:42:23 d65c8cfc05b1: Verifying Checksum 00:42:23 d65c8cfc05b1: Download complete 00:42:23 699f458cf7ca: Verifying Checksum 00:42:23 699f458cf7ca: Download complete 00:42:24 8998bd30e6a1: Download complete 00:42:27 2437ff75d9bd: Verifying Checksum 00:42:27 2437ff75d9bd: Download complete 00:42:30 8998bd30e6a1: Pull complete 00:42:30 04944245beec: Pull complete 00:42:32 699f458cf7ca: Pull complete 00:42:32 765212b225bb: Pull complete 00:42:33 f23df028b6ca: Pull complete 00:42:33 d65c8cfc05b1: Pull complete 00:42:55 2437ff75d9bd: Pull complete 00:42:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:42:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:55 prd-ubuntu20.04-docker-arm64-4c-16g-18955 does not seem to be running inside a container 00:42:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 00:42:59 $ docker top 36e82c8af888496f028183bfda9c714ff943fdc572786bc22d33d041bfd9ceb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:00 ---> job-cost.sh 00:43:00 lf-activate-venv: SKIPPING 00:43:00 INFO: No Stack... 00:43:00 INFO: Retrieving Pricing Info for: v3-standard-4 00:43:01 INFO: Archiving Costs [Pipeline] sh 00:43:02 + cat /w/workspace/app-record-replay/1/archives/cost.csv 00:43:02 + cut -d, -f6 [Pipeline] lock 00:43:02 Trying to acquire lock on [jenkins-edgexfoundry-app-record-replay-PR-22-1-stack-cost] 00:43:02 Resource [jenkins-edgexfoundry-app-record-replay-PR-22-1-stack-cost] did not exist. Created. 00:43:02 Lock acquired on [jenkins-edgexfoundry-app-record-replay-PR-22-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:43:02 /w/workspace/app-record-replay/1@tmp/durable-3f0ce333/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:43:03 + echo total: 0.10999999940395355 [Pipeline] stash 00:43:03 Warning: overwriting stash ‘stack-cost’ 00:43:03 Stashed 1 file(s) [Pipeline] } 00:43:03 Lock released on resource [jenkins-edgexfoundry-app-record-replay-PR-22-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:43:03 $ docker stop --time=1 36e82c8af888496f028183bfda9c714ff943fdc572786bc22d33d041bfd9ceb9 00:43:04 $ docker rm -f --volumes 36e82c8af888496f028183bfda9c714ff943fdc572786bc22d33d041bfd9ceb9 [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 00:43:06 provisioning config files... 00:43:06 Could not find credentials [app-record-replay-codecov-token] for edgexfoundry/app-record-replay/PR-22 #1 00:43:06 copy managed file [app-record-replay-codecov-token] to file:/w/workspace/xfoundry_app-record-replay_PR-22@tmp/config15806263817828664547tmp [Pipeline] { [Pipeline] sh 00:43:06 + set +x 00:43:06 + + curl -s https://codecov.io/bash 00:43:06 bash -s -- 00:43:06 00:43:06 _____ _ 00:43:06 / ____| | | 00:43:06 | | ___ __| | ___ ___ _____ __ 00:43:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:43:06 | |___| (_) | (_| | __/ (_| (_) \ V / 00:43:06 \_____\___/ \__,_|\___|\___\___/ \_/ 00:43:06 Bash-1.0.6 00:43:06 00:43:06 00:43:06 ==> git version 2.25.1 found 00:43:06 ==> 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 00:43:06 Release-Date: 2020-01-08 00:43:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:43:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:43:06 ==> Jenkins CI detected. 00:43:06 current dir:  /w/workspace/xfoundry_app-record-replay_PR-22 00:43:06 project root: . 00:43:06 --> token set from env 00:43:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:43:06 ==> Running gcov in . (disable via -X gcov) 00:43:06 ==> Python coveragepy not found 00:43:06 ==> Searching for coverage reports in: 00:43:06 + . 00:43:06 -> Found 1 reports 00:43:06 ==> Detecting git/mercurial file structure 00:43:06 ==> Reading reports 00:43:06 + ./coverage.out bytes=13 00:43:06 ==> Appending adjustments 00:43:06 https://docs.codecov.io/docs/fixing-reports 00:43:06 + Found adjustments 00:43:06 ==> Gzipping contents 00:43:06 4.0K /tmp/codecov.G79M3g.gz 00:43:06 ==> Uploading reports 00:43:06 url: https://codecov.io 00:43:06 query: branch=PR-22&commit=26e004f8d10f144a1f65bc16abea7ecdcb2f40c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-22%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=22&job=&cmd_args= 00:43:06 -> Pinging Codecov 00:43:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=$CCTOKEN&branch=PR-22&commit=26e004f8d10f144a1f65bc16abea7ecdcb2f40c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-record-replay%2Fjob%2FPR-22%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-record-replay&service=jenkins&flags=&pr=22&job=&cmd_args= 00:43:06 Invalid request parameters 00:43:06 400 [Pipeline] } 00:43:06 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 00:43:08 + [ -d /w/workspace/xfoundry_app-record-replay_PR-22/archives ] 00:43:08 + ls -al /w/workspace/xfoundry_app-record-replay_PR-22/archives 00:43:08 total 16 00:43:08 drwxr-xr-x 3 root root 4096 Jun 21 00:35 . 00:43:08 drwxrwxr-x 9 jenkins jenkins 4096 Jun 21 00:35 .. 00:43:08 drwxr-xr-x 2 root root 4096 Jun 21 00:35 cost 00:43:08 -rw-r--r-- 1 root root 88 Jun 21 00:35 cost.csv 00:43:08 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_app-record-replay_PR-22/archives 00:43:08 + ls -al /w/workspace/xfoundry_app-record-replay_PR-22/archives 00:43:08 total 16 00:43:08 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 00:35 . 00:43:08 drwxrwxr-x 9 jenkins jenkins 4096 Jun 21 00:35 .. 00:43:08 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 00:35 cost 00:43:08 -rw-r--r-- 1 jenkins jenkins 88 Jun 21 00:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:43:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:43:09 ---> package-listing.sh 00:43:09 ++ facter osfamily 00:43:09 ++ tr '[:upper:]' '[:lower:]' 00:43:10 + OS_FAMILY=debian 00:43:10 + workspace=/w/workspace/xfoundry_app-record-replay_PR-22 00:43:10 + START_PACKAGES=/tmp/packages_start.txt 00:43:10 + END_PACKAGES=/tmp/packages_end.txt 00:43:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:43:10 + PACKAGES=/tmp/packages_start.txt 00:43:10 + '[' /w/workspace/xfoundry_app-record-replay_PR-22 ']' 00:43:10 + PACKAGES=/tmp/packages_end.txt 00:43:10 + case "${OS_FAMILY}" in 00:43:10 + dpkg -l 00:43:10 + grep '^ii' 00:43:10 + '[' -f /tmp/packages_start.txt ']' 00:43:10 + '[' -f /tmp/packages_end.txt ']' 00:43:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:43:10 + '[' /w/workspace/xfoundry_app-record-replay_PR-22 ']' 00:43:10 + mkdir -p /w/workspace/xfoundry_app-record-replay_PR-22/archives/ 00:43:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_app-record-replay_PR-22/archives/ [Pipeline] echo 00:43:10 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:43:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:43:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:11 prd-ubuntu20.04-docker-8c-8g-18954 does not seem to be running inside a container 00:43:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_app-record-replay_PR-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_app-record-replay_PR-22 -v /w/workspace/xfoundry_app-record-replay_PR-22:/w/workspace/xfoundry_app-record-replay_PR-22:rw,z -v /w/workspace/xfoundry_app-record-replay_PR-22@tmp:/w/workspace/xfoundry_app-record-replay_PR-22@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 00:43:11 $ docker top bfff7eddd3fd710e5e6b6153cd04c4f87bfe2e14bbbd497ec28c96210654fefa -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:11 + touch /tmp/pre-build-complete [Pipeline] sh 00:43:12 + mkdir -p /var/log/sysstat [Pipeline] sh 00:43:12 + ls /var/log/sa-host 00:43:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:43:12 provisioning config files... 00:43:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_app-record-replay_PR-22@tmp/config13779999242064876417tmp [Pipeline] { [Pipeline] echo 00:43:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:43:12 ---> create-netrc.sh [Pipeline] } 00:43:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:43:13 ---> python-tools-install.sh [Pipeline] echo 00:43:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:43:13 ---> sudo-logs.sh 00:43:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:43:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:43:14 ---> job-cost.sh 00:43:14 lf-activate-venv: SKIPPING 00:43:14 DEBUG: total: 0.2199999988079071 00:43:14 INFO: Retrieving Stack Cost... 00:43:14 INFO: Retrieving Pricing Info for: v3-standard-8 00:43:14 INFO: Archiving Costs [Pipeline] echo 00:43:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:43:15 ---> logs-deploy.sh 00:43:15 lf-activate-venv: SKIPPING 00:43:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-record-replay/PR-22/1 00:43:15 INFO: archiving workspace using pattern(s): 00:43:16 Archives upload complete. 00:43:16 INFO: archiving logs to Nexus