Pull request #643 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b30093497f96adbb9945956d6c6bd04ae0b99e33+8e8fdc066d5979e1705b6f23a339d91f778af4e1 (7a452371be0bfe4e5105fe183cf483fd9642925c) 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-ssh5255363778813632860.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12142410177298726840.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-643/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-643/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11275468618177373857.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-643/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12821866294036708990.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh5489337345571979397.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-643/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-643/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1870169372038579642.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1506 in /w/workspace/_app-service-configurable_PR-643 [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-643 # 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 Merging remotes/origin/main commit 8e8fdc066d5979e1705b6f23a339d91f778af4e1 into PR head commit b30093497f96adbb9945956d6c6bd04ae0b99e33 Merge succeeded, producing b30093497f96adbb9945956d6c6bd04ae0b99e33 Checking out Revision b30093497f96adbb9945956d6c6bd04ae0b99e33 (PR-643) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/643/head:refs/remotes/origin/PR-643 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b30093497f96adbb9945956d6c6bd04ae0b99e33 # 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 8e8fdc066d5979e1705b6f23a339d91f778af4e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b30093497f96adbb9945956d6c6bd04ae0b99e33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:36:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:36:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:36:30 ========================================================= 12:36:30 EdgeX Global Pipelines Version Info 12:36:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:36:31 ------------------- 12:36:31 stable info: 12:36:31 ------------------- 12:36:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:36:31 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:36:31 Message: update stable to v1.0.258 12:36:32 ------------------- 12:36:32 experimental info: 12:36:32 ------------------- 12:36:32 Commited By: **** collab-it+edgex@linuxfoundation.org 12:36:32 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:36:32 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:36:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:36:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:36:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-643 [Pipeline] echo 12:36:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-643 [Pipeline] echo 12:36:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-643 [Pipeline] echo 12:36:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b30093497f96adbb9945956d6c6bd04ae0b99e33 [Pipeline] echo 12:36:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b300934 [Pipeline] echo 12:36:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:36:34 provisioning config files... 12:36:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-643@tmp/config2762195295223389303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:35 ---> ****-login.sh 12:36:35 nexus3.edgexfoundry.org:10001 12:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:36:35 Configure a credential helper to remove this warning. See 12:36:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:36:35 12:36:35 Login Succeeded 12:36:35 nexus3.edgexfoundry.org:10002 12:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:36:35 Configure a credential helper to remove this warning. See 12:36:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:36:35 12:36:35 Login Succeeded 12:36:35 nexus3.edgexfoundry.org:10003 12:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:36:35 Configure a credential helper to remove this warning. See 12:36:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:36:35 12:36:35 Login Succeeded 12:36:35 nexus3.edgexfoundry.org:10004 12:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:36:35 Configure a credential helper to remove this warning. See 12:36:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:36:35 12:36:35 Login Succeeded 12:36:35 ****.io 12:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:36:36 Configure a credential helper to remove this warning. See 12:36:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:36:36 12:36:36 Login Succeeded 12:36:36 ---> ****-login.sh ends [Pipeline] } 12:36:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:36:36 + git rev-list -1 --merges b30093497f96adbb9945956d6c6bd04ae0b99e33~1..b30093497f96adbb9945956d6c6bd04ae0b99e33 [Pipeline] echo 12:36:36 -----------> git rev-list -1 --merges b30093497f96adbb9945956d6c6bd04ae0b99e33~1..b30093497f96adbb9945956d6c6bd04ae0b99e33 b30093497f96adbb9945956d6c6bd04ae0b99e33 [false] [Pipeline] sh 12:36:37 + git log --format=format:%s -1 b30093497f96adbb9945956d6c6bd04ae0b99e33 [Pipeline] echo 12:36:37 ========================================================= 12:36:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:36:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:36:37 + git log --format=format:%s -1 b30093497f96adbb9945956d6c6bd04ae0b99e33 [Pipeline] echo 12:36:37 [semverPrep] GIT_COMMIT: b30093497f96adbb9945956d6c6bd04ae0b99e33, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:36:37 [semverPrep] This is not a build commit. [Pipeline] sh 12:36:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:36:38 + grep -v github /etc/ssh/ssh_known_hosts 12:36:38 + [ -e /tmp/ssh_known_hosts ] 12:36:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:36:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:36:38 + sudo tee -a /etc/ssh/ssh_known_hosts 12:36:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:36:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:36:38 12:36:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:36:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:36:39 0.1.4: Pulling from edgex-devops/py-git-semver 12:36:39 b85a868b505f: Pulling fs layer 12:36:39 e2be974225ed: Pulling fs layer 12:36:39 339a4e72a1f5: Pulling fs layer 12:36:39 988bab9f4d93: Pulling fs layer 12:36:39 1469e6f7b9e6: Pulling fs layer 12:36:39 eaf3925da568: Pulling fs layer 12:36:39 bab4dde63d76: Pulling fs layer 12:36:39 bde34c3a00c8: Pulling fs layer 12:36:39 b352a97aabf1: Pulling fs layer 12:36:39 4872d77fe225: Pulling fs layer 12:36:39 5851b861e8e6: Pulling fs layer 12:36:39 988bab9f4d93: Waiting 12:36:39 1469e6f7b9e6: Waiting 12:36:39 eaf3925da568: Waiting 12:36:39 bab4dde63d76: Waiting 12:36:39 bde34c3a00c8: Waiting 12:36:39 b352a97aabf1: Waiting 12:36:39 4872d77fe225: Waiting 12:36:39 5851b861e8e6: Waiting 12:36:39 e2be974225ed: Download complete 12:36:39 988bab9f4d93: Verifying Checksum 12:36:39 988bab9f4d93: Download complete 12:36:39 1469e6f7b9e6: Verifying Checksum 12:36:39 1469e6f7b9e6: Download complete 12:36:39 339a4e72a1f5: Verifying Checksum 12:36:39 339a4e72a1f5: Download complete 12:36:39 eaf3925da568: Verifying Checksum 12:36:39 eaf3925da568: Download complete 12:36:39 bde34c3a00c8: Verifying Checksum 12:36:39 bde34c3a00c8: Download complete 12:36:39 b352a97aabf1: Download complete 12:36:39 4872d77fe225: Verifying Checksum 12:36:39 4872d77fe225: Download complete 12:36:39 5851b861e8e6: Download complete 12:36:39 b85a868b505f: Verifying Checksum 12:36:39 b85a868b505f: Download complete 12:36:39 bab4dde63d76: Verifying Checksum 12:36:39 bab4dde63d76: Download complete 12:36:40 b85a868b505f: Pull complete 12:36:41 e2be974225ed: Pull complete 12:36:41 339a4e72a1f5: Pull complete 12:36:41 988bab9f4d93: Pull complete 12:36:41 1469e6f7b9e6: Pull complete 12:36:41 eaf3925da568: Pull complete 12:36:43 bab4dde63d76: Pull complete 12:36:43 bde34c3a00c8: Pull complete 12:36:43 b352a97aabf1: Pull complete 12:36:44 4872d77fe225: Pull complete 12:36:44 5851b861e8e6: Pull complete 12:36:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:36:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:36:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:36:44 prd-ubuntu20.04-docker-8c-8g-1506 does not seem to be running inside a container 12:36:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-643 -v /w/workspace/_app-service-configurable_PR-643:/w/workspace/_app-service-configurable_PR-643:rw,z -v /w/workspace/_app-service-configurable_PR-643@tmp:/w/workspace/_app-service-configurable_PR-643@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:36:47 $ docker top ea7597d1e9cac097e31f6658475750c84fde9000d017e65daea29e720fee9aad -eo pid,comm 12:36:47 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). 12:36:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:36:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:36:47 [ssh-agent] Looking for ssh-agent implementation... 12:36:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:36:47 $ docker exec ea7597d1e9cac097e31f6658475750c84fde9000d017e65daea29e720fee9aad ssh-agent 12:36:48 SSH_AUTH_SOCK=/tmp/ssh-HQaPEzSGpPOk/agent.33 12:36:48 SSH_AGENT_PID=39 12:36:48 Running ssh-add (command line suppressed) 12:36:48 Identity added: /w/workspace/_app-service-configurable_PR-643@tmp/private_key_10704109860747160345.key (/w/workspace/_app-service-configurable_PR-643@tmp/private_key_10704109860747160345.key) 12:36:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:36:48 + git tag --points-at HEAD [Pipeline] } 12:36:48 $ docker exec --env ******** --env ******** ea7597d1e9cac097e31f6658475750c84fde9000d017e65daea29e720fee9aad ssh-agent -k 12:36:48 unset SSH_AUTH_SOCK; 12:36:48 unset SSH_AGENT_PID; 12:36:48 echo Agent pid 39 killed; 12:36:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:36:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:36:48 [ssh-agent] Looking for ssh-agent implementation... 12:36:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:36:48 $ docker exec ea7597d1e9cac097e31f6658475750c84fde9000d017e65daea29e720fee9aad ssh-agent 12:36:49 SSH_AUTH_SOCK=/tmp/ssh-vD6c7dV8SiwX/agent.71 12:36:49 SSH_AGENT_PID=77 12:36:49 Running ssh-add (command line suppressed) 12:36:49 Identity added: /w/workspace/_app-service-configurable_PR-643@tmp/private_key_12783869538203947834.key (/w/workspace/_app-service-configurable_PR-643@tmp/private_key_12783869538203947834.key) 12:36:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:36:49 + git semver init 12:36:49 2024-02-22 12:36:49,781 [run_init] DEBUG init version:0.0.0 force:False 12:36:49 2024-02-22 12:36:49,782 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-643/.semver 12:36:49 2024-02-22 12:36:49,782 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-643/.semver 12:36:49 2024-02-22 12:36:49,783 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-643/.semver'], cwd=/w/workspace/_app-service-configurable_PR-643, universal_newlines=False, shell=None, istream=None) 12:36:51 2024-02-22 12:36:51,057 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-643/.git/info/exclude 12:36:51 2024-02-22 12:36:51,057 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-643/.semver/PR-643 with force:False 12:36:51 2024-02-22 12:36:51,057 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-643/.semver/PR-643 12:36:51 2024-02-22 12:36:51,062 [execute] INFO git cat-file --batch-check 12:36:51 2024-02-22 12:36:51,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-643/.semver, universal_newlines=False, shell=None, istream=) 12:36:51 2024-02-22 12:36:51,069 [execute] INFO git cat-file --batch 12:36:51 2024-02-22 12:36:51,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-643/.semver, universal_newlines=False, shell=None, istream=) 12:36:51 2024-02-22 12:36:51,074 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-643/.semver/PR-643 12:36:51 0.0.0 [Pipeline] } 12:36:51 $ docker exec --env ******** --env ******** ea7597d1e9cac097e31f6658475750c84fde9000d017e65daea29e720fee9aad ssh-agent -k 12:36:51 unset SSH_AUTH_SOCK; 12:36:51 unset SSH_AGENT_PID; 12:36:51 echo Agent pid 77 killed; 12:36:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:36:51 + git semver [Pipeline] } 12:36:52 $ docker stop --time=1 ea7597d1e9cac097e31f6658475750c84fde9000d017e65daea29e720fee9aad 12:36:53 $ docker rm -f --volumes ea7597d1e9cac097e31f6658475750c84fde9000d017e65daea29e720fee9aad [Pipeline] // withDockerContainer [Pipeline] sh 12:36:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:36:54 Stashed 1 file(s) [Pipeline] echo 12:36:54 [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 12:36:55 provisioning config files... 12:36:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-643@tmp/config5265751554483360679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:55 ---> ****-login.sh 12:36:55 nexus3.edgexfoundry.org:10001 12:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:36:55 Configure a credential helper to remove this warning. See 12:36:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:36:55 12:36:55 Login Succeeded 12:36:55 nexus3.edgexfoundry.org:10002 12:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:36:55 Configure a credential helper to remove this warning. See 12:36:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:36:55 12:36:55 Login Succeeded 12:36:55 nexus3.edgexfoundry.org:10003 12:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:36:55 Configure a credential helper to remove this warning. See 12:36:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:36:55 12:36:55 Login Succeeded 12:36:55 nexus3.edgexfoundry.org:10004 12:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:36:55 Configure a credential helper to remove this warning. See 12:36:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:36:55 12:36:55 Login Succeeded 12:36:55 ****.io 12:36:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:36:56 Configure a credential helper to remove this warning. See 12:36:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:36:56 12:36:56 Login Succeeded 12:36:56 ---> ****-login.sh ends [Pipeline] } 12:36:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:36:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:36:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:36:56 ========================================================= 12:36:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:36:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:36:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:36:57 Sending build context to Docker daemon 8.796MB 12:36:57 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:36:57 Step 2/12 : FROM ${BASE} AS builder 12:36:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:36:57 7264a8db6415: Pulling fs layer 12:36:57 c4d48a809fc2: Pulling fs layer 12:36:57 4f1c88b9dad5: Pulling fs layer 12:36:57 ad3a456e5733: Pulling fs layer 12:36:57 69c7f0334f64: Pulling fs layer 12:36:57 1f1c1a5573a3: Pulling fs layer 12:36:57 ce7588e14bc9: Pulling fs layer 12:36:57 b5e4710f87ac: Pulling fs layer 12:36:57 ad3a456e5733: Waiting 12:36:57 69c7f0334f64: Waiting 12:36:57 b5e4710f87ac: Waiting 12:36:57 1f1c1a5573a3: Waiting 12:36:57 ce7588e14bc9: Waiting 12:36:57 c4d48a809fc2: Download complete 12:36:57 ad3a456e5733: Verifying Checksum 12:36:57 ad3a456e5733: Download complete 12:36:57 69c7f0334f64: Verifying Checksum 12:36:57 69c7f0334f64: Download complete 12:36:57 7264a8db6415: Verifying Checksum 12:36:57 7264a8db6415: Download complete 12:36:57 1f1c1a5573a3: Verifying Checksum 12:36:57 1f1c1a5573a3: Download complete 12:36:57 7264a8db6415: Pull complete 12:36:57 b5e4710f87ac: Verifying Checksum 12:36:57 b5e4710f87ac: Download complete 12:36:57 c4d48a809fc2: Pull complete 12:36:57 4f1c88b9dad5: Verifying Checksum 12:36:57 4f1c88b9dad5: Download complete 12:36:58 ce7588e14bc9: Verifying Checksum 12:36:58 ce7588e14bc9: Download complete 12:37:02 4f1c88b9dad5: Pull complete 12:37:02 ad3a456e5733: Pull complete 12:37:02 69c7f0334f64: Pull complete 12:37:02 1f1c1a5573a3: Pull complete 12:37:04 ce7588e14bc9: Pull complete 12:37:05 b5e4710f87ac: Pull complete 12:37:05 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:37:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:37:05 ---> 88b5674ff536 12:37:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:37:10 Still waiting to schedule task 12:37:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:37:10 ---> Running in 2579f9b6211f 12:37:10 Removing intermediate container 2579f9b6211f 12:37:10 ---> f8c2a55b01f7 12:37:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:37:10 ---> Running in 68d1e99681fc 12:37:10 Removing intermediate container 68d1e99681fc 12:37:10 ---> eba89044dc51 12:37:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:37:10 ---> Running in c05d8d68184c 12:37:10 Removing intermediate container c05d8d68184c 12:37:10 ---> 81996fc760f1 12:37:10 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:37:10 ---> Running in 249cdbd4f041 12:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:37:10 OK: 264 MiB in 52 packages 12:37:11 Removing intermediate container 249cdbd4f041 12:37:11 ---> 99e1aff068c2 12:37:11 Step 7/12 : WORKDIR /app 12:37:11 ---> Running in 5f7fa2a9836e 12:37:11 Removing intermediate container 5f7fa2a9836e 12:37:11 ---> ccefd0572e49 12:37:11 Step 8/12 : COPY go.mod vendor* ./ 12:37:11 ---> 3568d4d0054c 12:37:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:37:11 ---> Running in b26c030040a9 12:37:43 Removing intermediate container b26c030040a9 12:37:43 ---> 8a82c17d31cd 12:37:43 Step 10/12 : COPY . . 12:37:43 ---> 6c457544630f 12:37:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:37:43 ---> Running in 2a0b2de36091 12:37:43 Removing intermediate container 2a0b2de36091 12:37:43 ---> 61a563c75f09 12:37:43 Step 12/12 : RUN $MAKE 12:37:43 ---> Running in 86c9ffad3cc9 12:37:43 noop 12:37:43 Removing intermediate container 86c9ffad3cc9 12:37:43 ---> d4331499ffdc 12:37:43 Successfully built d4331499ffdc 12:37:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:43 + docker inspect -f . ci-base-image-x86_64 12:37:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:37:44 prd-ubuntu20.04-docker-8c-8g-1506 does not seem to be running inside a container 12:37:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-643 -v /w/workspace/_app-service-configurable_PR-643:/w/workspace/_app-service-configurable_PR-643:rw,z -v /w/workspace/_app-service-configurable_PR-643@tmp:/w/workspace/_app-service-configurable_PR-643@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 ******** ci-base-image-x86_64 cat 12:37:44 $ docker top 1135e951c6f575f110a9b59a20860018df5fd524e9839203b8f6cc126790f430 -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:44 + go version 12:37:44 go version go1.21.0 linux/amd64 [Pipeline] } 12:37:44 $ docker stop --time=1 1135e951c6f575f110a9b59a20860018df5fd524e9839203b8f6cc126790f430 12:37:46 $ docker rm -f --volumes 1135e951c6f575f110a9b59a20860018df5fd524e9839203b8f6cc126790f430 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:47 + docker inspect -f . ci-base-image-x86_64 12:37:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:37:47 prd-ubuntu20.04-docker-8c-8g-1506 does not seem to be running inside a container 12:37:47 $ 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-643 -v /w/workspace/_app-service-configurable_PR-643:/w/workspace/_app-service-configurable_PR-643:rw,z -v /w/workspace/_app-service-configurable_PR-643@tmp:/w/workspace/_app-service-configurable_PR-643@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 ******** ci-base-image-x86_64 cat 12:37:47 $ docker top d4cd2009511706416641e581f74a090eb9bcd11e56ddbd890508a201f144ca1c -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:48 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-643 [Pipeline] fileExists [Pipeline] sh 12:37:48 + make test 12:37:48 go test -race -coverprofile=coverage.out ./... 12:38:10 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:38:28 go vet ./... 12:38:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:38:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:38:32 ./bin/test-attribution-txt.sh 12:38:32 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:38:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:38:32 $ docker stop --time=1 d4cd2009511706416641e581f74a090eb9bcd11e56ddbd890508a201f144ca1c 12:38:36 $ docker rm -f --volumes d4cd2009511706416641e581f74a090eb9bcd11e56ddbd890508a201f144ca1c [Pipeline] // withDockerContainer [Pipeline] sh 12:38:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:38:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:38:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:38:38 + ls -al . 12:38:38 total 184 12:38:38 drwxrwxr-x 7 jenkins jenkins 4096 Feb 22 12:37 . 12:38:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 12:36 .. 12:38:38 -rw-rw-r-- 1 jenkins jenkins 119 Feb 22 12:36 .dockerignore 12:38:38 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 12:38 .git 12:38:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 12:36 .github 12:38:38 -rw-rw-r-- 1 jenkins jenkins 106 Feb 22 12:36 .gitignore 12:38:38 -rw-rw-r-- 1 jenkins jenkins 41 Feb 22 12:36 .golangci.yml 12:38:38 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 12:36 .semver 12:38:38 -rw-rw-r-- 1 jenkins jenkins 10394 Feb 22 12:36 Attribution.txt 12:38:38 -rw-rw-r-- 1 jenkins jenkins 37263 Feb 22 12:36 CHANGELOG.md 12:38:38 -rw-rw-r-- 1 jenkins jenkins 2007 Feb 22 12:36 Dockerfile 12:38:38 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 12:36 GOVERNANCE.md 12:38:38 -rw-rw-r-- 1 jenkins jenkins 666 Feb 22 12:36 Jenkinsfile 12:38:38 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 22 12:36 LICENSE 12:38:38 -rw-rw-r-- 1 jenkins jenkins 618 Feb 22 12:36 OWNERS.md 12:38:38 -rw-rw-r-- 1 jenkins jenkins 4582 Feb 22 12:36 README.md 12:38:38 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 12:36 VERSION 12:38:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 12:36 bin 12:38:38 -rw-r--r-- 1 jenkins jenkins 13 Feb 22 12:37 coverage.out 12:38:38 -rw-rw-r-- 1 jenkins jenkins 3776 Feb 22 12:36 go.mod 12:38:38 -rw-rw-r-- 1 jenkins jenkins 34159 Feb 22 12:36 go.sum 12:38:38 -rw-rw-r-- 1 jenkins jenkins 1937 Feb 22 12:36 main.go 12:38:38 -rw-rw-r-- 1 jenkins jenkins 2572 Feb 22 12:36 makefile 12:38:38 drwxrwxr-x 9 jenkins jenkins 4096 Feb 22 12:36 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:39 + 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=b30093497f96adbb9945956d6c6bd04ae0b99e33 --label arch=amd64 --label version=0.0.0 . 12:38:39 Sending build context to Docker daemon 8.797MB 12:38:39 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:38:39 Step 2/27 : FROM ${BASE} AS builder 12:38:39 ---> d4331499ffdc 12:38:39 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:38:39 ---> Running in 15f41155cd21 12:38:39 Removing intermediate container 15f41155cd21 12:38:39 ---> 5c3621aa83b5 12:38:39 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:38:39 ---> Running in 4b1ebf1f6516 12:38:39 Removing intermediate container 4b1ebf1f6516 12:38:39 ---> b3410fdbf6b2 12:38:39 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:38:39 ---> Running in fff97bd2bab6 12:38:39 Removing intermediate container fff97bd2bab6 12:38:39 ---> 6640f6e1c34d 12:38:39 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:38:39 ---> Running in a403cb774fd2 12:38:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:38:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:38:40 OK: 264 MiB in 52 packages 12:38:41 Removing intermediate container a403cb774fd2 12:38:41 ---> 374b061fac95 12:38:41 Step 7/27 : WORKDIR /app 12:38:41 ---> Running in a7506efda479 12:38:41 Removing intermediate container a7506efda479 12:38:41 ---> 26de31a6b6de 12:38:41 Step 8/27 : COPY go.mod vendor* ./ 12:38:41 ---> eb3a877c32e0 12:38:41 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:38:41 ---> Running in 1ac356dace45 12:38:41 Removing intermediate container 1ac356dace45 12:38:41 ---> 921755d54b0e 12:38:41 Step 10/27 : COPY . . 12:38:42 ---> 79abc180353b 12:38:42 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:38:42 ---> Running in 0ce468fe6f34 12:38:42 Removing intermediate container 0ce468fe6f34 12:38:42 ---> e9f60f4b490a 12:38:42 Step 12/27 : RUN $MAKE 12:38:42 ---> Running in 7e0edc4abc12 12:38:42 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.22 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:38:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1507 in /w/workspace/_app-service-configurable_PR-643 [Pipeline] { [Pipeline] ws 12:38:57 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:38:57 Selected Git installation does not exist. Using Default 12:38:57 The recommended git tool is: NONE 12:39:03 using credential edgex-jenkins-ssh 12:39:03 Cloning the remote Git repository 12:39:03 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:39:03 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:39:03 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:39:03 > git --version # timeout=10 12:39:03 > git --version # 'git version 2.25.1' 12:39:03 using GIT_SSH to set credentials SSH Credentials for GitHub 12:39:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:39:04 Removing intermediate container 7e0edc4abc12 12:39:04 ---> 43dd0a87e0f3 12:39:04 Step 13/27 : FROM alpine:3.18 12:39:04 3.18: Pulling from library/alpine 12:39:04 619be1103602: Pulling fs layer 12:39:04 619be1103602: Download complete 12:39:04 619be1103602: Pull complete 12:39:04 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:39:04 Status: Downloaded newer image for alpine:3.18 12:39:04 ---> d3782b16ccc9 12:39:04 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:39:04 ---> Running in bdc794646c81 12:39:04 Removing intermediate container bdc794646c81 12:39:04 ---> 49eb032cc9f1 12:39:04 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:39:04 ---> Running in 31fecc67f348 12:39:04 Removing intermediate container 31fecc67f348 12:39:04 ---> a82d64941e45 12:39:04 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:39:04 ---> Running in 9e28c33da34f 12:39:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:39:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:39:04 (1/2) Installing ca-certificates (20230506-r0) 12:39:04 (2/2) Installing dumb-init (1.2.5-r2) 12:39:04 Executing busybox-1.36.1-r5.trigger 12:39:04 Executing ca-certificates-20230506-r0.trigger 12:39:04 OK: 8 MiB in 17 packages 12:39:05 Removing intermediate container 9e28c33da34f 12:39:05 ---> be5b070fbe7b 12:39:05 Step 17/27 : RUN apk --no-cache upgrade 12:39:05 ---> Running in fc8bd11e3e28 12:39:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:39:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:39:06 OK: 8 MiB in 17 packages 12:39:06 Removing intermediate container fc8bd11e3e28 12:39:06 ---> 3d1c252129d0 12:39:06 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:39:06 ---> 4f8f96ac9886 12:39:06 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:39:06 ---> b61b973d1060 12:39:06 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:39:06 ---> d74676bd764a 12:39:06 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:39:05 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:39:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:39:06 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:39:06 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:39:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:39:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/643/head:refs/remotes/origin/PR-643 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:39:07 Merging remotes/origin/main commit 8e8fdc066d5979e1705b6f23a339d91f778af4e1 into PR head commit b30093497f96adbb9945956d6c6bd04ae0b99e33 12:39:07 Merge succeeded, producing b30093497f96adbb9945956d6c6bd04ae0b99e33 12:39:07 Checking out Revision b30093497f96adbb9945956d6c6bd04ae0b99e33 (PR-643) 12:39:07 ---> 1b92c2876d1b 12:39:07 Step 22/27 : EXPOSE 48095 12:39:07 ---> Running in 6dbe68c0f8b1 12:39:07 Removing intermediate container 6dbe68c0f8b1 12:39:07 ---> d559c4c6d498 12:39:07 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:39:07 ---> Running in 7b5279037bca 12:39:07 Removing intermediate container 7b5279037bca 12:39:07 ---> 2a2f32d2addc 12:39:07 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:39:07 ---> Running in b736a3d479f3 12:39:07 Removing intermediate container b736a3d479f3 12:39:07 ---> 0d617e8f88ff 12:39:07 Step 25/27 : LABEL arch=amd64 12:39:07 ---> Running in fce01406619e 12:39:07 Removing intermediate container fce01406619e 12:39:07 ---> 2ec8e1ecf208 12:39:07 Step 26/27 : LABEL git_sha=b30093497f96adbb9945956d6c6bd04ae0b99e33 12:39:07 ---> Running in 1c392d8d55d4 12:39:07 Removing intermediate container 1c392d8d55d4 12:39:07 ---> 8e87a4be4d81 12:39:07 Step 27/27 : LABEL version=0.0.0 12:39:07 ---> Running in 0dda903fbe3e 12:39:07 Removing intermediate container 0dda903fbe3e 12:39:07 ---> 6749823d3ce9 12:39:07 [Warning] One or more build-args [ARCH] were not consumed 12:39:07 Successfully built 6749823d3ce9 12:39:07 Successfully tagged app-service-configurable:latest [Pipeline] } 12:39:07 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" [Pipeline] // withEnv [Pipeline] } 12:39:07 > git --version # timeout=10 12:39:07 > git --version # 'git version 2.25.1' 12:39:07 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 12:39:07 > git config core.sparsecheckout # timeout=10 12:39:07 > git checkout -f b30093497f96adbb9945956d6c6bd04ae0b99e33 # timeout=10 12:39:07 > git remote # timeout=10 12:39:07 > git config --get remote.origin.url # timeout=10 12:39:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:39:07 > git merge 8e8fdc066d5979e1705b6f23a339d91f778af4e1 # timeout=10 12:39:07 > git rev-parse HEAD^{commit} # timeout=10 12:39:07 > git config core.sparsecheckout # timeout=10 12:39:07 > git checkout -f b30093497f96adbb9945956d6c6bd04ae0b99e33 # timeout=10 Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 12:39:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:39:09 12:39:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:39:09 % Total % Received % Xferd Average Speed Time Time Time Current 12:39:09 Dload Upload Total Spent Left Speed 12:39:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh 12:39:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:39:09 latest: Pulling from edgex-lftools-log-publisher 12:39:09 5eb5b503b376: Pulling fs layer 12:39:09 5c69ac0246d0: Pulling fs layer 12:39:09 ec43610c2a17: Pulling fs layer 12:39:09 3a2ae6a8a46f: Pulling fs layer 12:39:09 33b1e0a273af: Pulling fs layer 12:39:09 5d3b04190fa2: Pulling fs layer 12:39:09 2f39f015ded8: Pulling fs layer 12:39:09 3a2ae6a8a46f: Waiting 12:39:09 5d3b04190fa2: Waiting 12:39:09 2f39f015ded8: Waiting 12:39:09 33b1e0a273af: Waiting 12:39:09 5c69ac0246d0: Download complete 12:39:09 3a2ae6a8a46f: Download complete 12:39:09 33b1e0a273af: Verifying Checksum 12:39:09 33b1e0a273af: Download complete 12:39:09 5d3b04190fa2: Verifying Checksum 12:39:09 5d3b04190fa2: Download complete 12:39:09 ec43610c2a17: Verifying Checksum 12:39:09 ec43610c2a17: Download complete 12:39:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:39:09 5eb5b503b376: Verifying Checksum 12:39:09 5eb5b503b376: Download complete 12:39:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:39:10 + sudo tee /etc/docker/daemon.new 12:39:10 { 12:39:10 "registry-mirrors": [ 12:39:10 "https://nexus3.edgexfoundry.org:10001" 12:39:10 ], 12:39:10 "bip": "10.250.0.254/24", 12:39:10 "hosts": [ 12:39:10 "tcp://0.0.0.0:5555", 12:39:10 "unix:///var/run/docker.sock" 12:39:10 ], 12:39:10 "mtu": 1458, 12:39:10 "selinux-enabled": true, 12:39:10 "seccomp-profile": "/etc/docker/seccomp.json" 12:39:10 } [Pipeline] sh 12:39:10 2f39f015ded8: Verifying Checksum 12:39:10 2f39f015ded8: Download complete 12:39:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:39:10 + sudo service docker restart 12:39:11 5eb5b503b376: Pull complete 12:39:11 5c69ac0246d0: Pull complete 12:39:11 ec43610c2a17: Pull complete 12:39:11 3a2ae6a8a46f: Pull complete 12:39:12 33b1e0a273af: Pull complete 12:39:12 5d3b04190fa2: Pull complete 12:39:17 2f39f015ded8: Pull complete 12:39:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:39:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:39:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:39:17 prd-ubuntu20.04-docker-8c-8g-1506 does not seem to be running inside a container 12:39:17 $ 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-643 -v /w/workspace/_app-service-configurable_PR-643:/w/workspace/_app-service-configurable_PR-643:rw,z -v /w/workspace/_app-service-configurable_PR-643@tmp:/w/workspace/_app-service-configurable_PR-643@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:39:22 $ docker top f299b5dce4a0c9165457e13ab610d47c284a39779b1bb6022681d317afaa21a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:39:23 ---> job-cost.sh 12:39:23 lf-activate-venv: SKIPPING 12:39:23 INFO: No Stack... 12:39:23 INFO: Retrieving Pricing Info for: v3-standard-8 12:39:23 INFO: Archiving Costs [Pipeline] sh 12:39:24 + cat /w/workspace/_app-service-configurable_PR-643/archives/cost.csv 12:39:24 + cut -d, -f6 [Pipeline] lock 12:39:24 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-643-1-stack-cost] 12:39:24 Resource [jenkins-edgexfoundry-app-service-configurable-PR-643-1-stack-cost] did not exist. Created. 12:39:24 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-643-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:39:24 + echo total: 0.2199999988079071 [Pipeline] stash 12:39:24 Stashed 1 file(s) [Pipeline] } 12:39:24 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-643-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:39:25 $ docker stop --time=1 f299b5dce4a0c9165457e13ab610d47c284a39779b1bb6022681d317afaa21a9 12:39:26 $ docker rm -f --volumes f299b5dce4a0c9165457e13ab610d47c284a39779b1bb6022681d317afaa21a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:39:29 provisioning config files... 12:39:29 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config943193902055290721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:39:30 ---> ****-login.sh 12:39:30 nexus3.edgexfoundry.org:10001 12:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:39:30 Configure a credential helper to remove this warning. See 12:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:39:30 12:39:30 Login Succeeded 12:39:30 nexus3.edgexfoundry.org:10002 12:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:39:31 Configure a credential helper to remove this warning. See 12:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:39:31 12:39:31 Login Succeeded 12:39:31 nexus3.edgexfoundry.org:10003 12:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:39:31 Configure a credential helper to remove this warning. See 12:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:39:31 12:39:31 Login Succeeded 12:39:31 nexus3.edgexfoundry.org:10004 12:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:39:31 Configure a credential helper to remove this warning. See 12:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:39:31 12:39:31 Login Succeeded 12:39:31 ****.io 12:39:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:39:32 Configure a credential helper to remove this warning. See 12:39:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:39:32 12:39:32 Login Succeeded 12:39:32 ---> ****-login.sh ends [Pipeline] } 12:39:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:39:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:39:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:39:33 ========================================================= 12:39:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:39:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:39:33 Sending build context to Docker daemon 158.7kB 12:39:34 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:39:34 Step 2/12 : FROM ${BASE} AS builder 12:39:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:39:34 9fda8d8052c6: Pulling fs layer 12:39:34 5d54e960e981: Pulling fs layer 12:39:34 c4a7e357bf2a: Pulling fs layer 12:39:34 f0e02332f6b5: Pulling fs layer 12:39:34 872ee5b61b7b: Pulling fs layer 12:39:34 0c6a40ed1a82: Pulling fs layer 12:39:34 94ae7d8d031c: Pulling fs layer 12:39:34 872ee5b61b7b: Waiting 12:39:34 0c6a40ed1a82: Waiting 12:39:34 94ae7d8d031c: Waiting 12:39:34 f0e02332f6b5: Waiting 12:39:34 5d54e960e981: Verifying Checksum 12:39:34 5d54e960e981: Download complete 12:39:34 f0e02332f6b5: Verifying Checksum 12:39:34 f0e02332f6b5: Download complete 12:39:34 872ee5b61b7b: Verifying Checksum 12:39:34 872ee5b61b7b: Download complete 12:39:34 94ae7d8d031c: Verifying Checksum 12:39:34 94ae7d8d031c: Download complete 12:39:35 9fda8d8052c6: Pull complete 12:39:35 5d54e960e981: Pull complete 12:39:36 c4a7e357bf2a: Verifying Checksum 12:39:36 c4a7e357bf2a: Download complete 12:39:37 0c6a40ed1a82: Verifying Checksum 12:39:37 0c6a40ed1a82: Download complete 12:39:49 c4a7e357bf2a: Pull complete 12:39:49 f0e02332f6b5: Pull complete 12:39:49 872ee5b61b7b: Pull complete 12:39:58 0c6a40ed1a82: Pull complete 12:40:01 94ae7d8d031c: Pull complete 12:40:01 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:40:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:40:01 ---> 86de565de09d 12:40:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:40:01 ---> Running in cbedb4708272 12:40:02 Removing intermediate container cbedb4708272 12:40:02 ---> 12e9945558d2 12:40:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:40:02 ---> Running in 5603861fab45 12:40:02 Removing intermediate container 5603861fab45 12:40:02 ---> bb2c71ab2f56 12:40:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:40:02 ---> Running in 464657c846cc 12:40:02 Removing intermediate container 464657c846cc 12:40:02 ---> 5bd780815670 12:40:02 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:40:02 ---> Running in 5b673ac2111c 12:40:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:40:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:40:05 OK: 266 MiB in 52 packages 12:40:06 Removing intermediate container 5b673ac2111c 12:40:06 ---> 47c4e2c65822 12:40:06 Step 7/12 : WORKDIR /app 12:40:06 ---> Running in 19c7d0089c98 12:40:06 Removing intermediate container 19c7d0089c98 12:40:06 ---> c6b710dba33f 12:40:06 Step 8/12 : COPY go.mod vendor* ./ 12:40:07 ---> df3672791531 12:40:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:40:07 ---> Running in bcf835ee2cdb 12:41:03 Removing intermediate container bcf835ee2cdb 12:41:03 ---> a8f89a735aa0 12:41:03 Step 10/12 : COPY . . 12:41:03 ---> ac50d05c6d42 12:41:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:41:03 ---> Running in d8c4c65c6fd9 12:41:03 Removing intermediate container d8c4c65c6fd9 12:41:03 ---> 99964abdb6f8 12:41:03 Step 12/12 : RUN $MAKE 12:41:03 ---> Running in 1b72e0210d9f 12:41:04 noop 12:41:05 Removing intermediate container 1b72e0210d9f 12:41:05 ---> 92334ab15ce1 12:41:05 Successfully built 92334ab15ce1 12:41:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:05 + docker inspect -f . ci-base-image-arm64 12:41:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:06 prd-ubuntu20.04-docker-arm64-4c-16g-1507 does not seem to be running inside a container 12:41:06 $ 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 ******** ci-base-image-arm64 cat 12:41:07 $ docker top f52da6e7d408b7748fc72354a7bd867efd596d9b30d2d3469dddd736ab461daf -eo pid,comm [Pipeline] { [Pipeline] sh 12:41:08 + go version 12:41:08 go version go1.21.0 linux/arm64 [Pipeline] } 12:41:08 $ docker stop --time=1 f52da6e7d408b7748fc72354a7bd867efd596d9b30d2d3469dddd736ab461daf 12:41:09 $ docker rm -f --volumes f52da6e7d408b7748fc72354a7bd867efd596d9b30d2d3469dddd736ab461daf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:11 + docker inspect -f . ci-base-image-arm64 12:41:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:11 prd-ubuntu20.04-docker-arm64-4c-16g-1507 does not seem to be running inside a container 12:41:11 $ 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 ******** ci-base-image-arm64 cat 12:41:13 $ docker top 6f40003ba878ff8f8f772412a7228b45b62a5e4b5515e12d538ff3e99f3f2eeb -eo pid,comm [Pipeline] { [Pipeline] sh 12:41:14 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:41:15 + make test 12:41:15 go test -race -coverprofile=coverage.out ./... 12:43:22 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:43:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:43:22 go vet ./... 12:45:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:45:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:45:28 ./bin/test-attribution-txt.sh 12:45:28 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:45:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:45:29 $ docker stop --time=1 6f40003ba878ff8f8f772412a7228b45b62a5e4b5515e12d538ff3e99f3f2eeb 12:45:30 $ docker rm -f --volumes 6f40003ba878ff8f8f772412a7228b45b62a5e4b5515e12d538ff3e99f3f2eeb [Pipeline] // withDockerContainer [Pipeline] sh 12:45:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:45:32 Warning: overwriting stash ‘coverage-report’ 12:45:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:45:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:45:34 + ls -al . 12:45:34 total 180 12:45:34 drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 12:41 . 12:45:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 12:39 .. 12:45:34 -rw-rw-r-- 1 jenkins jenkins 119 Feb 22 12:39 .dockerignore 12:45:34 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 12:39 .git 12:45:34 drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 12:39 .github 12:45:34 -rw-rw-r-- 1 jenkins jenkins 106 Feb 22 12:39 .gitignore 12:45:34 -rw-rw-r-- 1 jenkins jenkins 41 Feb 22 12:39 .golangci.yml 12:45:34 -rw-rw-r-- 1 jenkins jenkins 10394 Feb 22 12:39 Attribution.txt 12:45:34 -rw-rw-r-- 1 jenkins jenkins 37263 Feb 22 12:39 CHANGELOG.md 12:45:34 -rw-rw-r-- 1 jenkins jenkins 2007 Feb 22 12:39 Dockerfile 12:45:34 -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 12:39 GOVERNANCE.md 12:45:34 -rw-rw-r-- 1 jenkins jenkins 666 Feb 22 12:39 Jenkinsfile 12:45:34 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 22 12:39 LICENSE 12:45:34 -rw-rw-r-- 1 jenkins jenkins 618 Feb 22 12:39 OWNERS.md 12:45:34 -rw-rw-r-- 1 jenkins jenkins 4582 Feb 22 12:39 README.md 12:45:34 -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 12:36 VERSION 12:45:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 12:39 bin 12:45:34 -rw-r--r-- 1 jenkins jenkins 13 Feb 22 12:41 coverage.out 12:45:34 -rw-rw-r-- 1 jenkins jenkins 3776 Feb 22 12:39 go.mod 12:45:34 -rw-rw-r-- 1 jenkins jenkins 34159 Feb 22 12:39 go.sum 12:45:34 -rw-rw-r-- 1 jenkins jenkins 1937 Feb 22 12:39 main.go 12:45:34 -rw-rw-r-- 1 jenkins jenkins 2572 Feb 22 12:39 makefile 12:45:34 drwxrwxr-x 9 jenkins jenkins 4096 Feb 22 12:39 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:34 + 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=b30093497f96adbb9945956d6c6bd04ae0b99e33 --label arch=arm64 --label version=0.0.0 . 12:45:34 Sending build context to Docker daemon 159.7kB 12:45:34 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:45:34 Step 2/27 : FROM ${BASE} AS builder 12:45:34 ---> 92334ab15ce1 12:45:34 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:45:34 ---> Running in 69059bdb071e 12:45:35 Removing intermediate container 69059bdb071e 12:45:35 ---> 3cd285c0c490 12:45:35 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:45:35 ---> Running in 8e8bf8c38b63 12:45:35 Removing intermediate container 8e8bf8c38b63 12:45:35 ---> 6fee0c5ddcb7 12:45:35 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:45:35 ---> Running in 2488c46fda67 12:45:36 Removing intermediate container 2488c46fda67 12:45:36 ---> 43f23254fc05 12:45:36 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:45:36 ---> Running in 6ccc87941d3c 12:45:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:45:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:45:38 OK: 266 MiB in 52 packages 12:45:39 Removing intermediate container 6ccc87941d3c 12:45:39 ---> cfde88fbc8ee 12:45:39 Step 7/27 : WORKDIR /app 12:45:39 ---> Running in 146aab053d4f 12:45:39 Removing intermediate container 146aab053d4f 12:45:39 ---> 66e2ea59c564 12:45:39 Step 8/27 : COPY go.mod vendor* ./ 12:45:40 ---> 92ed1b248efd 12:45:40 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:45:40 ---> Running in 0022f9973f41 12:45:42 Removing intermediate container 0022f9973f41 12:45:42 ---> 46935622ad5d 12:45:42 Step 10/27 : COPY . . 12:45:42 ---> 0f757671d49d 12:45:42 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:45:42 ---> Running in 20933e923197 12:45:43 Removing intermediate container 20933e923197 12:45:43 ---> fad671897d78 12:45:43 Step 12/27 : RUN $MAKE 12:45:43 ---> Running in a03fddc08909 12:45:44 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.22 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:47:36 Removing intermediate container a03fddc08909 12:47:36 ---> 5abea0cc50c7 12:47:36 Step 13/27 : FROM alpine:3.18 12:47:36 3.18: Pulling from library/alpine 12:47:36 c6b39de5b339: Pulling fs layer 12:47:36 c6b39de5b339: Verifying Checksum 12:47:36 c6b39de5b339: Download complete 12:47:36 c6b39de5b339: Pull complete 12:47:36 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:47:36 Status: Downloaded newer image for alpine:3.18 12:47:36 ---> 33abbf032149 12:47:36 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:47:36 ---> Running in 31fc76305324 12:47:36 Removing intermediate container 31fc76305324 12:47:36 ---> 8e507e0f0120 12:47:36 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:47:36 ---> Running in ea1c0cd4e02f 12:47:36 Removing intermediate container ea1c0cd4e02f 12:47:36 ---> 5b76742029b2 12:47:36 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:47:36 ---> Running in a06b0624637a 12:47:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:47:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:47:36 (1/2) Installing ca-certificates (20230506-r0) 12:47:36 (2/2) Installing dumb-init (1.2.5-r2) 12:47:36 Executing busybox-1.36.1-r5.trigger 12:47:36 Executing ca-certificates-20230506-r0.trigger 12:47:36 OK: 9 MiB in 17 packages 12:47:36 Removing intermediate container a06b0624637a 12:47:36 ---> c78b0a746ba7 12:47:36 Step 17/27 : RUN apk --no-cache upgrade 12:47:36 ---> Running in 9de8b80ee782 12:47:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:47:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:47:36 OK: 9 MiB in 17 packages 12:47:36 Removing intermediate container 9de8b80ee782 12:47:36 ---> 148a4616308e 12:47:36 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:47:36 ---> ad9af58cde20 12:47:36 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:47:37 ---> bcde3ffcbd13 12:47:37 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:47:38 ---> d68d6fe1def5 12:47:38 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:47:39 ---> c48ca5322233 12:47:39 Step 22/27 : EXPOSE 48095 12:47:39 ---> Running in 27c86dba3d97 12:47:39 Removing intermediate container 27c86dba3d97 12:47:39 ---> a5a54f3573ef 12:47:39 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:47:39 ---> Running in 0ca65e9a888f 12:47:39 Removing intermediate container 0ca65e9a888f 12:47:39 ---> cbf17633bbfc 12:47:39 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:47:39 ---> Running in 4dec93e349cb 12:47:40 Removing intermediate container 4dec93e349cb 12:47:40 ---> 894a436caded 12:47:40 Step 25/27 : LABEL arch=arm64 12:47:40 ---> Running in a4cb11ae9baa 12:47:40 Removing intermediate container a4cb11ae9baa 12:47:40 ---> 566aa845c030 12:47:40 Step 26/27 : LABEL git_sha=b30093497f96adbb9945956d6c6bd04ae0b99e33 12:47:40 ---> Running in 3fdb4f7a686c 12:47:41 Removing intermediate container 3fdb4f7a686c 12:47:41 ---> 66ead049d086 12:47:41 Step 27/27 : LABEL version=0.0.0 12:47:41 ---> Running in 3ce1de1fcd49 12:47:41 Removing intermediate container 3ce1de1fcd49 12:47:41 ---> 92a3f93594c2 12:47:41 [Warning] One or more build-args [ARCH] were not consumed 12:47:41 Successfully built 92a3f93594c2 12:47:41 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:47:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:47:42 12:47:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:47:43 arm64: Pulling from edgex-lftools-log-publisher 12:47:43 8998bd30e6a1: Pulling fs layer 12:47:43 04944245beec: Pulling fs layer 12:47:43 699f458cf7ca: Pulling fs layer 12:47:43 765212b225bb: Pulling fs layer 12:47:43 f23df028b6ca: Pulling fs layer 12:47:43 d65c8cfc05b1: Pulling fs layer 12:47:43 2437ff75d9bd: Pulling fs layer 12:47:43 765212b225bb: Waiting 12:47:43 f23df028b6ca: Waiting 12:47:43 d65c8cfc05b1: Waiting 12:47:43 2437ff75d9bd: Waiting 12:47:43 04944245beec: Verifying Checksum 12:47:43 04944245beec: Download complete 12:47:43 765212b225bb: Verifying Checksum 12:47:43 765212b225bb: Download complete 12:47:43 f23df028b6ca: Download complete 12:47:43 d65c8cfc05b1: Verifying Checksum 12:47:43 d65c8cfc05b1: Download complete 12:47:43 699f458cf7ca: Verifying Checksum 12:47:43 699f458cf7ca: Download complete 12:47:43 8998bd30e6a1: Verifying Checksum 12:47:43 8998bd30e6a1: Download complete 12:47:46 2437ff75d9bd: Verifying Checksum 12:47:46 2437ff75d9bd: Download complete 12:47:48 8998bd30e6a1: Pull complete 12:47:49 04944245beec: Pull complete 12:47:50 699f458cf7ca: Pull complete 12:47:50 765212b225bb: Pull complete 12:47:51 f23df028b6ca: Pull complete 12:47:51 d65c8cfc05b1: Pull complete 12:48:10 2437ff75d9bd: Pull complete 12:48:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:48:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:48:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:48:10 prd-ubuntu20.04-docker-arm64-4c-16g-1507 does not seem to be running inside a container 12:48:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:48:13 $ docker top 4194042b045fa9b6989a519e87f04dda9d3e86fe97554bed5883098550715900 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:14 ---> job-cost.sh 12:48:14 lf-activate-venv: SKIPPING 12:48:14 INFO: No Stack... 12:48:14 INFO: Retrieving Pricing Info for: v3-standard-4 12:48:15 INFO: Archiving Costs [Pipeline] sh 12:48:16 + cut -d, -f6 12:48:16 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:48:16 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-643-1-stack-cost] 12:48:16 Resource [jenkins-edgexfoundry-app-service-configurable-PR-643-1-stack-cost] did not exist. Created. 12:48:16 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-643-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:48:16 /w/workspace/app-service-configurable/1@tmp/durable-4058b4e3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:48:17 + echo total: 0.10999999940395355 [Pipeline] stash 12:48:17 Warning: overwriting stash ‘stack-cost’ 12:48:17 Stashed 1 file(s) [Pipeline] } 12:48:17 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-643-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:48:17 $ docker stop --time=1 4194042b045fa9b6989a519e87f04dda9d3e86fe97554bed5883098550715900 12:48:19 $ docker rm -f --volumes 4194042b045fa9b6989a519e87f04dda9d3e86fe97554bed5883098550715900 [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:48:23 provisioning config files... 12:48:23 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-643@tmp/config8132108047088604416tmp [Pipeline] { [Pipeline] sh 12:48:25 + set +x 12:48:25 + curl -s https://codecov.io/bash 12:48:25 + bash -s -- 12:48:25 12:48:25 _____ _ 12:48:25 / ____| | | 12:48:25 | | ___ __| | ___ ___ _____ __ 12:48:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:48:25 | |___| (_) | (_| | __/ (_| (_) \ V / 12:48:25 \_____\___/ \__,_|\___|\___\___/ \_/ 12:48:25 Bash-1.0.6 12:48:25 12:48:25 12:48:25 ==> git version 2.25.1 found 12:48:25 ==> 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:48:25 Release-Date: 2020-01-08 12:48:25 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:48:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:48:25 ==> Jenkins CI detected. 12:48:25 current dir:  /w/workspace/_app-service-configurable_PR-643 12:48:25 project root: . 12:48:25 --> token set from env 12:48:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:48:25 ==> Running gcov in . (disable via -X gcov) 12:48:25 ==> Python coveragepy not found 12:48:25 ==> Searching for coverage reports in: 12:48:25 + . 12:48:25 -> Found 1 reports 12:48:25 ==> Detecting git/mercurial file structure 12:48:25 ==> Reading reports 12:48:25 + ./coverage.out bytes=13 12:48:25 ==> Appending adjustments 12:48:25 https://docs.codecov.io/docs/fixing-reports 12:48:26 + Found adjustments 12:48:26 ==> Gzipping contents 12:48:26 4.0K /tmp/codecov.SLbJDV.gz 12:48:26 ==> Uploading reports 12:48:26 url: https://codecov.io 12:48:26 query: branch=PR-643&commit=b30093497f96adbb9945956d6c6bd04ae0b99e33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-643%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=643&job=&cmd_args= 12:48:26 -> Pinging Codecov 12:48:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-643&commit=b30093497f96adbb9945956d6c6bd04ae0b99e33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-643%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=643&job=&cmd_args= 12:48:26 -> Uploading to 12:48:26 https://storage.googleapis.com/codecov/v4/raw/2024-02-22/A97CA9966030D2A3747ED39772930CCE/b30093497f96adbb9945956d6c6bd04ae0b99e33/b4bb852e-1206-4e79-b5d2-2be208d98e84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240222T124826Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7eae592047096b26a62e2157649c3df7a1a3abea7a95ba01a6b269e44c9388d 12:48:26 % Total % Received % Xferd Average Speed Time Time Time Current 12:48:26 Dload Upload Total Spent Left Speed 12:48:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 924 --:--:-- --:--:-- --:--:-- 924 12:48:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/b30093497f96adbb9945956d6c6bd04ae0b99e33 [Pipeline] } 12:48:26 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:48:29 + [ -d /w/workspace/_app-service-configurable_PR-643/archives ] 12:48:29 + ls -al /w/workspace/_app-service-configurable_PR-643/archives 12:48:29 total 16 12:48:29 drwxr-xr-x 3 root root 4096 Feb 22 12:39 . 12:48:29 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 12:39 .. 12:48:29 drwxr-xr-x 2 root root 4096 Feb 22 12:39 cost 12:48:29 -rw-r--r-- 1 root root 96 Feb 22 12:39 cost.csv 12:48:29 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-643/archives 12:48:29 + ls -al /w/workspace/_app-service-configurable_PR-643/archives 12:48:29 total 16 12:48:29 drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 12:39 . 12:48:29 drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 12:39 .. 12:48:29 drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 12:39 cost 12:48:29 -rw-r--r-- 1 jenkins jenkins 96 Feb 22 12:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:48:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:48:31 ---> package-listing.sh 12:48:31 ++ facter osfamily 12:48:31 ++ tr '[:upper:]' '[:lower:]' 12:48:31 + OS_FAMILY=debian 12:48:31 + workspace=/w/workspace/_app-service-configurable_PR-643 12:48:31 + START_PACKAGES=/tmp/packages_start.txt 12:48:31 + END_PACKAGES=/tmp/packages_end.txt 12:48:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:48:31 + PACKAGES=/tmp/packages_start.txt 12:48:31 + '[' /w/workspace/_app-service-configurable_PR-643 ']' 12:48:31 + PACKAGES=/tmp/packages_end.txt 12:48:31 + case "${OS_FAMILY}" in 12:48:31 + dpkg -l 12:48:31 + grep '^ii' 12:48:31 + '[' -f /tmp/packages_start.txt ']' 12:48:31 + '[' -f /tmp/packages_end.txt ']' 12:48:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:48:31 + '[' /w/workspace/_app-service-configurable_PR-643 ']' 12:48:31 + mkdir -p /w/workspace/_app-service-configurable_PR-643/archives/ 12:48:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-643/archives/ [Pipeline] echo 12:48:31 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-643/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:48:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:48:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:48:32 prd-ubuntu20.04-docker-8c-8g-1506 does not seem to be running inside a container 12:48:32 $ 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-643/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-643 -v /w/workspace/_app-service-configurable_PR-643:/w/workspace/_app-service-configurable_PR-643:rw,z -v /w/workspace/_app-service-configurable_PR-643@tmp:/w/workspace/_app-service-configurable_PR-643@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:48:32 $ docker top 0d9f9ef002e449e8e6829e12b679bca471ee415f485fe299522cc25561d0aa66 -eo pid,comm [Pipeline] { [Pipeline] sh 12:48:33 + touch /tmp/pre-build-complete [Pipeline] sh 12:48:33 + mkdir -p /var/log/sysstat [Pipeline] sh 12:48:34 + ls /var/log/sa-host 12:48:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:48:34 provisioning config files... 12:48:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-643@tmp/config10224376028871253381tmp [Pipeline] { [Pipeline] echo 12:48:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:48:34 ---> create-netrc.sh [Pipeline] } 12:48:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:48:35 ---> python-tools-install.sh [Pipeline] echo 12:48:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:48:35 ---> sudo-logs.sh 12:48:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:48:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:48:36 ---> job-cost.sh 12:48:36 lf-activate-venv: SKIPPING 12:48:36 DEBUG: total: 0.2199999988079071 12:48:36 INFO: Retrieving Stack Cost... 12:48:36 INFO: Retrieving Pricing Info for: v3-standard-8 12:48:36 INFO: Archiving Costs [Pipeline] echo 12:48:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:48:37 ---> logs-deploy.sh 12:48:37 lf-activate-venv: SKIPPING 12:48:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-643/1 12:48:37 INFO: archiving workspace using pattern(s): 12:48:38 Archives upload complete. 12:48:38 INFO: archiving logs to Nexus