Pull request #648 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 35b7f5f3991b6da5434163e71f1167699f19a859+6634504278288e6934fcc5ff18d9fc69e07ed390 (5ee03a12b7bd1ed0f99502c43062ce118c36d895) 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-ssh13320363244549673854.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-ssh18008754805220310737.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-648/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-648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10421087623476429425.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-648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2207868419662635273.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-ssh4941305042768281120.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-648/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-648/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10982166476821916025.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5442 in /w/workspace/_app-service-configurable_PR-648 [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-648 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6634504278288e6934fcc5ff18d9fc69e07ed390 into PR head commit 35b7f5f3991b6da5434163e71f1167699f19a859 Merge succeeded, producing 35b7f5f3991b6da5434163e71f1167699f19a859 Checking out Revision 35b7f5f3991b6da5434163e71f1167699f19a859 (PR-648) > 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/648/head:refs/remotes/origin/PR-648 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35b7f5f3991b6da5434163e71f1167699f19a859 # 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 6634504278288e6934fcc5ff18d9fc69e07ed390 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35b7f5f3991b6da5434163e71f1167699f19a859 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:37:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:37:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:37:17 ========================================================= 12:37:17 EdgeX Global Pipelines Version Info 12:37:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:37:18 ------------------- 12:37:18 stable info: 12:37:18 ------------------- 12:37:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:37:18 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:37:18 Message: update stable to v1.0.258 12:37:18 ------------------- 12:37:18 experimental info: 12:37:18 ------------------- 12:37:18 Commited By: **** collab-it+edgex@linuxfoundation.org 12:37:18 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:37:18 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:37:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-648 [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-648 [Pipeline] echo 12:37:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-648 [Pipeline] echo 12:37:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35b7f5f3991b6da5434163e71f1167699f19a859 [Pipeline] echo 12:37:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35b7f5f [Pipeline] echo 12:37:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:37:21 provisioning config files... 12:37:21 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-648@tmp/config14831381208658243214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:37:21 ---> ****-login.sh 12:37:21 nexus3.edgexfoundry.org:10001 12:37:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:37:22 Configure a credential helper to remove this warning. See 12:37:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:37:22 12:37:22 Login Succeeded 12:37:22 nexus3.edgexfoundry.org:10002 12:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:37:22 Configure a credential helper to remove this warning. See 12:37:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:37:22 12:37:22 Login Succeeded 12:37:22 nexus3.edgexfoundry.org:10003 12:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:37:22 Configure a credential helper to remove this warning. See 12:37:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:37:22 12:37:22 Login Succeeded 12:37:22 nexus3.edgexfoundry.org:10004 12:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:37:22 Configure a credential helper to remove this warning. See 12:37:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:37:22 12:37:22 Login Succeeded 12:37:22 ****.io 12:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:37:22 Configure a credential helper to remove this warning. See 12:37:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:37:22 12:37:22 Login Succeeded 12:37:22 ---> ****-login.sh ends [Pipeline] } 12:37:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:37:23 + git rev-list -1 --merges 35b7f5f3991b6da5434163e71f1167699f19a859~1..35b7f5f3991b6da5434163e71f1167699f19a859 [Pipeline] echo 12:37:23 -----------> git rev-list -1 --merges 35b7f5f3991b6da5434163e71f1167699f19a859~1..35b7f5f3991b6da5434163e71f1167699f19a859 35b7f5f3991b6da5434163e71f1167699f19a859 [false] [Pipeline] sh 12:37:24 + git log --format=format:%s -1 35b7f5f3991b6da5434163e71f1167699f19a859 [Pipeline] echo 12:37:24 ========================================================= 12:37:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:37:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:37:24 + git log --format=format:%s -1 35b7f5f3991b6da5434163e71f1167699f19a859 [Pipeline] echo 12:37:24 [semverPrep] GIT_COMMIT: 35b7f5f3991b6da5434163e71f1167699f19a859, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:37:24 [semverPrep] This is not a build commit. [Pipeline] sh 12:37:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:37:25 + grep -v github /etc/ssh/ssh_known_hosts 12:37:25 + [ -e /tmp/ssh_known_hosts ] 12:37:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:37:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:37:25 + sudo tee -a /etc/ssh/ssh_known_hosts 12:37:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:37:25 12:37:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:37:26 0.1.4: Pulling from edgex-devops/py-git-semver 12:37:26 b85a868b505f: Pulling fs layer 12:37:26 e2be974225ed: Pulling fs layer 12:37:26 339a4e72a1f5: Pulling fs layer 12:37:26 988bab9f4d93: Pulling fs layer 12:37:26 1469e6f7b9e6: Pulling fs layer 12:37:26 eaf3925da568: Pulling fs layer 12:37:26 bab4dde63d76: Pulling fs layer 12:37:26 bde34c3a00c8: Pulling fs layer 12:37:26 b352a97aabf1: Pulling fs layer 12:37:26 4872d77fe225: Pulling fs layer 12:37:26 5851b861e8e6: Pulling fs layer 12:37:26 bde34c3a00c8: Waiting 12:37:26 b352a97aabf1: Waiting 12:37:26 4872d77fe225: Waiting 12:37:26 1469e6f7b9e6: Waiting 12:37:26 5851b861e8e6: Waiting 12:37:26 eaf3925da568: Waiting 12:37:26 988bab9f4d93: Waiting 12:37:26 e2be974225ed: Download complete 12:37:26 988bab9f4d93: Download complete 12:37:26 1469e6f7b9e6: Verifying Checksum 12:37:26 1469e6f7b9e6: Download complete 12:37:26 339a4e72a1f5: Verifying Checksum 12:37:26 339a4e72a1f5: Download complete 12:37:26 eaf3925da568: Verifying Checksum 12:37:26 eaf3925da568: Download complete 12:37:26 bde34c3a00c8: Verifying Checksum 12:37:26 bde34c3a00c8: Download complete 12:37:26 b352a97aabf1: Download complete 12:37:26 4872d77fe225: Download complete 12:37:26 5851b861e8e6: Verifying Checksum 12:37:26 5851b861e8e6: Download complete 12:37:26 b85a868b505f: Verifying Checksum 12:37:26 b85a868b505f: Download complete 12:37:26 bab4dde63d76: Verifying Checksum 12:37:26 bab4dde63d76: Download complete 12:37:27 b85a868b505f: Pull complete 12:37:27 e2be974225ed: Pull complete 12:37:28 339a4e72a1f5: Pull complete 12:37:28 988bab9f4d93: Pull complete 12:37:28 1469e6f7b9e6: Pull complete 12:37:28 eaf3925da568: Pull complete 12:37:30 bab4dde63d76: Pull complete 12:37:30 bde34c3a00c8: Pull complete 12:37:30 b352a97aabf1: Pull complete 12:37:30 4872d77fe225: Pull complete 12:37:30 5851b861e8e6: Pull complete 12:37:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:37:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:37:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:37:30 prd-ubuntu20.04-docker-8c-8g-5442 does not seem to be running inside a container 12:37:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-648 -v /w/workspace/_app-service-configurable_PR-648:/w/workspace/_app-service-configurable_PR-648:rw,z -v /w/workspace/_app-service-configurable_PR-648@tmp:/w/workspace/_app-service-configurable_PR-648@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:37:34 $ docker top d39b3e140012eadf64b68320f39d911c7213798d4e60475722334cfd3aa0c4b5 -eo pid,comm 12:37:35 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:37:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:37:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:37:35 [ssh-agent] Looking for ssh-agent implementation... 12:37:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:37:35 $ docker exec d39b3e140012eadf64b68320f39d911c7213798d4e60475722334cfd3aa0c4b5 ssh-agent 12:37:35 SSH_AUTH_SOCK=/tmp/ssh-6ZRjUmuq2tpx/agent.32 12:37:35 SSH_AGENT_PID=38 12:37:35 Running ssh-add (command line suppressed) 12:37:35 Identity added: /w/workspace/_app-service-configurable_PR-648@tmp/private_key_10203951345943057118.key (/w/workspace/_app-service-configurable_PR-648@tmp/private_key_10203951345943057118.key) 12:37:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:37:35 + git tag --points-at HEAD [Pipeline] } 12:37:35 $ docker exec --env ******** --env ******** d39b3e140012eadf64b68320f39d911c7213798d4e60475722334cfd3aa0c4b5 ssh-agent -k 12:37:36 unset SSH_AUTH_SOCK; 12:37:36 unset SSH_AGENT_PID; 12:37:36 echo Agent pid 38 killed; 12:37:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:37:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:37:36 [ssh-agent] Looking for ssh-agent implementation... 12:37:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:37:36 $ docker exec d39b3e140012eadf64b68320f39d911c7213798d4e60475722334cfd3aa0c4b5 ssh-agent 12:37:36 SSH_AUTH_SOCK=/tmp/ssh-VvxfaXDXpsBq/agent.70 12:37:36 SSH_AGENT_PID=77 12:37:36 Running ssh-add (command line suppressed) 12:37:36 Identity added: /w/workspace/_app-service-configurable_PR-648@tmp/private_key_10451397428672886786.key (/w/workspace/_app-service-configurable_PR-648@tmp/private_key_10451397428672886786.key) 12:37:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:37:36 + git semver init 12:37:37 2024-03-11 12:37:37,077 [run_init] DEBUG init version:0.0.0 force:False 12:37:37 2024-03-11 12:37:37,078 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-648/.semver 12:37:37 2024-03-11 12:37:37,079 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-648/.semver 12:37:37 2024-03-11 12:37:37,079 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-648/.semver'], cwd=/w/workspace/_app-service-configurable_PR-648, universal_newlines=False, shell=None, istream=None) 12:37:38 2024-03-11 12:37:38,201 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-648/.git/info/exclude 12:37:38 2024-03-11 12:37:38,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-648/.semver/PR-648 with force:False 12:37:38 2024-03-11 12:37:38,201 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-648/.semver/PR-648 12:37:38 2024-03-11 12:37:38,206 [execute] INFO git cat-file --batch-check 12:37:38 2024-03-11 12:37:38,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-648/.semver, universal_newlines=False, shell=None, istream=) 12:37:38 2024-03-11 12:37:38,212 [execute] INFO git cat-file --batch 12:37:38 2024-03-11 12:37:38,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-648/.semver, universal_newlines=False, shell=None, istream=) 12:37:38 2024-03-11 12:37:38,218 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-648/.semver/PR-648 12:37:38 0.0.0 [Pipeline] } 12:37:38 $ docker exec --env ******** --env ******** d39b3e140012eadf64b68320f39d911c7213798d4e60475722334cfd3aa0c4b5 ssh-agent -k 12:37:38 unset SSH_AUTH_SOCK; 12:37:38 unset SSH_AGENT_PID; 12:37:38 echo Agent pid 77 killed; 12:37:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:37:39 + git semver [Pipeline] } 12:37:39 $ docker stop --time=1 d39b3e140012eadf64b68320f39d911c7213798d4e60475722334cfd3aa0c4b5 12:37:40 $ docker rm -f --volumes d39b3e140012eadf64b68320f39d911c7213798d4e60475722334cfd3aa0c4b5 [Pipeline] // withDockerContainer [Pipeline] sh 12:37:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:37:41 Stashed 1 file(s) [Pipeline] echo 12:37:41 [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:37:42 provisioning config files... 12:37:42 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-648@tmp/config6679677380878530206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:37:42 ---> ****-login.sh 12:37:42 nexus3.edgexfoundry.org:10001 12:37:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:37:42 Configure a credential helper to remove this warning. See 12:37:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:37:42 12:37:42 Login Succeeded 12:37:42 nexus3.edgexfoundry.org:10002 12:37:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:37:42 Configure a credential helper to remove this warning. See 12:37:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:37:42 12:37:42 Login Succeeded 12:37:42 nexus3.edgexfoundry.org:10003 12:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:37:43 Configure a credential helper to remove this warning. See 12:37:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:37:43 12:37:43 Login Succeeded 12:37:43 nexus3.edgexfoundry.org:10004 12:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:37:43 Configure a credential helper to remove this warning. See 12:37:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:37:43 12:37:43 Login Succeeded 12:37:43 ****.io 12:37:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:37:43 Configure a credential helper to remove this warning. See 12:37:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:37:43 12:37:43 Login Succeeded 12:37:43 ---> ****-login.sh ends [Pipeline] } 12:37:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:37:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:37:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:37:43 ========================================================= 12:37:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:37:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:44 + 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:37:44 Sending build context to Docker daemon 8.81MB 12:37:44 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:37:44 Step 2/12 : FROM ${BASE} AS builder 12:37:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:37:44 7264a8db6415: Pulling fs layer 12:37:44 c4d48a809fc2: Pulling fs layer 12:37:44 4f1c88b9dad5: Pulling fs layer 12:37:44 ad3a456e5733: Pulling fs layer 12:37:44 69c7f0334f64: Pulling fs layer 12:37:44 1f1c1a5573a3: Pulling fs layer 12:37:44 ce7588e14bc9: Pulling fs layer 12:37:44 b5e4710f87ac: Pulling fs layer 12:37:44 69c7f0334f64: Waiting 12:37:44 1f1c1a5573a3: Waiting 12:37:44 ce7588e14bc9: Waiting 12:37:44 b5e4710f87ac: Waiting 12:37:44 ad3a456e5733: Waiting 12:37:44 c4d48a809fc2: Verifying Checksum 12:37:44 c4d48a809fc2: Download complete 12:37:44 ad3a456e5733: Verifying Checksum 12:37:44 ad3a456e5733: Download complete 12:37:44 69c7f0334f64: Verifying Checksum 12:37:44 69c7f0334f64: Download complete 12:37:44 7264a8db6415: Verifying Checksum 12:37:44 7264a8db6415: Download complete 12:37:44 1f1c1a5573a3: Verifying Checksum 12:37:44 1f1c1a5573a3: Download complete 12:37:45 7264a8db6415: Pull complete 12:37:45 b5e4710f87ac: Verifying Checksum 12:37:45 b5e4710f87ac: Download complete 12:37:45 c4d48a809fc2: Pull complete 12:37:45 4f1c88b9dad5: Verifying Checksum 12:37:45 4f1c88b9dad5: Download complete 12:37:45 ce7588e14bc9: Verifying Checksum 12:37:45 ce7588e14bc9: Download complete 12:37:48 4f1c88b9dad5: Pull complete 12:37:48 ad3a456e5733: Pull complete 12:37:48 69c7f0334f64: Pull complete 12:37:48 1f1c1a5573a3: Pull complete 12:37:50 ce7588e14bc9: Pull complete 12:37:51 b5e4710f87ac: Pull complete 12:37:51 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:37:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:37:51 ---> 88b5674ff536 12:37:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:37:57 Still waiting to schedule task 12:37:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:37:57 ---> Running in 263a389bb92f 12:37:57 Removing intermediate container 263a389bb92f 12:37:57 ---> 9b8379c6d72c 12:37:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:37:57 ---> Running in 3ba111ae8f47 12:37:57 Removing intermediate container 3ba111ae8f47 12:37:57 ---> 3bc23681420e 12:37:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:37:57 ---> Running in 5fa8a01421e9 12:37:57 Removing intermediate container 5fa8a01421e9 12:37:57 ---> 98cac3c00af2 12:37:57 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:37:57 ---> Running in 0664c6a7a8dd 12:37:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:37:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:37:58 OK: 264 MiB in 52 packages 12:37:59 Removing intermediate container 0664c6a7a8dd 12:37:59 ---> 551d532049cc 12:37:59 Step 7/12 : WORKDIR /app 12:37:59 ---> Running in 2ba991a88e98 12:37:59 Removing intermediate container 2ba991a88e98 12:37:59 ---> faced6344906 12:37:59 Step 8/12 : COPY go.mod vendor* ./ 12:37:59 ---> e8730b47fe5f 12:37:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:37:59 ---> Running in 2eec3162665e 12:38:38 Removing intermediate container 2eec3162665e 12:38:38 ---> ef7b33b624fd 12:38:38 Step 10/12 : COPY . . 12:38:38 ---> 9073c7d79138 12:38:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:38:38 ---> Running in 8d41a655beb8 12:38:38 Removing intermediate container 8d41a655beb8 12:38:38 ---> b259599547e0 12:38:38 Step 12/12 : RUN $MAKE 12:38:38 ---> Running in 02f2f1664b80 12:38:38 noop 12:38:38 Removing intermediate container 02f2f1664b80 12:38:38 ---> b9bbfbe166b8 12:38:38 Successfully built b9bbfbe166b8 12:38:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:38 + docker inspect -f . ci-base-image-x86_64 12:38:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:38:38 prd-ubuntu20.04-docker-8c-8g-5442 does not seem to be running inside a container 12:38:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-648 -v /w/workspace/_app-service-configurable_PR-648:/w/workspace/_app-service-configurable_PR-648:rw,z -v /w/workspace/_app-service-configurable_PR-648@tmp:/w/workspace/_app-service-configurable_PR-648@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:38:39 $ docker top cd234e4ce46d7fad4ef5a86d881f4a5a3534acb887f7db36bc79a4b49f626a0c -eo pid,comm [Pipeline] { [Pipeline] sh 12:38:39 + go version 12:38:39 go version go1.21.0 linux/amd64 [Pipeline] } 12:38:39 $ docker stop --time=1 cd234e4ce46d7fad4ef5a86d881f4a5a3534acb887f7db36bc79a4b49f626a0c 12:38:40 $ docker rm -f --volumes cd234e4ce46d7fad4ef5a86d881f4a5a3534acb887f7db36bc79a4b49f626a0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:41 + docker inspect -f . ci-base-image-x86_64 12:38:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:38:42 prd-ubuntu20.04-docker-8c-8g-5442 does not seem to be running inside a container 12:38:42 $ 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-648 -v /w/workspace/_app-service-configurable_PR-648:/w/workspace/_app-service-configurable_PR-648:rw,z -v /w/workspace/_app-service-configurable_PR-648@tmp:/w/workspace/_app-service-configurable_PR-648@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:38:42 $ docker top 7e4e0408036e243d6018919381e7d78d2cc1c11644b7726b199dea45f1c108a9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:38:42 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-648 [Pipeline] fileExists [Pipeline] sh 12:38:43 + make test 12:38:43 go test -race -coverprofile=coverage.out ./... 12:39:01 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:39:19 go vet ./... 12:39:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:39:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:39:21 ./bin/test-attribution-txt.sh 12:39:21 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:39:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:39:21 $ docker stop --time=1 7e4e0408036e243d6018919381e7d78d2cc1c11644b7726b199dea45f1c108a9 12:39:28 $ docker rm -f --volumes 7e4e0408036e243d6018919381e7d78d2cc1c11644b7726b199dea45f1c108a9 [Pipeline] // withDockerContainer [Pipeline] sh 12:39:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:39:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:39:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5443 in /w/workspace/_app-service-configurable_PR-648 [Pipeline] { 12:39:29 + sudo chown -R jenkins:jenkins . [Pipeline] ws 12:39:29 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] sh [Pipeline] checkout 12:39:29 + ls -al . 12:39:29 total 184 12:39:29 drwxrwxr-x 7 jenkins jenkins 4096 Mar 11 12:38 . 12:39:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 12:37 .. 12:39:29 -rw-rw-r-- 1 jenkins jenkins 119 Mar 11 12:37 .dockerignore 12:39:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 12:39 .git 12:39:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 12:37 .github 12:39:29 -rw-rw-r-- 1 jenkins jenkins 106 Mar 11 12:37 .gitignore 12:39:29 -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 12:37 .golangci.yml 12:39:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 12:37 .semver 12:39:29 -rw-rw-r-- 1 jenkins jenkins 10394 Mar 11 12:37 Attribution.txt 12:39:29 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 11 12:37 CHANGELOG.md 12:39:29 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 11 12:37 Dockerfile 12:39:29 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 12:37 GOVERNANCE.md 12:39:29 -rw-rw-r-- 1 jenkins jenkins 666 Mar 11 12:37 Jenkinsfile 12:39:29 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 11 12:37 LICENSE 12:39:29 -rw-rw-r-- 1 jenkins jenkins 618 Mar 11 12:37 OWNERS.md 12:39:29 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 11 12:37 README.md 12:39:29 -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 12:37 VERSION 12:39:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 12:37 bin 12:39:29 -rw-r--r-- 1 jenkins jenkins 13 Mar 11 12:38 coverage.out 12:39:29 -rw-rw-r-- 1 jenkins jenkins 3776 Mar 11 12:37 go.mod 12:39:29 -rw-rw-r-- 1 jenkins jenkins 36129 Mar 11 12:37 go.sum 12:39:29 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 11 12:37 main.go 12:39:29 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 11 12:37 makefile 12:39:29 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 12:37 res 12:39:32 Selected Git installation does not exist. Using Default 12:39:32 The recommended git tool is: NONE [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:33 + 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=35b7f5f3991b6da5434163e71f1167699f19a859 --label arch=amd64 --label version=0.0.0 . 12:39:33 Sending build context to Docker daemon 8.811MB 12:39:33 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:39:33 Step 2/27 : FROM ${BASE} AS builder 12:39:33 ---> b9bbfbe166b8 12:39:33 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:39:33 ---> Running in a4423c68e8f7 12:39:33 Removing intermediate container a4423c68e8f7 12:39:33 ---> 084796dc2e1c 12:39:33 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:39:33 ---> Running in 3b9251a33455 12:39:33 Removing intermediate container 3b9251a33455 12:39:33 ---> 7b8a6d33c8bb 12:39:33 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:39:33 ---> Running in 35393fc62b8f 12:39:33 Removing intermediate container 35393fc62b8f 12:39:33 ---> 1aa68fc7768a 12:39:33 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:39:33 ---> Running in fafe23cf9560 12:39:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:39:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:39:34 OK: 264 MiB in 52 packages 12:39:34 Removing intermediate container fafe23cf9560 12:39:34 ---> 2513ec210bbf 12:39:34 Step 7/27 : WORKDIR /app 12:39:34 ---> Running in 257b364dcda2 12:39:34 Removing intermediate container 257b364dcda2 12:39:34 ---> f39f60c61a16 12:39:34 Step 8/27 : COPY go.mod vendor* ./ 12:39:34 ---> 4fc2e9393a82 12:39:34 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:39:34 ---> Running in ad27c38270cb 12:39:36 Removing intermediate container ad27c38270cb 12:39:36 ---> b7e1545aabce 12:39:36 Step 10/27 : COPY . . 12:39:36 ---> 3d468e34eeb9 12:39:36 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:39:36 ---> Running in 5b99c54b615c 12:39:36 Removing intermediate container 5b99c54b615c 12:39:36 ---> ad241ef74433 12:39:36 Step 12/27 : RUN $MAKE 12:39:36 ---> Running in e92c71830004 12:39:36 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.26 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:39:37 using credential edgex-jenkins-ssh 12:39:37 Cloning the remote Git repository 12:39:37 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:39:37 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:39:37 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:39:37 > git --version # timeout=10 12:39:37 > git --version # 'git version 2.25.1' 12:39:37 using GIT_SSH to set credentials SSH Credentials for GitHub 12:39:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:39:39 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:39:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:39:41 Merging remotes/origin/main commit 6634504278288e6934fcc5ff18d9fc69e07ed390 into PR head commit 35b7f5f3991b6da5434163e71f1167699f19a859 12:39:40 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:39:40 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:39:40 using GIT_SSH to set credentials SSH Credentials for GitHub 12:39:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/648/head:refs/remotes/origin/PR-648 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:39:41 > git config core.sparsecheckout # timeout=10 12:39:41 > git checkout -f 35b7f5f3991b6da5434163e71f1167699f19a859 # timeout=10 12:39:41 Merge succeeded, producing 35b7f5f3991b6da5434163e71f1167699f19a859 12:39:41 Checking out Revision 35b7f5f3991b6da5434163e71f1167699f19a859 (PR-648) 12:39:42 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:39:42 > git --version # timeout=10 12:39:42 > git --version # 'git version 2.25.1' 12:39:42 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 12:39:41 > git remote # timeout=10 12:39:41 > git config --get remote.origin.url # timeout=10 12:39:41 using GIT_SSH to set credentials SSH Credentials for GitHub 12:39:41 > git merge 6634504278288e6934fcc5ff18d9fc69e07ed390 # timeout=10 12:39:41 > git rev-parse HEAD^{commit} # timeout=10 12:39:41 > git config core.sparsecheckout # timeout=10 12:39:41 > git checkout -f 35b7f5f3991b6da5434163e71f1167699f19a859 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 12:39:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:39:43 % Total % Received % Xferd Average Speed Time Time Time Current 12:39:43 Dload Upload Total Spent Left Speed 12:39:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 108k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh 12:39:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:39:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:39:44 + sudo tee /etc/docker/daemon.new 12:39:44 { 12:39:44 "registry-mirrors": [ 12:39:44 "https://nexus3.edgexfoundry.org:10001" 12:39:44 ], 12:39:44 "bip": "10.250.0.254/24", 12:39:44 "hosts": [ 12:39:44 "tcp://0.0.0.0:5555", 12:39:44 "unix:///var/run/docker.sock" 12:39:44 ], 12:39:44 "mtu": 1458, 12:39:44 "selinux-enabled": true, 12:39:44 "seccomp-profile": "/etc/docker/seccomp.json" 12:39:44 } [Pipeline] sh 12:39:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:39:44 + sudo service docker restart 12:39:58 Removing intermediate container e92c71830004 12:39:58 ---> 3ee2999ef3cc 12:39:58 Step 13/27 : FROM alpine:3.18 12:39:58 3.18: Pulling from library/alpine 12:39:58 619be1103602: Pulling fs layer 12:39:58 619be1103602: Verifying Checksum 12:39:58 619be1103602: Download complete 12:39:58 619be1103602: Pull complete 12:39:58 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:39:58 Status: Downloaded newer image for alpine:3.18 12:39:58 ---> d3782b16ccc9 12:39:58 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:39:58 ---> Running in 20597a3349db 12:39:58 Removing intermediate container 20597a3349db 12:39:58 ---> 82682da97397 12:39:58 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:39:58 ---> Running in d426dad25450 12:39:58 Removing intermediate container d426dad25450 12:39:58 ---> bfaae39ac7f4 12:39:58 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:39:58 ---> Running in 0ab2b33a499c 12:39:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:39:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:39:58 (1/2) Installing ca-certificates (20230506-r0) 12:39:58 (2/2) Installing dumb-init (1.2.5-r2) 12:39:58 Executing busybox-1.36.1-r5.trigger 12:39:58 Executing ca-certificates-20230506-r0.trigger 12:39:58 OK: 8 MiB in 17 packages 12:39:58 Removing intermediate container 0ab2b33a499c 12:39:58 ---> 82c230054506 12:39:58 Step 17/27 : RUN apk --no-cache upgrade 12:39:58 ---> Running in 7b0e9e3e4527 12:39:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:39:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:39:58 OK: 8 MiB in 17 packages 12:39:59 Removing intermediate container 7b0e9e3e4527 12:39:59 ---> 4fa4cb742f48 12:39:59 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:39:59 ---> 41c7eba08aa6 12:39:59 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:39:59 ---> 871268c1e5c3 12:39:59 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:39:59 ---> 0c1ae95e11ac 12:39:59 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:40:00 ---> b5271904261b 12:40:00 Step 22/27 : EXPOSE 48095 12:40:00 ---> Running in 18e0ddc2a0af 12:40:00 Removing intermediate container 18e0ddc2a0af 12:40:00 ---> eca393ce56f0 12:40:00 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:40:00 ---> Running in dfd79ac6f0f2 12:40:00 Removing intermediate container dfd79ac6f0f2 12:40:00 ---> bac1975b1737 12:40:00 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:40:00 ---> Running in 56d9490c88c9 12:40:00 Removing intermediate container 56d9490c88c9 12:40:00 ---> 16c77feebce6 12:40:00 Step 25/27 : LABEL arch=amd64 12:40:00 ---> Running in 2830bf180861 12:40:00 Removing intermediate container 2830bf180861 12:40:00 ---> 618a1e60b3f8 12:40:00 Step 26/27 : LABEL git_sha=35b7f5f3991b6da5434163e71f1167699f19a859 12:40:00 ---> Running in 8fe97861a1a4 12:40:00 Removing intermediate container 8fe97861a1a4 12:40:00 ---> 5d56ddfca2f9 12:40:00 Step 27/27 : LABEL version=0.0.0 12:40:00 ---> Running in 1da9b2108d7b 12:40:00 Removing intermediate container 1da9b2108d7b 12:40:00 ---> c4c944f78cdf 12:40:00 [Warning] One or more build-args [ARCH] were not consumed 12:40:00 Successfully built c4c944f78cdf 12:40:00 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:40:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:40:02 12:40:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:40:02 latest: Pulling from edgex-lftools-log-publisher 12:40:02 5eb5b503b376: Pulling fs layer 12:40:02 5c69ac0246d0: Pulling fs layer 12:40:02 ec43610c2a17: Pulling fs layer 12:40:02 3a2ae6a8a46f: Pulling fs layer 12:40:02 33b1e0a273af: Pulling fs layer 12:40:02 5d3b04190fa2: Pulling fs layer 12:40:02 2f39f015ded8: Pulling fs layer 12:40:02 3a2ae6a8a46f: Waiting 12:40:02 33b1e0a273af: Waiting 12:40:02 5d3b04190fa2: Waiting 12:40:02 2f39f015ded8: Waiting 12:40:02 5c69ac0246d0: Verifying Checksum 12:40:02 5c69ac0246d0: Download complete 12:40:02 3a2ae6a8a46f: Verifying Checksum 12:40:02 3a2ae6a8a46f: Download complete 12:40:02 33b1e0a273af: Verifying Checksum 12:40:02 33b1e0a273af: Download complete 12:40:02 ec43610c2a17: Verifying Checksum 12:40:02 ec43610c2a17: Download complete 12:40:02 5d3b04190fa2: Download complete 12:40:02 5eb5b503b376: Verifying Checksum 12:40:02 5eb5b503b376: Download complete 12:40:03 2f39f015ded8: Verifying Checksum 12:40:03 2f39f015ded8: Download complete 12:40:04 5eb5b503b376: Pull complete 12:40:04 5c69ac0246d0: Pull complete 12:40:04 ec43610c2a17: Pull complete 12:40:04 3a2ae6a8a46f: Pull complete 12:40:04 33b1e0a273af: Pull complete 12:40:04 5d3b04190fa2: Pull complete 12:40:09 2f39f015ded8: Pull complete 12:40:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:40:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:40:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] configFileProvider 12:40:12 provisioning config files... 12:40:12 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config17767623857827341894tmp [Pipeline] // withEnv [Pipeline] } [Pipeline] { [Pipeline] // withEnv [Pipeline] withDockerContainer 12:40:12 prd-ubuntu20.04-docker-8c-8g-5442 does not seem to be running inside a container 12:40:12 $ 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-648 -v /w/workspace/_app-service-configurable_PR-648:/w/workspace/_app-service-configurable_PR-648:rw,z -v /w/workspace/_app-service-configurable_PR-648@tmp:/w/workspace/_app-service-configurable_PR-648@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:40:18 $ docker top 941382d43dc0ed1152c421d9ac98f604df577bb30e96ae8c11d4216ff6b345dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 12:40:18 ---> ****-login.sh 12:40:18 nexus3.edgexfoundry.org:10001 12:40:18 ---> job-cost.sh 12:40:18 lf-activate-venv: SKIPPING 12:40:18 INFO: No Stack... 12:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:19 INFO: Retrieving Pricing Info for: v3-standard-8 12:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:40:19 Configure a credential helper to remove this warning. See 12:40:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:40:19 12:40:19 Login Succeeded 12:40:19 nexus3.edgexfoundry.org:10002 12:40:19 INFO: Archiving Costs [Pipeline] sh 12:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:19 + cat /w/workspace/_app-service-configurable_PR-648/archives/cost.csv 12:40:19 + cut -d, -f6 [Pipeline] lock 12:40:19 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-648-1-stack-cost] 12:40:19 Resource [jenkins-edgexfoundry-app-service-configurable-PR-648-1-stack-cost] did not exist. Created. 12:40:19 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-648-1-stack-cost] [Pipeline] { 12:40:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:40:19 Configure a credential helper to remove this warning. See 12:40:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:40:19 12:40:19 Login Succeeded 12:40:19 nexus3.edgexfoundry.org:10003 12:40:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] unstash [Pipeline] sh 12:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:40:20 Configure a credential helper to remove this warning. See 12:40:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:40:20 12:40:20 Login Succeeded 12:40:20 nexus3.edgexfoundry.org:10004 12:40:20 + echo total: 0.2199999988079071 [Pipeline] stash 12:40:20 Stashed 1 file(s) [Pipeline] } 12:40:20 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-648-1-stack-cost] 12:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:40:20 Configure a credential helper to remove this warning. See 12:40:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:40:20 12:40:20 Login Succeeded 12:40:20 ****.io [Pipeline] // lock [Pipeline] } 12:40:20 $ docker stop --time=1 941382d43dc0ed1152c421d9ac98f604df577bb30e96ae8c11d4216ff6b345dd 12:40:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:40:20 Configure a credential helper to remove this warning. See 12:40:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:40:20 12:40:20 Login Succeeded 12:40:20 ---> ****-login.sh ends 12:40:21 $ docker rm -f --volumes 941382d43dc0ed1152c421d9ac98f604df577bb30e96ae8c11d4216ff6b345dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 12:40:21 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 12:40:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:40:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:40:22 ========================================================= 12:40:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:40:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:23 + 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:40:23 Sending build context to Docker daemon 160.8kB 12:40:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:40:23 Step 2/12 : FROM ${BASE} AS builder 12:40:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:40:23 9fda8d8052c6: Pulling fs layer 12:40:23 5d54e960e981: Pulling fs layer 12:40:23 c4a7e357bf2a: Pulling fs layer 12:40:23 f0e02332f6b5: Pulling fs layer 12:40:23 872ee5b61b7b: Pulling fs layer 12:40:23 0c6a40ed1a82: Pulling fs layer 12:40:23 94ae7d8d031c: Pulling fs layer 12:40:23 872ee5b61b7b: Waiting 12:40:23 0c6a40ed1a82: Waiting 12:40:23 94ae7d8d031c: Waiting 12:40:23 f0e02332f6b5: Waiting 12:40:23 5d54e960e981: Verifying Checksum 12:40:23 5d54e960e981: Download complete 12:40:23 f0e02332f6b5: Verifying Checksum 12:40:23 f0e02332f6b5: Download complete 12:40:23 872ee5b61b7b: Download complete 12:40:23 9fda8d8052c6: Download complete 12:40:24 94ae7d8d031c: Verifying Checksum 12:40:24 94ae7d8d031c: Download complete 12:40:24 9fda8d8052c6: Pull complete 12:40:25 5d54e960e981: Pull complete 12:40:25 c4a7e357bf2a: Download complete 12:40:26 0c6a40ed1a82: Verifying Checksum 12:40:26 0c6a40ed1a82: Download complete 12:40:38 c4a7e357bf2a: Pull complete 12:40:38 f0e02332f6b5: Pull complete 12:40:38 872ee5b61b7b: Pull complete 12:40:47 0c6a40ed1a82: Pull complete 12:40:49 94ae7d8d031c: Pull complete 12:40:49 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:40:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:40:49 ---> 86de565de09d 12:40:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:40:49 ---> Running in 32753b4baae0 12:40:49 Removing intermediate container 32753b4baae0 12:40:49 ---> f4eed9036c19 12:40:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:40:50 ---> Running in e54bd43cfc9e 12:40:50 Removing intermediate container e54bd43cfc9e 12:40:50 ---> d807fe187efd 12:40:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:40:50 ---> Running in 20eeb093fe42 12:40:50 Removing intermediate container 20eeb093fe42 12:40:50 ---> f900bdc80502 12:40:50 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:40:51 ---> Running in 336907b0e874 12:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:40:53 OK: 266 MiB in 52 packages 12:40:54 Removing intermediate container 336907b0e874 12:40:54 ---> c920402e9af5 12:40:54 Step 7/12 : WORKDIR /app 12:40:54 ---> Running in 3210c72fbeba 12:40:54 Removing intermediate container 3210c72fbeba 12:40:54 ---> dd85fd69b4fa 12:40:54 Step 8/12 : COPY go.mod vendor* ./ 12:40:55 ---> 5e1a863bcb81 12:40:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:40:55 ---> Running in 3b31e162e95f 12:41:51 Removing intermediate container 3b31e162e95f 12:41:51 ---> 5a4531807669 12:41:51 Step 10/12 : COPY . . 12:41:52 ---> f2df247a0584 12:41:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:41:52 ---> Running in 1e48da4e1643 12:41:52 Removing intermediate container 1e48da4e1643 12:41:52 ---> 8d5641866e42 12:41:52 Step 12/12 : RUN $MAKE 12:41:52 ---> Running in 779ecaeb74da 12:41:53 noop 12:41:53 Removing intermediate container 779ecaeb74da 12:41:53 ---> 6aebd6e0d43e 12:41:53 Successfully built 6aebd6e0d43e 12:41:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:54 + docker inspect -f . ci-base-image-arm64 12:41:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:54 prd-ubuntu20.04-docker-arm64-4c-16g-5443 does not seem to be running inside a container 12:41:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:41:56 $ docker top efa7a595858ebe59883f74281ec7cd1a80c9b73bcdf13029b1280a712e013075 -eo pid,comm [Pipeline] { [Pipeline] sh 12:41:57 + go version 12:41:57 go version go1.21.0 linux/arm64 [Pipeline] } 12:41:57 $ docker stop --time=1 efa7a595858ebe59883f74281ec7cd1a80c9b73bcdf13029b1280a712e013075 12:41:58 $ docker rm -f --volumes efa7a595858ebe59883f74281ec7cd1a80c9b73bcdf13029b1280a712e013075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:59 + docker inspect -f . ci-base-image-arm64 12:41:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:42:00 prd-ubuntu20.04-docker-arm64-4c-16g-5443 does not seem to be running inside a container 12:42:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:42:01 $ docker top c1d6c9324c35e1cd93734f8e506e1dd1b750bfd4daa46e68009b3ff0a9fb0f7a -eo pid,comm [Pipeline] { [Pipeline] sh 12:42:02 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:42:02 + make test 12:42:02 go test -race -coverprofile=coverage.out ./... 12:44:09 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:44:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:44:09 go vet ./... 12:46:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:46:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:46:01 ./bin/test-attribution-txt.sh 12:46:01 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:46:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:46:01 $ docker stop --time=1 c1d6c9324c35e1cd93734f8e506e1dd1b750bfd4daa46e68009b3ff0a9fb0f7a 12:46:03 $ docker rm -f --volumes c1d6c9324c35e1cd93734f8e506e1dd1b750bfd4daa46e68009b3ff0a9fb0f7a [Pipeline] // withDockerContainer [Pipeline] sh 12:46:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:46:04 Warning: overwriting stash ‘coverage-report’ 12:46:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:46:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:46:14 + ls -al . 12:46:14 total 180 12:46:14 drwxrwxr-x 6 jenkins jenkins 4096 Mar 11 12:42 . 12:46:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 12:39 .. 12:46:14 -rw-rw-r-- 1 jenkins jenkins 119 Mar 11 12:39 .dockerignore 12:46:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 12:39 .git 12:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 12:39 .github 12:46:14 -rw-rw-r-- 1 jenkins jenkins 106 Mar 11 12:39 .gitignore 12:46:14 -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 12:39 .golangci.yml 12:46:14 -rw-rw-r-- 1 jenkins jenkins 10394 Mar 11 12:39 Attribution.txt 12:46:14 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 11 12:39 CHANGELOG.md 12:46:14 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 11 12:39 Dockerfile 12:46:14 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 12:39 GOVERNANCE.md 12:46:14 -rw-rw-r-- 1 jenkins jenkins 666 Mar 11 12:39 Jenkinsfile 12:46:14 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 11 12:39 LICENSE 12:46:14 -rw-rw-r-- 1 jenkins jenkins 618 Mar 11 12:39 OWNERS.md 12:46:14 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 11 12:39 README.md 12:46:14 -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 12:37 VERSION 12:46:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 12:39 bin 12:46:14 -rw-r--r-- 1 jenkins jenkins 13 Mar 11 12:42 coverage.out 12:46:14 -rw-rw-r-- 1 jenkins jenkins 3776 Mar 11 12:39 go.mod 12:46:14 -rw-rw-r-- 1 jenkins jenkins 36129 Mar 11 12:39 go.sum 12:46:14 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 11 12:39 main.go 12:46:14 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 11 12:39 makefile 12:46:14 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 12:39 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:14 + 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=35b7f5f3991b6da5434163e71f1167699f19a859 --label arch=arm64 --label version=0.0.0 . 12:46:14 Sending build context to Docker daemon 161.8kB 12:46:14 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:46:14 Step 2/27 : FROM ${BASE} AS builder 12:46:14 ---> 6aebd6e0d43e 12:46:14 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:46:14 ---> Running in 287e1c814e59 12:46:15 Removing intermediate container 287e1c814e59 12:46:15 ---> 6d3df20b554f 12:46:15 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:46:15 ---> Running in c8347ca93484 12:46:15 Removing intermediate container c8347ca93484 12:46:15 ---> 6f638cc768db 12:46:15 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:46:15 ---> Running in 1068c137aa3d 12:46:15 Removing intermediate container 1068c137aa3d 12:46:15 ---> 54b9f4f02bdc 12:46:15 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:46:15 ---> Running in 6b76fdb7532e 12:46:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:46:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:46:18 OK: 266 MiB in 52 packages 12:46:19 Removing intermediate container 6b76fdb7532e 12:46:19 ---> 7a1cc20a37c3 12:46:19 Step 7/27 : WORKDIR /app 12:46:19 ---> Running in bad30c6473c4 12:46:19 Removing intermediate container bad30c6473c4 12:46:19 ---> 04d9c4fa313a 12:46:19 Step 8/27 : COPY go.mod vendor* ./ 12:46:19 ---> 27eb020862a5 12:46:19 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:46:19 ---> Running in 42d14718cf26 12:46:21 Removing intermediate container 42d14718cf26 12:46:21 ---> 2d08430c6155 12:46:21 Step 10/27 : COPY . . 12:46:22 ---> d81bc5eb7a2f 12:46:22 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:46:22 ---> Running in 16e9829a4518 12:46:22 Removing intermediate container 16e9829a4518 12:46:22 ---> 1a5a690ba5c3 12:46:22 Step 12/27 : RUN $MAKE 12:46:22 ---> Running in a1632d526b7a 12:46:23 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.26 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:48:16 Removing intermediate container a1632d526b7a 12:48:16 ---> d5c4ed1bc399 12:48:16 Step 13/27 : FROM alpine:3.18 12:48:16 3.18: Pulling from library/alpine 12:48:16 c6b39de5b339: Pulling fs layer 12:48:16 c6b39de5b339: Verifying Checksum 12:48:16 c6b39de5b339: Download complete 12:48:16 c6b39de5b339: Pull complete 12:48:16 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:48:16 Status: Downloaded newer image for alpine:3.18 12:48:16 ---> 33abbf032149 12:48:16 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:48:16 ---> Running in 15617f416dfe 12:48:16 Removing intermediate container 15617f416dfe 12:48:16 ---> def4c9c6d85a 12:48:16 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:48:16 ---> Running in f1e8f5ec6532 12:48:16 Removing intermediate container f1e8f5ec6532 12:48:16 ---> 77328b687c7f 12:48:16 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:48:16 ---> Running in 63fc3c9b0299 12:48:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:48:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:48:16 (1/2) Installing ca-certificates (20230506-r0) 12:48:16 (2/2) Installing dumb-init (1.2.5-r2) 12:48:16 Executing busybox-1.36.1-r5.trigger 12:48:16 Executing ca-certificates-20230506-r0.trigger 12:48:16 OK: 9 MiB in 17 packages 12:48:16 Removing intermediate container 63fc3c9b0299 12:48:16 ---> 5f79021bdad0 12:48:16 Step 17/27 : RUN apk --no-cache upgrade 12:48:16 ---> Running in 839602f3f6cb 12:48:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:48:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:48:16 OK: 9 MiB in 17 packages 12:48:16 Removing intermediate container 839602f3f6cb 12:48:16 ---> bb5407d41031 12:48:16 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:48:16 ---> 00acf549f568 12:48:16 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:48:16 ---> a14cc6eb23c4 12:48:16 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:48:16 ---> dbbb480144b6 12:48:16 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:48:16 ---> 3df122a2839f 12:48:16 Step 22/27 : EXPOSE 48095 12:48:16 ---> Running in 02371f2afab8 12:48:16 Removing intermediate container 02371f2afab8 12:48:16 ---> 4b6a4158421c 12:48:16 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:48:16 ---> Running in a32c01984bc1 12:48:16 Removing intermediate container a32c01984bc1 12:48:16 ---> ebbf963e6aa4 12:48:16 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:48:16 ---> Running in daa5214835f4 12:48:16 Removing intermediate container daa5214835f4 12:48:16 ---> a60b19f36ab0 12:48:16 Step 25/27 : LABEL arch=arm64 12:48:16 ---> Running in 507dee31e3b1 12:48:16 Removing intermediate container 507dee31e3b1 12:48:16 ---> 512959bd6d36 12:48:16 Step 26/27 : LABEL git_sha=35b7f5f3991b6da5434163e71f1167699f19a859 12:48:16 ---> Running in 60a60fe6192e 12:48:16 Removing intermediate container 60a60fe6192e 12:48:16 ---> 65fb9d8e8a25 12:48:16 Step 27/27 : LABEL version=0.0.0 12:48:16 ---> Running in b6af45a2248a 12:48:16 Removing intermediate container b6af45a2248a 12:48:16 ---> 6b64652324fc 12:48:16 [Warning] One or more build-args [ARCH] were not consumed 12:48:16 Successfully built 6b64652324fc 12:48:16 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:48:18 12:48:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:48:19 arm64: Pulling from edgex-lftools-log-publisher 12:48:19 8998bd30e6a1: Pulling fs layer 12:48:19 04944245beec: Pulling fs layer 12:48:19 699f458cf7ca: Pulling fs layer 12:48:19 765212b225bb: Pulling fs layer 12:48:19 f23df028b6ca: Pulling fs layer 12:48:19 d65c8cfc05b1: Pulling fs layer 12:48:19 2437ff75d9bd: Pulling fs layer 12:48:19 f23df028b6ca: Waiting 12:48:19 765212b225bb: Waiting 12:48:19 d65c8cfc05b1: Waiting 12:48:19 2437ff75d9bd: Waiting 12:48:19 04944245beec: Verifying Checksum 12:48:19 04944245beec: Download complete 12:48:19 765212b225bb: Download complete 12:48:19 f23df028b6ca: Verifying Checksum 12:48:19 f23df028b6ca: Download complete 12:48:19 d65c8cfc05b1: Download complete 12:48:19 699f458cf7ca: Verifying Checksum 12:48:19 699f458cf7ca: Download complete 12:48:20 8998bd30e6a1: Verifying Checksum 12:48:20 8998bd30e6a1: Download complete 12:48:22 2437ff75d9bd: Verifying Checksum 12:48:22 2437ff75d9bd: Download complete 12:48:24 8998bd30e6a1: Pull complete 12:48:25 04944245beec: Pull complete 12:48:26 699f458cf7ca: Pull complete 12:48:26 765212b225bb: Pull complete 12:48:27 f23df028b6ca: Pull complete 12:48:27 d65c8cfc05b1: Pull complete 12:48:46 2437ff75d9bd: Pull complete 12:48:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:48:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:48:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:48:46 prd-ubuntu20.04-docker-arm64-4c-16g-5443 does not seem to be running inside a container 12:48:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:48:49 $ docker top fb0c2907ca5542896e3378cc518e31e153915b726b7aadddc6420ea5107c6abe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:50 ---> job-cost.sh 12:48:50 lf-activate-venv: SKIPPING 12:48:50 INFO: No Stack... 12:48:50 INFO: Retrieving Pricing Info for: v3-standard-4 12:48:51 INFO: Archiving Costs [Pipeline] sh 12:48:51 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:48:51 + cut -d, -f6 [Pipeline] lock 12:48:51 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-648-1-stack-cost] 12:48:52 Resource [jenkins-edgexfoundry-app-service-configurable-PR-648-1-stack-cost] did not exist. Created. 12:48:52 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-648-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:48:52 /w/workspace/app-service-configurable/1@tmp/durable-105e3b6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:48:53 + echo total: 0.10999999940395355 [Pipeline] stash 12:48:53 Warning: overwriting stash ‘stack-cost’ 12:48:53 Stashed 1 file(s) [Pipeline] } 12:48:53 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-648-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:48:53 $ docker stop --time=1 fb0c2907ca5542896e3378cc518e31e153915b726b7aadddc6420ea5107c6abe 12:48:54 $ docker rm -f --volumes fb0c2907ca5542896e3378cc518e31e153915b726b7aadddc6420ea5107c6abe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:48:57 provisioning config files... 12:48:57 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-648@tmp/config11281703587570264293tmp [Pipeline] { [Pipeline] sh 12:48:57 + set +x 12:48:57 + curl -s https://codecov.io/bash 12:48:57 + bash -s -- [Pipeline] } 12:48:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:49:01 + [ -d /w/workspace/_app-service-configurable_PR-648/archives ] 12:49:01 + ls -al /w/workspace/_app-service-configurable_PR-648/archives 12:49:01 total 16 12:49:01 drwxr-xr-x 3 root root 4096 Mar 11 12:40 . 12:49:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 12:40 .. 12:49:01 drwxr-xr-x 2 root root 4096 Mar 11 12:40 cost 12:49:01 -rw-r--r-- 1 root root 96 Mar 11 12:40 cost.csv 12:49:01 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-648/archives 12:49:01 + ls -al /w/workspace/_app-service-configurable_PR-648/archives 12:49:01 total 16 12:49:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 12:40 . 12:49:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 12:40 .. 12:49:01 drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 12:40 cost 12:49:01 -rw-r--r-- 1 jenkins jenkins 96 Mar 11 12:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:49:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:49:02 ---> package-listing.sh 12:49:02 ++ facter osfamily 12:49:02 ++ tr '[:upper:]' '[:lower:]' 12:49:02 + OS_FAMILY=debian 12:49:02 + workspace=/w/workspace/_app-service-configurable_PR-648 12:49:02 + START_PACKAGES=/tmp/packages_start.txt 12:49:02 + END_PACKAGES=/tmp/packages_end.txt 12:49:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:49:02 + PACKAGES=/tmp/packages_start.txt 12:49:02 + '[' /w/workspace/_app-service-configurable_PR-648 ']' 12:49:02 + PACKAGES=/tmp/packages_end.txt 12:49:02 + case "${OS_FAMILY}" in 12:49:02 + dpkg -l 12:49:02 + grep '^ii' 12:49:02 + '[' -f /tmp/packages_start.txt ']' 12:49:02 + '[' -f /tmp/packages_end.txt ']' 12:49:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:49:02 + '[' /w/workspace/_app-service-configurable_PR-648 ']' 12:49:02 + mkdir -p /w/workspace/_app-service-configurable_PR-648/archives/ 12:49:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-648/archives/ [Pipeline] echo 12:49:02 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-648/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:49:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:49:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:04 prd-ubuntu20.04-docker-8c-8g-5442 does not seem to be running inside a container 12:49:04 $ 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-648/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-648 -v /w/workspace/_app-service-configurable_PR-648:/w/workspace/_app-service-configurable_PR-648:rw,z -v /w/workspace/_app-service-configurable_PR-648@tmp:/w/workspace/_app-service-configurable_PR-648@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:49:04 $ docker top 31033a5e699d8d866800a4fd45b4a1fdff532a9d981e39b3a623dbbbe7b024c8 -eo pid,comm [Pipeline] { [Pipeline] sh 12:49:04 + touch /tmp/pre-build-complete [Pipeline] sh 12:49:05 + mkdir -p /var/log/sysstat [Pipeline] sh 12:49:05 + ls /var/log/sa-host 12:49:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:49:05 provisioning config files... 12:49:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-648@tmp/config1861870370001005782tmp [Pipeline] { [Pipeline] echo 12:49:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:49:06 ---> create-netrc.sh [Pipeline] } 12:49:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:49:06 ---> python-tools-install.sh [Pipeline] echo 12:49:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:49:07 ---> sudo-logs.sh 12:49:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:49:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:49:07 ---> job-cost.sh 12:49:07 lf-activate-venv: SKIPPING 12:49:07 DEBUG: total: 0.2199999988079071 12:49:07 INFO: Retrieving Stack Cost... 12:49:07 INFO: Retrieving Pricing Info for: v3-standard-8 12:49:08 INFO: Archiving Costs [Pipeline] echo 12:49:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:49:08 ---> logs-deploy.sh 12:49:08 lf-activate-venv: SKIPPING 12:49:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-648/1 12:49:08 INFO: archiving workspace using pattern(s): 12:49:10 Archives upload complete. 12:49:10 INFO: archiving logs to Nexus