Pull request #650 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ea9a61d8a25d772c90d859a3fbd09571d745f7f+4880d13fba8919741e70fade795d8a1158c52518 (1dd72eb9aaba2c99b907406e4dfc1ebdf6f65644) 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-ssh11728627167134219772.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-ssh2967189257787245568.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-650/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-650/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3972834460919783964.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-650/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8663255883812848380.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-ssh248569238130237995.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-650/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-650/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13900111092229909669.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-70 in /w/workspace/_app-service-configurable_PR-650 [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-650 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4880d13fba8919741e70fade795d8a1158c52518 into PR head commit 6ea9a61d8a25d772c90d859a3fbd09571d745f7f Merge succeeded, producing 6ea9a61d8a25d772c90d859a3fbd09571d745f7f Checking out Revision 6ea9a61d8a25d772c90d859a3fbd09571d745f7f (PR-650) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ea9a61d8a25d772c90d859a3fbd09571d745f7f # 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 4880d13fba8919741e70fade795d8a1158c52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ea9a61d8a25d772c90d859a3fbd09571d745f7f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:56:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:56:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:56:18 ========================================================= 12:56:18 EdgeX Global Pipelines Version Info 12:56:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:56:19 ------------------- 12:56:19 stable info: 12:56:19 ------------------- 12:56:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:56:19 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:56:19 Message: update stable to v1.0.258 12:56:19 ------------------- 12:56:19 experimental info: 12:56:19 ------------------- 12:56:19 Commited By: **** collab-it+edgex@linuxfoundation.org 12:56:19 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:56:19 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:56:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:56:19 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:56:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:56:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:56:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:56:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:56:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:56:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:56:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:56:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:56:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:56:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-650 [Pipeline] echo 12:56:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-650 [Pipeline] echo 12:56:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-650 [Pipeline] echo 12:56:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ea9a61d8a25d772c90d859a3fbd09571d745f7f [Pipeline] echo 12:56:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ea9a61 [Pipeline] echo 12:56:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:56:21 provisioning config files... 12:56:21 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-650@tmp/config6230673781470646755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:21 ---> ****-login.sh 12:56:21 nexus3.edgexfoundry.org:10001 12:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:22 Configure a credential helper to remove this warning. See 12:56:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:22 12:56:22 Login Succeeded 12:56:22 nexus3.edgexfoundry.org:10002 12:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:22 Configure a credential helper to remove this warning. See 12:56:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:22 12:56:22 Login Succeeded 12:56:22 nexus3.edgexfoundry.org:10003 12:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:22 Configure a credential helper to remove this warning. See 12:56:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:22 12:56:22 Login Succeeded 12:56:22 nexus3.edgexfoundry.org:10004 12:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:22 Configure a credential helper to remove this warning. See 12:56:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:22 12:56:22 Login Succeeded 12:56:22 ****.io 12:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:23 Configure a credential helper to remove this warning. See 12:56:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:23 12:56:23 Login Succeeded 12:56:23 ---> ****-login.sh ends [Pipeline] } 12:56:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:56:23 + git rev-list -1 --merges 6ea9a61d8a25d772c90d859a3fbd09571d745f7f~1..6ea9a61d8a25d772c90d859a3fbd09571d745f7f [Pipeline] echo 12:56:23 -----------> git rev-list -1 --merges 6ea9a61d8a25d772c90d859a3fbd09571d745f7f~1..6ea9a61d8a25d772c90d859a3fbd09571d745f7f 6ea9a61d8a25d772c90d859a3fbd09571d745f7f [false] [Pipeline] sh 12:56:24 + git log --format=format:%s -1 6ea9a61d8a25d772c90d859a3fbd09571d745f7f [Pipeline] echo 12:56:24 ========================================================= 12:56:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:56:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:56:24 + git log --format=format:%s -1 6ea9a61d8a25d772c90d859a3fbd09571d745f7f [Pipeline] echo 12:56:24 [semverPrep] GIT_COMMIT: 6ea9a61d8a25d772c90d859a3fbd09571d745f7f, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:56:24 [semverPrep] This is not a build commit. [Pipeline] sh 12:56:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:56:25 + grep -v github /etc/ssh/ssh_known_hosts 12:56:25 + [ -e /tmp/ssh_known_hosts ] 12:56:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:56:25 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:56:25 sudo tee -a /etc/ssh/ssh_known_hosts 12:56:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:56:25 12:56: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:56:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:56:26 0.1.4: Pulling from edgex-devops/py-git-semver 12:56:26 b85a868b505f: Pulling fs layer 12:56:26 e2be974225ed: Pulling fs layer 12:56:26 339a4e72a1f5: Pulling fs layer 12:56:26 988bab9f4d93: Pulling fs layer 12:56:26 1469e6f7b9e6: Pulling fs layer 12:56:26 eaf3925da568: Pulling fs layer 12:56:26 bab4dde63d76: Pulling fs layer 12:56:26 bde34c3a00c8: Pulling fs layer 12:56:26 b352a97aabf1: Pulling fs layer 12:56:26 4872d77fe225: Pulling fs layer 12:56:26 5851b861e8e6: Pulling fs layer 12:56:26 1469e6f7b9e6: Waiting 12:56:26 bab4dde63d76: Waiting 12:56:26 4872d77fe225: Waiting 12:56:26 988bab9f4d93: Waiting 12:56:26 eaf3925da568: Waiting 12:56:26 5851b861e8e6: Waiting 12:56:26 b352a97aabf1: Waiting 12:56:26 bde34c3a00c8: Waiting 12:56:26 e2be974225ed: Download complete 12:56:26 988bab9f4d93: Verifying Checksum 12:56:26 988bab9f4d93: Download complete 12:56:26 1469e6f7b9e6: Verifying Checksum 12:56:26 1469e6f7b9e6: Download complete 12:56:26 eaf3925da568: Verifying Checksum 12:56:26 eaf3925da568: Download complete 12:56:26 339a4e72a1f5: Verifying Checksum 12:56:26 339a4e72a1f5: Download complete 12:56:26 bde34c3a00c8: Verifying Checksum 12:56:26 bde34c3a00c8: Download complete 12:56:26 b352a97aabf1: Verifying Checksum 12:56:26 b352a97aabf1: Download complete 12:56:26 4872d77fe225: Download complete 12:56:26 5851b861e8e6: Verifying Checksum 12:56:26 5851b861e8e6: Download complete 12:56:26 b85a868b505f: Download complete 12:56:26 bab4dde63d76: Verifying Checksum 12:56:26 bab4dde63d76: Download complete 12:56:27 b85a868b505f: Pull complete 12:56:27 e2be974225ed: Pull complete 12:56:28 339a4e72a1f5: Pull complete 12:56:28 988bab9f4d93: Pull complete 12:56:28 1469e6f7b9e6: Pull complete 12:56:28 eaf3925da568: Pull complete 12:56:30 bab4dde63d76: Pull complete 12:56:30 bde34c3a00c8: Pull complete 12:56:30 b352a97aabf1: Pull complete 12:56:30 4872d77fe225: Pull complete 12:56:30 5851b861e8e6: Pull complete 12:56:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:56:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:56:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:56:30 prd-ubuntu20.04-docker-8c-8g-70 does not seem to be running inside a container 12:56:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-650 -v /w/workspace/_app-service-configurable_PR-650:/w/workspace/_app-service-configurable_PR-650:rw,z -v /w/workspace/_app-service-configurable_PR-650@tmp:/w/workspace/_app-service-configurable_PR-650@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:56:35 $ docker top 23db5ff0e6c97a2b7eb1bfccce1a38ab617f2694f22accf743c5d5028283f352 -eo pid,comm 12:56: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:56:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:56:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:56:35 [ssh-agent] Looking for ssh-agent implementation... 12:56:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:56:35 $ docker exec 23db5ff0e6c97a2b7eb1bfccce1a38ab617f2694f22accf743c5d5028283f352 ssh-agent 12:56:35 SSH_AUTH_SOCK=/tmp/ssh-pYRD4WN2VXBo/agent.31 12:56:35 SSH_AGENT_PID=37 12:56:35 Running ssh-add (command line suppressed) 12:56:35 Identity added: /w/workspace/_app-service-configurable_PR-650@tmp/private_key_3913437269608856657.key (/w/workspace/_app-service-configurable_PR-650@tmp/private_key_3913437269608856657.key) 12:56:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:56:36 + git tag --points-at HEAD [Pipeline] } 12:56:36 $ docker exec --env ******** --env ******** 23db5ff0e6c97a2b7eb1bfccce1a38ab617f2694f22accf743c5d5028283f352 ssh-agent -k 12:56:36 unset SSH_AUTH_SOCK; 12:56:36 unset SSH_AGENT_PID; 12:56:36 echo Agent pid 37 killed; 12:56:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:56:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:56:36 [ssh-agent] Looking for ssh-agent implementation... 12:56:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:56:36 $ docker exec 23db5ff0e6c97a2b7eb1bfccce1a38ab617f2694f22accf743c5d5028283f352 ssh-agent 12:56:36 SSH_AUTH_SOCK=/tmp/ssh-yLGdbTiTcFIg/agent.70 12:56:36 SSH_AGENT_PID=76 12:56:36 Running ssh-add (command line suppressed) 12:56:36 Identity added: /w/workspace/_app-service-configurable_PR-650@tmp/private_key_7263540135329170369.key (/w/workspace/_app-service-configurable_PR-650@tmp/private_key_7263540135329170369.key) 12:56:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:56:37 + git semver init 12:56:37 2024-03-15 12:56:37,554 [run_init] DEBUG init version:0.0.0 force:False 12:56:37 2024-03-15 12:56:37,556 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-650/.semver 12:56:37 2024-03-15 12:56:37,557 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-650/.semver 12:56:37 2024-03-15 12:56:37,557 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-650/.semver'], cwd=/w/workspace/_app-service-configurable_PR-650, universal_newlines=False, shell=None, istream=None) 12:56:38 2024-03-15 12:56:38,777 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-650/.git/info/exclude 12:56:38 2024-03-15 12:56:38,777 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-650/.semver/PR-650 with force:False 12:56:38 2024-03-15 12:56:38,778 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-650/.semver/PR-650 12:56:38 2024-03-15 12:56:38,780 [execute] INFO git cat-file --batch-check 12:56:38 2024-03-15 12:56:38,781 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-650/.semver, universal_newlines=False, shell=None, istream=) 12:56:38 2024-03-15 12:56:38,789 [execute] INFO git cat-file --batch 12:56:38 2024-03-15 12:56:38,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-650/.semver, universal_newlines=False, shell=None, istream=) 12:56:39 2024-03-15 12:56:38,796 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-650/.semver/PR-650 12:56:39 0.0.0 [Pipeline] } 12:56:39 $ docker exec --env ******** --env ******** 23db5ff0e6c97a2b7eb1bfccce1a38ab617f2694f22accf743c5d5028283f352 ssh-agent -k 12:56:39 unset SSH_AUTH_SOCK; 12:56:39 unset SSH_AGENT_PID; 12:56:39 echo Agent pid 76 killed; 12:56:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:56:39 + git semver [Pipeline] } 12:56:39 $ docker stop --time=1 23db5ff0e6c97a2b7eb1bfccce1a38ab617f2694f22accf743c5d5028283f352 12:56:41 $ docker rm -f --volumes 23db5ff0e6c97a2b7eb1bfccce1a38ab617f2694f22accf743c5d5028283f352 [Pipeline] // withDockerContainer [Pipeline] sh 12:56:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:56:41 Stashed 1 file(s) [Pipeline] echo 12:56: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:56:42 provisioning config files... 12:56:42 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-650@tmp/config6354535198792867233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:43 ---> ****-login.sh 12:56:43 nexus3.edgexfoundry.org:10001 12:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:43 Configure a credential helper to remove this warning. See 12:56:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:43 12:56:43 Login Succeeded 12:56:43 nexus3.edgexfoundry.org:10002 12:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:43 Configure a credential helper to remove this warning. See 12:56:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:43 12:56:43 Login Succeeded 12:56:43 nexus3.edgexfoundry.org:10003 12:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:43 Configure a credential helper to remove this warning. See 12:56:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:43 12:56:43 Login Succeeded 12:56:43 nexus3.edgexfoundry.org:10004 12:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:43 Configure a credential helper to remove this warning. See 12:56:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:43 12:56:43 Login Succeeded 12:56:43 ****.io 12:56:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:56:43 Configure a credential helper to remove this warning. See 12:56:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:56:43 12:56:43 Login Succeeded 12:56:43 ---> ****-login.sh ends [Pipeline] } 12:56:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:56:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:56:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:56:44 ========================================================= 12:56:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:56:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56: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:56:44 Sending build context to Docker daemon 8.815MB 12:56:44 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:56:44 Step 2/12 : FROM ${BASE} AS builder 12:56:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:56:44 7264a8db6415: Pulling fs layer 12:56:44 c4d48a809fc2: Pulling fs layer 12:56:44 4f1c88b9dad5: Pulling fs layer 12:56:44 ad3a456e5733: Pulling fs layer 12:56:44 69c7f0334f64: Pulling fs layer 12:56:44 1f1c1a5573a3: Pulling fs layer 12:56:44 ce7588e14bc9: Pulling fs layer 12:56:44 b5e4710f87ac: Pulling fs layer 12:56:44 ad3a456e5733: Waiting 12:56:44 1f1c1a5573a3: Waiting 12:56:44 ce7588e14bc9: Waiting 12:56:44 69c7f0334f64: Waiting 12:56:44 c4d48a809fc2: Verifying Checksum 12:56:44 c4d48a809fc2: Download complete 12:56:44 ad3a456e5733: Verifying Checksum 12:56:44 ad3a456e5733: Download complete 12:56:44 69c7f0334f64: Verifying Checksum 12:56:44 69c7f0334f64: Download complete 12:56:44 7264a8db6415: Verifying Checksum 12:56:44 7264a8db6415: Download complete 12:56:44 1f1c1a5573a3: Verifying Checksum 12:56:44 1f1c1a5573a3: Download complete 12:56:44 7264a8db6415: Pull complete 12:56:44 b5e4710f87ac: Verifying Checksum 12:56:44 b5e4710f87ac: Download complete 12:56:45 c4d48a809fc2: Pull complete 12:56:45 4f1c88b9dad5: Download complete 12:56:45 ce7588e14bc9: Verifying Checksum 12:56:45 ce7588e14bc9: Download complete 12:56:47 4f1c88b9dad5: Pull complete 12:56:47 ad3a456e5733: Pull complete 12:56:48 69c7f0334f64: Pull complete 12:56:48 1f1c1a5573a3: Pull complete 12:56:50 ce7588e14bc9: Pull complete 12:56:51 b5e4710f87ac: Pull complete 12:56:51 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:56:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:56:51 ---> 88b5674ff536 12:56:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:56:57 Still waiting to schedule task 12:56:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:57:09 ---> Running in 08d604982eff 12:57:09 Removing intermediate container 08d604982eff 12:57:09 ---> f59f4183fb27 12:57:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:57:09 ---> Running in 9af8ae05b57f 12:57:09 Removing intermediate container 9af8ae05b57f 12:57:09 ---> 95910518efc6 12:57:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:57:09 ---> Running in 18f4e4629b44 12:57:09 Removing intermediate container 18f4e4629b44 12:57:09 ---> 370f0481eae2 12:57:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:57:09 ---> Running in ed1f34bbe0b2 12:57:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:57:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:57:09 OK: 264 MiB in 52 packages 12:57:09 Removing intermediate container ed1f34bbe0b2 12:57:09 ---> 45439e8641a8 12:57:09 Step 7/12 : WORKDIR /app 12:57:09 ---> Running in 79620449dae3 12:57:09 Removing intermediate container 79620449dae3 12:57:09 ---> 7719e31e8f8a 12:57:09 Step 8/12 : COPY go.mod vendor* ./ 12:57:09 ---> fb7a4d49b24a 12:57:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:57:09 ---> Running in 0f75b7fb4533 12:57:55 Removing intermediate container 0f75b7fb4533 12:57:55 ---> 846edc60fb2b 12:57:55 Step 10/12 : COPY . . 12:57:55 ---> b0edf558831e 12:57:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:57:55 ---> Running in e72501bfa6f7 12:57:55 Removing intermediate container e72501bfa6f7 12:57:55 ---> 84a86e9e0fe2 12:57:55 Step 12/12 : RUN $MAKE 12:57:55 ---> Running in 2b3075834e50 12:57:55 noop 12:57:55 Removing intermediate container 2b3075834e50 12:57:55 ---> f8eb672bd6c1 12:57:55 Successfully built f8eb672bd6c1 12:57:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:56 + docker inspect -f . ci-base-image-x86_64 12:57:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:56 prd-ubuntu20.04-docker-8c-8g-70 does not seem to be running inside a container 12:57:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-650 -v /w/workspace/_app-service-configurable_PR-650:/w/workspace/_app-service-configurable_PR-650:rw,z -v /w/workspace/_app-service-configurable_PR-650@tmp:/w/workspace/_app-service-configurable_PR-650@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 ******** ci-base-image-x86_64 cat 12:57:56 $ docker top 35dbaf2bd8faf580f00d2f10f79ae4b5392367482ebd6dc7715c79ba08c1416c -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:57 + go version 12:57:57 go version go1.21.0 linux/amd64 [Pipeline] } 12:57:57 $ docker stop --time=1 35dbaf2bd8faf580f00d2f10f79ae4b5392367482ebd6dc7715c79ba08c1416c 12:57:58 $ docker rm -f --volumes 35dbaf2bd8faf580f00d2f10f79ae4b5392367482ebd6dc7715c79ba08c1416c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:59 + docker inspect -f . ci-base-image-x86_64 12:57:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:59 prd-ubuntu20.04-docker-8c-8g-70 does not seem to be running inside a container 12:57:59 $ 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-650 -v /w/workspace/_app-service-configurable_PR-650:/w/workspace/_app-service-configurable_PR-650:rw,z -v /w/workspace/_app-service-configurable_PR-650@tmp:/w/workspace/_app-service-configurable_PR-650@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 ******** ci-base-image-x86_64 cat 12:58:00 $ docker top 3f0de6ffa4401e757266777e5f1f0184302cdc308db4c55b6f266e6d8a5f6423 -eo pid,comm [Pipeline] { [Pipeline] sh 12:58:00 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-650 [Pipeline] fileExists [Pipeline] sh 12:58:00 + make test 12:58:00 go test -race -coverprofile=coverage.out ./... 12:58:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:58:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-71 in /w/workspace/_app-service-configurable_PR-650 [Pipeline] { [Pipeline] ws 12:58:20 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:58:24 Selected Git installation does not exist. Using Default 12:58:24 The recommended git tool is: NONE 12:58:28 using credential edgex-jenkins-ssh 12:58:28 Cloning the remote Git repository 12:58:28 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:58:28 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:58:28 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:58:28 > git --version # timeout=10 12:58:28 > git --version # 'git version 2.25.1' 12:58:28 using GIT_SSH to set credentials SSH Credentials for GitHub 12:58:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:58:31 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:58:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:58:32 Merging remotes/origin/main commit 4880d13fba8919741e70fade795d8a1158c52518 into PR head commit 6ea9a61d8a25d772c90d859a3fbd09571d745f7f 12:58:31 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:58:31 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:58:31 using GIT_SSH to set credentials SSH Credentials for GitHub 12:58:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/650/head:refs/remotes/origin/PR-650 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:58:32 > git config core.sparsecheckout # timeout=10 12:58:32 > git checkout -f 6ea9a61d8a25d772c90d859a3fbd09571d745f7f # timeout=10 12:58:32 > git remote # timeout=10 12:58:32 > git config --get remote.origin.url # timeout=10 12:58:32 using GIT_SSH to set credentials SSH Credentials for GitHub 12:58:32 > git merge 4880d13fba8919741e70fade795d8a1158c52518 # timeout=10 12:58:32 Merge succeeded, producing 6ea9a61d8a25d772c90d859a3fbd09571d745f7f 12:58:32 Checking out Revision 6ea9a61d8a25d772c90d859a3fbd09571d745f7f (PR-650) 12:58:33 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:58:33 > git --version # timeout=10 12:58:33 > git --version # 'git version 2.25.1' 12:58:33 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:58:32 > git rev-parse HEAD^{commit} # timeout=10 12:58:32 > git config core.sparsecheckout # timeout=10 12:58:32 > git checkout -f 6ea9a61d8a25d772c90d859a3fbd09571d745f7f # timeout=10 12:58:37 go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:58:38 % Total % Received % Xferd Average Speed Time Time Time Current 12:58:38 Dload Upload Total Spent Left Speed 12:58:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 110k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh 12:58:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:58:38 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 12:58:38 /etc/docker/daemon.new 12:58:38 { 12:58:38 "registry-mirrors": [ 12:58:38 "https://nexus3.edgexfoundry.org:10001" 12:58:38 ], 12:58:38 "bip": "10.250.0.254/24", 12:58:38 "hosts": [ 12:58:38 "tcp://0.0.0.0:5555", 12:58:38 "unix:///var/run/docker.sock" 12:58:38 ], 12:58:38 "mtu": 1458, 12:58:38 "selinux-enabled": true, 12:58:38 "seccomp-profile": "/etc/docker/seccomp.json" 12:58:38 } [Pipeline] sh 12:58:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:58:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:58:39 ./bin/test-attribution-txt.sh 12:58:39 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 12:58:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:58:39 $ docker stop --time=1 3f0de6ffa4401e757266777e5f1f0184302cdc308db4c55b6f266e6d8a5f6423 12:58:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 12:58:48 $ docker rm -f --volumes 3f0de6ffa4401e757266777e5f1f0184302cdc308db4c55b6f266e6d8a5f6423 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 12:58:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:58:49 Stashed 1 file(s) 12:58:49 + sudo service docker restart [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:58:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:58:50 + ls -al . 12:58:50 total 184 12:58:50 drwxrwxr-x 7 jenkins jenkins 4096 Mar 15 12:58 . 12:58:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 12:56 .. 12:58:50 -rw-rw-r-- 1 jenkins jenkins 119 Mar 15 12:56 .dockerignore 12:58:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 12:58 .git 12:58:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 12:56 .github 12:58:50 -rw-rw-r-- 1 jenkins jenkins 106 Mar 15 12:56 .gitignore 12:58:50 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 12:56 .golangci.yml 12:58:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 12:56 .semver 12:58:50 -rw-rw-r-- 1 jenkins jenkins 10394 Mar 15 12:56 Attribution.txt 12:58:50 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 15 12:56 CHANGELOG.md 12:58:50 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 15 12:56 Dockerfile 12:58:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 12:56 GOVERNANCE.md 12:58:50 -rw-rw-r-- 1 jenkins jenkins 666 Mar 15 12:56 Jenkinsfile 12:58:50 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 15 12:56 LICENSE 12:58:50 -rw-rw-r-- 1 jenkins jenkins 618 Mar 15 12:56 OWNERS.md 12:58:50 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 15 12:56 README.md 12:58:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 12:56 VERSION 12:58:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 12:56 bin 12:58:50 -rw-r--r-- 1 jenkins jenkins 13 Mar 15 12:58 coverage.out 12:58:50 -rw-rw-r-- 1 jenkins jenkins 3776 Mar 15 12:56 go.mod 12:58:50 -rw-rw-r-- 1 jenkins jenkins 36129 Mar 15 12:56 go.sum 12:58:50 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 15 12:56 main.go 12:58:50 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 15 12:56 makefile 12:58:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 12:56 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:50 + 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=6ea9a61d8a25d772c90d859a3fbd09571d745f7f --label arch=amd64 --label version=0.0.0 . 12:58:50 Sending build context to Docker daemon 8.816MB 12:58:50 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:58:50 Step 2/27 : FROM ${BASE} AS builder 12:58:50 ---> f8eb672bd6c1 12:58:50 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:58:51 ---> Running in 961bc2cb5f6c 12:58:51 Removing intermediate container 961bc2cb5f6c 12:58:51 ---> bbc58d220d77 12:58:51 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:58:51 ---> Running in 968c87d1be66 12:58:51 Removing intermediate container 968c87d1be66 12:58:51 ---> 3fc9f6e79457 12:58:51 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:58:51 ---> Running in efef9d1151c4 12:58:51 Removing intermediate container efef9d1151c4 12:58:51 ---> dd8ce998ae86 12:58:51 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:58:51 ---> Running in ff885d5233a1 12:58:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:58:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:58:52 OK: 264 MiB in 52 packages 12:58:52 Removing intermediate container ff885d5233a1 12:58:52 ---> 6b1f26e242b3 12:58:52 Step 7/27 : WORKDIR /app 12:58:52 ---> Running in 2f8342d03aad 12:58:52 Removing intermediate container 2f8342d03aad 12:58:52 ---> 8f62432b55c0 12:58:52 Step 8/27 : COPY go.mod vendor* ./ 12:58:52 ---> 6e1922688333 12:58:52 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:52 ---> Running in 6a37f7777981 12:58:53 Removing intermediate container 6a37f7777981 12:58:53 ---> 2ea0e5a4284a 12:58:53 Step 10/27 : COPY . . 12:58:54 ---> 243063077e0d 12:58:54 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:58:54 ---> Running in 6321de0e6f7e 12:58:54 Removing intermediate container 6321de0e6f7e 12:58:54 ---> 7c1070ea92c3 12:58:54 Step 12/27 : RUN $MAKE 12:58:54 ---> Running in 0da991cc94a5 12:58:54 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.28 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:59:07 provisioning config files... 12:59:07 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config6400446836236788716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:08 ---> ****-login.sh 12:59:08 nexus3.edgexfoundry.org:10001 12:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:59:08 Configure a credential helper to remove this warning. See 12:59:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:59:08 12:59:08 Login Succeeded 12:59:08 nexus3.edgexfoundry.org:10002 12:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:59:09 Configure a credential helper to remove this warning. See 12:59:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:59:09 12:59:09 Login Succeeded 12:59:09 nexus3.edgexfoundry.org:10003 12:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:59:09 Configure a credential helper to remove this warning. See 12:59:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:59:09 12:59:09 Login Succeeded 12:59:09 nexus3.edgexfoundry.org:10004 12:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:59:09 Configure a credential helper to remove this warning. See 12:59:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:59:09 12:59:09 Login Succeeded 12:59:09 ****.io 12:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:59:10 Configure a credential helper to remove this warning. See 12:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:59:10 12:59:10 Login Succeeded 12:59:10 ---> ****-login.sh ends [Pipeline] } 12:59:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:59:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:59:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:59:10 ========================================================= 12:59:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:59:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:11 + 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:59:11 Sending build context to Docker daemon 160.8kB 12:59:11 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:59:11 Step 2/12 : FROM ${BASE} AS builder 12:59:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:59:11 9fda8d8052c6: Pulling fs layer 12:59:11 5d54e960e981: Pulling fs layer 12:59:11 c4a7e357bf2a: Pulling fs layer 12:59:11 f0e02332f6b5: Pulling fs layer 12:59:11 872ee5b61b7b: Pulling fs layer 12:59:11 0c6a40ed1a82: Pulling fs layer 12:59:11 94ae7d8d031c: Pulling fs layer 12:59:11 f0e02332f6b5: Waiting 12:59:11 872ee5b61b7b: Waiting 12:59:11 0c6a40ed1a82: Waiting 12:59:11 94ae7d8d031c: Waiting 12:59:11 5d54e960e981: Download complete 12:59:11 f0e02332f6b5: Verifying Checksum 12:59:11 f0e02332f6b5: Download complete 12:59:11 872ee5b61b7b: Verifying Checksum 12:59:11 872ee5b61b7b: Download complete 12:59:11 9fda8d8052c6: Verifying Checksum 12:59:11 9fda8d8052c6: Download complete 12:59:12 94ae7d8d031c: Verifying Checksum 12:59:12 94ae7d8d031c: Download complete 12:59:12 9fda8d8052c6: Pull complete 12:59:13 5d54e960e981: Pull complete 12:59:13 c4a7e357bf2a: Verifying Checksum 12:59:13 c4a7e357bf2a: Download complete 12:59:15 0c6a40ed1a82: Verifying Checksum 12:59:15 0c6a40ed1a82: Download complete 12:59:20 Removing intermediate container 0da991cc94a5 12:59:20 ---> 783ae04ab79f 12:59:20 Step 13/27 : FROM alpine:3.18 12:59:20 3.18: Pulling from library/alpine 12:59:20 619be1103602: Pulling fs layer 12:59:20 619be1103602: Verifying Checksum 12:59:20 619be1103602: Download complete 12:59:20 619be1103602: Pull complete 12:59:20 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:59:20 Status: Downloaded newer image for alpine:3.18 12:59:20 ---> d3782b16ccc9 12:59:20 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:59:20 ---> Running in e0776713f7e4 12:59:20 Removing intermediate container e0776713f7e4 12:59:20 ---> ab5304c11f5f 12:59:20 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:59:20 ---> Running in b11fdd76e148 12:59:20 Removing intermediate container b11fdd76e148 12:59:20 ---> cf65d7f6e21d 12:59:20 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:59:20 ---> Running in 0ecd66565c06 12:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:59:20 (1/2) Installing ca-certificates (20230506-r0) 12:59:20 (2/2) Installing dumb-init (1.2.5-r2) 12:59:20 Executing busybox-1.36.1-r5.trigger 12:59:20 Executing ca-certificates-20230506-r0.trigger 12:59:20 OK: 8 MiB in 17 packages 12:59:20 Removing intermediate container 0ecd66565c06 12:59:20 ---> 0b4d080e08e8 12:59:20 Step 17/27 : RUN apk --no-cache upgrade 12:59:20 ---> Running in 0c48e0a313da 12:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:59:20 OK: 8 MiB in 17 packages 12:59:20 Removing intermediate container 0c48e0a313da 12:59:20 ---> 3f2cdecea2b5 12:59:20 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:59:20 ---> 35f10b8bf995 12:59:20 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:59:20 ---> 0c5879ed7d97 12:59:20 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:59:20 ---> 99ea79c839bf 12:59:20 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:59:20 ---> d520aa84dc62 12:59:20 Step 22/27 : EXPOSE 48095 12:59:20 ---> Running in efa33a345f31 12:59:20 Removing intermediate container efa33a345f31 12:59:20 ---> 1c4ee4ca3517 12:59:20 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:59:20 ---> Running in bf147f178476 12:59:21 Removing intermediate container bf147f178476 12:59:21 ---> 1f8af2f9a781 12:59:21 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:59:21 ---> Running in 02098b52f6f4 12:59:21 Removing intermediate container 02098b52f6f4 12:59:21 ---> 0965e04b2466 12:59:21 Step 25/27 : LABEL arch=amd64 12:59:21 ---> Running in 1b26c8ac3143 12:59:21 Removing intermediate container 1b26c8ac3143 12:59:21 ---> 3bcfd5cbeffd 12:59:21 Step 26/27 : LABEL git_sha=6ea9a61d8a25d772c90d859a3fbd09571d745f7f 12:59:21 ---> Running in bf79e439891b 12:59:21 Removing intermediate container bf79e439891b 12:59:21 ---> 667dc43a8fc5 12:59:21 Step 27/27 : LABEL version=0.0.0 12:59:21 ---> Running in 96f70a028a9b 12:59:21 Removing intermediate container 96f70a028a9b 12:59:21 ---> cf09a79d5b30 12:59:21 [Warning] One or more build-args [ARCH] were not consumed 12:59:21 Successfully built cf09a79d5b30 12:59:21 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:22 12:59:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:22 latest: Pulling from edgex-lftools-log-publisher 12:59:22 5eb5b503b376: Pulling fs layer 12:59:22 5c69ac0246d0: Pulling fs layer 12:59:22 ec43610c2a17: Pulling fs layer 12:59:22 3a2ae6a8a46f: Pulling fs layer 12:59:22 33b1e0a273af: Pulling fs layer 12:59:22 5d3b04190fa2: Pulling fs layer 12:59:22 2f39f015ded8: Pulling fs layer 12:59:22 33b1e0a273af: Waiting 12:59:22 3a2ae6a8a46f: Waiting 12:59:22 5d3b04190fa2: Waiting 12:59:22 2f39f015ded8: Waiting 12:59:22 5c69ac0246d0: Download complete 12:59:22 3a2ae6a8a46f: Verifying Checksum 12:59:22 3a2ae6a8a46f: Download complete 12:59:22 33b1e0a273af: Verifying Checksum 12:59:22 33b1e0a273af: Download complete 12:59:22 5d3b04190fa2: Verifying Checksum 12:59:22 5d3b04190fa2: Download complete 12:59:22 ec43610c2a17: Verifying Checksum 12:59:22 ec43610c2a17: Download complete 12:59:22 5eb5b503b376: Verifying Checksum 12:59:22 5eb5b503b376: Download complete 12:59:23 2f39f015ded8: Download complete 12:59:24 5eb5b503b376: Pull complete 12:59:24 5c69ac0246d0: Pull complete 12:59:24 ec43610c2a17: Pull complete 12:59:24 3a2ae6a8a46f: Pull complete 12:59:25 33b1e0a273af: Pull complete 12:59:25 5d3b04190fa2: Pull complete 12:59:27 c4a7e357bf2a: Pull complete 12:59:27 f0e02332f6b5: Pull complete 12:59:27 872ee5b61b7b: Pull complete 12:59:31 2f39f015ded8: Pull complete 12:59:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:59:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:59:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:31 prd-ubuntu20.04-docker-8c-8g-70 does not seem to be running inside a container 12:59:32 $ 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-650 -v /w/workspace/_app-service-configurable_PR-650:/w/workspace/_app-service-configurable_PR-650:rw,z -v /w/workspace/_app-service-configurable_PR-650@tmp:/w/workspace/_app-service-configurable_PR-650@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:59:35 0c6a40ed1a82: Pull complete 12:59:36 94ae7d8d031c: Pull complete 12:59:36 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:59:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:59:36 ---> 86de565de09d 12:59:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:59:38 ---> Running in deff39e6e75e 12:59:38 Removing intermediate container deff39e6e75e 12:59:38 ---> 7577590bbc30 12:59:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:38 ---> Running in 83030e64e939 12:59:38 Removing intermediate container 83030e64e939 12:59:38 ---> b2ae9f72bd08 12:59:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:38 ---> Running in b7ade6b2eb32 12:59:39 Removing intermediate container b7ade6b2eb32 12:59:39 ---> 69a7e74e867b 12:59:39 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:39 ---> Running in 06b657439b56 12:59:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:59:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:59:41 $ docker top 182b011437c4ae0c5820b5585df59b8c69b4d426336a1eeae22a30164e40502f -eo pid,comm [Pipeline] { 12:59:41 OK: 266 MiB in 52 packages [Pipeline] libraryResource [Pipeline] sh 12:59:42 ---> job-cost.sh 12:59:42 lf-activate-venv: SKIPPING 12:59:42 INFO: No Stack... 12:59:42 INFO: Retrieving Pricing Info for: v3-standard-8 12:59:42 Removing intermediate container 06b657439b56 12:59:42 ---> 783d42b0964f 12:59:42 Step 7/12 : WORKDIR /app 12:59:42 ---> Running in 5bff2eb9aa71 12:59:42 Removing intermediate container 5bff2eb9aa71 12:59:42 ---> 4657eb9a0340 12:59:42 Step 8/12 : COPY go.mod vendor* ./ 12:59:42 INFO: Archiving Costs [Pipeline] sh 12:59:43 + cat /w/workspace/_app-service-configurable_PR-650/archives/cost.csv 12:59:43 + cut -d, -f6 [Pipeline] lock 12:59:43 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-650-1-stack-cost] 12:59:43 Resource [jenkins-edgexfoundry-app-service-configurable-PR-650-1-stack-cost] did not exist. Created. 12:59:43 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-650-1-stack-cost] [Pipeline] { [Pipeline] unstash 12:59:43 ---> ffb3c37866a3 12:59:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:43 ---> Running in 4bc5aef17c62 [Pipeline] sh 12:59:43 + echo total: 0.2199999988079071 [Pipeline] stash 12:59:43 Stashed 1 file(s) [Pipeline] } 12:59:43 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-650-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:59:44 $ docker stop --time=1 182b011437c4ae0c5820b5585df59b8c69b4d426336a1eeae22a30164e40502f 12:59:45 $ docker rm -f --volumes 182b011437c4ae0c5820b5585df59b8c69b4d426336a1eeae22a30164e40502f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:00:39 Removing intermediate container 4bc5aef17c62 13:00:39 ---> 1e1426566824 13:00:39 Step 10/12 : COPY . . 13:00:40 ---> 20ecda5aee85 13:00:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:40 ---> Running in e5f82d737dac 13:00:40 Removing intermediate container e5f82d737dac 13:00:40 ---> 027100e56a1b 13:00:40 Step 12/12 : RUN $MAKE 13:00:40 ---> Running in 7395bb2de409 13:00:41 noop 13:00:42 Removing intermediate container 7395bb2de409 13:00:42 ---> cb20ff183252 13:00:42 Successfully built cb20ff183252 13:00:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:42 + docker inspect -f . ci-base-image-arm64 13:00:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:43 prd-ubuntu20.04-docker-arm64-4c-16g-71 does not seem to be running inside a container 13:00:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:00:44 $ docker top 7bef55d87e209f64b058b17ad45ed29f434d086a3125e55873558c44bf02a84d -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:45 + go version 13:00:45 go version go1.21.0 linux/arm64 [Pipeline] } 13:00:45 $ docker stop --time=1 7bef55d87e209f64b058b17ad45ed29f434d086a3125e55873558c44bf02a84d 13:00:46 $ docker rm -f --volumes 7bef55d87e209f64b058b17ad45ed29f434d086a3125e55873558c44bf02a84d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:47 + docker inspect -f . ci-base-image-arm64 13:00:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:48 prd-ubuntu20.04-docker-arm64-4c-16g-71 does not seem to be running inside a container 13:00:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:00:49 $ docker top 933855d41867bf0fa4acc213043b2b7b4e0fabe5e6aaab3bb470bd4b011a36c5 -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:50 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:00:50 + make test 13:00:50 go test -race -coverprofile=coverage.out ./... 13:02:57 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:02:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:02:57 go vet ./... 13:04:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:04:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:04:34 ./bin/test-attribution-txt.sh 13:04:34 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 13:04:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:04:34 $ docker stop --time=1 933855d41867bf0fa4acc213043b2b7b4e0fabe5e6aaab3bb470bd4b011a36c5 13:04:36 $ docker rm -f --volumes 933855d41867bf0fa4acc213043b2b7b4e0fabe5e6aaab3bb470bd4b011a36c5 [Pipeline] // withDockerContainer [Pipeline] sh 13:04:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:04:37 Warning: overwriting stash ‘coverage-report’ 13:04:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:04:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:04:39 + ls -al . 13:04:39 total 180 13:04:39 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 13:00 . 13:04:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 12:58 .. 13:04:39 -rw-rw-r-- 1 jenkins jenkins 119 Mar 15 12:58 .dockerignore 13:04:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 12:58 .git 13:04:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 12:58 .github 13:04:39 -rw-rw-r-- 1 jenkins jenkins 106 Mar 15 12:58 .gitignore 13:04:39 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 12:58 .golangci.yml 13:04:39 -rw-rw-r-- 1 jenkins jenkins 10394 Mar 15 12:58 Attribution.txt 13:04:39 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 15 12:58 CHANGELOG.md 13:04:39 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 15 12:58 Dockerfile 13:04:39 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 12:58 GOVERNANCE.md 13:04:39 -rw-rw-r-- 1 jenkins jenkins 666 Mar 15 12:58 Jenkinsfile 13:04:39 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 15 12:58 LICENSE 13:04:39 -rw-rw-r-- 1 jenkins jenkins 618 Mar 15 12:58 OWNERS.md 13:04:39 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 15 12:58 README.md 13:04:39 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 12:56 VERSION 13:04:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 12:58 bin 13:04:39 -rw-r--r-- 1 jenkins jenkins 13 Mar 15 13:00 coverage.out 13:04:39 -rw-rw-r-- 1 jenkins jenkins 3776 Mar 15 12:58 go.mod 13:04:39 -rw-rw-r-- 1 jenkins jenkins 36129 Mar 15 12:58 go.sum 13:04:39 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 15 12:58 main.go 13:04:39 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 15 12:58 makefile 13:04:39 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 12:58 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:39 + 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=6ea9a61d8a25d772c90d859a3fbd09571d745f7f --label arch=arm64 --label version=0.0.0 . 13:04:39 Sending build context to Docker daemon 161.8kB 13:04:39 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 13:04:39 Step 2/27 : FROM ${BASE} AS builder 13:04:39 ---> cb20ff183252 13:04:39 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 13:04:39 ---> Running in 47c0882d6766 13:04:40 Removing intermediate container 47c0882d6766 13:04:40 ---> 32109f3b3d92 13:04:40 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 13:04:40 ---> Running in 91af82850dc3 13:04:40 Removing intermediate container 91af82850dc3 13:04:40 ---> 080e8cf8ae5e 13:04:40 Step 5/27 : ARG ADD_BUILD_TAGS="" 13:04:40 ---> Running in 2eb63cf1fa9b 13:04:40 Removing intermediate container 2eb63cf1fa9b 13:04:40 ---> 425a919f8b1c 13:04:40 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:04:40 ---> Running in 59c6eb870c19 13:04:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:04:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:04:43 OK: 266 MiB in 52 packages 13:04:44 Removing intermediate container 59c6eb870c19 13:04:44 ---> 0381f1ab7481 13:04:44 Step 7/27 : WORKDIR /app 13:04:44 ---> Running in 13a9fde156f4 13:04:44 Removing intermediate container 13a9fde156f4 13:04:44 ---> f7fc5749e61c 13:04:44 Step 8/27 : COPY go.mod vendor* ./ 13:04:45 ---> 30b0b69bc58d 13:04:45 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:04:45 ---> Running in 5e1b1fca6434 13:04:47 Removing intermediate container 5e1b1fca6434 13:04:47 ---> 6bbcab8a8e68 13:04:47 Step 10/27 : COPY . . 13:04:47 ---> 7eb7e21fc517 13:04:47 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:04:47 ---> Running in 5955ca3592e3 13:04:48 Removing intermediate container 5955ca3592e3 13:04:48 ---> f147a5892d0d 13:04:48 Step 12/27 : RUN $MAKE 13:04:48 ---> Running in d7b9a9eee299 13:04:49 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.28 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:06:40 Removing intermediate container d7b9a9eee299 13:06:40 ---> b6373923caee 13:06:40 Step 13/27 : FROM alpine:3.18 13:06:40 3.18: Pulling from library/alpine 13:06:40 c6b39de5b339: Pulling fs layer 13:06:40 c6b39de5b339: Verifying Checksum 13:06:40 c6b39de5b339: Download complete 13:06:40 c6b39de5b339: Pull complete 13:06:40 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:06:40 Status: Downloaded newer image for alpine:3.18 13:06:40 ---> 33abbf032149 13:06:40 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:06:40 ---> Running in 8e2095110d79 13:06:40 Removing intermediate container 8e2095110d79 13:06:40 ---> 84b84845380e 13:06:40 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 13:06:40 ---> Running in 2ab50374cbbe 13:06:40 Removing intermediate container 2ab50374cbbe 13:06:40 ---> d8f35830dca8 13:06:40 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 13:06:40 ---> Running in 8b6d990e8868 13:06:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:06:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:06:40 (1/2) Installing ca-certificates (20230506-r0) 13:06:40 (2/2) Installing dumb-init (1.2.5-r2) 13:06:40 Executing busybox-1.36.1-r5.trigger 13:06:40 Executing ca-certificates-20230506-r0.trigger 13:06:40 OK: 9 MiB in 17 packages 13:06:40 Removing intermediate container 8b6d990e8868 13:06:40 ---> 59a79f68bd03 13:06:40 Step 17/27 : RUN apk --no-cache upgrade 13:06:40 ---> Running in d454e5c6d52d 13:06:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:06:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:06:40 OK: 9 MiB in 17 packages 13:06:40 Removing intermediate container d454e5c6d52d 13:06:40 ---> 5c21f6f6bd11 13:06:40 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:06:40 ---> 001b93aaec95 13:06:40 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 13:06:40 ---> 477c43ddb990 13:06:40 Step 20/27 : COPY --from=builder /app/res/ /res/ 13:06:40 ---> 30e96ba4888c 13:06:40 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:06:40 ---> 20a502b0517a 13:06:40 Step 22/27 : EXPOSE 48095 13:06:40 ---> Running in 8fa7542d5343 13:06:40 Removing intermediate container 8fa7542d5343 13:06:40 ---> de1c4b569857 13:06:40 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 13:06:40 ---> Running in 8c8e7d49a114 13:06:40 Removing intermediate container 8c8e7d49a114 13:06:40 ---> 43347e64236a 13:06:40 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:06:40 ---> Running in a7707bdd79ca 13:06:40 Removing intermediate container a7707bdd79ca 13:06:40 ---> cc83e652196e 13:06:40 Step 25/27 : LABEL arch=arm64 13:06:40 ---> Running in df98ca760f8b 13:06:40 Removing intermediate container df98ca760f8b 13:06:40 ---> 2ed195599755 13:06:40 Step 26/27 : LABEL git_sha=6ea9a61d8a25d772c90d859a3fbd09571d745f7f 13:06:40 ---> Running in 81a8b96190b1 13:06:40 Removing intermediate container 81a8b96190b1 13:06:40 ---> 56bca4e8b82f 13:06:40 Step 27/27 : LABEL version=0.0.0 13:06:40 ---> Running in 0f5f9ed8bb88 13:06:40 Removing intermediate container 0f5f9ed8bb88 13:06:40 ---> db7012566418 13:06:40 [Warning] One or more build-args [ARCH] were not consumed 13:06:40 Successfully built db7012566418 13:06:40 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:06:41 13:06:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:06:42 arm64: Pulling from edgex-lftools-log-publisher 13:06:42 8998bd30e6a1: Pulling fs layer 13:06:42 04944245beec: Pulling fs layer 13:06:42 699f458cf7ca: Pulling fs layer 13:06:42 765212b225bb: Pulling fs layer 13:06:42 f23df028b6ca: Pulling fs layer 13:06:42 765212b225bb: Waiting 13:06:42 d65c8cfc05b1: Pulling fs layer 13:06:42 f23df028b6ca: Waiting 13:06:42 2437ff75d9bd: Pulling fs layer 13:06:42 04944245beec: Verifying Checksum 13:06:42 04944245beec: Download complete 13:06:42 765212b225bb: Verifying Checksum 13:06:42 f23df028b6ca: Verifying Checksum 13:06:42 f23df028b6ca: Download complete 13:06:42 d65c8cfc05b1: Verifying Checksum 13:06:42 d65c8cfc05b1: Download complete 13:06:42 699f458cf7ca: Verifying Checksum 13:06:42 699f458cf7ca: Download complete 13:06:43 8998bd30e6a1: Verifying Checksum 13:06:43 8998bd30e6a1: Download complete 13:06:45 2437ff75d9bd: Verifying Checksum 13:06:45 2437ff75d9bd: Download complete 13:06:47 8998bd30e6a1: Pull complete 13:06:47 04944245beec: Pull complete 13:06:49 699f458cf7ca: Pull complete 13:06:49 765212b225bb: Pull complete 13:06:50 f23df028b6ca: Pull complete 13:06:50 d65c8cfc05b1: Pull complete 13:07:08 2437ff75d9bd: Pull complete 13:07:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:07:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:07:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:07:09 prd-ubuntu20.04-docker-arm64-4c-16g-71 does not seem to be running inside a container 13:07:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:07:11 $ docker top 2ae201c14fa3a5e610c87116ec5440354f440865fb7e4273badcaa8f0809b6e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:07:12 ---> job-cost.sh 13:07:12 lf-activate-venv: SKIPPING 13:07:12 INFO: No Stack... 13:07:12 INFO: Retrieving Pricing Info for: v3-standard-4 13:07:13 INFO: Archiving Costs [Pipeline] sh 13:07:14 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:07:14 + cut -d, -f6 [Pipeline] lock 13:07:14 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-650-1-stack-cost] 13:07:14 Resource [jenkins-edgexfoundry-app-service-configurable-PR-650-1-stack-cost] did not exist. Created. 13:07:14 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-650-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:07:14 /w/workspace/app-service-configurable/1@tmp/durable-56354e5c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:07:15 + echo total: 0.10999999940395355 [Pipeline] stash 13:07:15 Warning: overwriting stash ‘stack-cost’ 13:07:15 Stashed 1 file(s) [Pipeline] } 13:07:15 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-650-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:07:15 $ docker stop --time=1 2ae201c14fa3a5e610c87116ec5440354f440865fb7e4273badcaa8f0809b6e4 13:07:17 $ docker rm -f --volumes 2ae201c14fa3a5e610c87116ec5440354f440865fb7e4273badcaa8f0809b6e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:07:18 provisioning config files... 13:07:18 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-650@tmp/config16690704443788538497tmp [Pipeline] { [Pipeline] sh 13:07:18 + set +x 13:07:18 + bash -s -- 13:07:18 + curl -s https://codecov.io/bash 13:07:18 13:07:18 _____ _ 13:07:18 / ____| | | 13:07:18 | | ___ __| | ___ ___ _____ __ 13:07:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:07:18 | |___| (_) | (_| | __/ (_| (_) \ V / 13:07:18 \_____\___/ \__,_|\___|\___\___/ \_/ 13:07:18 Bash-1.0.6 13:07:18 13:07:18 13:07:18 ==> git version 2.25.1 found 13:07:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:07:18 Release-Date: 2020-01-08 13:07:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:07:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:07:18 ==> Jenkins CI detected. 13:07:18 current dir:  /w/workspace/_app-service-configurable_PR-650 13:07:18 project root: . 13:07:18 --> token set from env 13:07:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:07:18 ==> Running gcov in . (disable via -X gcov) 13:07:18 ==> Python coveragepy not found 13:07:18 ==> Searching for coverage reports in: 13:07:18 + . 13:07:18 -> Found 1 reports 13:07:18 ==> Detecting git/mercurial file structure 13:07:18 ==> Reading reports 13:07:18 + ./coverage.out bytes=13 13:07:18 ==> Appending adjustments 13:07:18 https://docs.codecov.io/docs/fixing-reports 13:07:18 + Found adjustments 13:07:18 ==> Gzipping contents 13:07:18 4.0K /tmp/codecov.axvg91.gz 13:07:18 ==> Uploading reports 13:07:18 url: https://codecov.io 13:07:18 query: branch=PR-650&commit=6ea9a61d8a25d772c90d859a3fbd09571d745f7f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-650%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=650&job=&cmd_args= 13:07:18 -> Pinging Codecov 13:07:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-650&commit=6ea9a61d8a25d772c90d859a3fbd09571d745f7f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-650%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=650&job=&cmd_args= 13:07:19 -> Uploading to 13:07:19 https://storage.googleapis.com/codecov/v4/raw/2024-03-15/A97CA9966030D2A3747ED39772930CCE/6ea9a61d8a25d772c90d859a3fbd09571d745f7f/5016793b-f7f2-4f55-96ca-906e049d8192.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240315T130719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=653e891415b5a03fde4158f4bb3a34874f803c0e364f8e39f5b719ca3bdb220e 13:07:19 % Total % Received % Xferd Average Speed Time Time Time Current 13:07:19 Dload Upload Total Spent Left Speed 13:07:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 847 --:--:-- --:--:-- --:--:-- 844 13:07:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/6ea9a61d8a25d772c90d859a3fbd09571d745f7f [Pipeline] } 13:07:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:07:21 + [ -d /w/workspace/_app-service-configurable_PR-650/archives ] 13:07:21 + ls -al /w/workspace/_app-service-configurable_PR-650/archives 13:07:21 total 16 13:07:21 drwxr-xr-x 3 root root 4096 Mar 15 12:59 . 13:07:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 12:59 .. 13:07:21 drwxr-xr-x 2 root root 4096 Mar 15 12:59 cost 13:07:21 -rw-r--r-- 1 root root 96 Mar 15 12:59 cost.csv 13:07:21 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-650/archives 13:07:21 + ls -al /w/workspace/_app-service-configurable_PR-650/archives 13:07:21 total 16 13:07:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 12:59 . 13:07:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 12:59 .. 13:07:21 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 12:59 cost 13:07:21 -rw-r--r-- 1 jenkins jenkins 96 Mar 15 12:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:07:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:07:22 ---> package-listing.sh 13:07:22 ++ tr '[:upper:]' '[:lower:]' 13:07:22 ++ facter osfamily 13:07:22 + OS_FAMILY=debian 13:07:22 + workspace=/w/workspace/_app-service-configurable_PR-650 13:07:22 + START_PACKAGES=/tmp/packages_start.txt 13:07:22 + END_PACKAGES=/tmp/packages_end.txt 13:07:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:07:22 + PACKAGES=/tmp/packages_start.txt 13:07:22 + '[' /w/workspace/_app-service-configurable_PR-650 ']' 13:07:22 + PACKAGES=/tmp/packages_end.txt 13:07:22 + case "${OS_FAMILY}" in 13:07:22 + dpkg -l 13:07:22 + grep '^ii' 13:07:22 + '[' -f /tmp/packages_start.txt ']' 13:07:22 + '[' -f /tmp/packages_end.txt ']' 13:07:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:07:22 + '[' /w/workspace/_app-service-configurable_PR-650 ']' 13:07:22 + mkdir -p /w/workspace/_app-service-configurable_PR-650/archives/ 13:07:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-650/archives/ [Pipeline] echo 13:07:22 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-650/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:07:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:07:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:07:24 prd-ubuntu20.04-docker-8c-8g-70 does not seem to be running inside a container 13:07:24 $ 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-650/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-650 -v /w/workspace/_app-service-configurable_PR-650:/w/workspace/_app-service-configurable_PR-650:rw,z -v /w/workspace/_app-service-configurable_PR-650@tmp:/w/workspace/_app-service-configurable_PR-650@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:07:24 $ docker top 42afe7733d33c6a25f07a89126b355197c53c32969c978489a597f587047572c -eo pid,comm [Pipeline] { [Pipeline] sh 13:07:25 + touch /tmp/pre-build-complete [Pipeline] sh 13:07:25 + mkdir -p /var/log/sysstat [Pipeline] sh 13:07:25 + ls /var/log/sa-host 13:07:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:07:26 provisioning config files... 13:07:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-650@tmp/config17433850008141385295tmp [Pipeline] { [Pipeline] echo 13:07:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:07:26 ---> create-netrc.sh [Pipeline] } 13:07:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:07:27 ---> python-tools-install.sh [Pipeline] echo 13:07:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:07:27 ---> sudo-logs.sh 13:07:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:07:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:07:27 ---> job-cost.sh 13:07:27 lf-activate-venv: SKIPPING 13:07:27 DEBUG: total: 0.2199999988079071 13:07:27 INFO: Retrieving Stack Cost... 13:07:28 INFO: Retrieving Pricing Info for: v3-standard-8 13:07:28 INFO: Archiving Costs [Pipeline] echo 13:07:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:07:28 ---> logs-deploy.sh 13:07:28 lf-activate-venv: SKIPPING 13:07:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-650/1 13:07:28 INFO: archiving workspace using pattern(s): 13:07:29 Archives upload complete. 13:07:29 INFO: archiving logs to Nexus