Pull request #640 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b0a508d53b87b78f80acc5018f03d68440d3af86+c387f8d8248c2e23c26c5a451cea17ce39badd4b (6c5ffe3bc69698684afc48717354527f0c4e94bd) 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-ssh18325453185707161937.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-ssh15134590903669582638.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-640/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-640/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh152232864282614080.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-640/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2337781522877103437.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-ssh12807059892334028450.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-640/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-640/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16520049093773686934.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-531 in /w/workspace/_app-service-configurable_PR-640 [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-640 # 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 Merging remotes/origin/main commit c387f8d8248c2e23c26c5a451cea17ce39badd4b into PR head commit b0a508d53b87b78f80acc5018f03d68440d3af86 Merge succeeded, producing b0a508d53b87b78f80acc5018f03d68440d3af86 Checking out Revision b0a508d53b87b78f80acc5018f03d68440d3af86 (PR-640) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/640/head:refs/remotes/origin/PR-640 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0a508d53b87b78f80acc5018f03d68440d3af86 # 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 c387f8d8248c2e23c26c5a451cea17ce39badd4b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0a508d53b87b78f80acc5018f03d68440d3af86 # timeout=10 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:03:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:03:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:03:03 ========================================================= 12:03:03 EdgeX Global Pipelines Version Info 12:03:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:03:04 ------------------- 12:03:04 stable info: 12:03:04 ------------------- 12:03:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:03:04 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:03:04 Message: update stable to v1.0.258 12:03:05 ------------------- 12:03:05 experimental info: 12:03:05 ------------------- 12:03:05 Commited By: **** collab-it+edgex@linuxfoundation.org 12:03:05 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:03:05 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:03:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:03:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:03:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:03:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:03:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:03:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-640 [Pipeline] echo 12:03:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-640 [Pipeline] echo 12:03:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-640 [Pipeline] echo 12:03:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0a508d53b87b78f80acc5018f03d68440d3af86 [Pipeline] echo 12:03:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0a508d [Pipeline] echo 12:03:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:07 provisioning config files... 12:03:07 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-640@tmp/config13015552979248403945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:08 ---> ****-login.sh 12:03:08 nexus3.edgexfoundry.org:10001 12:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:08 Configure a credential helper to remove this warning. See 12:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:08 12:03:08 Login Succeeded 12:03:08 nexus3.edgexfoundry.org:10002 12:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:08 Configure a credential helper to remove this warning. See 12:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:08 12:03:08 Login Succeeded 12:03:08 nexus3.edgexfoundry.org:10003 12:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:08 Configure a credential helper to remove this warning. See 12:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:08 12:03:08 Login Succeeded 12:03:08 nexus3.edgexfoundry.org:10004 12:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:09 Configure a credential helper to remove this warning. See 12:03:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:09 12:03:09 Login Succeeded 12:03:09 ****.io 12:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:09 Configure a credential helper to remove this warning. See 12:03:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:09 12:03:09 Login Succeeded 12:03:09 ---> ****-login.sh ends [Pipeline] } 12:03:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:03:10 + git rev-list -1 --merges b0a508d53b87b78f80acc5018f03d68440d3af86~1..b0a508d53b87b78f80acc5018f03d68440d3af86 [Pipeline] echo 12:03:10 -----------> git rev-list -1 --merges b0a508d53b87b78f80acc5018f03d68440d3af86~1..b0a508d53b87b78f80acc5018f03d68440d3af86 b0a508d53b87b78f80acc5018f03d68440d3af86 [false] [Pipeline] sh 12:03:10 + git log --format=format:%s -1 b0a508d53b87b78f80acc5018f03d68440d3af86 [Pipeline] echo 12:03:10 ========================================================= 12:03:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:03:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:03:11 + git log --format=format:%s -1 b0a508d53b87b78f80acc5018f03d68440d3af86 [Pipeline] echo 12:03:11 [semverPrep] GIT_COMMIT: b0a508d53b87b78f80acc5018f03d68440d3af86, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:03:11 [semverPrep] This is not a build commit. [Pipeline] sh 12:03:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:03:11 + grep -v github /etc/ssh/ssh_known_hosts 12:03:11 + [ -e /tmp/ssh_known_hosts ] 12:03:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:03:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:03:11 + sudo tee -a /etc/ssh/ssh_known_hosts 12:03:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:03:12 12:03:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:03:12 0.1.4: Pulling from edgex-devops/py-git-semver 12:03:12 b85a868b505f: Pulling fs layer 12:03:12 e2be974225ed: Pulling fs layer 12:03:12 339a4e72a1f5: Pulling fs layer 12:03:12 988bab9f4d93: Pulling fs layer 12:03:12 1469e6f7b9e6: Pulling fs layer 12:03:12 eaf3925da568: Pulling fs layer 12:03:12 bab4dde63d76: Pulling fs layer 12:03:12 bde34c3a00c8: Pulling fs layer 12:03:12 b352a97aabf1: Pulling fs layer 12:03:12 4872d77fe225: Pulling fs layer 12:03:12 5851b861e8e6: Pulling fs layer 12:03:12 1469e6f7b9e6: Waiting 12:03:12 b352a97aabf1: Waiting 12:03:12 eaf3925da568: Waiting 12:03:12 4872d77fe225: Waiting 12:03:12 bab4dde63d76: Waiting 12:03:12 5851b861e8e6: Waiting 12:03:12 bde34c3a00c8: Waiting 12:03:12 988bab9f4d93: Waiting 12:03:12 e2be974225ed: Download complete 12:03:12 988bab9f4d93: Verifying Checksum 12:03:12 988bab9f4d93: Download complete 12:03:13 1469e6f7b9e6: Verifying Checksum 12:03:13 1469e6f7b9e6: Download complete 12:03:13 339a4e72a1f5: Verifying Checksum 12:03:13 339a4e72a1f5: Download complete 12:03:13 eaf3925da568: Verifying Checksum 12:03:13 eaf3925da568: Download complete 12:03:13 bde34c3a00c8: Verifying Checksum 12:03:13 bde34c3a00c8: Download complete 12:03:13 b352a97aabf1: Verifying Checksum 12:03:13 b352a97aabf1: Download complete 12:03:13 4872d77fe225: Verifying Checksum 12:03:13 4872d77fe225: Download complete 12:03:13 5851b861e8e6: Verifying Checksum 12:03:13 5851b861e8e6: Download complete 12:03:13 b85a868b505f: Verifying Checksum 12:03:13 b85a868b505f: Download complete 12:03:13 bab4dde63d76: Verifying Checksum 12:03:13 bab4dde63d76: Download complete 12:03:15 b85a868b505f: Pull complete 12:03:15 e2be974225ed: Pull complete 12:03:16 339a4e72a1f5: Pull complete 12:03:17 988bab9f4d93: Pull complete 12:03:18 1469e6f7b9e6: Pull complete 12:03:19 eaf3925da568: Pull complete 12:03:21 bab4dde63d76: Pull complete 12:03:21 bde34c3a00c8: Pull complete 12:03:22 b352a97aabf1: Pull complete 12:03:22 4872d77fe225: Pull complete 12:03:22 5851b861e8e6: Pull complete 12:03:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:03:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:03:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:22 prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container 12:03:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-640 -v /w/workspace/_app-service-configurable_PR-640:/w/workspace/_app-service-configurable_PR-640:rw,z -v /w/workspace/_app-service-configurable_PR-640@tmp:/w/workspace/_app-service-configurable_PR-640@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:03:29 $ docker top 27752523ae31cbbf78a06f91d10973e5ac384308a0190887e8580e498a6a102c -eo pid,comm 12:03:29 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:03:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:03:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:03:30 [ssh-agent] Looking for ssh-agent implementation... 12:03:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:03:30 $ docker exec 27752523ae31cbbf78a06f91d10973e5ac384308a0190887e8580e498a6a102c ssh-agent 12:03:30 SSH_AUTH_SOCK=/tmp/ssh-n6k93u0Lddfu/agent.32 12:03:30 SSH_AGENT_PID=38 12:03:30 Running ssh-add (command line suppressed) 12:03:30 Identity added: /w/workspace/_app-service-configurable_PR-640@tmp/private_key_6203594600404840736.key (/w/workspace/_app-service-configurable_PR-640@tmp/private_key_6203594600404840736.key) 12:03:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:03:30 + git tag --points-at HEAD [Pipeline] } 12:03:30 $ docker exec --env ******** --env ******** 27752523ae31cbbf78a06f91d10973e5ac384308a0190887e8580e498a6a102c ssh-agent -k 12:03:30 unset SSH_AUTH_SOCK; 12:03:30 unset SSH_AGENT_PID; 12:03:30 echo Agent pid 38 killed; 12:03:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:03:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:03:31 [ssh-agent] Looking for ssh-agent implementation... 12:03:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:03:31 $ docker exec 27752523ae31cbbf78a06f91d10973e5ac384308a0190887e8580e498a6a102c ssh-agent 12:03:31 SSH_AUTH_SOCK=/tmp/ssh-PqZrjSQWArdA/agent.70 12:03:31 SSH_AGENT_PID=76 12:03:31 Running ssh-add (command line suppressed) 12:03:31 Identity added: /w/workspace/_app-service-configurable_PR-640@tmp/private_key_9464783071436982959.key (/w/workspace/_app-service-configurable_PR-640@tmp/private_key_9464783071436982959.key) 12:03:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:03:31 + git semver init 12:03:32 2024-02-06 12:03:31,983 [run_init] DEBUG init version:0.0.0 force:False 12:03:32 2024-02-06 12:03:31,984 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-640/.semver 12:03:32 2024-02-06 12:03:31,984 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-640/.semver 12:03:32 2024-02-06 12:03:31,984 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-640/.semver'], cwd=/w/workspace/_app-service-configurable_PR-640, universal_newlines=False, shell=None, istream=None) 12:03:33 2024-02-06 12:03:33,299 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-640/.git/info/exclude 12:03:33 2024-02-06 12:03:33,299 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-640/.semver/PR-640 with force:False 12:03:33 2024-02-06 12:03:33,299 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-640/.semver/PR-640 12:03:33 2024-02-06 12:03:33,304 [execute] INFO git cat-file --batch-check 12:03:33 2024-02-06 12:03:33,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-640/.semver, universal_newlines=False, shell=None, istream=) 12:03:33 2024-02-06 12:03:33,310 [execute] INFO git cat-file --batch 12:03:33 2024-02-06 12:03:33,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-640/.semver, universal_newlines=False, shell=None, istream=) 12:03:33 2024-02-06 12:03:33,314 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-640/.semver/PR-640 12:03:33 0.0.0 [Pipeline] } 12:03:33 $ docker exec --env ******** --env ******** 27752523ae31cbbf78a06f91d10973e5ac384308a0190887e8580e498a6a102c ssh-agent -k 12:03:33 unset SSH_AUTH_SOCK; 12:03:33 unset SSH_AGENT_PID; 12:03:33 echo Agent pid 76 killed; 12:03:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:03:34 + git semver [Pipeline] } 12:03:34 $ docker stop --time=1 27752523ae31cbbf78a06f91d10973e5ac384308a0190887e8580e498a6a102c 12:03:35 $ docker rm -f --volumes 27752523ae31cbbf78a06f91d10973e5ac384308a0190887e8580e498a6a102c [Pipeline] // withDockerContainer [Pipeline] sh 12:03:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:03:36 Stashed 1 file(s) [Pipeline] echo 12:03:36 [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:03:37 provisioning config files... 12:03:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-640@tmp/config6136064710714506225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:38 ---> ****-login.sh 12:03:38 nexus3.edgexfoundry.org:10001 12:03:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:38 Configure a credential helper to remove this warning. See 12:03:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:38 12:03:38 Login Succeeded 12:03:38 nexus3.edgexfoundry.org:10002 12:03:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:38 Configure a credential helper to remove this warning. See 12:03:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:38 12:03:38 Login Succeeded 12:03:38 nexus3.edgexfoundry.org:10003 12:03:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:38 Configure a credential helper to remove this warning. See 12:03:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:38 12:03:38 Login Succeeded 12:03:38 nexus3.edgexfoundry.org:10004 12:03:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:38 Configure a credential helper to remove this warning. See 12:03:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:38 12:03:38 Login Succeeded 12:03:38 ****.io 12:03:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:03:38 Configure a credential helper to remove this warning. See 12:03:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:03:38 12:03:38 Login Succeeded 12:03:38 ---> ****-login.sh ends [Pipeline] } 12:03:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:03:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:03:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:03:39 ========================================================= 12:03:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:03:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:40 + 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:03:40 Sending build context to Docker daemon 8.786MB 12:03:40 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:03:40 Step 2/12 : FROM ${BASE} AS builder 12:03:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:03:40 7264a8db6415: Pulling fs layer 12:03:40 c4d48a809fc2: Pulling fs layer 12:03:40 4f1c88b9dad5: Pulling fs layer 12:03:40 ad3a456e5733: Pulling fs layer 12:03:40 69c7f0334f64: Pulling fs layer 12:03:40 1f1c1a5573a3: Pulling fs layer 12:03:40 ce7588e14bc9: Pulling fs layer 12:03:40 b5e4710f87ac: Pulling fs layer 12:03:40 ce7588e14bc9: Waiting 12:03:40 ad3a456e5733: Waiting 12:03:40 b5e4710f87ac: Waiting 12:03:40 69c7f0334f64: Waiting 12:03:40 1f1c1a5573a3: Waiting 12:03:40 c4d48a809fc2: Download complete 12:03:40 ad3a456e5733: Download complete 12:03:40 69c7f0334f64: Verifying Checksum 12:03:40 69c7f0334f64: Download complete 12:03:40 7264a8db6415: Verifying Checksum 12:03:40 7264a8db6415: Download complete 12:03:40 1f1c1a5573a3: Verifying Checksum 12:03:40 1f1c1a5573a3: Download complete 12:03:40 b5e4710f87ac: Verifying Checksum 12:03:40 b5e4710f87ac: Download complete 12:03:40 7264a8db6415: Pull complete 12:03:41 4f1c88b9dad5: Verifying Checksum 12:03:41 4f1c88b9dad5: Download complete 12:03:41 c4d48a809fc2: Pull complete 12:03:41 ce7588e14bc9: Verifying Checksum 12:03:41 ce7588e14bc9: Download complete 12:03:45 4f1c88b9dad5: Pull complete 12:03:45 ad3a456e5733: Pull complete 12:03:45 69c7f0334f64: Pull complete 12:03:45 1f1c1a5573a3: Pull complete 12:03:48 ce7588e14bc9: Pull complete 12:03:49 b5e4710f87ac: Pull complete 12:03:49 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:03:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:03:49 ---> 88b5674ff536 12:03:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:03:52 Still waiting to schedule task 12:03:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:03:57 ---> Running in 3c0e1132a2c8 12:03:57 Removing intermediate container 3c0e1132a2c8 12:03:57 ---> b33d4ea3bf0a 12:03:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:03:57 ---> Running in 1f0b732fc3f9 12:03:57 Removing intermediate container 1f0b732fc3f9 12:03:57 ---> 8e2ffa4587a1 12:03:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:03:57 ---> Running in 35641f6fbf69 12:03:57 Removing intermediate container 35641f6fbf69 12:03:57 ---> 43f96040208f 12:03:57 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:03:57 ---> Running in da10ea55788b 12:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:03:57 OK: 264 MiB in 52 packages 12:03:57 Removing intermediate container da10ea55788b 12:03:57 ---> 00d5af216c92 12:03:57 Step 7/12 : WORKDIR /app 12:03:57 ---> Running in e3195ffbfbae 12:03:57 Removing intermediate container e3195ffbfbae 12:03:57 ---> 4527f2c27d64 12:03:57 Step 8/12 : COPY go.mod vendor* ./ 12:03:57 ---> ce8dbe3f3ac5 12:03:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:03:57 ---> Running in a6abf3c7d369 12:04:36 Removing intermediate container a6abf3c7d369 12:04:36 ---> 9f921ccc9301 12:04:36 Step 10/12 : COPY . . 12:04:36 ---> 9fbb829c1323 12:04:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:04:36 ---> Running in 0096548d2967 12:04:36 Removing intermediate container 0096548d2967 12:04:36 ---> 423bb6fd12fb 12:04:36 Step 12/12 : RUN $MAKE 12:04:36 ---> Running in 898f205cd32c 12:04:36 noop 12:04:36 Removing intermediate container 898f205cd32c 12:04:36 ---> 1c48ada385f1 12:04:36 Successfully built 1c48ada385f1 12:04:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:37 + docker inspect -f . ci-base-image-x86_64 12:04:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:37 prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container 12:04:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-640 -v /w/workspace/_app-service-configurable_PR-640:/w/workspace/_app-service-configurable_PR-640:rw,z -v /w/workspace/_app-service-configurable_PR-640@tmp:/w/workspace/_app-service-configurable_PR-640@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:04:37 $ docker top aa45d70fa61ef5d75fc90b8d9051819275abf7e8036b3614fb3434133a668711 -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:38 + go version 12:04:38 go version go1.21.0 linux/amd64 [Pipeline] } 12:04:38 $ docker stop --time=1 aa45d70fa61ef5d75fc90b8d9051819275abf7e8036b3614fb3434133a668711 12:04:39 $ docker rm -f --volumes aa45d70fa61ef5d75fc90b8d9051819275abf7e8036b3614fb3434133a668711 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:40 + docker inspect -f . ci-base-image-x86_64 12:04:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:40 prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container 12:04:40 $ 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-640 -v /w/workspace/_app-service-configurable_PR-640:/w/workspace/_app-service-configurable_PR-640:rw,z -v /w/workspace/_app-service-configurable_PR-640@tmp:/w/workspace/_app-service-configurable_PR-640@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:04:41 $ docker top 1615d6b268b57aa28f7a491ffc6e81a54c372a4d6c8cb26e10c4e9b3556001a9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:41 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-640 [Pipeline] fileExists [Pipeline] sh 12:04:41 + make test 12:04:41 go test -race -coverprofile=coverage.out ./... 12:05:00 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:05:18 go vet ./... 12:05:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:05:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:05:20 ./bin/test-attribution-txt.sh 12:05:20 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:05:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:05:21 $ docker stop --time=1 1615d6b268b57aa28f7a491ffc6e81a54c372a4d6c8cb26e10c4e9b3556001a9 12:05:27 $ docker rm -f --volumes 1615d6b268b57aa28f7a491ffc6e81a54c372a4d6c8cb26e10c4e9b3556001a9 [Pipeline] // withDockerContainer [Pipeline] sh 12:05:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:05:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:05:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:05:29 + ls -al . 12:05:29 total 184 12:05:29 drwxrwxr-x 7 jenkins jenkins 4096 Feb 6 12:04 . 12:05:29 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 12:03 .. 12:05:29 -rw-rw-r-- 1 jenkins jenkins 119 Feb 6 12:03 .dockerignore 12:05:29 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 12:04 .git 12:05:29 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 12:03 .github 12:05:29 -rw-rw-r-- 1 jenkins jenkins 106 Feb 6 12:03 .gitignore 12:05:29 -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 12:03 .golangci.yml 12:05:29 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 12:03 .semver 12:05:29 -rw-rw-r-- 1 jenkins jenkins 10394 Feb 6 12:03 Attribution.txt 12:05:29 -rw-rw-r-- 1 jenkins jenkins 37263 Feb 6 12:03 CHANGELOG.md 12:05:29 -rw-rw-r-- 1 jenkins jenkins 2007 Feb 6 12:03 Dockerfile 12:05:29 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 12:03 GOVERNANCE.md 12:05:29 -rw-rw-r-- 1 jenkins jenkins 666 Feb 6 12:03 Jenkinsfile 12:05:29 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 6 12:03 LICENSE 12:05:29 -rw-rw-r-- 1 jenkins jenkins 618 Feb 6 12:03 OWNERS.md 12:05:29 -rw-rw-r-- 1 jenkins jenkins 4582 Feb 6 12:03 README.md 12:05:29 -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 12:03 VERSION 12:05:29 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 12:03 bin 12:05:29 -rw-r--r-- 1 jenkins jenkins 13 Feb 6 12:04 coverage.out 12:05:29 -rw-rw-r-- 1 jenkins jenkins 3775 Feb 6 12:03 go.mod 12:05:29 -rw-rw-r-- 1 jenkins jenkins 34514 Feb 6 12:03 go.sum 12:05:29 -rw-rw-r-- 1 jenkins jenkins 1937 Feb 6 12:03 main.go 12:05:29 -rw-rw-r-- 1 jenkins jenkins 2572 Feb 6 12:03 makefile 12:05:29 drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 12:03 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:29 + 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=b0a508d53b87b78f80acc5018f03d68440d3af86 --label arch=amd64 --label version=0.0.0 . 12:05:29 Sending build context to Docker daemon 8.787MB 12:05:29 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:05:29 Step 2/27 : FROM ${BASE} AS builder 12:05:29 ---> 1c48ada385f1 12:05:29 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:05:30 ---> Running in 3a817b7e348a 12:05:30 Removing intermediate container 3a817b7e348a 12:05:30 ---> ecc4b517bca2 12:05:30 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:05:30 ---> Running in 40912a043a28 12:05:30 Removing intermediate container 40912a043a28 12:05:30 ---> 3dd1b2617c4f 12:05:30 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:05:30 ---> Running in 256f01ed1111 12:05:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-533 in /w/workspace/_app-service-configurable_PR-640 [Pipeline] { [Pipeline] ws 12:05:30 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:05:30 Removing intermediate container 256f01ed1111 12:05:30 ---> 2c5aeab6f3f9 12:05:30 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:30 ---> Running in 4a77450cb74e 12:05:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:05:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:05:31 OK: 264 MiB in 52 packages 12:05:31 Removing intermediate container 4a77450cb74e 12:05:31 ---> 78c09d6fe8c2 12:05:31 Step 7/27 : WORKDIR /app 12:05:32 ---> Running in 69fb86ec4a73 12:05:32 Removing intermediate container 69fb86ec4a73 12:05:32 ---> a89b6201a249 12:05:32 Step 8/27 : COPY go.mod vendor* ./ 12:05:32 ---> 1dbd02b81d74 12:05:32 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:32 ---> Running in aba20fddef12 12:05:33 Removing intermediate container aba20fddef12 12:05:33 ---> 8c2f66be5fa6 12:05:33 Step 10/27 : COPY . . 12:05:33 ---> 1339618df48e 12:05:33 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:05:33 ---> Running in 309fd5f4dee0 12:05:33 Removing intermediate container 309fd5f4dee0 12:05:33 ---> 4d283eaee455 12:05:33 Step 12/27 : RUN $MAKE 12:05:33 ---> Running in 2c0b24b08e22 12:05:33 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.18 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:05:33 Selected Git installation does not exist. Using Default 12:05:33 The recommended git tool is: NONE 12:05:38 using credential edgex-jenkins-ssh 12:05:38 Cloning the remote Git repository 12:05:38 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:05:38 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:05:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:05:38 > git --version # timeout=10 12:05:38 > git --version # 'git version 2.25.1' 12:05:38 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:05:50 Merging remotes/origin/main commit c387f8d8248c2e23c26c5a451cea17ce39badd4b into PR head commit b0a508d53b87b78f80acc5018f03d68440d3af86 12:05:48 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:05:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:05:49 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:05:49 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:05:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/640/head:refs/remotes/origin/PR-640 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:05:50 > git config core.sparsecheckout # timeout=10 12:05:50 > git checkout -f b0a508d53b87b78f80acc5018f03d68440d3af86 # timeout=10 12:05:50 Merge succeeded, producing b0a508d53b87b78f80acc5018f03d68440d3af86 12:05:50 Checking out Revision b0a508d53b87b78f80acc5018f03d68440d3af86 (PR-640) 12:05:51 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:05:51 > git --version # timeout=10 12:05:51 > git --version # 'git version 2.25.1' 12:05:51 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:05:50 > git remote # timeout=10 12:05:50 > git config --get remote.origin.url # timeout=10 12:05:50 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:50 > git merge c387f8d8248c2e23c26c5a451cea17ce39badd4b # timeout=10 12:05:50 > git rev-parse HEAD^{commit} # timeout=10 12:05:50 > git config core.sparsecheckout # timeout=10 12:05:50 > git checkout -f b0a508d53b87b78f80acc5018f03d68440d3af86 # timeout=10 12:05:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:05:52 % Total % Received % Xferd Average Speed Time Time Time Current 12:05:52 Dload Upload Total Spent Left Speed 12:05:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 97553 0 --:--:-- --:--:-- --:--:-- 97553 [Pipeline] sh 12:05:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:05:53 + sudo tee /etc/docker/daemon.new 12:05:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:05:53 { 12:05:53 "registry-mirrors": [ 12:05:53 "https://nexus3.edgexfoundry.org:10001" 12:05:53 ], 12:05:53 "bip": "10.250.0.254/24", 12:05:53 "hosts": [ 12:05:53 "tcp://0.0.0.0:5555", 12:05:53 "unix:///var/run/docker.sock" 12:05:53 ], 12:05:53 "mtu": 1458, 12:05:53 "selinux-enabled": true, 12:05:53 "seccomp-profile": "/etc/docker/seccomp.json" 12:05:53 } [Pipeline] sh 12:05:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:05:53 + sudo service docker restart 12:05:56 Removing intermediate container 2c0b24b08e22 12:05:56 ---> 6d377bb3d213 12:05:56 Step 13/27 : FROM alpine:3.18 12:05:56 3.18: Pulling from library/alpine 12:05:56 619be1103602: Pulling fs layer 12:05:56 619be1103602: Verifying Checksum 12:05:56 619be1103602: Download complete 12:05:56 619be1103602: Pull complete 12:05:56 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:05:56 Status: Downloaded newer image for alpine:3.18 12:05:56 ---> d3782b16ccc9 12:05:56 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:05:56 ---> Running in 6a0d6f43bc78 12:05:56 Removing intermediate container 6a0d6f43bc78 12:05:56 ---> 441f37e75e95 12:05:56 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:05:56 ---> Running in 6794704c2c14 12:05:56 Removing intermediate container 6794704c2c14 12:05:56 ---> 40bec62345ce 12:05:56 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:05:56 ---> Running in 89981a7c6198 12:05:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:05:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:05:56 (1/2) Installing ca-certificates (20230506-r0) 12:05:56 (2/2) Installing dumb-init (1.2.5-r2) 12:05:56 Executing busybox-1.36.1-r5.trigger 12:05:56 Executing ca-certificates-20230506-r0.trigger 12:05:56 OK: 8 MiB in 17 packages 12:05:57 Removing intermediate container 89981a7c6198 12:05:57 ---> d9523da04c03 12:05:57 Step 17/27 : RUN apk --no-cache upgrade 12:05:57 ---> Running in c78aa80e9236 12:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:05:57 OK: 8 MiB in 17 packages 12:05:57 Removing intermediate container c78aa80e9236 12:05:57 ---> ad79b8245289 12:05:57 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:05:57 ---> 26e3af3cc4a2 12:05:57 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:05:58 ---> 2fe6465802c2 12:05:58 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:05:58 ---> 9a661a818004 12:05:58 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:05:58 ---> 52120c0ac634 12:05:58 Step 22/27 : EXPOSE 48095 12:05:58 ---> Running in c9800fdf2209 12:05:58 Removing intermediate container c9800fdf2209 12:05:58 ---> bdde0b86c434 12:05:58 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:05:58 ---> Running in bcda492062b9 12:05:59 Removing intermediate container bcda492062b9 12:05:59 ---> c18d4cf65956 12:05:59 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:05:59 ---> Running in 4d7776a1ea30 12:05:59 Removing intermediate container 4d7776a1ea30 12:05:59 ---> 85f88bb1bae7 12:05:59 Step 25/27 : LABEL arch=amd64 12:05:59 ---> Running in 620249e0e9fc 12:05:59 Removing intermediate container 620249e0e9fc 12:05:59 ---> 64164a06dbee 12:05:59 Step 26/27 : LABEL git_sha=b0a508d53b87b78f80acc5018f03d68440d3af86 12:05:59 ---> Running in 6d3e6d346d6b 12:05:59 Removing intermediate container 6d3e6d346d6b 12:05:59 ---> 7951109f926a 12:05:59 Step 27/27 : LABEL version=0.0.0 12:05:59 ---> Running in ea6a89a245c3 12:05:59 Removing intermediate container ea6a89a245c3 12:05:59 ---> 47d98b44f6cc 12:05:59 [Warning] One or more build-args [ARCH] were not consumed 12:05:59 Successfully built 47d98b44f6cc 12:05:59 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:00 12:06:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:01 latest: Pulling from edgex-lftools-log-publisher 12:06:01 5eb5b503b376: Pulling fs layer 12:06:01 5c69ac0246d0: Pulling fs layer 12:06:01 ec43610c2a17: Pulling fs layer 12:06:01 3a2ae6a8a46f: Pulling fs layer 12:06:01 33b1e0a273af: Pulling fs layer 12:06:01 5d3b04190fa2: Pulling fs layer 12:06:01 2f39f015ded8: Pulling fs layer 12:06:01 33b1e0a273af: Waiting 12:06:01 2f39f015ded8: Waiting 12:06:01 3a2ae6a8a46f: Waiting 12:06:01 5d3b04190fa2: Waiting 12:06:01 5c69ac0246d0: Download complete 12:06:01 3a2ae6a8a46f: Verifying Checksum 12:06:01 3a2ae6a8a46f: Download complete 12:06:01 33b1e0a273af: Verifying Checksum 12:06:01 33b1e0a273af: Download complete 12:06:01 5d3b04190fa2: Download complete 12:06:01 ec43610c2a17: Verifying Checksum 12:06:01 ec43610c2a17: Download complete 12:06:01 5eb5b503b376: Verifying Checksum 12:06:01 5eb5b503b376: Download complete 12:06:01 2f39f015ded8: Download complete 12:06:02 5eb5b503b376: Pull complete 12:06:02 5c69ac0246d0: Pull complete 12:06:02 ec43610c2a17: Pull complete 12:06:02 3a2ae6a8a46f: Pull complete 12:06:03 33b1e0a273af: Pull complete 12:06:03 5d3b04190fa2: Pull complete 12:06:07 2f39f015ded8: Pull complete 12:06:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:06:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:06:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:06:07 prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container 12:06:07 $ 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-640 -v /w/workspace/_app-service-configurable_PR-640:/w/workspace/_app-service-configurable_PR-640:rw,z -v /w/workspace/_app-service-configurable_PR-640@tmp:/w/workspace/_app-service-configurable_PR-640@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:06:14 $ docker top 8faf73990779f4f6d48ee742ab3f7a3e93c34ff6bade7e68c398e4eb137a39d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:06:14 ---> job-cost.sh 12:06:14 lf-activate-venv: SKIPPING 12:06:14 INFO: No Stack... 12:06:14 INFO: Retrieving Pricing Info for: v3-standard-8 12:06:15 INFO: Archiving Costs [Pipeline] sh 12:06:15 + cat /w/workspace/_app-service-configurable_PR-640/archives/cost.csv 12:06:15 + cut -d, -f6 [Pipeline] lock 12:06:15 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-640-1-stack-cost] 12:06:15 Resource [jenkins-edgexfoundry-app-service-configurable-PR-640-1-stack-cost] did not exist. Created. 12:06:15 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-640-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] withEnv [Pipeline] { 12:06:15 + echo total: 0.2199999988079071 [Pipeline] stash 12:06:16 Stashed 1 file(s) [Pipeline] configFileProvider 12:06:16 provisioning config files... 12:06:16 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config10486998722106485862tmp [Pipeline] { [Pipeline] } 12:06:16 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-640-1-stack-cost] [Pipeline] libraryResource [Pipeline] sh [Pipeline] // lock [Pipeline] } 12:06:16 $ docker stop --time=1 8faf73990779f4f6d48ee742ab3f7a3e93c34ff6bade7e68c398e4eb137a39d3 12:06:16 ---> ****-login.sh 12:06:16 nexus3.edgexfoundry.org:10001 12:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:06:17 Configure a credential helper to remove this warning. See 12:06:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:06:17 12:06:17 Login Succeeded 12:06:17 nexus3.edgexfoundry.org:10002 12:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:06:17 Configure a credential helper to remove this warning. See 12:06:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:06:17 12:06:17 Login Succeeded 12:06:17 $ docker rm -f --volumes 8faf73990779f4f6d48ee742ab3f7a3e93c34ff6bade7e68c398e4eb137a39d3 12:06:17 nexus3.edgexfoundry.org:10003 12:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } 12:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:06:17 Configure a credential helper to remove this warning. See 12:06:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:06:17 12:06:17 Login Succeeded 12:06:17 nexus3.edgexfoundry.org:10004 [Pipeline] // script [Pipeline] } [Pipeline] // withEnv 12:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:06:18 Configure a credential helper to remove this warning. See 12:06:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:06:18 12:06:18 Login Succeeded 12:06:18 ****.io [Pipeline] } [Pipeline] // stage [Pipeline] } 12:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:06:18 Configure a credential helper to remove this warning. See 12:06:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:06:18 12:06:18 Login Succeeded 12:06:18 ---> ****-login.sh ends [Pipeline] } 12:06:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:06:19 ========================================================= 12:06:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:06:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:06:20 + 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:06:20 Sending build context to Docker daemon 159.2kB 12:06:20 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:06:20 Step 2/12 : FROM ${BASE} AS builder 12:06:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:06:20 9fda8d8052c6: Pulling fs layer 12:06:20 5d54e960e981: Pulling fs layer 12:06:20 c4a7e357bf2a: Pulling fs layer 12:06:20 f0e02332f6b5: Pulling fs layer 12:06:20 872ee5b61b7b: Pulling fs layer 12:06:20 0c6a40ed1a82: Pulling fs layer 12:06:20 94ae7d8d031c: Pulling fs layer 12:06:20 872ee5b61b7b: Waiting 12:06:20 0c6a40ed1a82: Waiting 12:06:20 94ae7d8d031c: Waiting 12:06:20 f0e02332f6b5: Waiting 12:06:20 5d54e960e981: Verifying Checksum 12:06:20 5d54e960e981: Download complete 12:06:20 f0e02332f6b5: Verifying Checksum 12:06:20 f0e02332f6b5: Download complete 12:06:20 872ee5b61b7b: Verifying Checksum 12:06:20 872ee5b61b7b: Download complete 12:06:20 9fda8d8052c6: Verifying Checksum 12:06:20 9fda8d8052c6: Download complete 12:06:21 94ae7d8d031c: Verifying Checksum 12:06:21 94ae7d8d031c: Download complete 12:06:21 9fda8d8052c6: Pull complete 12:06:23 c4a7e357bf2a: Verifying Checksum 12:06:23 c4a7e357bf2a: Download complete 12:06:25 0c6a40ed1a82: Verifying Checksum 12:06:25 0c6a40ed1a82: Download complete 12:06:25 5d54e960e981: Pull complete 12:06:42 c4a7e357bf2a: Pull complete 12:06:42 f0e02332f6b5: Pull complete 12:06:42 872ee5b61b7b: Pull complete 12:06:48 0c6a40ed1a82: Pull complete 12:06:50 94ae7d8d031c: Pull complete 12:06:50 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:06:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:06:50 ---> 86de565de09d 12:06:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:06:51 ---> Running in 85041f533a2d 12:06:52 Removing intermediate container 85041f533a2d 12:06:52 ---> 086f81daa36d 12:06:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:06:52 ---> Running in b3fb7da0eef6 12:06:52 Removing intermediate container b3fb7da0eef6 12:06:52 ---> fa2d27c1a8a8 12:06:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:06:52 ---> Running in 0e86e7c6e051 12:06:52 Removing intermediate container 0e86e7c6e051 12:06:52 ---> 89f15557e694 12:06:52 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:06:53 ---> Running in d999362739a9 12:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:06:55 OK: 266 MiB in 52 packages 12:06:56 Removing intermediate container d999362739a9 12:06:56 ---> 8285574919ee 12:06:56 Step 7/12 : WORKDIR /app 12:06:56 ---> Running in 83da323b5803 12:06:56 Removing intermediate container 83da323b5803 12:06:56 ---> 8cbd422c3899 12:06:56 Step 8/12 : COPY go.mod vendor* ./ 12:06:57 ---> 757f03647a6e 12:06:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:06:57 ---> Running in e8366018b035 12:08:05 Removing intermediate container e8366018b035 12:08:05 ---> be4d5bda909f 12:08:05 Step 10/12 : COPY . . 12:08:05 ---> 77ede70071b4 12:08:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:08:05 ---> Running in e65711677302 12:08:05 Removing intermediate container e65711677302 12:08:05 ---> c5b256ca6e09 12:08:05 Step 12/12 : RUN $MAKE 12:08:05 ---> Running in db8c081cde8e 12:08:05 noop 12:08:05 Removing intermediate container db8c081cde8e 12:08:05 ---> 6a81e91872be 12:08:05 Successfully built 6a81e91872be 12:08:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:05 + docker inspect -f . ci-base-image-arm64 12:08:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:06 prd-ubuntu20.04-docker-arm64-4c-16g-533 does not seem to be running inside a container 12:08: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:08:07 $ docker top ec2bd2c0c09edccc6303826674932f9871fed017a8826567decac6b734f10034 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:08 + go version 12:08:08 go version go1.21.0 linux/arm64 [Pipeline] } 12:08:08 $ docker stop --time=1 ec2bd2c0c09edccc6303826674932f9871fed017a8826567decac6b734f10034 12:08:10 $ docker rm -f --volumes ec2bd2c0c09edccc6303826674932f9871fed017a8826567decac6b734f10034 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:11 + docker inspect -f . ci-base-image-arm64 12:08:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:11 prd-ubuntu20.04-docker-arm64-4c-16g-533 does not seem to be running inside a container 12:08:12 $ 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:08:13 $ docker top 07b3f94a174cf652a129d7a93bec3bc673c5a842de4972e1a28e76e17f3838c9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:14 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:08:14 + make test 12:08:14 go test -race -coverprofile=coverage.out ./... 12:10:21 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:10:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:10:21 go vet ./... 12:12:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:12:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:12:13 ./bin/test-attribution-txt.sh 12:12:13 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:12:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:12:13 $ docker stop --time=1 07b3f94a174cf652a129d7a93bec3bc673c5a842de4972e1a28e76e17f3838c9 12:12:15 $ docker rm -f --volumes 07b3f94a174cf652a129d7a93bec3bc673c5a842de4972e1a28e76e17f3838c9 [Pipeline] // withDockerContainer [Pipeline] sh 12:12:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:12:17 Warning: overwriting stash ‘coverage-report’ 12:12:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:12:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:12:19 + ls -al . 12:12:19 total 180 12:12:19 drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 12:08 . 12:12:19 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 12:05 .. 12:12:19 -rw-rw-r-- 1 jenkins jenkins 119 Feb 6 12:05 .dockerignore 12:12:19 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 12:05 .git 12:12:19 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 12:05 .github 12:12:19 -rw-rw-r-- 1 jenkins jenkins 106 Feb 6 12:05 .gitignore 12:12:19 -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 12:05 .golangci.yml 12:12:19 -rw-rw-r-- 1 jenkins jenkins 10394 Feb 6 12:05 Attribution.txt 12:12:19 -rw-rw-r-- 1 jenkins jenkins 37263 Feb 6 12:05 CHANGELOG.md 12:12:19 -rw-rw-r-- 1 jenkins jenkins 2007 Feb 6 12:05 Dockerfile 12:12:19 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 12:05 GOVERNANCE.md 12:12:19 -rw-rw-r-- 1 jenkins jenkins 666 Feb 6 12:05 Jenkinsfile 12:12:19 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 6 12:05 LICENSE 12:12:19 -rw-rw-r-- 1 jenkins jenkins 618 Feb 6 12:05 OWNERS.md 12:12:19 -rw-rw-r-- 1 jenkins jenkins 4582 Feb 6 12:05 README.md 12:12:19 -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 12:03 VERSION 12:12:19 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 12:05 bin 12:12:19 -rw-r--r-- 1 jenkins jenkins 13 Feb 6 12:08 coverage.out 12:12:19 -rw-rw-r-- 1 jenkins jenkins 3775 Feb 6 12:05 go.mod 12:12:19 -rw-rw-r-- 1 jenkins jenkins 34514 Feb 6 12:05 go.sum 12:12:19 -rw-rw-r-- 1 jenkins jenkins 1937 Feb 6 12:05 main.go 12:12:19 -rw-rw-r-- 1 jenkins jenkins 2572 Feb 6 12:05 makefile 12:12:19 drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 12:05 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:19 + 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=b0a508d53b87b78f80acc5018f03d68440d3af86 --label arch=arm64 --label version=0.0.0 . 12:12:19 Sending build context to Docker daemon 160.3kB 12:12:19 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:12:19 Step 2/27 : FROM ${BASE} AS builder 12:12:19 ---> 6a81e91872be 12:12:19 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:12:19 ---> Running in 2ef3817cdb65 12:12:20 Removing intermediate container 2ef3817cdb65 12:12:20 ---> ff68ba5b06aa 12:12:20 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:12:20 ---> Running in d2d2314d61e1 12:12:20 Removing intermediate container d2d2314d61e1 12:12:20 ---> 1c905cad012d 12:12:20 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:12:20 ---> Running in abe27874d867 12:12:20 Removing intermediate container abe27874d867 12:12:20 ---> 188bec9f0e76 12:12:20 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:12:20 ---> Running in 3ba34245771f 12:12:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:12:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:12:23 OK: 266 MiB in 52 packages 12:12:24 Removing intermediate container 3ba34245771f 12:12:24 ---> fee8bd673347 12:12:24 Step 7/27 : WORKDIR /app 12:12:24 ---> Running in 49afa0a0cb51 12:12:24 Removing intermediate container 49afa0a0cb51 12:12:24 ---> b1bfa74ea253 12:12:24 Step 8/27 : COPY go.mod vendor* ./ 12:12:30 ---> 62da982a65de 12:12:30 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:12:30 ---> Running in 9ad2fd234a2c 12:12:31 Removing intermediate container 9ad2fd234a2c 12:12:31 ---> e564fa09e246 12:12:31 Step 10/27 : COPY . . 12:12:31 ---> 4a2977e19e05 12:12:31 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:12:31 ---> Running in 9395a43aab80 12:12:32 Removing intermediate container 9395a43aab80 12:12:32 ---> 6a64ca1da17e 12:12:32 Step 12/27 : RUN $MAKE 12:12:32 ---> Running in 81bef15186ae 12:12:33 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.18 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:14:24 Removing intermediate container 81bef15186ae 12:14:24 ---> 895f095e59c8 12:14:24 Step 13/27 : FROM alpine:3.18 12:14:24 3.18: Pulling from library/alpine 12:14:24 c6b39de5b339: Pulling fs layer 12:14:24 c6b39de5b339: Verifying Checksum 12:14:24 c6b39de5b339: Download complete 12:14:24 c6b39de5b339: Pull complete 12:14:24 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:14:24 Status: Downloaded newer image for alpine:3.18 12:14:24 ---> 33abbf032149 12:14:24 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:14:24 ---> Running in 8017d31202a1 12:14:24 Removing intermediate container 8017d31202a1 12:14:24 ---> e351bfa5aac4 12:14:24 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:14:24 ---> Running in 4fa330c01f68 12:14:24 Removing intermediate container 4fa330c01f68 12:14:24 ---> f85a41baf4de 12:14:24 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:14:24 ---> Running in 73bae15143c5 12:14:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:14:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:14:24 (1/2) Installing ca-certificates (20230506-r0) 12:14:24 (2/2) Installing dumb-init (1.2.5-r2) 12:14:24 Executing busybox-1.36.1-r5.trigger 12:14:24 Executing ca-certificates-20230506-r0.trigger 12:14:24 OK: 9 MiB in 17 packages 12:14:24 Removing intermediate container 73bae15143c5 12:14:24 ---> d6c1dfc39eb6 12:14:24 Step 17/27 : RUN apk --no-cache upgrade 12:14:24 ---> Running in 3d0b768ef746 12:14:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:14:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:14:24 OK: 9 MiB in 17 packages 12:14:24 Removing intermediate container 3d0b768ef746 12:14:24 ---> 83ea24f3ffb3 12:14:24 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:14:24 ---> a67d5481af04 12:14:24 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:14:24 ---> a829560348f6 12:14:24 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:14:25 ---> c1e83f4f12ad 12:14:25 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:14:26 ---> a912a65d9ea4 12:14:26 Step 22/27 : EXPOSE 48095 12:14:26 ---> Running in fdf43e1c0f76 12:14:26 Removing intermediate container fdf43e1c0f76 12:14:26 ---> 91468d86bdd4 12:14:26 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:14:26 ---> Running in 4098a67750a7 12:14:26 Removing intermediate container 4098a67750a7 12:14:26 ---> aca7b93f3d5d 12:14:26 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:14:27 ---> Running in f20820ad181f 12:14:27 Removing intermediate container f20820ad181f 12:14:27 ---> 9f42036f41de 12:14:27 Step 25/27 : LABEL arch=arm64 12:14:27 ---> Running in 771e28881847 12:14:27 Removing intermediate container 771e28881847 12:14:27 ---> 1e40ed6c3f6d 12:14:27 Step 26/27 : LABEL git_sha=b0a508d53b87b78f80acc5018f03d68440d3af86 12:14:27 ---> Running in 8c05f039d20c 12:14:27 Removing intermediate container 8c05f039d20c 12:14:27 ---> 5dba46fdb605 12:14:27 Step 27/27 : LABEL version=0.0.0 12:14:28 ---> Running in 8c8bedfe6f3c 12:14:28 Removing intermediate container 8c8bedfe6f3c 12:14:28 ---> 3220f8678ebe 12:14:28 [Warning] One or more build-args [ARCH] were not consumed 12:14:28 Successfully built 3220f8678ebe 12:14:28 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:14:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:29 12:14:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:30 arm64: Pulling from edgex-lftools-log-publisher 12:14:30 8998bd30e6a1: Pulling fs layer 12:14:30 04944245beec: Pulling fs layer 12:14:30 699f458cf7ca: Pulling fs layer 12:14:30 765212b225bb: Pulling fs layer 12:14:30 f23df028b6ca: Pulling fs layer 12:14:30 765212b225bb: Waiting 12:14:30 f23df028b6ca: Waiting 12:14:30 d65c8cfc05b1: Pulling fs layer 12:14:30 2437ff75d9bd: Pulling fs layer 12:14:30 d65c8cfc05b1: Waiting 12:14:30 2437ff75d9bd: Waiting 12:14:30 04944245beec: Verifying Checksum 12:14:30 04944245beec: Download complete 12:14:30 765212b225bb: Verifying Checksum 12:14:30 765212b225bb: Download complete 12:14:30 f23df028b6ca: Verifying Checksum 12:14:30 f23df028b6ca: Download complete 12:14:30 d65c8cfc05b1: Verifying Checksum 12:14:30 d65c8cfc05b1: Download complete 12:14:30 699f458cf7ca: Verifying Checksum 12:14:30 699f458cf7ca: Download complete 12:14:31 8998bd30e6a1: Verifying Checksum 12:14:31 8998bd30e6a1: Download complete 12:14:33 2437ff75d9bd: Verifying Checksum 12:14:33 2437ff75d9bd: Download complete 12:14:38 8998bd30e6a1: Pull complete 12:14:38 04944245beec: Pull complete 12:14:39 699f458cf7ca: Pull complete 12:14:39 765212b225bb: Pull complete 12:14:40 f23df028b6ca: Pull complete 12:14:40 d65c8cfc05b1: Pull complete 12:14:59 2437ff75d9bd: Pull complete 12:14:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:14:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:14:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:59 prd-ubuntu20.04-docker-arm64-4c-16g-533 does not seem to be running inside a container 12:14:59 $ 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:15:02 $ docker top d581e7d9339cf6b88cd07adee9aade9e7f4f73dae2dbd923f92b8720da2b9784 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:15:03 ---> job-cost.sh 12:15:03 lf-activate-venv: SKIPPING 12:15:03 INFO: No Stack... 12:15:03 INFO: Retrieving Pricing Info for: v3-standard-4 12:15:04 INFO: Archiving Costs [Pipeline] sh 12:15:05 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:15:05 + cut -d, -f6 [Pipeline] lock 12:15:05 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-640-1-stack-cost] 12:15:05 Resource [jenkins-edgexfoundry-app-service-configurable-PR-640-1-stack-cost] did not exist. Created. 12:15:05 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-640-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:15:06 /w/workspace/app-service-configurable/1@tmp/durable-8bcf5ebf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:15:06 + echo total: 0.10999999940395355 [Pipeline] stash 12:15:06 Warning: overwriting stash ‘stack-cost’ 12:15:06 Stashed 1 file(s) [Pipeline] } 12:15:06 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-640-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:15:07 $ docker stop --time=1 d581e7d9339cf6b88cd07adee9aade9e7f4f73dae2dbd923f92b8720da2b9784 12:15:08 $ docker rm -f --volumes d581e7d9339cf6b88cd07adee9aade9e7f4f73dae2dbd923f92b8720da2b9784 [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:15:10 provisioning config files... 12:15:10 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-640@tmp/config6179637766496394535tmp [Pipeline] { [Pipeline] sh 12:15:11 + set +x 12:15:11 + curl -s https://codecov.io/bash 12:15:11 + bash -s -- 12:15:11 12:15:11 _____ _ 12:15:11 / ____| | | 12:15:11 | | ___ __| | ___ ___ _____ __ 12:15:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:15:11 | |___| (_) | (_| | __/ (_| (_) \ V / 12:15:11 \_____\___/ \__,_|\___|\___\___/ \_/ 12:15:11 Bash-1.0.6 12:15:11 12:15:11 12:15:11 ==> git version 2.25.1 found 12:15:11 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:15:11 Release-Date: 2020-01-08 12:15:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:15:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:15:11 ==> Jenkins CI detected. 12:15:11 current dir:  /w/workspace/_app-service-configurable_PR-640 12:15:11 project root: . 12:15:11 --> token set from env 12:15:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:15:11 ==> Running gcov in . (disable via -X gcov) 12:15:11 ==> Python coveragepy not found 12:15:11 ==> Searching for coverage reports in: 12:15:11 + . 12:15:11 -> Found 1 reports 12:15:11 ==> Detecting git/mercurial file structure 12:15:11 ==> Reading reports 12:15:11 + ./coverage.out bytes=13 12:15:11 ==> Appending adjustments 12:15:11 https://docs.codecov.io/docs/fixing-reports 12:15:11 + Found adjustments 12:15:11 ==> Gzipping contents 12:15:11 4.0K /tmp/codecov.ggUQXA.gz 12:15:11 ==> Uploading reports 12:15:11 url: https://codecov.io 12:15:11 query: branch=PR-640&commit=b0a508d53b87b78f80acc5018f03d68440d3af86&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-640%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=640&job=&cmd_args= 12:15:11 -> Pinging Codecov 12:15:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-640&commit=b0a508d53b87b78f80acc5018f03d68440d3af86&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-640%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=640&job=&cmd_args= 12:15:13 -> Uploading to 12:15:13 https://storage.googleapis.com/codecov/v4/raw/2024-02-06/A97CA9966030D2A3747ED39772930CCE/b0a508d53b87b78f80acc5018f03d68440d3af86/2a91e8c5-b6be-4e10-89ad-5decb9daded1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240206T121512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=faf9775cf74d9442206af676548f7c0ead670d112ec680f7cddb66109946b106 12:15:13 % Total % Received % Xferd Average Speed Time Time Time Current 12:15:13 Dload Upload Total Spent Left Speed 12:15:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 962 --:--:-- --:--:-- --:--:-- 966 12:15:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/b0a508d53b87b78f80acc5018f03d68440d3af86 [Pipeline] } 12:15:13 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:15:16 + [ -d /w/workspace/_app-service-configurable_PR-640/archives ] 12:15:16 + ls -al /w/workspace/_app-service-configurable_PR-640/archives 12:15:16 total 16 12:15:16 drwxr-xr-x 3 root root 4096 Feb 6 12:06 . 12:15:16 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 12:06 .. 12:15:16 drwxr-xr-x 2 root root 4096 Feb 6 12:06 cost 12:15:16 -rw-r--r-- 1 root root 96 Feb 6 12:06 cost.csv 12:15:16 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-640/archives 12:15:16 + ls -al /w/workspace/_app-service-configurable_PR-640/archives 12:15:16 total 16 12:15:16 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 12:06 . 12:15:16 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 12:06 .. 12:15:16 drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 12:06 cost 12:15:16 -rw-r--r-- 1 jenkins jenkins 96 Feb 6 12:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:15:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:15:18 ---> package-listing.sh 12:15:18 ++ facter osfamily 12:15:18 ++ tr '[:upper:]' '[:lower:]' 12:15:18 + OS_FAMILY=debian 12:15:18 + workspace=/w/workspace/_app-service-configurable_PR-640 12:15:18 + START_PACKAGES=/tmp/packages_start.txt 12:15:18 + END_PACKAGES=/tmp/packages_end.txt 12:15:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:15:18 + PACKAGES=/tmp/packages_start.txt 12:15:18 + '[' /w/workspace/_app-service-configurable_PR-640 ']' 12:15:18 + PACKAGES=/tmp/packages_end.txt 12:15:18 + case "${OS_FAMILY}" in 12:15:18 + dpkg -l 12:15:18 + grep '^ii' 12:15:18 + '[' -f /tmp/packages_start.txt ']' 12:15:18 + '[' -f /tmp/packages_end.txt ']' 12:15:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:15:18 + '[' /w/workspace/_app-service-configurable_PR-640 ']' 12:15:18 + mkdir -p /w/workspace/_app-service-configurable_PR-640/archives/ 12:15:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-640/archives/ [Pipeline] echo 12:15:18 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-640/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:15:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:15:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:15:19 prd-ubuntu20.04-docker-8c-8g-531 does not seem to be running inside a container 12:15:19 $ 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-640/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-640 -v /w/workspace/_app-service-configurable_PR-640:/w/workspace/_app-service-configurable_PR-640:rw,z -v /w/workspace/_app-service-configurable_PR-640@tmp:/w/workspace/_app-service-configurable_PR-640@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:15:19 $ docker top 6c4f291438ac158e56c37cf4f417f785b4611bbbacb8f6337da0ea092c9dae98 -eo pid,comm [Pipeline] { [Pipeline] sh 12:15:20 + touch /tmp/pre-build-complete [Pipeline] sh 12:15:20 + mkdir -p /var/log/sysstat [Pipeline] sh 12:15:21 + ls /var/log/sa-host 12:15:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:21 provisioning config files... 12:15:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-640@tmp/config14791583987317450844tmp [Pipeline] { [Pipeline] echo 12:15:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:15:21 ---> create-netrc.sh [Pipeline] } 12:15:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:15:22 ---> python-tools-install.sh [Pipeline] echo 12:15:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:15:22 ---> sudo-logs.sh 12:15:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:15:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:15:23 ---> job-cost.sh 12:15:23 lf-activate-venv: SKIPPING 12:15:23 DEBUG: total: 0.2199999988079071 12:15:23 INFO: Retrieving Stack Cost... 12:15:23 INFO: Retrieving Pricing Info for: v3-standard-8 12:15:24 INFO: Archiving Costs [Pipeline] echo 12:15:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:15:24 ---> logs-deploy.sh 12:15:24 lf-activate-venv: SKIPPING 12:15:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-640/1 12:15:24 INFO: archiving workspace using pattern(s): 12:15:25 Archives upload complete. 12:15:25 INFO: archiving logs to Nexus