Pull request #532 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 MonicaisHer for edgexfoundry/app-service-configurable Obtained Jenkinsfile from cb691107b755ecfda0d36ce91f97c339463f839b+ba455a914ebd0f0f38ab28289e95f192324cb412 (da6d23f755424c9438af85a94f38c0628b3ab459) 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-ssh7455110255092928945.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12736711877711536304.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-service-configurable/branches/PR-532/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-service-configurable/branches/PR-532/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5148359185324161203.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-service-configurable/branches/PR-532/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18233270033553839146.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh16098114804958053569.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-service-configurable/branches/PR-532/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-service-configurable/branches/PR-532/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14320182943609117212.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-service-configurable, 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-service-configurable-settings PROJECT: app-service-configurable 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-service-configurable 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-2402 in /w/workspace/_app-service-configurable_PR-532 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-532 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.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-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.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-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/532/head:refs/remotes/origin/PR-532 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ba455a914ebd0f0f38ab28289e95f192324cb412 into PR head commit cb691107b755ecfda0d36ce91f97c339463f839b Merge succeeded, producing cb691107b755ecfda0d36ce91f97c339463f839b Checking out Revision cb691107b755ecfda0d36ce91f97c339463f839b (PR-532) > git config core.sparsecheckout # timeout=10 > git checkout -f cb691107b755ecfda0d36ce91f97c339463f839b # 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 ba455a914ebd0f0f38ab28289e95f192324cb412 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb691107b755ecfda0d36ce91f97c339463f839b # timeout=10 Commit message: "refactor(snap): Update command and metadata sourcing" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:55:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:55:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:55:46 ========================================================= 11:55:46 EdgeX Global Pipelines Version Info 11:55:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:55:46 ------------------- 11:55:46 stable info: 11:55:46 ------------------- 11:55:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:55:46 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 11:55:46 Message: update stable to v1.0.245 11:55:47 ------------------- 11:55:47 experimental info: 11:55:47 ------------------- 11:55:47 Commited By: **** collab-it+edgex@linuxfoundation.org 11:55:47 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 11:55:47 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:55:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 11:55:47 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 11:55:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:55:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:55:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-532 [Pipeline] echo 11:55:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-532 [Pipeline] echo 11:55:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-532 [Pipeline] echo 11:55:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb691107b755ecfda0d36ce91f97c339463f839b [Pipeline] echo 11:55:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb69110 [Pipeline] echo 11:55:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:55:49 provisioning config files... 11:55:49 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-532@tmp/config342521762520521694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:49 ---> docker-login.sh 11:55:49 nexus3.edgexfoundry.org:10001 11:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:50 Configure a credential helper to remove this warning. See 11:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:50 11:55:50 Login Succeeded 11:55:50 nexus3.edgexfoundry.org:10002 11:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:50 Configure a credential helper to remove this warning. See 11:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:50 11:55:50 Login Succeeded 11:55:50 nexus3.edgexfoundry.org:10003 11:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:50 Configure a credential helper to remove this warning. See 11:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:50 11:55:50 Login Succeeded 11:55:50 nexus3.edgexfoundry.org:10004 11:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:50 Configure a credential helper to remove this warning. See 11:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:50 11:55:50 Login Succeeded 11:55:50 docker.io 11:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:50 Configure a credential helper to remove this warning. See 11:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:50 11:55:50 Login Succeeded 11:55:50 ---> docker-login.sh ends [Pipeline] } 11:55:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:55:51 + git rev-list -1 --merges cb691107b755ecfda0d36ce91f97c339463f839b~1..cb691107b755ecfda0d36ce91f97c339463f839b [Pipeline] echo 11:55:51 -----------> git rev-list -1 --merges cb691107b755ecfda0d36ce91f97c339463f839b~1..cb691107b755ecfda0d36ce91f97c339463f839b cb691107b755ecfda0d36ce91f97c339463f839b [false] [Pipeline] sh 11:55:51 + git log --format=format:%s -1 cb691107b755ecfda0d36ce91f97c339463f839b [Pipeline] echo 11:55:51 ========================================================= 11:55:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:55:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:55:52 + git log --format=format:%s -1 cb691107b755ecfda0d36ce91f97c339463f839b [Pipeline] echo 11:55:52 [semverPrep] GIT_COMMIT: cb691107b755ecfda0d36ce91f97c339463f839b, Commit Message: refactor(snap): Update command and metadata sourcing [Pipeline] echo 11:55:52 [semverPrep] This is not a build commit. [Pipeline] sh 11:55:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:55:52 + grep -v github /etc/ssh/ssh_known_hosts 11:55:52 + [ -e /tmp/ssh_known_hosts ] 11:55:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:55:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:55:52 + sudo tee -a /etc/ssh/ssh_known_hosts 11:55:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:55:53 11:55:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:55:53 0.1.4: Pulling from edgex-devops/py-git-semver 11:55:53 b85a868b505f: Pulling fs layer 11:55:53 e2be974225ed: Pulling fs layer 11:55:53 339a4e72a1f5: Pulling fs layer 11:55:53 988bab9f4d93: Pulling fs layer 11:55:53 1469e6f7b9e6: Pulling fs layer 11:55:53 eaf3925da568: Pulling fs layer 11:55:53 bab4dde63d76: Pulling fs layer 11:55:53 bde34c3a00c8: Pulling fs layer 11:55:53 b352a97aabf1: Pulling fs layer 11:55:53 4872d77fe225: Pulling fs layer 11:55:53 5851b861e8e6: Pulling fs layer 11:55:53 bab4dde63d76: Waiting 11:55:53 988bab9f4d93: Waiting 11:55:53 eaf3925da568: Waiting 11:55:53 bde34c3a00c8: Waiting 11:55:53 b352a97aabf1: Waiting 11:55:53 4872d77fe225: Waiting 11:55:53 1469e6f7b9e6: Waiting 11:55:53 5851b861e8e6: Waiting 11:55:53 e2be974225ed: Download complete 11:55:53 988bab9f4d93: Verifying Checksum 11:55:53 988bab9f4d93: Download complete 11:55:53 1469e6f7b9e6: Verifying Checksum 11:55:53 1469e6f7b9e6: Download complete 11:55:53 339a4e72a1f5: Verifying Checksum 11:55:53 339a4e72a1f5: Download complete 11:55:53 bde34c3a00c8: Download complete 11:55:53 b352a97aabf1: Verifying Checksum 11:55:53 b352a97aabf1: Download complete 11:55:53 4872d77fe225: Download complete 11:55:53 5851b861e8e6: Download complete 11:55:54 b85a868b505f: Verifying Checksum 11:55:54 b85a868b505f: Download complete 11:55:54 bab4dde63d76: Verifying Checksum 11:55:54 bab4dde63d76: Download complete 11:55:55 b85a868b505f: Pull complete 11:55:55 e2be974225ed: Pull complete 11:55:55 339a4e72a1f5: Pull complete 11:55:55 988bab9f4d93: Pull complete 11:55:56 1469e6f7b9e6: Pull complete 11:55:56 eaf3925da568: Pull complete 11:55:58 bab4dde63d76: Pull complete 11:55:58 bde34c3a00c8: Pull complete 11:55:58 b352a97aabf1: Pull complete 11:55:58 4872d77fe225: Pull complete 11:55:58 5851b861e8e6: Pull complete 11:55:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:55:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:55:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:55:58 prd-ubuntu20.04-docker-8c-8g-2402 does not seem to be running inside a container 11:55:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-532 -v /w/workspace/_app-service-configurable_PR-532:/w/workspace/_app-service-configurable_PR-532:rw,z -v /w/workspace/_app-service-configurable_PR-532@tmp:/w/workspace/_app-service-configurable_PR-532@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:56:02 $ docker top ec8a88694e458e8261f5bc5688bdfeaefe41a1f51ae9323463fee4797a03377d -eo pid,comm 11:56:02 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). 11:56:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:56:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:56:02 [ssh-agent] Looking for ssh-agent implementation... 11:56:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:56:02 $ docker exec ec8a88694e458e8261f5bc5688bdfeaefe41a1f51ae9323463fee4797a03377d ssh-agent 11:56:02 SSH_AUTH_SOCK=/tmp/ssh-0TVoNBLPstJ6/agent.32 11:56:02 SSH_AGENT_PID=38 11:56:02 Running ssh-add (command line suppressed) 11:56:02 Identity added: /w/workspace/_app-service-configurable_PR-532@tmp/private_key_15440705719197542003.key (/w/workspace/_app-service-configurable_PR-532@tmp/private_key_15440705719197542003.key) 11:56:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:56:02 + git tag --points-at HEAD [Pipeline] } 11:56:02 $ docker exec --env ******** --env ******** ec8a88694e458e8261f5bc5688bdfeaefe41a1f51ae9323463fee4797a03377d ssh-agent -k 11:56:03 unset SSH_AUTH_SOCK; 11:56:03 unset SSH_AGENT_PID; 11:56:03 echo Agent pid 38 killed; 11:56:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:56:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:56:03 [ssh-agent] Looking for ssh-agent implementation... 11:56:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:56:03 $ docker exec ec8a88694e458e8261f5bc5688bdfeaefe41a1f51ae9323463fee4797a03377d ssh-agent 11:56:03 SSH_AUTH_SOCK=/tmp/ssh-WLph1i399ceV/agent.70 11:56:03 SSH_AGENT_PID=76 11:56:03 Running ssh-add (command line suppressed) 11:56:03 Identity added: /w/workspace/_app-service-configurable_PR-532@tmp/private_key_11993770919223028750.key (/w/workspace/_app-service-configurable_PR-532@tmp/private_key_11993770919223028750.key) 11:56:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:56:03 + git semver init 11:56:04 2023-03-16 11:56:04,017 [run_init] DEBUG init version:0.0.0 force:False 11:56:04 2023-03-16 11:56:04,018 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-532/.semver 11:56:04 2023-03-16 11:56:04,018 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-532/.semver 11:56:04 2023-03-16 11:56:04,018 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-532/.semver'], cwd=/w/workspace/_app-service-configurable_PR-532, universal_newlines=False, shell=None, istream=None) 11:56:05 2023-03-16 11:56:04,860 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-532/.git/info/exclude 11:56:05 2023-03-16 11:56:04,861 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-532/.semver/PR-532 with force:False 11:56:05 2023-03-16 11:56:04,861 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-532/.semver/PR-532 11:56:05 2023-03-16 11:56:04,866 [execute] INFO git cat-file --batch-check 11:56:05 2023-03-16 11:56:04,866 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-532/.semver, universal_newlines=False, shell=None, istream=) 11:56:05 2023-03-16 11:56:04,872 [execute] INFO git cat-file --batch 11:56:05 2023-03-16 11:56:04,872 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-532/.semver, universal_newlines=False, shell=None, istream=) 11:56:05 2023-03-16 11:56:04,877 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-532/.semver/PR-532 11:56:05 0.0.0 [Pipeline] } 11:56:05 $ docker exec --env ******** --env ******** ec8a88694e458e8261f5bc5688bdfeaefe41a1f51ae9323463fee4797a03377d ssh-agent -k 11:56:05 unset SSH_AUTH_SOCK; 11:56:05 unset SSH_AGENT_PID; 11:56:05 echo Agent pid 76 killed; 11:56:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:56:05 + git semver [Pipeline] } 11:56:05 $ docker stop --time=1 ec8a88694e458e8261f5bc5688bdfeaefe41a1f51ae9323463fee4797a03377d 11:56:07 $ docker rm -f --volumes ec8a88694e458e8261f5bc5688bdfeaefe41a1f51ae9323463fee4797a03377d [Pipeline] // withDockerContainer [Pipeline] sh 11:56:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:56:07 Stashed 1 file(s) [Pipeline] echo 11:56:07 [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 11:56:08 provisioning config files... 11:56:08 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-532@tmp/config16098012561537638871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:56:08 ---> docker-login.sh 11:56:08 nexus3.edgexfoundry.org:10001 11:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:56:08 Configure a credential helper to remove this warning. See 11:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:56:08 11:56:08 Login Succeeded 11:56:08 nexus3.edgexfoundry.org:10002 11:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:56:08 Configure a credential helper to remove this warning. See 11:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:56:08 11:56:08 Login Succeeded 11:56:08 nexus3.edgexfoundry.org:10003 11:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:56:09 Configure a credential helper to remove this warning. See 11:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:56:09 11:56:09 Login Succeeded 11:56:09 nexus3.edgexfoundry.org:10004 11:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:56:09 Configure a credential helper to remove this warning. See 11:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:56:09 11:56:09 Login Succeeded 11:56:09 docker.io 11:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:56:09 Configure a credential helper to remove this warning. See 11:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:56:09 11:56:09 Login Succeeded 11:56:09 ---> docker-login.sh ends [Pipeline] } 11:56:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:56:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:56:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:56:09 ========================================================= 11:56:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:56:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:10 + 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 . 11:56:10 Sending build context to Docker daemon 3.238MB 11:56:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:56:10 Step 2/12 : FROM ${BASE} AS builder 11:56:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:56:10 63b65145d645: Pulling fs layer 11:56:10 a2d21d5440eb: Pulling fs layer 11:56:10 935e6c44a52c: Pulling fs layer 11:56:10 94cc34f8dd06: Pulling fs layer 11:56:10 30dea6a524f1: Pulling fs layer 11:56:10 a2aff8979fd8: Pulling fs layer 11:56:10 6808be2612f2: Pulling fs layer 11:56:10 f25807f1079a: Pulling fs layer 11:56:10 a2aff8979fd8: Waiting 11:56:10 6808be2612f2: Waiting 11:56:10 f25807f1079a: Waiting 11:56:10 94cc34f8dd06: Waiting 11:56:10 30dea6a524f1: Waiting 11:56:10 a2d21d5440eb: Verifying Checksum 11:56:10 a2d21d5440eb: Download complete 11:56:10 94cc34f8dd06: Download complete 11:56:10 30dea6a524f1: Verifying Checksum 11:56:10 30dea6a524f1: Download complete 11:56:10 63b65145d645: Verifying Checksum 11:56:10 63b65145d645: Download complete 11:56:10 a2aff8979fd8: Verifying Checksum 11:56:10 a2aff8979fd8: Download complete 11:56:10 63b65145d645: Pull complete 11:56:10 a2d21d5440eb: Pull complete 11:56:10 f25807f1079a: Verifying Checksum 11:56:10 f25807f1079a: Download complete 11:56:10 935e6c44a52c: Download complete 11:56:11 6808be2612f2: Verifying Checksum 11:56:11 6808be2612f2: Download complete 11:56:14 935e6c44a52c: Pull complete 11:56:14 94cc34f8dd06: Pull complete 11:56:14 30dea6a524f1: Pull complete 11:56:14 a2aff8979fd8: Pull complete 11:56:17 6808be2612f2: Pull complete 11:56:17 f25807f1079a: Pull complete 11:56:17 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 11:56:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:56:17 ---> 3b553350e43f 11:56:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 11:56:22 ---> Running in 1ab6e7cb2eb1 11:56:23 Removing intermediate container 1ab6e7cb2eb1 11:56:23 ---> 449e19805772 11:56:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:56:23 ---> Running in 09031226cb74 11:56:23 Removing intermediate container 09031226cb74 11:56:23 ---> 408d91d04ee0 11:56:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:56:23 Still waiting to schedule task 11:56:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:56:23 ---> Running in 7fd1629090ea 11:56:23 Removing intermediate container 7fd1629090ea 11:56:23 ---> 24cde8c9a223 11:56:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:56:23 ---> Running in 7815f585ff17 11:56:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:56:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:56:24 OK: 265 MiB in 53 packages 11:56:24 Removing intermediate container 7815f585ff17 11:56:24 ---> d02dd2d502aa 11:56:24 Step 7/12 : WORKDIR /app 11:56:24 ---> Running in 4461ccd7ed7a 11:56:24 Removing intermediate container 4461ccd7ed7a 11:56:24 ---> 80c58670cc05 11:56:24 Step 8/12 : COPY go.mod vendor* ./ 11:56:24 ---> 1cd1cb6fc0cb 11:56:24 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:56:24 ---> Running in 7d021c72b3a1 11:57:21 Removing intermediate container 7d021c72b3a1 11:57:21 ---> 075440b66778 11:57:21 Step 10/12 : COPY . . 11:57:21 ---> 5edbd2e6316e 11:57:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:57:21 ---> Running in f664a21bb7e0 11:57:21 Removing intermediate container f664a21bb7e0 11:57:21 ---> f0399dfdc4ff 11:57:21 Step 12/12 : RUN $MAKE 11:57:21 ---> Running in d44c8ce3f856 11:57:21 noop 11:57:21 Removing intermediate container d44c8ce3f856 11:57:21 ---> d6ba98623db4 11:57:21 Successfully built d6ba98623db4 11:57:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:57:21 + docker inspect -f . ci-base-image-x86_64 11:57:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:57:21 prd-ubuntu20.04-docker-8c-8g-2402 does not seem to be running inside a container 11:57:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-532 -v /w/workspace/_app-service-configurable_PR-532:/w/workspace/_app-service-configurable_PR-532:rw,z -v /w/workspace/_app-service-configurable_PR-532@tmp:/w/workspace/_app-service-configurable_PR-532@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 ******** ci-base-image-x86_64 cat 11:57:21 $ docker top f09d115dd1d8b0f5e91903297339e29d2b6521d43330b1194f0d7b9c4cfe0472 -eo pid,comm [Pipeline] { [Pipeline] sh 11:57:22 + go version 11:57:22 go version go1.20.2 linux/amd64 [Pipeline] } 11:57:22 $ docker stop --time=1 f09d115dd1d8b0f5e91903297339e29d2b6521d43330b1194f0d7b9c4cfe0472 11:57:23 $ docker rm -f --volumes f09d115dd1d8b0f5e91903297339e29d2b6521d43330b1194f0d7b9c4cfe0472 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:57:24 + docker inspect -f . ci-base-image-x86_64 11:57:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:57:24 prd-ubuntu20.04-docker-8c-8g-2402 does not seem to be running inside a container 11:57:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-532 -v /w/workspace/_app-service-configurable_PR-532:/w/workspace/_app-service-configurable_PR-532:rw,z -v /w/workspace/_app-service-configurable_PR-532@tmp:/w/workspace/_app-service-configurable_PR-532@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 ******** ci-base-image-x86_64 cat 11:57:24 $ docker top 868a6125f589795ce3f0675155734caa7c05d2a3a283389300744ba285769ab7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:57:25 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-532 [Pipeline] fileExists [Pipeline] sh 11:57:25 + make test 11:57:25 go test -race -coverprofile=coverage.out ./... 11:57:43 ? github.com/edgexfoundry/app-service-configurable [no test files] 11:58:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2403 in /w/workspace/_app-service-configurable_PR-532 [Pipeline] { [Pipeline] ws 11:58:00 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 11:58:00 Selected Git installation does not exist. Using Default 11:58:00 The recommended git tool is: NONE 11:58:01 go vet ./... 11:58:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:58:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:58:03 ./bin/test-attribution-txt.sh [Pipeline] echo 11:58:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:58:03 $ docker stop --time=1 868a6125f589795ce3f0675155734caa7c05d2a3a283389300744ba285769ab7 11:58:06 using credential edgex-jenkins-ssh 11:58:06 Cloning the remote Git repository 11:58:06 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 11:58:06 > git init /w/workspace/app-service-configurable/1 # timeout=10 11:58:06 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 11:58:06 > git --version # timeout=10 11:58:06 > git --version # 'git version 2.25.1' 11:58:06 using GIT_SSH to set credentials SSH Credentials for GitHub 11:58:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:58:07 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 11:58:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:58:08 $ docker rm -f --volumes 868a6125f589795ce3f0675155734caa7c05d2a3a283389300744ba285769ab7 [Pipeline] // withDockerContainer [Pipeline] sh 11:58:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:58:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:58:08 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 11:58:08 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 11:58:08 using GIT_SSH to set credentials SSH Credentials for GitHub 11:58:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/532/head:refs/remotes/origin/PR-532 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:58:09 Merging remotes/origin/main commit ba455a914ebd0f0f38ab28289e95f192324cb412 into PR head commit cb691107b755ecfda0d36ce91f97c339463f839b 11:58:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:58:09 Merge succeeded, producing cb691107b755ecfda0d36ce91f97c339463f839b 11:58:09 Checking out Revision cb691107b755ecfda0d36ce91f97c339463f839b (PR-532) 11:58:09 + ls -al . 11:58:09 total 176 11:58:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 11:57 . 11:58:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 11:55 .. 11:58:09 -rw-rw-r-- 1 jenkins jenkins 119 Mar 16 11:55 .dockerignore 11:58:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 11:56 .git 11:58:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 11:55 .github 11:58:09 -rw-rw-r-- 1 jenkins jenkins 171 Mar 16 11:55 .gitignore 11:58:09 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 11:55 .golangci.yml 11:58:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 11:56 .semver 11:58:09 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 16 11:55 Attribution.txt 11:58:09 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 16 11:55 CHANGELOG.md 11:58:09 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 16 11:55 Dockerfile 11:58:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 11:55 GOVERNANCE.md 11:58:09 -rw-rw-r-- 1 jenkins jenkins 688 Mar 16 11:55 Jenkinsfile 11:58:09 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 16 11:55 LICENSE 11:58:09 -rw-rw-r-- 1 jenkins jenkins 618 Mar 16 11:55 OWNERS.md 11:58:09 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 16 11:55 README.md 11:58:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 11:56 VERSION 11:58:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 11:55 bin 11:58:09 -rw-r--r-- 1 jenkins jenkins 13 Mar 16 11:57 coverage.out 11:58:09 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 16 11:55 go.mod 11:58:09 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 16 11:55 go.sum 11:58:09 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 16 11:55 main.go 11:58:09 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 16 11:55 makefile 11:58:09 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 11:55 res 11:58:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 11:55 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:10 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=cb691107b755ecfda0d36ce91f97c339463f839b --label arch=amd64 --label version=0.0.0 . 11:58:10 Sending build context to Docker daemon 3.239MB 11:58:10 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 11:58:10 Step 2/26 : FROM ${BASE} AS builder 11:58:10 ---> d6ba98623db4 11:58:10 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 11:58:10 ---> Running in 702bdad87020 11:58:10 Removing intermediate container 702bdad87020 11:58:10 ---> fdab164ea72d 11:58:10 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:58:10 ---> Running in 0464e50274d5 11:58:10 Removing intermediate container 0464e50274d5 11:58:10 ---> b8a9ee2addef 11:58:10 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:58:10 ---> Running in cda2efab5440 11:58:10 Removing intermediate container cda2efab5440 11:58:10 ---> c312f14e92ec 11:58:10 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:58:09 > git config core.sparsecheckout # timeout=10 11:58:09 > git checkout -f cb691107b755ecfda0d36ce91f97c339463f839b # timeout=10 11:58:09 > git remote # timeout=10 11:58:09 > git config --get remote.origin.url # timeout=10 11:58:09 using GIT_SSH to set credentials SSH Credentials for GitHub 11:58:09 > git merge ba455a914ebd0f0f38ab28289e95f192324cb412 # timeout=10 11:58:09 > git rev-parse HEAD^{commit} # timeout=10 11:58:09 > git config core.sparsecheckout # timeout=10 11:58:09 > git checkout -f cb691107b755ecfda0d36ce91f97c339463f839b # timeout=10 11:58:10 ---> Running in 67f60148768b 11:58:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:58:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:58:11 OK: 265 MiB in 53 packages 11:58:11 Removing intermediate container 67f60148768b 11:58:11 ---> 6ea126606375 11:58:11 Step 7/26 : WORKDIR /app 11:58:11 ---> Running in bb4e631e152a 11:58:11 Removing intermediate container bb4e631e152a 11:58:11 ---> 27873b160c51 11:58:11 Step 8/26 : COPY go.mod vendor* ./ 11:58:11 ---> f948e495a91d 11:58:11 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:58:11 ---> Running in 7da6c31372c3 11:58:12 Removing intermediate container 7da6c31372c3 11:58:12 ---> 40b035a1aabb 11:58:12 Step 10/26 : COPY . . 11:58:12 ---> d37d3234fea7 11:58:12 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:58:12 ---> Running in ed1317ea42d2 11:58:12 Removing intermediate container ed1317ea42d2 11:58:12 ---> d661f645d4a1 11:58:12 Step 12/26 : RUN $MAKE 11:58:12 ---> Running in 8f6348fdb479 11:58:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 11:58:13 Commit message: "refactor(snap): Update command and metadata sourcing" 11:58:13 > git --version # timeout=10 11:58:13 > git --version # 'git version 2.25.1' 11:58:13 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:58:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:58:14 % Total % Received % Xferd Average Speed Time Time Time Current 11:58:14 Dload Upload Total Spent Left Speed 11:58:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 11:58:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:58:15 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 11:58:15 /etc/docker/daemon.json 11:58:15 { 11:58:15 "registry-mirrors": [ 11:58:15 "https://nexus3.edgexfoundry.org:10001" 11:58:15 ], 11:58:15 "bip": "10.250.0.254/24", 11:58:15 "hosts": [ 11:58:15 "tcp://0.0.0.0:5555", 11:58:15 "unix:///var/run/docker.sock" 11:58:15 ], 11:58:15 "mtu": 1458, 11:58:15 "selinux-enabled": true, 11:58:15 "seccomp-profile": "/etc/docker/seccomp.json" 11:58:15 } [Pipeline] sh 11:58:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:58:16 + sudo service docker restart 11:58:31 Removing intermediate container 8f6348fdb479 11:58:31 ---> e96cf3066105 11:58:31 Step 13/26 : FROM alpine:3.17 11:58:31 3.17: Pulling from library/alpine 11:58:31 63b65145d645: Already exists 11:58:31 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 11:58:31 Status: Downloaded newer image for alpine:3.17 11:58:31 ---> b2aa39c304c2 11:58:31 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 11:58:31 ---> Running in 0915e1f665f8 11:58:31 Removing intermediate container 0915e1f665f8 11:58:31 ---> 35e7d79120f1 11:58:31 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 11:58:31 ---> Running in d523c18befa5 11:58:31 Removing intermediate container d523c18befa5 11:58:31 ---> 191bea06f7be 11:58:31 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 11:58:31 ---> Running in c485708f0179 11:58:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:58:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:58:32 (1/2) Installing ca-certificates (20220614-r4) 11:58:32 (2/2) Installing dumb-init (1.2.5-r2) 11:58:32 Executing busybox-1.35.0-r29.trigger 11:58:32 Executing ca-certificates-20220614-r4.trigger 11:58:32 OK: 8 MiB in 17 packages 11:58:32 Removing intermediate container c485708f0179 11:58:32 ---> 9160fa19cdc5 11:58:32 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 11:58:32 ---> 05cb92b445d4 11:58:32 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 11:58:32 ---> 3727edbe04f8 11:58:32 Step 19/26 : COPY --from=builder /app/res/ /res/ 11:58:33 ---> 6a1724edce74 11:58:33 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 11:58:33 ---> 80d84ad9c362 11:58:33 Step 21/26 : EXPOSE 48095 11:58:33 ---> Running in 62b0f8cc3efd 11:58:34 Removing intermediate container 62b0f8cc3efd 11:58:34 ---> d7bcd9ae6900 11:58:34 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 11:58:34 ---> Running in 8316e3648748 11:58:34 Removing intermediate container 8316e3648748 11:58:34 ---> 0f4d7c74d18e 11:58:34 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:58:34 ---> Running in 5fa9a4195942 11:58:34 Removing intermediate container 5fa9a4195942 11:58:34 ---> 5eb7ad7c1a5c 11:58:34 Step 24/26 : LABEL arch=amd64 11:58:34 ---> Running in ecac7273a9f5 11:58:34 Removing intermediate container ecac7273a9f5 11:58:34 ---> 4e9a20cba1ca 11:58:34 Step 25/26 : LABEL git_sha=cb691107b755ecfda0d36ce91f97c339463f839b 11:58:34 ---> Running in e3f3f92bc582 11:58:34 Removing intermediate container e3f3f92bc582 11:58:34 ---> 915d775532dc 11:58:34 Step 26/26 : LABEL version=0.0.0 11:58:34 ---> Running in b56c165c3a3a [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:58:34 provisioning config files... 11:58:34 Removing intermediate container b56c165c3a3a 11:58:34 ---> 6f997290fdab 11:58:34 [Warning] One or more build-args [ARCH] were not consumed 11:58:34 Successfully built 6f997290fdab 11:58:34 Successfully tagged app-service-configurable:latest 11:58:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config16873234828289504820tmp [Pipeline] } [Pipeline] // withEnv [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 11:58:35 ---> docker-login.sh 11:58:35 nexus3.edgexfoundry.org:10001 Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:58:35 11:58:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 11:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:35 Configure a credential helper to remove this warning. See 11:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:35 11:58:35 Login Succeeded 11:58:35 nexus3.edgexfoundry.org:10002 [Pipeline] sh 11:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:58:35 latest: Pulling from edgex-lftools-log-publisher 11:58:35 5eb5b503b376: Pulling fs layer 11:58:35 5c69ac0246d0: Pulling fs layer 11:58:35 ec43610c2a17: Pulling fs layer 11:58:35 3a2ae6a8a46f: Pulling fs layer 11:58:35 33b1e0a273af: Pulling fs layer 11:58:35 5d3b04190fa2: Pulling fs layer 11:58:35 2f39f015ded8: Pulling fs layer 11:58:35 3a2ae6a8a46f: Waiting 11:58:35 33b1e0a273af: Waiting 11:58:35 5d3b04190fa2: Waiting 11:58:35 2f39f015ded8: Waiting 11:58:35 5c69ac0246d0: Download complete 11:58:35 3a2ae6a8a46f: Verifying Checksum 11:58:35 3a2ae6a8a46f: Download complete 11:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:36 Configure a credential helper to remove this warning. See 11:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:36 11:58:36 Login Succeeded 11:58:36 nexus3.edgexfoundry.org:10003 11:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:36 33b1e0a273af: Verifying Checksum 11:58:36 33b1e0a273af: Download complete 11:58:36 ec43610c2a17: Verifying Checksum 11:58:36 ec43610c2a17: Download complete 11:58:36 5d3b04190fa2: Verifying Checksum 11:58:36 5d3b04190fa2: Download complete 11:58:36 5eb5b503b376: Verifying Checksum 11:58:36 5eb5b503b376: Download complete 11:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:36 Configure a credential helper to remove this warning. See 11:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:36 11:58:36 Login Succeeded 11:58:36 nexus3.edgexfoundry.org:10004 11:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:36 Configure a credential helper to remove this warning. See 11:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:36 11:58:36 Login Succeeded 11:58:36 docker.io 11:58:36 2f39f015ded8: Download complete 11:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:37 Configure a credential helper to remove this warning. See 11:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:37 11:58:37 Login Succeeded 11:58:37 ---> docker-login.sh ends [Pipeline] } 11:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:58:37 5eb5b503b376: Pull complete 11:58:37 5c69ac0246d0: Pull complete [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:58:37 ========================================================= 11:58:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:58:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 11:58:37 ec43610c2a17: Pull complete 11:58:37 3a2ae6a8a46f: Pull complete [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:38 33b1e0a273af: Pull complete 11:58:38 5d3b04190fa2: Pull complete 11:58:38 + 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 . 11:58:38 Sending build context to Docker daemon 173.1kB 11:58:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:58:38 Step 2/12 : FROM ${BASE} AS builder 11:58:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:58:38 af6eaf76a39c: Pulling fs layer 11:58:38 55522c791124: Pulling fs layer 11:58:38 ce5c4a1c91eb: Pulling fs layer 11:58:38 169dfbe0d373: Pulling fs layer 11:58:38 e1ff8fa3b103: Pulling fs layer 11:58:38 52ebb69f0ebf: Pulling fs layer 11:58:38 5abe8eddf0d5: Pulling fs layer 11:58:38 e1ff8fa3b103: Waiting 11:58:38 52ebb69f0ebf: Waiting 11:58:38 5abe8eddf0d5: Waiting 11:58:38 169dfbe0d373: Waiting 11:58:38 55522c791124: Verifying Checksum 11:58:38 55522c791124: Download complete 11:58:38 169dfbe0d373: Verifying Checksum 11:58:38 169dfbe0d373: Download complete 11:58:38 e1ff8fa3b103: Verifying Checksum 11:58:38 e1ff8fa3b103: Download complete 11:58:38 af6eaf76a39c: Verifying Checksum 11:58:38 af6eaf76a39c: Download complete 11:58:39 af6eaf76a39c: Pull complete 11:58:39 5abe8eddf0d5: Verifying Checksum 11:58:39 5abe8eddf0d5: Download complete 11:58:40 55522c791124: Pull complete 11:58:41 ce5c4a1c91eb: Verifying Checksum 11:58:41 ce5c4a1c91eb: Download complete 11:58:41 52ebb69f0ebf: Verifying Checksum 11:58:41 52ebb69f0ebf: Download complete 11:58:42 2f39f015ded8: Pull complete 11:58:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:58:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:58:42 prd-ubuntu20.04-docker-8c-8g-2402 does not seem to be running inside a container 11:58:42 $ 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-service-configurable_PR-532 -v /w/workspace/_app-service-configurable_PR-532:/w/workspace/_app-service-configurable_PR-532:rw,z -v /w/workspace/_app-service-configurable_PR-532@tmp:/w/workspace/_app-service-configurable_PR-532@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:58:45 $ docker top d7f9dfe16d3d052220a6590fa1f14df472fcce513848d2f81ebb7a7670c5f883 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:58:45 ---> job-cost.sh 11:58:45 lf-activate-venv: SKIPPING 11:58:45 INFO: No Stack... 11:58:45 INFO: Retrieving Pricing Info for: v3-standard-8 11:58:46 INFO: Archiving Costs [Pipeline] sh 11:58:46 + cat /w/workspace/_app-service-configurable_PR-532/archives/cost.csv 11:58:46 + cut -d, -f6 [Pipeline] lock 11:58:46 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-532-1-stack-cost] 11:58:46 Resource [jenkins-edgexfoundry-app-service-configurable-PR-532-1-stack-cost] did not exist. Created. 11:58:46 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-532-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:58:46 + echo total: 0.2199999988079071 [Pipeline] stash 11:58:46 Stashed 1 file(s) [Pipeline] } 11:58:46 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-532-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:58:47 $ docker stop --time=1 d7f9dfe16d3d052220a6590fa1f14df472fcce513848d2f81ebb7a7670c5f883 11:58:48 $ docker rm -f --volumes d7f9dfe16d3d052220a6590fa1f14df472fcce513848d2f81ebb7a7670c5f883 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:58:53 ce5c4a1c91eb: Pull complete 11:58:53 169dfbe0d373: Pull complete 11:58:53 e1ff8fa3b103: Pull complete 11:58:59 52ebb69f0ebf: Pull complete 11:59:01 5abe8eddf0d5: Pull complete 11:59:01 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 11:59:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:59:01 ---> 6cb57ee374ae 11:59:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 11:59:03 ---> Running in ac86cd378b7a 11:59:03 Removing intermediate container ac86cd378b7a 11:59:03 ---> 833e54bd55b7 11:59:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:59:03 ---> Running in c05d9cdda2e4 11:59:03 Removing intermediate container c05d9cdda2e4 11:59:03 ---> 0cffd673d94d 11:59:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:59:03 ---> Running in 5645b02903c6 11:59:04 Removing intermediate container 5645b02903c6 11:59:04 ---> 59a22c44411d 11:59:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:59:04 ---> Running in f2e105c988de 11:59:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:59:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:59:07 OK: 263 MiB in 53 packages 11:59:07 Removing intermediate container f2e105c988de 11:59:07 ---> df974d55e34f 11:59:07 Step 7/12 : WORKDIR /app 11:59:07 ---> Running in 2ba9d2abe8a9 11:59:08 Removing intermediate container 2ba9d2abe8a9 11:59:08 ---> e5962f5e4635 11:59:08 Step 8/12 : COPY go.mod vendor* ./ 11:59:08 ---> c428b0e17ab9 11:59:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:59:08 ---> Running in 404d195cdf71 12:00:16 Removing intermediate container 404d195cdf71 12:00:16 ---> d0d9c6e79f9b 12:00:16 Step 10/12 : COPY . . 12:00:16 ---> c4b7f4557ad9 12:00:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:00:16 ---> Running in f3e307b35fa8 12:00:16 Removing intermediate container f3e307b35fa8 12:00:16 ---> 6f8c41aedcb6 12:00:16 Step 12/12 : RUN $MAKE 12:00:16 ---> Running in c264be127308 12:00:16 noop 12:00:16 Removing intermediate container c264be127308 12:00:16 ---> 54692c09f902 12:00:16 Successfully built 54692c09f902 12:00:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:17 + docker inspect -f . ci-base-image-arm64 12:00:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:00:17 prd-ubuntu20.04-docker-arm64-4c-16g-2403 does not seem to be running inside a container 12:00:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/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 ******** ci-base-image-arm64 cat 12:00:18 $ docker top a61d0654e7f1ed52801d037d61853eacd534563decacae258fbc8a1d81330988 -eo pid,comm [Pipeline] { [Pipeline] sh 12:00:19 + go version 12:00:19 go version go1.20.2 linux/arm64 [Pipeline] } 12:00:19 $ docker stop --time=1 a61d0654e7f1ed52801d037d61853eacd534563decacae258fbc8a1d81330988 12:00:21 $ docker rm -f --volumes a61d0654e7f1ed52801d037d61853eacd534563decacae258fbc8a1d81330988 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:22 + docker inspect -f . ci-base-image-arm64 12:00:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:00:22 prd-ubuntu20.04-docker-arm64-4c-16g-2403 does not seem to be running inside a container 12:00:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/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 ******** ci-base-image-arm64 cat 12:00:23 $ docker top 19dea5ccfc32cdfa5d93717d1528db439011daadc3d8eaa9b6b423c90405e8f5 -eo pid,comm [Pipeline] { [Pipeline] sh 12:00:24 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:00:24 + make test 12:00:24 go test -race -coverprofile=coverage.out ./... 12:03:01 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:03:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:03:01 go vet ./... 12:05:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:05:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:05:11 ./bin/test-attribution-txt.sh [Pipeline] echo 12:05:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:05:11 $ docker stop --time=1 19dea5ccfc32cdfa5d93717d1528db439011daadc3d8eaa9b6b423c90405e8f5 12:05:13 $ docker rm -f --volumes 19dea5ccfc32cdfa5d93717d1528db439011daadc3d8eaa9b6b423c90405e8f5 [Pipeline] // withDockerContainer [Pipeline] sh 12:05:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:05:14 Warning: overwriting stash ‘coverage-report’ 12:05:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:05:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:05:15 + ls -al . 12:05:15 total 172 12:05:15 drwxrwxr-x 7 jenkins jenkins 4096 Mar 16 12:00 . 12:05:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 11:58 .. 12:05:15 -rw-rw-r-- 1 jenkins jenkins 119 Mar 16 11:58 .dockerignore 12:05:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 11:58 .git 12:05:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 11:58 .github 12:05:15 -rw-rw-r-- 1 jenkins jenkins 171 Mar 16 11:58 .gitignore 12:05:15 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 11:58 .golangci.yml 12:05:15 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 16 11:58 Attribution.txt 12:05:15 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 16 11:58 CHANGELOG.md 12:05:15 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 16 11:58 Dockerfile 12:05:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 11:58 GOVERNANCE.md 12:05:15 -rw-rw-r-- 1 jenkins jenkins 688 Mar 16 11:58 Jenkinsfile 12:05:15 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 16 11:58 LICENSE 12:05:15 -rw-rw-r-- 1 jenkins jenkins 618 Mar 16 11:58 OWNERS.md 12:05:15 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 16 11:58 README.md 12:05:15 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 11:56 VERSION 12:05:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 11:58 bin 12:05:15 -rw-r--r-- 1 jenkins jenkins 13 Mar 16 12:00 coverage.out 12:05:15 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 16 11:58 go.mod 12:05:15 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 16 11:58 go.sum 12:05:15 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 16 11:58 main.go 12:05:15 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 16 11:58 makefile 12:05:15 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 11:58 res 12:05:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 11:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:16 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cb691107b755ecfda0d36ce91f97c339463f839b --label arch=arm64 --label version=0.0.0 . 12:05:16 Sending build context to Docker daemon 174.1kB 12:05:16 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:05:16 Step 2/26 : FROM ${BASE} AS builder 12:05:16 ---> 54692c09f902 12:05:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:05:16 ---> Running in ab6b0b863263 12:05:16 Removing intermediate container ab6b0b863263 12:05:16 ---> f6af1f326645 12:05:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:05:16 ---> Running in c3716fb31633 12:05:17 Removing intermediate container c3716fb31633 12:05:17 ---> 3bdca03a5987 12:05:17 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:05:17 ---> Running in 886b33de006b 12:05:17 Removing intermediate container 886b33de006b 12:05:17 ---> e510cd264799 12:05:17 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:17 ---> Running in 03e826b738fe 12:05:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:05:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:05:20 OK: 263 MiB in 53 packages 12:05:20 Removing intermediate container 03e826b738fe 12:05:20 ---> b8d52ca7d08d 12:05:20 Step 7/26 : WORKDIR /app 12:05:21 ---> Running in 0ef4f34834d1 12:05:21 Removing intermediate container 0ef4f34834d1 12:05:21 ---> b093e4478f7f 12:05:21 Step 8/26 : COPY go.mod vendor* ./ 12:05:21 ---> 11cb5559279e 12:05:21 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:21 ---> Running in 7d8864a6657e 12:05:24 Removing intermediate container 7d8864a6657e 12:05:24 ---> 436826a5f52e 12:05:24 Step 10/26 : COPY . . 12:05:24 ---> 6204f45d45c0 12:05:24 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:05:24 ---> Running in 6026d4fd7d7d 12:05:25 Removing intermediate container 6026d4fd7d7d 12:05:25 ---> 35e36e7c9765 12:05:25 Step 12/26 : RUN $MAKE 12:05:25 ---> Running in e78e9fd8beee 12:05:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:07:32 Removing intermediate container e78e9fd8beee 12:07:32 ---> 3208fe4a5668 12:07:32 Step 13/26 : FROM alpine:3.17 12:07:32 3.17: Pulling from library/alpine 12:07:32 af6eaf76a39c: Already exists 12:07:32 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 12:07:32 Status: Downloaded newer image for alpine:3.17 12:07:32 ---> d74e625d9115 12:07:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:07:32 ---> Running in ebcef67c726a 12:07:32 Removing intermediate container ebcef67c726a 12:07:32 ---> 0e733dbb73b2 12:07:32 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:07:32 ---> Running in 6e5f0a5e1f0e 12:07:32 Removing intermediate container 6e5f0a5e1f0e 12:07:32 ---> 6b050f291aac 12:07:32 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:07:32 ---> Running in 12d4c41a1715 12:07:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:07:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:07:32 (1/2) Installing ca-certificates (20220614-r4) 12:07:32 (2/2) Installing dumb-init (1.2.5-r2) 12:07:32 Executing busybox-1.35.0-r29.trigger 12:07:32 Executing ca-certificates-20220614-r4.trigger 12:07:32 OK: 8 MiB in 17 packages 12:07:32 Removing intermediate container 12d4c41a1715 12:07:32 ---> 0e2875729d02 12:07:32 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:07:33 ---> 15e9b7dff99f 12:07:33 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:07:33 ---> 1bceef5cc46f 12:07:33 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:07:34 ---> d859150e4585 12:07:34 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:07:35 ---> 0097ae4ef4bc 12:07:35 Step 21/26 : EXPOSE 48095 12:07:35 ---> Running in 25ef49fc315f 12:07:35 Removing intermediate container 25ef49fc315f 12:07:35 ---> b51de5e80dce 12:07:35 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:07:35 ---> Running in 0f51a7092e6e 12:07:35 Removing intermediate container 0f51a7092e6e 12:07:35 ---> c2c2dedefb46 12:07:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:07:36 ---> Running in 2138ba3824e5 12:07:36 Removing intermediate container 2138ba3824e5 12:07:36 ---> a524fca2e4fd 12:07:36 Step 24/26 : LABEL arch=arm64 12:07:36 ---> Running in f2a754874f6c 12:07:36 Removing intermediate container f2a754874f6c 12:07:36 ---> af8c4f2a6cb8 12:07:36 Step 25/26 : LABEL git_sha=cb691107b755ecfda0d36ce91f97c339463f839b 12:07:36 ---> Running in 034e279f1a3f 12:07:36 Removing intermediate container 034e279f1a3f 12:07:36 ---> 14cd2a04fc91 12:07:36 Step 26/26 : LABEL version=0.0.0 12:07:36 ---> Running in 45beeb8ce79b 12:07:37 Removing intermediate container 45beeb8ce79b 12:07:37 ---> ec545fd80163 12:07:37 [Warning] One or more build-args [ARCH] were not consumed 12:07:37 Successfully built ec545fd80163 12:07:37 Successfully tagged app-service-configurable-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 12:07:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:07:37 12:07:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:07:38 arm64: Pulling from edgex-lftools-log-publisher 12:07:38 8998bd30e6a1: Pulling fs layer 12:07:38 04944245beec: Pulling fs layer 12:07:38 699f458cf7ca: Pulling fs layer 12:07:38 765212b225bb: Pulling fs layer 12:07:38 f23df028b6ca: Pulling fs layer 12:07:38 d65c8cfc05b1: Pulling fs layer 12:07:38 2437ff75d9bd: Pulling fs layer 12:07:38 f23df028b6ca: Waiting 12:07:38 765212b225bb: Waiting 12:07:38 d65c8cfc05b1: Waiting 12:07:38 2437ff75d9bd: Waiting 12:07:38 04944245beec: Verifying Checksum 12:07:38 04944245beec: Download complete 12:07:38 765212b225bb: Verifying Checksum 12:07:38 765212b225bb: Download complete 12:07:38 f23df028b6ca: Verifying Checksum 12:07:38 f23df028b6ca: Download complete 12:07:38 d65c8cfc05b1: Verifying Checksum 12:07:38 d65c8cfc05b1: Download complete 12:07:38 699f458cf7ca: Verifying Checksum 12:07:38 699f458cf7ca: Download complete 12:07:39 8998bd30e6a1: Verifying Checksum 12:07:39 8998bd30e6a1: Download complete 12:07:41 2437ff75d9bd: Verifying Checksum 12:07:41 2437ff75d9bd: Download complete 12:07:42 8998bd30e6a1: Pull complete 12:07:43 04944245beec: Pull complete 12:07:44 699f458cf7ca: Pull complete 12:07:46 765212b225bb: Pull complete 12:07:47 f23df028b6ca: Pull complete 12:07:47 d65c8cfc05b1: Pull complete 12:08:02 2437ff75d9bd: Pull complete 12:08:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:08:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:08:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:02 prd-ubuntu20.04-docker-arm64-4c-16g-2403 does not seem to be running inside a container 12:08:02 $ 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-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:08:05 $ docker top f96d186e2796f9835b6c315c1a66cc7acb38bdf6a0ecd77092dd16136471aa6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:08:05 ---> job-cost.sh 12:08:06 lf-activate-venv: SKIPPING 12:08:06 INFO: No Stack... 12:08:06 INFO: Retrieving Pricing Info for: v3-standard-4 12:08:07 INFO: Archiving Costs [Pipeline] sh 12:08:07 + cut -d, -f6 12:08:07 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:08:07 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-532-1-stack-cost] 12:08:07 Resource [jenkins-edgexfoundry-app-service-configurable-PR-532-1-stack-cost] did not exist. Created. 12:08:07 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-532-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:08:08 /w/workspace/app-service-configurable/1@tmp/durable-a3181091/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:08:08 + echo total: 0.10999999940395355 [Pipeline] stash 12:08:08 Warning: overwriting stash ‘stack-cost’ 12:08:08 Stashed 1 file(s) [Pipeline] } 12:08:08 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-532-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:08:08 $ docker stop --time=1 f96d186e2796f9835b6c315c1a66cc7acb38bdf6a0ecd77092dd16136471aa6b 12:08:10 $ docker rm -f --volumes f96d186e2796f9835b6c315c1a66cc7acb38bdf6a0ecd77092dd16136471aa6b [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 12:08:11 provisioning config files... 12:08:11 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-532@tmp/config16704283053670434513tmp [Pipeline] { [Pipeline] sh 12:08:11 + set +x 12:08:11 + curl -s https://codecov.io/bash 12:08:11 + bash -s -- 12:08:11 12:08:11 _____ _ 12:08:11 / ____| | | 12:08:11 | | ___ __| | ___ ___ _____ __ 12:08:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:08:11 | |___| (_) | (_| | __/ (_| (_) \ V / 12:08:11 \_____\___/ \__,_|\___|\___\___/ \_/ 12:08:11 Bash-1.0.6 12:08:11 12:08:11 12:08:11 ==> git version 2.25.1 found 12:08:11 ==> 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 12:08:11 Release-Date: 2020-01-08 12:08:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:08:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:08:11 ==> Jenkins CI detected. 12:08:11 current dir:  /w/workspace/_app-service-configurable_PR-532 12:08:11 project root: . 12:08:11 --> token set from env 12:08:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:08:11 ==> Running gcov in . (disable via -X gcov) 12:08:11 ==> Python coveragepy not found 12:08:11 ==> Searching for coverage reports in: 12:08:11 + . 12:08:11 -> Found 1 reports 12:08:11 ==> Detecting git/mercurial file structure 12:08:11 ==> Reading reports 12:08:11 + ./coverage.out bytes=13 12:08:11 ==> Appending adjustments 12:08:11 https://docs.codecov.io/docs/fixing-reports 12:08:11 + Found adjustments 12:08:11 ==> Gzipping contents 12:08:11 4.0K /tmp/codecov.t7rykF.gz 12:08:11 ==> Uploading reports 12:08:11 url: https://codecov.io 12:08:11 query: branch=PR-532&commit=cb691107b755ecfda0d36ce91f97c339463f839b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-532%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=532&job=&cmd_args= 12:08:11 -> Pinging Codecov 12:08:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-532&commit=cb691107b755ecfda0d36ce91f97c339463f839b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-532%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=532&job=&cmd_args= 12:08:11 -> Uploading to 12:08:11 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/A97CA9966030D2A3747ED39772930CCE/cb691107b755ecfda0d36ce91f97c339463f839b/a3d597a3-7a52-407b-a0bc-fa7135d65bbe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T120811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ff4dbfbd5b6b3cf1986b2cef69cf0c4c0271b920528b0378f9af69d1a62debf 12:08:11 % Total % Received % Xferd Average Speed Time Time Time Current 12:08:11 Dload Upload Total Spent Left Speed 12:08:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 509 0 0 100 509 0 1713 --:--:-- --:--:-- --:--:-- 1713 12:08:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/cb691107b755ecfda0d36ce91f97c339463f839b [Pipeline] } 12:08:12 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 12:08:14 + [ -d /w/workspace/_app-service-configurable_PR-532/archives ] 12:08:14 + ls -al /w/workspace/_app-service-configurable_PR-532/archives 12:08:14 total 16 12:08:14 drwxr-xr-x 3 root root 4096 Mar 16 11:58 . 12:08:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 11:58 .. 12:08:14 drwxr-xr-x 2 root root 4096 Mar 16 11:58 cost 12:08:14 -rw-r--r-- 1 root root 96 Mar 16 11:58 cost.csv 12:08:14 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-532/archives 12:08:14 + ls -al /w/workspace/_app-service-configurable_PR-532/archives 12:08:14 total 16 12:08:14 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 11:58 . 12:08:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 11:58 .. 12:08:14 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 11:58 cost 12:08:14 -rw-r--r-- 1 jenkins jenkins 96 Mar 16 11:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:08:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:08:15 ---> package-listing.sh 12:08:15 ++ facter osfamily 12:08:15 ++ tr '[:upper:]' '[:lower:]' 12:08:15 + OS_FAMILY=debian 12:08:15 + workspace=/w/workspace/_app-service-configurable_PR-532 12:08:15 + START_PACKAGES=/tmp/packages_start.txt 12:08:15 + END_PACKAGES=/tmp/packages_end.txt 12:08:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:08:15 + PACKAGES=/tmp/packages_start.txt 12:08:15 + '[' /w/workspace/_app-service-configurable_PR-532 ']' 12:08:15 + PACKAGES=/tmp/packages_end.txt 12:08:15 + case "${OS_FAMILY}" in 12:08:15 + dpkg -l 12:08:15 + grep '^ii' 12:08:15 + '[' -f /tmp/packages_start.txt ']' 12:08:15 + '[' -f /tmp/packages_end.txt ']' 12:08:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:08:15 + '[' /w/workspace/_app-service-configurable_PR-532 ']' 12:08:15 + mkdir -p /w/workspace/_app-service-configurable_PR-532/archives/ 12:08:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-532/archives/ [Pipeline] echo 12:08:15 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/_app-service-configurable_PR-532/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:08:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:08:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:17 prd-ubuntu20.04-docker-8c-8g-2402 does not seem to be running inside a container 12:08:17 $ 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/_app-service-configurable_PR-532/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-532 -v /w/workspace/_app-service-configurable_PR-532:/w/workspace/_app-service-configurable_PR-532:rw,z -v /w/workspace/_app-service-configurable_PR-532@tmp:/w/workspace/_app-service-configurable_PR-532@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-lftools-log-publisher:latest cat 12:08:17 $ docker top e5fb1e15496d4c5fb308846c6b3228b4e099eb9709034198010ca7bcbb37db30 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:17 + touch /tmp/pre-build-complete [Pipeline] sh 12:08:18 + mkdir -p /var/log/sysstat [Pipeline] sh 12:08:18 + ls /var/log/sa-host 12:08:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:08:18 provisioning config files... 12:08:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-532@tmp/config5714978557782347943tmp [Pipeline] { [Pipeline] echo 12:08:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:08:19 ---> create-netrc.sh [Pipeline] } 12:08:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:08:19 ---> python-tools-install.sh [Pipeline] echo 12:08:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:08:19 ---> sudo-logs.sh 12:08:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:08:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:08:20 ---> job-cost.sh 12:08:20 lf-activate-venv: SKIPPING 12:08:20 DEBUG: total: 0.2199999988079071 12:08:20 INFO: Retrieving Stack Cost... 12:08:20 INFO: Retrieving Pricing Info for: v3-standard-8 12:08:21 INFO: Archiving Costs [Pipeline] echo 12:08:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:08:21 ---> logs-deploy.sh 12:08:21 lf-activate-venv: SKIPPING 12:08:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-532/1 12:08:21 INFO: archiving workspace using pattern(s): 12:08:22 Archives upload complete. 12:08:22 INFO: archiving logs to Nexus