Pull request #654 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a624060716d18c6724ca58050810c57aa4f9afda+3415ef22c40ef09dcdf0d2ebe671d1ee7f4e9e9f (4986d377a02c8de08aadc96365ac569aebb7a0b1) 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-ssh10142951063227831036.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-ssh14381304211991115070.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-654/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-654/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4653117947376960579.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-654/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3927286560112751814.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-ssh4193519003584397036.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-654/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-654/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh724779285512511580.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1250 in /w/workspace/_app-service-configurable_PR-654 [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-654 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/654/head:refs/remotes/origin/PR-654 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3415ef22c40ef09dcdf0d2ebe671d1ee7f4e9e9f into PR head commit a624060716d18c6724ca58050810c57aa4f9afda Merge succeeded, producing a624060716d18c6724ca58050810c57aa4f9afda Checking out Revision a624060716d18c6724ca58050810c57aa4f9afda (PR-654) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f a624060716d18c6724ca58050810c57aa4f9afda # 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 3415ef22c40ef09dcdf0d2ebe671d1ee7f4e9e9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a624060716d18c6724ca58050810c57aa4f9afda # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:55:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:55:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:55:50 ========================================================= 12:55:50 EdgeX Global Pipelines Version Info 12:55:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:55:52 ------------------- 12:55:52 stable info: 12:55:52 ------------------- 12:55:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:55:52 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:55:52 Message: update stable to v1.0.258 12:55:52 ------------------- 12:55:52 experimental info: 12:55:52 ------------------- 12:55:52 Commited By: **** collab-it+edgex@linuxfoundation.org 12:55:52 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:55:52 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:55:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:55:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-654 [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-654 [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-654 [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a624060716d18c6724ca58050810c57aa4f9afda [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a624060 [Pipeline] echo 12:55:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:55:54 provisioning config files... 12:55:54 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-654@tmp/config2893719734771408501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:55 ---> ****-login.sh 12:55:55 nexus3.edgexfoundry.org:10001 12:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:55:55 Configure a credential helper to remove this warning. See 12:55:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:55:55 12:55:55 Login Succeeded 12:55:55 nexus3.edgexfoundry.org:10002 12:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:55:55 Configure a credential helper to remove this warning. See 12:55:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:55:55 12:55:55 Login Succeeded 12:55:55 nexus3.edgexfoundry.org:10003 12:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:55:55 Configure a credential helper to remove this warning. See 12:55:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:55:55 12:55:55 Login Succeeded 12:55:55 nexus3.edgexfoundry.org:10004 12:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:55:55 Configure a credential helper to remove this warning. See 12:55:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:55:55 12:55:55 Login Succeeded 12:55:55 ****.io 12:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:55:56 Configure a credential helper to remove this warning. See 12:55:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:55:56 12:55:56 Login Succeeded 12:55:56 ---> ****-login.sh ends [Pipeline] } 12:55:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:55:56 + git rev-list -1 --merges a624060716d18c6724ca58050810c57aa4f9afda~1..a624060716d18c6724ca58050810c57aa4f9afda [Pipeline] echo 12:55:56 -----------> git rev-list -1 --merges a624060716d18c6724ca58050810c57aa4f9afda~1..a624060716d18c6724ca58050810c57aa4f9afda a624060716d18c6724ca58050810c57aa4f9afda [false] [Pipeline] sh 12:55:57 + git log --format=format:%s -1 a624060716d18c6724ca58050810c57aa4f9afda [Pipeline] echo 12:55:57 ========================================================= 12:55:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:55:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:55:57 + git log --format=format:%s -1 a624060716d18c6724ca58050810c57aa4f9afda [Pipeline] echo 12:55:57 [semverPrep] GIT_COMMIT: a624060716d18c6724ca58050810c57aa4f9afda, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:55:57 [semverPrep] This is not a build commit. [Pipeline] sh 12:55:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:55:58 + grep -v github /etc/ssh/ssh_known_hosts 12:55:58 + [ -e /tmp/ssh_known_hosts ] 12:55:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:55:58 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:55:58 sudo tee -a /etc/ssh/ssh_known_hosts 12:55:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:55:58 12:55:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:55:59 0.1.4: Pulling from edgex-devops/py-git-semver 12:55:59 b85a868b505f: Pulling fs layer 12:55:59 e2be974225ed: Pulling fs layer 12:55:59 339a4e72a1f5: Pulling fs layer 12:55:59 988bab9f4d93: Pulling fs layer 12:55:59 1469e6f7b9e6: Pulling fs layer 12:55:59 eaf3925da568: Pulling fs layer 12:55:59 bab4dde63d76: Pulling fs layer 12:55:59 bde34c3a00c8: Pulling fs layer 12:55:59 b352a97aabf1: Pulling fs layer 12:55:59 4872d77fe225: Pulling fs layer 12:55:59 5851b861e8e6: Pulling fs layer 12:55:59 988bab9f4d93: Waiting 12:55:59 1469e6f7b9e6: Waiting 12:55:59 eaf3925da568: Waiting 12:55:59 bab4dde63d76: Waiting 12:55:59 bde34c3a00c8: Waiting 12:55:59 b352a97aabf1: Waiting 12:55:59 4872d77fe225: Waiting 12:55:59 5851b861e8e6: Waiting 12:55:59 e2be974225ed: Verifying Checksum 12:55:59 e2be974225ed: Download complete 12:55:59 988bab9f4d93: Download complete 12:55:59 1469e6f7b9e6: Verifying Checksum 12:55:59 1469e6f7b9e6: Download complete 12:55:59 339a4e72a1f5: Verifying Checksum 12:55:59 339a4e72a1f5: Download complete 12:55:59 eaf3925da568: Download complete 12:55:59 bde34c3a00c8: Download complete 12:55:59 b352a97aabf1: Download complete 12:55:59 4872d77fe225: Download complete 12:55:59 5851b861e8e6: Verifying Checksum 12:55:59 5851b861e8e6: Download complete 12:55:59 b85a868b505f: Verifying Checksum 12:55:59 b85a868b505f: Download complete 12:55:59 bab4dde63d76: Verifying Checksum 12:55:59 bab4dde63d76: Download complete 12:56:00 b85a868b505f: Pull complete 12:56:00 e2be974225ed: Pull complete 12:56:01 339a4e72a1f5: Pull complete 12:56:01 988bab9f4d93: Pull complete 12:56:01 1469e6f7b9e6: Pull complete 12:56:01 eaf3925da568: Pull complete 12:56:03 bab4dde63d76: Pull complete 12:56:03 bde34c3a00c8: Pull complete 12:56:03 b352a97aabf1: Pull complete 12:56:03 4872d77fe225: Pull complete 12:56:03 5851b861e8e6: Pull complete 12:56:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:56:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:56:03 prd-ubuntu20.04-docker-8c-8g-1250 does not seem to be running inside a container 12:56:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-654 -v /w/workspace/_app-service-configurable_PR-654:/w/workspace/_app-service-configurable_PR-654:rw,z -v /w/workspace/_app-service-configurable_PR-654@tmp:/w/workspace/_app-service-configurable_PR-654@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:56:07 $ docker top a50b1e508f47b06fe40e6cc81e07d2daf6e06ffe603e74f24781b8b7015e3a8e -eo pid,comm 12:56:07 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:56:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:56:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:56:07 [ssh-agent] Looking for ssh-agent implementation... 12:56:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:56:07 $ docker exec a50b1e508f47b06fe40e6cc81e07d2daf6e06ffe603e74f24781b8b7015e3a8e ssh-agent 12:56:07 SSH_AUTH_SOCK=/tmp/ssh-mfnXOel0FQUW/agent.32 12:56:07 SSH_AGENT_PID=38 12:56:07 Running ssh-add (command line suppressed) 12:56:07 Identity added: /w/workspace/_app-service-configurable_PR-654@tmp/private_key_4461567067538700968.key (/w/workspace/_app-service-configurable_PR-654@tmp/private_key_4461567067538700968.key) 12:56:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:56:08 + git tag --points-at HEAD [Pipeline] } 12:56:08 $ docker exec --env ******** --env ******** a50b1e508f47b06fe40e6cc81e07d2daf6e06ffe603e74f24781b8b7015e3a8e ssh-agent -k 12:56:08 unset SSH_AUTH_SOCK; 12:56:08 unset SSH_AGENT_PID; 12:56:08 echo Agent pid 38 killed; 12:56:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:56:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:56:08 [ssh-agent] Looking for ssh-agent implementation... 12:56:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:56:08 $ docker exec a50b1e508f47b06fe40e6cc81e07d2daf6e06ffe603e74f24781b8b7015e3a8e ssh-agent 12:56:08 SSH_AUTH_SOCK=/tmp/ssh-Blz255RysRjt/agent.71 12:56:08 SSH_AGENT_PID=77 12:56:08 Running ssh-add (command line suppressed) 12:56:08 Identity added: /w/workspace/_app-service-configurable_PR-654@tmp/private_key_2789176629893930544.key (/w/workspace/_app-service-configurable_PR-654@tmp/private_key_2789176629893930544.key) 12:56:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:56:08 + git semver init 12:56:09 2024-03-26 12:56:09,137 [run_init] DEBUG init version:0.0.0 force:False 12:56:09 2024-03-26 12:56:09,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-654/.semver 12:56:09 2024-03-26 12:56:09,138 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-654/.semver 12:56:09 2024-03-26 12:56:09,138 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-654/.semver'], cwd=/w/workspace/_app-service-configurable_PR-654, universal_newlines=False, shell=None, istream=None) 12:56:10 2024-03-26 12:56:10,432 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-654/.git/info/exclude 12:56:10 2024-03-26 12:56:10,432 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-654/.semver/PR-654 with force:False 12:56:10 2024-03-26 12:56:10,433 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-654/.semver/PR-654 12:56:10 2024-03-26 12:56:10,437 [execute] INFO git cat-file --batch-check 12:56:10 2024-03-26 12:56:10,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-654/.semver, universal_newlines=False, shell=None, istream=) 12:56:10 2024-03-26 12:56:10,443 [execute] INFO git cat-file --batch 12:56:10 2024-03-26 12:56:10,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-654/.semver, universal_newlines=False, shell=None, istream=) 12:56:10 2024-03-26 12:56:10,449 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-654/.semver/PR-654 12:56:10 0.0.0 [Pipeline] } 12:56:10 $ docker exec --env ******** --env ******** a50b1e508f47b06fe40e6cc81e07d2daf6e06ffe603e74f24781b8b7015e3a8e ssh-agent -k 12:56:10 unset SSH_AUTH_SOCK; 12:56:10 unset SSH_AGENT_PID; 12:56:10 echo Agent pid 77 killed; 12:56:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:56:11 + git semver [Pipeline] } 12:56:11 $ docker stop --time=1 a50b1e508f47b06fe40e6cc81e07d2daf6e06ffe603e74f24781b8b7015e3a8e 12:56:12 $ docker rm -f --volumes a50b1e508f47b06fe40e6cc81e07d2daf6e06ffe603e74f24781b8b7015e3a8e [Pipeline] // withDockerContainer [Pipeline] sh 12:56:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:56:13 Stashed 1 file(s) [Pipeline] echo 12:56:13 [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:56:14 provisioning config files... 12:56:14 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-654@tmp/config14423697243078042160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:14 ---> ****-login.sh 12:56:14 nexus3.edgexfoundry.org:10001 12:56:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:14 Configure a credential helper to remove this warning. See 12:56:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:14 12:56:14 Login Succeeded 12:56:14 nexus3.edgexfoundry.org:10002 12:56:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:14 Configure a credential helper to remove this warning. See 12:56:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:14 12:56:14 Login Succeeded 12:56:14 nexus3.edgexfoundry.org:10003 12:56:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:14 Configure a credential helper to remove this warning. See 12:56:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:14 12:56:14 Login Succeeded 12:56:14 nexus3.edgexfoundry.org:10004 12:56:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:14 Configure a credential helper to remove this warning. See 12:56:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:14 12:56:14 Login Succeeded 12:56:14 ****.io 12:56:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:15 Configure a credential helper to remove this warning. See 12:56:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:15 12:56:15 Login Succeeded 12:56:15 ---> ****-login.sh ends [Pipeline] } 12:56:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:56:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:56:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:56:15 ========================================================= 12:56:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:56:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:15 + 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:56:15 Sending build context to Docker daemon 8.97MB 12:56:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:56:15 Step 2/12 : FROM ${BASE} AS builder 12:56:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:56:15 7264a8db6415: Pulling fs layer 12:56:15 c4d48a809fc2: Pulling fs layer 12:56:15 4f1c88b9dad5: Pulling fs layer 12:56:15 ad3a456e5733: Pulling fs layer 12:56:15 69c7f0334f64: Pulling fs layer 12:56:15 1f1c1a5573a3: Pulling fs layer 12:56:15 ce7588e14bc9: Pulling fs layer 12:56:15 ad3a456e5733: Waiting 12:56:15 69c7f0334f64: Waiting 12:56:15 1f1c1a5573a3: Waiting 12:56:15 b5e4710f87ac: Pulling fs layer 12:56:15 ce7588e14bc9: Waiting 12:56:15 b5e4710f87ac: Waiting 12:56:15 c4d48a809fc2: Verifying Checksum 12:56:15 c4d48a809fc2: Download complete 12:56:15 ad3a456e5733: Verifying Checksum 12:56:15 ad3a456e5733: Download complete 12:56:15 69c7f0334f64: Verifying Checksum 12:56:15 69c7f0334f64: Download complete 12:56:15 7264a8db6415: Verifying Checksum 12:56:15 7264a8db6415: Download complete 12:56:16 1f1c1a5573a3: Verifying Checksum 12:56:16 1f1c1a5573a3: Download complete 12:56:16 7264a8db6415: Pull complete 12:56:16 b5e4710f87ac: Verifying Checksum 12:56:16 b5e4710f87ac: Download complete 12:56:16 c4d48a809fc2: Pull complete 12:56:16 4f1c88b9dad5: Verifying Checksum 12:56:16 4f1c88b9dad5: Download complete 12:56:16 ce7588e14bc9: Verifying Checksum 12:56:16 ce7588e14bc9: Download complete 12:56:19 4f1c88b9dad5: Pull complete 12:56:19 ad3a456e5733: Pull complete 12:56:19 69c7f0334f64: Pull complete 12:56:19 1f1c1a5573a3: Pull complete 12:56:22 ce7588e14bc9: Pull complete 12:56:22 b5e4710f87ac: Pull complete 12:56:22 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:56:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:56:22 ---> 88b5674ff536 12:56:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:56:27 ---> Running in 68375c5cc831 12:56:27 Removing intermediate container 68375c5cc831 12:56:27 ---> 7003238c67d8 12:56:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:56:27 ---> Running in 93fb12404f53 12:56:27 Removing intermediate container 93fb12404f53 12:56:27 ---> 2e1d29d222f4 12:56:27 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:56:27 ---> Running in d23fd40cb09a 12:56:27 Removing intermediate container d23fd40cb09a 12:56:27 ---> 8506383d76da 12:56:27 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:27 ---> Running in eac8896fa473 12:56:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:56:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:56:27 OK: 264 MiB in 52 packages 12:56:27 Removing intermediate container eac8896fa473 12:56:27 ---> 392a03e7ac51 12:56:27 Step 7/12 : WORKDIR /app 12:56:27 ---> Running in e66abe1d7c7a 12:56:27 Removing intermediate container e66abe1d7c7a 12:56:27 ---> b754be7cc01c 12:56:27 Step 8/12 : COPY go.mod vendor* ./ 12:56:28 ---> 95df8496b22e 12:56:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:28 ---> Running in e56a656f5768 12:56:28 Still waiting to schedule task 12:56:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:57:35 Removing intermediate container e56a656f5768 12:57:35 ---> 52b0bceba3cf 12:57:35 Step 10/12 : COPY . . 12:57:35 ---> e720bb86f2f7 12:57:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:57:35 ---> Running in b4adb0a36f11 12:57:35 Removing intermediate container b4adb0a36f11 12:57:35 ---> f81954fa7e0d 12:57:35 Step 12/12 : RUN $MAKE 12:57:35 ---> Running in 4a99d08fbf9b 12:57:35 noop 12:57:35 Removing intermediate container 4a99d08fbf9b 12:57:35 ---> f004b190b753 12:57:35 Successfully built f004b190b753 12:57:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:36 + docker inspect -f . ci-base-image-x86_64 12:57:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:36 prd-ubuntu20.04-docker-8c-8g-1250 does not seem to be running inside a container 12:57:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-654 -v /w/workspace/_app-service-configurable_PR-654:/w/workspace/_app-service-configurable_PR-654:rw,z -v /w/workspace/_app-service-configurable_PR-654@tmp:/w/workspace/_app-service-configurable_PR-654@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:57:36 $ docker top 0232f99241f78f85f8b6f79f770b4c7081f9517f9fa64153a0474ba755082996 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:37 + go version 12:57:37 go version go1.21.0 linux/amd64 [Pipeline] } 12:57:37 $ docker stop --time=1 0232f99241f78f85f8b6f79f770b4c7081f9517f9fa64153a0474ba755082996 12:57:38 $ docker rm -f --volumes 0232f99241f78f85f8b6f79f770b4c7081f9517f9fa64153a0474ba755082996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:39 + docker inspect -f . ci-base-image-x86_64 12:57:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:39 prd-ubuntu20.04-docker-8c-8g-1250 does not seem to be running inside a container 12:57:39 $ 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-654 -v /w/workspace/_app-service-configurable_PR-654:/w/workspace/_app-service-configurable_PR-654:rw,z -v /w/workspace/_app-service-configurable_PR-654@tmp:/w/workspace/_app-service-configurable_PR-654@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:57:39 $ docker top 3ee85522a28c21eaaf019b7d0c4e819ebfa27746e8d88a5a10acb79659bdeb19 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:40 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-654 [Pipeline] fileExists [Pipeline] sh 12:57:40 + make test 12:57:40 go test -race -coverprofile=coverage.out ./... 12:58:07 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:58:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1251 in /w/workspace/_app-service-configurable_PR-654 [Pipeline] { [Pipeline] ws 12:58:10 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:58:10 Selected Git installation does not exist. Using Default 12:58:10 The recommended git tool is: NONE 12:58:15 using credential edgex-jenkins-ssh 12:58:15 Cloning the remote Git repository 12:58:15 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:58:15 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:58:15 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:58:15 > git --version # timeout=10 12:58:15 > git --version # 'git version 2.25.1' 12:58:15 using GIT_SSH to set credentials SSH Credentials for GitHub 12:58:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:58:17 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:58:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:58:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:58:18 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:58:18 using GIT_SSH to set credentials SSH Credentials for GitHub 12:58:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/654/head:refs/remotes/origin/PR-654 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:58:19 Merging remotes/origin/main commit 3415ef22c40ef09dcdf0d2ebe671d1ee7f4e9e9f into PR head commit a624060716d18c6724ca58050810c57aa4f9afda 12:58:19 Merge succeeded, producing a624060716d18c6724ca58050810c57aa4f9afda 12:58:19 Checking out Revision a624060716d18c6724ca58050810c57aa4f9afda (PR-654) 12:58:19 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:58:19 > git --version # timeout=10 12:58:19 > git --version # 'git version 2.25.1' 12:58:20 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:58:19 > git config core.sparsecheckout # timeout=10 12:58:19 > git checkout -f a624060716d18c6724ca58050810c57aa4f9afda # timeout=10 12:58:19 > git remote # timeout=10 12:58:19 > git config --get remote.origin.url # timeout=10 12:58:19 using GIT_SSH to set credentials SSH Credentials for GitHub 12:58:19 > git merge 3415ef22c40ef09dcdf0d2ebe671d1ee7f4e9e9f # timeout=10 12:58:19 > git rev-parse HEAD^{commit} # timeout=10 12:58:19 > git config core.sparsecheckout # timeout=10 12:58:19 > git checkout -f a624060716d18c6724ca58050810c57aa4f9afda # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:58:24 % Total % Received % Xferd Average Speed Time Time Time Current 12:58:24 Dload Upload Total Spent Left Speed 12:58:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh 12:58:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:58:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:58:25 + sudo tee /etc/docker/daemon.new 12:58:25 { 12:58:25 "registry-mirrors": [ 12:58:25 "https://nexus3.edgexfoundry.org:10001" 12:58:25 ], 12:58:25 "bip": "10.250.0.254/24", 12:58:25 "hosts": [ 12:58:25 "tcp://0.0.0.0:5555", 12:58:25 "unix:///var/run/docker.sock" 12:58:25 ], 12:58:25 "mtu": 1458, 12:58:25 "selinux-enabled": true, 12:58:25 "seccomp-profile": "/etc/docker/seccomp.json" 12:58:25 } [Pipeline] sh 12:58:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:58:26 + sudo service docker restart 12:58:39 go vet ./... 12:58:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:58:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:58:40 ./bin/test-attribution-txt.sh [Pipeline] echo 12:58:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:58:40 $ docker stop --time=1 3ee85522a28c21eaaf019b7d0c4e819ebfa27746e8d88a5a10acb79659bdeb19 12:58:45 $ docker rm -f --volumes 3ee85522a28c21eaaf019b7d0c4e819ebfa27746e8d88a5a10acb79659bdeb19 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:46 provisioning config files... 12:58:46 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config15066279962759056081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:58:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 12:58:46 ---> ****-login.sh 12:58:46 nexus3.edgexfoundry.org:10001 [Pipeline] stage [Pipeline] { (Build) 12:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 12:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:58:47 Configure a credential helper to remove this warning. See 12:58:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:58:47 12:58:47 Login Succeeded 12:58:47 nexus3.edgexfoundry.org:10002 12:58:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:58:47 Configure a credential helper to remove this warning. See 12:58:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:58:47 12:58:47 Login Succeeded 12:58:47 nexus3.edgexfoundry.org:10003 12:58:47 + ls -al . 12:58:47 total 260 12:58:47 drwxrwxr-x 7 jenkins jenkins 4096 Mar 26 12:57 . 12:58:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 12:55 .. 12:58:47 -rw-rw-r-- 1 jenkins jenkins 119 Mar 26 12:55 .dockerignore 12:58:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 12:58 .git 12:58:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 12:55 .github 12:58:47 -rw-rw-r-- 1 jenkins jenkins 106 Mar 26 12:55 .gitignore 12:58:47 -rw-rw-r-- 1 jenkins jenkins 41 Mar 26 12:55 .golangci.yml 12:58:47 drwxr-xr-x 3 jenkins jenkins 4096 Mar 26 12:56 .semver 12:58:47 -rw-rw-r-- 1 jenkins jenkins 18981 Mar 26 12:55 Attribution.txt 12:58:47 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 26 12:55 CHANGELOG.md 12:58:47 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 26 12:55 Dockerfile 12:58:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 26 12:55 GOVERNANCE.md 12:58:47 -rw-rw-r-- 1 jenkins jenkins 666 Mar 26 12:55 Jenkinsfile 12:58:47 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 26 12:55 LICENSE 12:58:47 -rw-rw-r-- 1 jenkins jenkins 618 Mar 26 12:55 OWNERS.md 12:58:47 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 26 12:55 README.md 12:58:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 26 12:56 VERSION 12:58:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 12:55 bin 12:58:47 -rw-r--r-- 1 jenkins jenkins 13 Mar 26 12:57 coverage.out 12:58:47 -rw-rw-r-- 1 jenkins jenkins 7078 Mar 26 12:55 go.mod 12:58:47 -rw-rw-r-- 1 jenkins jenkins 101524 Mar 26 12:55 go.sum 12:58:47 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 26 12:55 main.go 12:58:47 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 26 12:55 makefile 12:58:47 drwxrwxr-x 9 jenkins jenkins 4096 Mar 26 12:55 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 12:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 12:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:58:48 Configure a credential helper to remove this warning. See 12:58:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:58:48 12:58:48 Login Succeeded 12:58:48 nexus3.edgexfoundry.org:10004 12:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:48 + 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=a624060716d18c6724ca58050810c57aa4f9afda --label arch=amd64 --label version=0.0.0 . 12:58:48 Sending build context to Docker daemon 8.971MB 12:58:48 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:58:48 Step 2/27 : FROM ${BASE} AS builder 12:58:48 ---> f004b190b753 12:58:48 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:58:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:58:48 Configure a credential helper to remove this warning. See 12:58:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:58:48 12:58:48 Login Succeeded 12:58:48 ****.io 12:58:48 ---> Running in 7740c5b17fd9 12:58:48 Removing intermediate container 7740c5b17fd9 12:58:48 ---> e1452b55825f 12:58:48 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:58:48 ---> Running in 1f74b68c3708 12:58:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:48 Removing intermediate container 1f74b68c3708 12:58:48 ---> 11af9395f0ec 12:58:48 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:58:48 ---> Running in f9fe932371bf 12:58:48 Removing intermediate container f9fe932371bf 12:58:48 ---> 9f723689f3a8 12:58:48 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:58:48 ---> Running in b1afe57eba6b 12:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:58:49 Configure a credential helper to remove this warning. See 12:58:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:58:49 12:58:49 Login Succeeded 12:58:49 ---> ****-login.sh ends [Pipeline] } 12:58:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 12:58:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:58:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] echo 12:58:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:58:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:58:49 ========================================================= 12:58:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:58:49 ========================================================= [Pipeline] fileExists 12:58:49 OK: 264 MiB in 52 packages [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:50 + 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:58:50 Sending build context to Docker daemon 238.1kB 12:58:50 Removing intermediate container b1afe57eba6b 12:58:50 ---> 0ff39d453aa2 12:58:50 Step 7/27 : WORKDIR /app 12:58:50 ---> Running in a7e6fb823f97 12:58:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:58:50 Step 2/12 : FROM ${BASE} AS builder 12:58:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:58:50 9fda8d8052c6: Pulling fs layer 12:58:50 5d54e960e981: Pulling fs layer 12:58:50 c4a7e357bf2a: Pulling fs layer 12:58:50 f0e02332f6b5: Pulling fs layer 12:58:50 872ee5b61b7b: Pulling fs layer 12:58:50 0c6a40ed1a82: Pulling fs layer 12:58:50 94ae7d8d031c: Pulling fs layer 12:58:50 872ee5b61b7b: Waiting 12:58:50 0c6a40ed1a82: Waiting 12:58:50 94ae7d8d031c: Waiting 12:58:50 f0e02332f6b5: Waiting 12:58:50 5d54e960e981: Verifying Checksum 12:58:50 5d54e960e981: Download complete 12:58:50 Removing intermediate container a7e6fb823f97 12:58:50 ---> 8de90bfd57c4 12:58:50 Step 8/27 : COPY go.mod vendor* ./ 12:58:50 ---> 6e4ebca63ab6 12:58:50 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:50 ---> Running in ecd358b36ba2 12:58:50 f0e02332f6b5: Download complete 12:58:50 872ee5b61b7b: Verifying Checksum 12:58:50 872ee5b61b7b: Download complete 12:58:50 9fda8d8052c6: Download complete 12:58:50 94ae7d8d031c: Verifying Checksum 12:58:50 94ae7d8d031c: Download complete 12:58:51 Removing intermediate container ecd358b36ba2 12:58:51 ---> 5459614857a0 12:58:51 Step 10/27 : COPY . . 12:58:51 9fda8d8052c6: Pull complete 12:58:51 ---> 7c229f11e864 12:58:51 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:58:51 ---> Running in 6ba3cd032413 12:58:51 Removing intermediate container 6ba3cd032413 12:58:51 ---> 046c0a544079 12:58:51 Step 12/27 : RUN $MAKE 12:58:51 ---> Running in 36e835321875 12:58:52 5d54e960e981: Pull complete 12:58:52 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:58:52 c4a7e357bf2a: Verifying Checksum 12:58:52 c4a7e357bf2a: Download complete 12:58:53 0c6a40ed1a82: Verifying Checksum 12:58:53 0c6a40ed1a82: Download complete 12:59:05 c4a7e357bf2a: Pull complete 12:59:05 f0e02332f6b5: Pull complete 12:59:05 872ee5b61b7b: Pull complete 12:59:13 0c6a40ed1a82: Pull complete 12:59:15 94ae7d8d031c: Pull complete 12:59:15 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:59:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:59:15 ---> 86de565de09d 12:59:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:59:16 ---> Running in 0f9e20c3857d 12:59:16 Removing intermediate container 0f9e20c3857d 12:59:16 ---> 555578b0d70a 12:59:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:16 ---> Running in b3201a0caf9f 12:59:16 Removing intermediate container b3201a0caf9f 12:59:16 ---> 69d55d0bf074 12:59:16 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:16 ---> Running in 5d304f11240a 12:59:17 Removing intermediate container 5d304f11240a 12:59:17 ---> d9172399d6fe 12:59:17 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:17 ---> Running in 1949bfa2997d 12:59:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:59:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:59:19 OK: 266 MiB in 52 packages 12:59:20 Removing intermediate container 1949bfa2997d 12:59:20 ---> f6682c0ff881 12:59:20 Step 7/12 : WORKDIR /app 12:59:20 ---> Running in 2c92ba1aa19a 12:59:20 Removing intermediate container 2c92ba1aa19a 12:59:20 ---> a7dbeeffcb7c 12:59:20 Step 8/12 : COPY go.mod vendor* ./ 12:59:21 ---> edf877aba028 12:59:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:21 ---> Running in 527fd8c7f825 12:59:24 Removing intermediate container 36e835321875 12:59:24 ---> 805795c4d0ee 12:59:24 Step 13/27 : FROM alpine:3.18 12:59:24 3.18: Pulling from library/alpine 12:59:24 619be1103602: Pulling fs layer 12:59:24 619be1103602: Download complete 12:59:24 619be1103602: Pull complete 12:59:24 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:59:24 Status: Downloaded newer image for alpine:3.18 12:59:24 ---> d3782b16ccc9 12:59:24 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:59:24 ---> Running in 625d31b83d54 12:59:24 Removing intermediate container 625d31b83d54 12:59:24 ---> a89cba4bc51e 12:59:24 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:59:24 ---> Running in 50ecf7b0beac 12:59:24 Removing intermediate container 50ecf7b0beac 12:59:24 ---> 8e3c6658fbb7 12:59:24 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:59:24 ---> Running in c10479472943 12:59:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:59:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:59:24 (1/2) Installing ca-certificates (20240226-r0) 12:59:24 (2/2) Installing dumb-init (1.2.5-r2) 12:59:24 Executing busybox-1.36.1-r5.trigger 12:59:24 Executing ca-certificates-20240226-r0.trigger 12:59:24 OK: 8 MiB in 17 packages 12:59:24 Removing intermediate container c10479472943 12:59:24 ---> c86c51791f39 12:59:24 Step 17/27 : RUN apk --no-cache upgrade 12:59:24 ---> Running in 2011ec49bed5 12:59:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:59:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:59:24 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 12:59:24 Executing ca-certificates-20240226-r0.trigger 12:59:24 OK: 8 MiB in 17 packages 12:59:25 Removing intermediate container 2011ec49bed5 12:59:25 ---> a903340ab012 12:59:25 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:59:25 ---> 5ef20b052b0f 12:59:25 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:59:25 ---> 9726ee68ac0f 12:59:25 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:59:25 ---> 22fee4e9c584 12:59:25 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:59:26 ---> ea6e4b188d24 12:59:26 Step 22/27 : EXPOSE 48095 12:59:26 ---> Running in 0f1d40383f6d 12:59:26 Removing intermediate container 0f1d40383f6d 12:59:26 ---> f4318f9d0b75 12:59:26 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:59:26 ---> Running in eb3ca844293a 12:59:26 Removing intermediate container eb3ca844293a 12:59:26 ---> 8fe829e77986 12:59:26 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:59:26 ---> Running in dba372ce50e6 12:59:26 Removing intermediate container dba372ce50e6 12:59:26 ---> 8c6ea9ccfacc 12:59:26 Step 25/27 : LABEL arch=amd64 12:59:26 ---> Running in 6c24f41077ea 12:59:26 Removing intermediate container 6c24f41077ea 12:59:26 ---> dbc1ec2681ed 12:59:26 Step 26/27 : LABEL git_sha=a624060716d18c6724ca58050810c57aa4f9afda 12:59:26 ---> Running in b528aec284fa 12:59:26 Removing intermediate container b528aec284fa 12:59:26 ---> abb6bca57d89 12:59:26 Step 27/27 : LABEL version=0.0.0 12:59:26 ---> Running in 969041e6f6cb 12:59:26 Removing intermediate container 969041e6f6cb 12:59:26 ---> 63bb6fbfd09d 12:59:26 [Warning] One or more build-args [ARCH] were not consumed 12:59:26 Successfully built 63bb6fbfd09d 12:59:26 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:59:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:27 12:59:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:28 latest: Pulling from edgex-lftools-log-publisher 12:59:28 5eb5b503b376: Pulling fs layer 12:59:28 5c69ac0246d0: Pulling fs layer 12:59:28 ec43610c2a17: Pulling fs layer 12:59:28 3a2ae6a8a46f: Pulling fs layer 12:59:28 33b1e0a273af: Pulling fs layer 12:59:28 5d3b04190fa2: Pulling fs layer 12:59:28 2f39f015ded8: Pulling fs layer 12:59:28 33b1e0a273af: Waiting 12:59:28 3a2ae6a8a46f: Waiting 12:59:28 2f39f015ded8: Waiting 12:59:28 5c69ac0246d0: Verifying Checksum 12:59:28 5c69ac0246d0: Download complete 12:59:28 3a2ae6a8a46f: Verifying Checksum 12:59:28 3a2ae6a8a46f: Download complete 12:59:28 33b1e0a273af: Verifying Checksum 12:59:28 33b1e0a273af: Download complete 12:59:28 5d3b04190fa2: Verifying Checksum 12:59:28 5d3b04190fa2: Download complete 12:59:28 ec43610c2a17: Verifying Checksum 12:59:28 ec43610c2a17: Download complete 12:59:28 5eb5b503b376: Verifying Checksum 12:59:28 5eb5b503b376: Download complete 12:59:29 2f39f015ded8: Verifying Checksum 12:59:29 2f39f015ded8: Download complete 12:59:29 5eb5b503b376: Pull complete 12:59:29 5c69ac0246d0: Pull complete 12:59:29 ec43610c2a17: Pull complete 12:59:30 3a2ae6a8a46f: Pull complete 12:59:30 33b1e0a273af: Pull complete 12:59:30 5d3b04190fa2: Pull complete 12:59:34 2f39f015ded8: Pull complete 12:59:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:59:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:34 prd-ubuntu20.04-docker-8c-8g-1250 does not seem to be running inside a container 12:59:34 $ 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-654 -v /w/workspace/_app-service-configurable_PR-654:/w/workspace/_app-service-configurable_PR-654:rw,z -v /w/workspace/_app-service-configurable_PR-654@tmp:/w/workspace/_app-service-configurable_PR-654@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:59:38 $ docker top 66d453158e206b79bde90a5b40fd525ab97956c770e035d600acf9aa690a3384 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:39 ---> job-cost.sh 12:59:39 lf-activate-venv: SKIPPING 12:59:39 INFO: No Stack... 12:59:39 INFO: Retrieving Pricing Info for: v3-standard-8 12:59:39 INFO: Archiving Costs [Pipeline] sh 12:59:40 + cat /w/workspace/_app-service-configurable_PR-654/archives/cost.csv 12:59:40 + cut -d, -f6 [Pipeline] lock 12:59:40 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-654-1-stack-cost] 12:59:40 Resource [jenkins-edgexfoundry-app-service-configurable-PR-654-1-stack-cost] did not exist. Created. 12:59:40 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-654-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:59:40 + echo total: 0.2199999988079071 [Pipeline] stash 12:59:40 Stashed 1 file(s) [Pipeline] } 12:59:40 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-654-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:59:40 $ docker stop --time=1 66d453158e206b79bde90a5b40fd525ab97956c770e035d600acf9aa690a3384 12:59:42 $ docker rm -f --volumes 66d453158e206b79bde90a5b40fd525ab97956c770e035d600acf9aa690a3384 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:01:13 Removing intermediate container 527fd8c7f825 13:01:13 ---> aa5d9c7b3157 13:01:13 Step 10/12 : COPY . . 13:01:13 ---> 29ac1c9833a5 13:01:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:01:13 ---> Running in 6bb665a4e623 13:01:13 Removing intermediate container 6bb665a4e623 13:01:13 ---> 3dc9b378704a 13:01:13 Step 12/12 : RUN $MAKE 13:01:13 ---> Running in 84f1d15867b3 13:01:13 noop 13:01:14 Removing intermediate container 84f1d15867b3 13:01:14 ---> bf1e212d1552 13:01:14 Successfully built bf1e212d1552 13:01:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:14 + docker inspect -f . ci-base-image-arm64 13:01:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:14 prd-ubuntu20.04-docker-arm64-4c-16g-1251 does not seem to be running inside a container 13:01:14 $ 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 13:01:16 $ docker top 026f68ca6b19d0777e81f944b3525cfdea53df58e1a5444b4614864f304c0e01 -eo pid,comm [Pipeline] { [Pipeline] sh 13:01:16 + go version 13:01:16 go version go1.21.0 linux/arm64 [Pipeline] } 13:01:16 $ docker stop --time=1 026f68ca6b19d0777e81f944b3525cfdea53df58e1a5444b4614864f304c0e01 13:01:18 $ docker rm -f --volumes 026f68ca6b19d0777e81f944b3525cfdea53df58e1a5444b4614864f304c0e01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:19 + docker inspect -f . ci-base-image-arm64 13:01:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:19 prd-ubuntu20.04-docker-arm64-4c-16g-1251 does not seem to be running inside a container 13:01:19 $ 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 13:01:20 $ docker top 298f2152203043956a5218be45a7200a9b0dc8afa2d409b32238a59e638faa18 -eo pid,comm [Pipeline] { [Pipeline] sh 13:01:21 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:01:21 + make test 13:01:21 go test -race -coverprofile=coverage.out ./... 13:04:28 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:04:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:04:28 go vet ./... 13:06:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:06:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:06:50 ./bin/test-attribution-txt.sh [Pipeline] echo 13:06:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:06:51 $ docker stop --time=1 298f2152203043956a5218be45a7200a9b0dc8afa2d409b32238a59e638faa18 13:06:53 $ docker rm -f --volumes 298f2152203043956a5218be45a7200a9b0dc8afa2d409b32238a59e638faa18 [Pipeline] // withDockerContainer [Pipeline] sh 13:06:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:06:55 Warning: overwriting stash ‘coverage-report’ 13:06:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:06:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:06:56 + ls -al . 13:06:56 total 256 13:06:56 drwxrwxr-x 6 jenkins jenkins 4096 Mar 26 13:01 . 13:06:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 26 12:58 .. 13:06:56 -rw-rw-r-- 1 jenkins jenkins 119 Mar 26 12:58 .dockerignore 13:06:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 12:58 .git 13:06:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 26 12:58 .github 13:06:56 -rw-rw-r-- 1 jenkins jenkins 106 Mar 26 12:58 .gitignore 13:06:56 -rw-rw-r-- 1 jenkins jenkins 41 Mar 26 12:58 .golangci.yml 13:06:56 -rw-rw-r-- 1 jenkins jenkins 18981 Mar 26 12:58 Attribution.txt 13:06:56 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 26 12:58 CHANGELOG.md 13:06:56 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 26 12:58 Dockerfile 13:06:56 -rw-rw-r-- 1 jenkins jenkins 677 Mar 26 12:58 GOVERNANCE.md 13:06:56 -rw-rw-r-- 1 jenkins jenkins 666 Mar 26 12:58 Jenkinsfile 13:06:56 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 26 12:58 LICENSE 13:06:56 -rw-rw-r-- 1 jenkins jenkins 618 Mar 26 12:58 OWNERS.md 13:06:56 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 26 12:58 README.md 13:06:56 -rw-rw-r-- 1 jenkins jenkins 5 Mar 26 12:56 VERSION 13:06:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 26 12:58 bin 13:06:56 -rw-r--r-- 1 jenkins jenkins 13 Mar 26 13:01 coverage.out 13:06:56 -rw-rw-r-- 1 jenkins jenkins 7078 Mar 26 12:58 go.mod 13:06:56 -rw-rw-r-- 1 jenkins jenkins 101524 Mar 26 12:58 go.sum 13:06:56 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 26 12:58 main.go 13:06:56 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 26 12:58 makefile 13:06:56 drwxrwxr-x 9 jenkins jenkins 4096 Mar 26 12:58 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:57 + 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=a624060716d18c6724ca58050810c57aa4f9afda --label arch=arm64 --label version=0.0.0 . 13:06:57 Sending build context to Docker daemon 239.1kB 13:06:57 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 13:06:57 Step 2/27 : FROM ${BASE} AS builder 13:06:57 ---> bf1e212d1552 13:06:57 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 13:06:57 ---> Running in 90599b55b78d 13:06:57 Removing intermediate container 90599b55b78d 13:06:57 ---> 503d3c0b7c7d 13:06:57 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 13:06:58 ---> Running in 253604e9e476 13:06:58 Removing intermediate container 253604e9e476 13:06:58 ---> c2b508cb734c 13:06:58 Step 5/27 : ARG ADD_BUILD_TAGS="" 13:06:58 ---> Running in a74f67b550fa 13:06:58 Removing intermediate container a74f67b550fa 13:06:58 ---> 3132d9e30c20 13:06:58 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:06:58 ---> Running in 64571ec67a24 13:06:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:07:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:07:01 OK: 266 MiB in 52 packages 13:07:02 Removing intermediate container 64571ec67a24 13:07:02 ---> 136488badc4f 13:07:02 Step 7/27 : WORKDIR /app 13:07:02 ---> Running in 66f845a9602a 13:07:02 Removing intermediate container 66f845a9602a 13:07:02 ---> b44ce61e35b0 13:07:02 Step 8/27 : COPY go.mod vendor* ./ 13:07:02 ---> eca418cce524 13:07:02 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:07:02 ---> Running in 0c907b1e0286 13:07:05 Removing intermediate container 0c907b1e0286 13:07:05 ---> d40f9305720a 13:07:05 Step 10/27 : COPY . . 13:07:05 ---> d92b6ad4e658 13:07:05 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:07:05 ---> Running in 36d7a299a373 13:07:06 Removing intermediate container 36d7a299a373 13:07:06 ---> f662098e2ccd 13:07:06 Step 12/27 : RUN $MAKE 13:07:06 ---> Running in 39faa653d881 13:07:07 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.32 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:09:43 Removing intermediate container 39faa653d881 13:09:43 ---> 4cd2d021797a 13:09:43 Step 13/27 : FROM alpine:3.18 13:09:43 3.18: Pulling from library/alpine 13:09:43 c6b39de5b339: Pulling fs layer 13:09:43 c6b39de5b339: Verifying Checksum 13:09:43 c6b39de5b339: Download complete 13:09:43 c6b39de5b339: Pull complete 13:09:43 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:09:43 Status: Downloaded newer image for alpine:3.18 13:09:43 ---> 33abbf032149 13:09:43 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:09:43 ---> Running in ac5cea91657c 13:09:43 Removing intermediate container ac5cea91657c 13:09:43 ---> cf56b69ddd39 13:09:43 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 13:09:43 ---> Running in 6c4d528d0fcc 13:09:43 Removing intermediate container 6c4d528d0fcc 13:09:43 ---> c9979521a23c 13:09:43 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 13:09:43 ---> Running in d3c2de5bc9ad 13:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:09:43 (1/2) Installing ca-certificates (20240226-r0) 13:09:43 (2/2) Installing dumb-init (1.2.5-r2) 13:09:43 Executing busybox-1.36.1-r5.trigger 13:09:43 Executing ca-certificates-20240226-r0.trigger 13:09:43 OK: 9 MiB in 17 packages 13:09:43 Removing intermediate container d3c2de5bc9ad 13:09:43 ---> 8fdf379e7224 13:09:43 Step 17/27 : RUN apk --no-cache upgrade 13:09:43 ---> Running in e0e57b5e8384 13:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:09:43 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:09:43 Executing ca-certificates-20240226-r0.trigger 13:09:43 OK: 9 MiB in 17 packages 13:09:43 Removing intermediate container e0e57b5e8384 13:09:43 ---> 24b6dc41fb86 13:09:43 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:09:43 ---> 98413889d060 13:09:43 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 13:09:43 ---> 97076414f4ae 13:09:43 Step 20/27 : COPY --from=builder /app/res/ /res/ 13:09:44 ---> 64859cfa7062 13:09:44 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:09:45 ---> e54abc4559f5 13:09:45 Step 22/27 : EXPOSE 48095 13:09:45 ---> Running in 57c5e3ec6aa7 13:09:46 Removing intermediate container 57c5e3ec6aa7 13:09:46 ---> ace13ea2c0d9 13:09:46 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 13:09:46 ---> Running in ace2261389b8 13:09:46 Removing intermediate container ace2261389b8 13:09:46 ---> 1909b3dbddfb 13:09:46 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:09:46 ---> Running in 63c75ee55ef6 13:09:46 Removing intermediate container 63c75ee55ef6 13:09:46 ---> c39f7932ec42 13:09:46 Step 25/27 : LABEL arch=arm64 13:09:46 ---> Running in 1e3a2f3e86f8 13:09:47 Removing intermediate container 1e3a2f3e86f8 13:09:47 ---> e37a47a28df9 13:09:47 Step 26/27 : LABEL git_sha=a624060716d18c6724ca58050810c57aa4f9afda 13:09:47 ---> Running in 680a1da94d83 13:09:47 Removing intermediate container 680a1da94d83 13:09:47 ---> 3904323d9219 13:09:47 Step 27/27 : LABEL version=0.0.0 13:09:47 ---> Running in ad73237b4eb8 13:09:48 Removing intermediate container ad73237b4eb8 13:09:48 ---> d390a52c44eb 13:09:48 [Warning] One or more build-args [ARCH] were not consumed 13:09:48 Successfully built d390a52c44eb 13:09:48 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 13:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:48 13:09:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:49 arm64: Pulling from edgex-lftools-log-publisher 13:09:49 8998bd30e6a1: Pulling fs layer 13:09:49 04944245beec: Pulling fs layer 13:09:49 699f458cf7ca: Pulling fs layer 13:09:49 765212b225bb: Pulling fs layer 13:09:49 f23df028b6ca: Pulling fs layer 13:09:49 d65c8cfc05b1: Pulling fs layer 13:09:49 2437ff75d9bd: Pulling fs layer 13:09:49 765212b225bb: Waiting 13:09:49 f23df028b6ca: Waiting 13:09:49 d65c8cfc05b1: Waiting 13:09:49 2437ff75d9bd: Waiting 13:09:49 04944245beec: Verifying Checksum 13:09:49 04944245beec: Download complete 13:09:49 765212b225bb: Verifying Checksum 13:09:49 765212b225bb: Download complete 13:09:49 f23df028b6ca: Verifying Checksum 13:09:49 f23df028b6ca: Download complete 13:09:49 d65c8cfc05b1: Verifying Checksum 13:09:49 d65c8cfc05b1: Download complete 13:09:49 699f458cf7ca: Verifying Checksum 13:09:49 699f458cf7ca: Download complete 13:09:50 8998bd30e6a1: Download complete 13:09:52 2437ff75d9bd: Verifying Checksum 13:09:52 2437ff75d9bd: Download complete 13:09:54 8998bd30e6a1: Pull complete 13:09:54 04944245beec: Pull complete 13:09:56 699f458cf7ca: Pull complete 13:09:56 765212b225bb: Pull complete 13:09:57 f23df028b6ca: Pull complete 13:09:57 d65c8cfc05b1: Pull complete 13:10:15 2437ff75d9bd: Pull complete 13:10:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:10:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:16 prd-ubuntu20.04-docker-arm64-4c-16g-1251 does not seem to be running inside a container 13:10:16 $ 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 13:10:18 $ docker top 0882424bb519914fd68a80a32e7545b0938e98950959fe6b6d409382daa9e9d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:19 ---> job-cost.sh 13:10:19 lf-activate-venv: SKIPPING 13:10:19 INFO: No Stack... 13:10:20 INFO: Retrieving Pricing Info for: v3-standard-4 13:10:21 INFO: Archiving Costs [Pipeline] sh 13:10:21 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:10:21 + cut -d, -f6 [Pipeline] lock 13:10:21 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-654-1-stack-cost] 13:10:21 Resource [jenkins-edgexfoundry-app-service-configurable-PR-654-1-stack-cost] did not exist. Created. 13:10:21 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-654-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:10:22 /w/workspace/app-service-configurable/1@tmp/durable-c11e879b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:10:22 + echo total: 0.10999999940395355 [Pipeline] stash 13:10:22 Warning: overwriting stash ‘stack-cost’ 13:10:22 Stashed 1 file(s) [Pipeline] } 13:10:22 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-654-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:10:22 $ docker stop --time=1 0882424bb519914fd68a80a32e7545b0938e98950959fe6b6d409382daa9e9d8 13:10:24 $ docker rm -f --volumes 0882424bb519914fd68a80a32e7545b0938e98950959fe6b6d409382daa9e9d8 [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 13:10:25 provisioning config files... 13:10:25 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-654@tmp/config10573768896743267410tmp [Pipeline] { [Pipeline] sh 13:10:25 + set +x 13:10:25 + bash -s -- 13:10:25 + curl -s https://codecov.io/bash 13:10:25 13:10:25 _____ _ 13:10:25 / ____| | | 13:10:25 | | ___ __| | ___ ___ _____ __ 13:10:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:10:25 | |___| (_) | (_| | __/ (_| (_) \ V / 13:10:25 \_____\___/ \__,_|\___|\___\___/ \_/ 13:10:25 Bash-1.0.6 13:10:25 13:10:25 13:10:25 ==> git version 2.25.1 found 13:10:25 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:10:25 Release-Date: 2020-01-08 13:10:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:10:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:10:25 ==> Jenkins CI detected. 13:10:25 current dir:  /w/workspace/_app-service-configurable_PR-654 13:10:25 project root: . 13:10:25 --> token set from env 13:10:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:10:25 ==> Running gcov in . (disable via -X gcov) 13:10:25 ==> Python coveragepy not found 13:10:25 ==> Searching for coverage reports in: 13:10:25 + . 13:10:25 -> Found 1 reports 13:10:25 ==> Detecting git/mercurial file structure 13:10:25 ==> Reading reports 13:10:25 + ./coverage.out bytes=13 13:10:25 ==> Appending adjustments 13:10:25 https://docs.codecov.io/docs/fixing-reports 13:10:25 + Found adjustments 13:10:25 ==> Gzipping contents 13:10:25 4.0K /tmp/codecov.dFk2Xh.gz 13:10:25 ==> Uploading reports 13:10:25 url: https://codecov.io 13:10:25 query: branch=PR-654&commit=a624060716d18c6724ca58050810c57aa4f9afda&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-654%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=654&job=&cmd_args= 13:10:25 -> Pinging Codecov 13:10:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-654&commit=a624060716d18c6724ca58050810c57aa4f9afda&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-654%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=654&job=&cmd_args= 13:10:25 -> Uploading to 13:10:25 https://storage.googleapis.com/codecov/v4/raw/2024-03-26/A97CA9966030D2A3747ED39772930CCE/a624060716d18c6724ca58050810c57aa4f9afda/83230193-138a-476c-ad04-0663fc5199b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240326%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240326T131025Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3ba1522eeca4d5a7a2c2ee91561839bdfa30b9e60014c9ade2fa56e68710951 13:10:25 % Total % Received % Xferd Average Speed Time Time Time Current 13:10:25 Dload Upload Total Spent Left Speed 13:10:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 780 --:--:-- --:--:-- --:--:-- 782 13:10:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/a624060716d18c6724ca58050810c57aa4f9afda [Pipeline] } 13:10:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:10:28 + [ -d /w/workspace/_app-service-configurable_PR-654/archives ] 13:10:28 + ls -al /w/workspace/_app-service-configurable_PR-654/archives 13:10:28 total 16 13:10:28 drwxr-xr-x 3 root root 4096 Mar 26 12:59 . 13:10:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 12:59 .. 13:10:28 drwxr-xr-x 2 root root 4096 Mar 26 12:59 cost 13:10:28 -rw-r--r-- 1 root root 96 Mar 26 12:59 cost.csv 13:10:28 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-654/archives 13:10:28 + ls -al /w/workspace/_app-service-configurable_PR-654/archives 13:10:28 total 16 13:10:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 26 12:59 . 13:10:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 26 12:59 .. 13:10:28 drwxr-xr-x 2 jenkins jenkins 4096 Mar 26 12:59 cost 13:10:28 -rw-r--r-- 1 jenkins jenkins 96 Mar 26 12:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:10:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:10:29 ---> package-listing.sh 13:10:29 ++ facter osfamily 13:10:29 ++ tr '[:upper:]' '[:lower:]' 13:10:29 + OS_FAMILY=debian 13:10:29 + workspace=/w/workspace/_app-service-configurable_PR-654 13:10:29 + START_PACKAGES=/tmp/packages_start.txt 13:10:29 + END_PACKAGES=/tmp/packages_end.txt 13:10:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:10:29 + PACKAGES=/tmp/packages_start.txt 13:10:29 + '[' /w/workspace/_app-service-configurable_PR-654 ']' 13:10:29 + PACKAGES=/tmp/packages_end.txt 13:10:29 + case "${OS_FAMILY}" in 13:10:29 + dpkg -l 13:10:29 + grep '^ii' 13:10:29 + '[' -f /tmp/packages_start.txt ']' 13:10:29 + '[' -f /tmp/packages_end.txt ']' 13:10:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:10:29 + '[' /w/workspace/_app-service-configurable_PR-654 ']' 13:10:29 + mkdir -p /w/workspace/_app-service-configurable_PR-654/archives/ 13:10:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-654/archives/ [Pipeline] echo 13:10:29 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-654/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:10:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:30 prd-ubuntu20.04-docker-8c-8g-1250 does not seem to be running inside a container 13:10:30 $ 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-654/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-654 -v /w/workspace/_app-service-configurable_PR-654:/w/workspace/_app-service-configurable_PR-654:rw,z -v /w/workspace/_app-service-configurable_PR-654@tmp:/w/workspace/_app-service-configurable_PR-654@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 13:10:31 $ docker top 19c5caa2adbbbc9cf4f3247e1a26d28fc21f8c6d0861936519669c34231bb7af -eo pid,comm [Pipeline] { [Pipeline] sh 13:10:31 + touch /tmp/pre-build-complete [Pipeline] sh 13:10:31 + mkdir -p /var/log/sysstat [Pipeline] sh 13:10:32 + ls /var/log/sa-host 13:10:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:32 provisioning config files... 13:10:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-654@tmp/config14511434177989833411tmp [Pipeline] { [Pipeline] echo 13:10:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:10:32 ---> create-netrc.sh [Pipeline] } 13:10:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:10:33 ---> python-tools-install.sh [Pipeline] echo 13:10:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:10:33 ---> sudo-logs.sh 13:10:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:10:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:10:33 ---> job-cost.sh 13:10:33 lf-activate-venv: SKIPPING 13:10:33 DEBUG: total: 0.2199999988079071 13:10:33 INFO: Retrieving Stack Cost... 13:10:34 INFO: Retrieving Pricing Info for: v3-standard-8 13:10:34 INFO: Archiving Costs [Pipeline] echo 13:10:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:10:35 ---> logs-deploy.sh 13:10:35 lf-activate-venv: SKIPPING 13:10:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-654/1 13:10:35 INFO: archiving workspace using pattern(s): 13:10:36 Archives upload complete. 13:10:36 INFO: archiving logs to Nexus