Pull request #653 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c87dfaa7329ac001e5f5ae245f72050b063cd956+d14d2885d31a8bbc3eba5c894c279c3ceea6765f (359345a0dded4e69163d481fb7404e5c00a8870b) 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-ssh18434306388502029858.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-ssh5421190242068914944.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-653/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-653/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12695160581018916347.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-653/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13437226551301165642.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-ssh6443118019753580696.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-653/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-653/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2045677163007719165.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1127 in /w/workspace/_app-service-configurable_PR-653 [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-653 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d14d2885d31a8bbc3eba5c894c279c3ceea6765f into PR head commit c87dfaa7329ac001e5f5ae245f72050b063cd956 Merge succeeded, producing c87dfaa7329ac001e5f5ae245f72050b063cd956 Checking out Revision c87dfaa7329ac001e5f5ae245f72050b063cd956 (PR-653) > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/653/head:refs/remotes/origin/PR-653 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c87dfaa7329ac001e5f5ae245f72050b063cd956 # 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 d14d2885d31a8bbc3eba5c894c279c3ceea6765f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c87dfaa7329ac001e5f5ae245f72050b063cd956 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:45:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:45:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:45:19 ========================================================= 12:45:19 EdgeX Global Pipelines Version Info 12:45:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:45:20 ------------------- 12:45:20 stable info: 12:45:20 ------------------- 12:45:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:45:20 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:45:20 Message: update stable to v1.0.258 12:45:21 ------------------- 12:45:21 experimental info: 12:45:21 ------------------- 12:45:21 Commited By: **** collab-it+edgex@linuxfoundation.org 12:45:21 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:45:21 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:45:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-653 [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-653 [Pipeline] echo 12:45:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-653 [Pipeline] echo 12:45:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c87dfaa7329ac001e5f5ae245f72050b063cd956 [Pipeline] echo 12:45:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c87dfaa [Pipeline] echo 12:45:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:45:23 provisioning config files... 12:45:23 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-653@tmp/config9311483621659250708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:45:23 ---> ****-login.sh 12:45:23 nexus3.edgexfoundry.org:10001 12:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:24 Configure a credential helper to remove this warning. See 12:45:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:24 12:45:24 Login Succeeded 12:45:24 nexus3.edgexfoundry.org:10002 12:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:24 Configure a credential helper to remove this warning. See 12:45:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:24 12:45:24 Login Succeeded 12:45:24 nexus3.edgexfoundry.org:10003 12:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:24 Configure a credential helper to remove this warning. See 12:45:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:24 12:45:24 Login Succeeded 12:45:24 nexus3.edgexfoundry.org:10004 12:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:25 Configure a credential helper to remove this warning. See 12:45:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:25 12:45:25 Login Succeeded 12:45:25 ****.io 12:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:25 Configure a credential helper to remove this warning. See 12:45:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:25 12:45:25 Login Succeeded 12:45:25 ---> ****-login.sh ends [Pipeline] } 12:45:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:45:26 + git rev-list -1 --merges c87dfaa7329ac001e5f5ae245f72050b063cd956~1..c87dfaa7329ac001e5f5ae245f72050b063cd956 [Pipeline] echo 12:45:26 -----------> git rev-list -1 --merges c87dfaa7329ac001e5f5ae245f72050b063cd956~1..c87dfaa7329ac001e5f5ae245f72050b063cd956 c87dfaa7329ac001e5f5ae245f72050b063cd956 [false] [Pipeline] sh 12:45:26 + git log --format=format:%s -1 c87dfaa7329ac001e5f5ae245f72050b063cd956 [Pipeline] echo 12:45:26 ========================================================= 12:45:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:45:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:45:27 + git log --format=format:%s -1 c87dfaa7329ac001e5f5ae245f72050b063cd956 [Pipeline] echo 12:45:27 [semverPrep] GIT_COMMIT: c87dfaa7329ac001e5f5ae245f72050b063cd956, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:45:27 [semverPrep] This is not a build commit. [Pipeline] sh 12:45:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:45:27 + grep -v github /etc/ssh/ssh_known_hosts 12:45:27 + [ -e /tmp/ssh_known_hosts ] 12:45:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:45:27 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:45:27 sudo tee -a /etc/ssh/ssh_known_hosts 12:45:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:45:28 12:45:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:45:28 0.1.4: Pulling from edgex-devops/py-git-semver 12:45:28 b85a868b505f: Pulling fs layer 12:45:28 e2be974225ed: Pulling fs layer 12:45:28 339a4e72a1f5: Pulling fs layer 12:45:28 988bab9f4d93: Pulling fs layer 12:45:28 1469e6f7b9e6: Pulling fs layer 12:45:28 eaf3925da568: Pulling fs layer 12:45:28 bab4dde63d76: Pulling fs layer 12:45:28 bde34c3a00c8: Pulling fs layer 12:45:28 b352a97aabf1: Pulling fs layer 12:45:28 4872d77fe225: Pulling fs layer 12:45:28 5851b861e8e6: Pulling fs layer 12:45:28 988bab9f4d93: Waiting 12:45:28 1469e6f7b9e6: Waiting 12:45:28 eaf3925da568: Waiting 12:45:28 bab4dde63d76: Waiting 12:45:28 bde34c3a00c8: Waiting 12:45:28 b352a97aabf1: Waiting 12:45:28 4872d77fe225: Waiting 12:45:28 5851b861e8e6: Waiting 12:45:28 e2be974225ed: Download complete 12:45:28 988bab9f4d93: Verifying Checksum 12:45:28 988bab9f4d93: Download complete 12:45:28 1469e6f7b9e6: Verifying Checksum 12:45:28 1469e6f7b9e6: Download complete 12:45:28 339a4e72a1f5: Verifying Checksum 12:45:28 339a4e72a1f5: Download complete 12:45:28 eaf3925da568: Verifying Checksum 12:45:28 eaf3925da568: Download complete 12:45:28 bde34c3a00c8: Download complete 12:45:28 b352a97aabf1: Download complete 12:45:28 4872d77fe225: Verifying Checksum 12:45:28 4872d77fe225: Download complete 12:45:28 5851b861e8e6: Download complete 12:45:28 b85a868b505f: Verifying Checksum 12:45:28 b85a868b505f: Download complete 12:45:29 bab4dde63d76: Verifying Checksum 12:45:29 bab4dde63d76: Download complete 12:45:30 b85a868b505f: Pull complete 12:45:30 e2be974225ed: Pull complete 12:45:31 339a4e72a1f5: Pull complete 12:45:31 988bab9f4d93: Pull complete 12:45:31 1469e6f7b9e6: Pull complete 12:45:31 eaf3925da568: Pull complete 12:45:33 bab4dde63d76: Pull complete 12:45:33 bde34c3a00c8: Pull complete 12:45:33 b352a97aabf1: Pull complete 12:45:33 4872d77fe225: Pull complete 12:45:33 5851b861e8e6: Pull complete 12:45:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:45:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:45:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:34 prd-ubuntu20.04-docker-8c-8g-1127 does not seem to be running inside a container 12:45:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-653 -v /w/workspace/_app-service-configurable_PR-653:/w/workspace/_app-service-configurable_PR-653:rw,z -v /w/workspace/_app-service-configurable_PR-653@tmp:/w/workspace/_app-service-configurable_PR-653@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:45:38 $ docker top 32bc511007879d524f61928f31f746b6f432dfbd4a80856587d7a0dff48d7de1 -eo pid,comm 12:45:38 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:45:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:45:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:45:38 [ssh-agent] Looking for ssh-agent implementation... 12:45:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:45:38 $ docker exec 32bc511007879d524f61928f31f746b6f432dfbd4a80856587d7a0dff48d7de1 ssh-agent 12:45:38 SSH_AUTH_SOCK=/tmp/ssh-5eaaMJf2qToh/agent.32 12:45:38 SSH_AGENT_PID=38 12:45:38 Running ssh-add (command line suppressed) 12:45:38 Identity added: /w/workspace/_app-service-configurable_PR-653@tmp/private_key_16063765588025912788.key (/w/workspace/_app-service-configurable_PR-653@tmp/private_key_16063765588025912788.key) 12:45:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:45:39 + git tag --points-at HEAD [Pipeline] } 12:45:39 $ docker exec --env ******** --env ******** 32bc511007879d524f61928f31f746b6f432dfbd4a80856587d7a0dff48d7de1 ssh-agent -k 12:45:39 unset SSH_AUTH_SOCK; 12:45:39 unset SSH_AGENT_PID; 12:45:39 echo Agent pid 38 killed; 12:45:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:45:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:45:39 [ssh-agent] Looking for ssh-agent implementation... 12:45:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:45:39 $ docker exec 32bc511007879d524f61928f31f746b6f432dfbd4a80856587d7a0dff48d7de1 ssh-agent 12:45:39 SSH_AUTH_SOCK=/tmp/ssh-m47eL83JlmA7/agent.71 12:45:39 SSH_AGENT_PID=77 12:45:39 Running ssh-add (command line suppressed) 12:45:39 Identity added: /w/workspace/_app-service-configurable_PR-653@tmp/private_key_13911663460185205730.key (/w/workspace/_app-service-configurable_PR-653@tmp/private_key_13911663460185205730.key) 12:45:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:45:40 + git semver init 12:45:40 2024-03-25 12:45:40,551 [run_init] DEBUG init version:0.0.0 force:False 12:45:40 2024-03-25 12:45:40,552 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-653/.semver 12:45:40 2024-03-25 12:45:40,552 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-653/.semver 12:45:40 2024-03-25 12:45:40,553 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-653/.semver'], cwd=/w/workspace/_app-service-configurable_PR-653, universal_newlines=False, shell=None, istream=None) 12:45:42 2024-03-25 12:45:41,796 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-653/.git/info/exclude 12:45:42 2024-03-25 12:45:41,797 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-653/.semver/PR-653 with force:False 12:45:42 2024-03-25 12:45:41,797 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-653/.semver/PR-653 12:45:42 2024-03-25 12:45:41,802 [execute] INFO git cat-file --batch-check 12:45:42 2024-03-25 12:45:41,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-653/.semver, universal_newlines=False, shell=None, istream=) 12:45:42 2024-03-25 12:45:41,809 [execute] INFO git cat-file --batch 12:45:42 2024-03-25 12:45:41,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-653/.semver, universal_newlines=False, shell=None, istream=) 12:45:42 2024-03-25 12:45:41,814 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-653/.semver/PR-653 12:45:42 0.0.0 [Pipeline] } 12:45:42 $ docker exec --env ******** --env ******** 32bc511007879d524f61928f31f746b6f432dfbd4a80856587d7a0dff48d7de1 ssh-agent -k 12:45:42 unset SSH_AUTH_SOCK; 12:45:42 unset SSH_AGENT_PID; 12:45:42 echo Agent pid 77 killed; 12:45:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:45:42 + git semver [Pipeline] } 12:45:43 $ docker stop --time=1 32bc511007879d524f61928f31f746b6f432dfbd4a80856587d7a0dff48d7de1 12:45:44 $ docker rm -f --volumes 32bc511007879d524f61928f31f746b6f432dfbd4a80856587d7a0dff48d7de1 [Pipeline] // withDockerContainer [Pipeline] sh 12:45:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:45:45 Stashed 1 file(s) [Pipeline] echo 12:45:45 [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:45:46 provisioning config files... 12:45:46 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-653@tmp/config3880067861922131195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:45:46 ---> ****-login.sh 12:45:46 nexus3.edgexfoundry.org:10001 12:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:46 Configure a credential helper to remove this warning. See 12:45:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:46 12:45:46 Login Succeeded 12:45:46 nexus3.edgexfoundry.org:10002 12:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:46 Configure a credential helper to remove this warning. See 12:45:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:46 12:45:46 Login Succeeded 12:45:46 nexus3.edgexfoundry.org:10003 12:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:46 Configure a credential helper to remove this warning. See 12:45:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:46 12:45:46 Login Succeeded 12:45:46 nexus3.edgexfoundry.org:10004 12:45:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:46 Configure a credential helper to remove this warning. See 12:45:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:46 12:45:46 Login Succeeded 12:45:46 ****.io 12:45:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:45:47 Configure a credential helper to remove this warning. See 12:45:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:45:47 12:45:47 Login Succeeded 12:45:47 ---> ****-login.sh ends [Pipeline] } 12:45:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:45:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:45:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:45:47 ========================================================= 12:45:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:45:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:47 + 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:45:47 Sending build context to Docker daemon 8.966MB 12:45:47 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:45:47 Step 2/12 : FROM ${BASE} AS builder 12:45:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:45:47 7264a8db6415: Pulling fs layer 12:45:47 c4d48a809fc2: Pulling fs layer 12:45:47 4f1c88b9dad5: Pulling fs layer 12:45:47 ad3a456e5733: Pulling fs layer 12:45:47 69c7f0334f64: Pulling fs layer 12:45:47 ad3a456e5733: Waiting 12:45:47 1f1c1a5573a3: Pulling fs layer 12:45:47 ce7588e14bc9: Pulling fs layer 12:45:47 ce7588e14bc9: Waiting 12:45:47 b5e4710f87ac: Pulling fs layer 12:45:47 b5e4710f87ac: Waiting 12:45:47 c4d48a809fc2: Verifying Checksum 12:45:47 c4d48a809fc2: Download complete 12:45:47 ad3a456e5733: Verifying Checksum 12:45:47 ad3a456e5733: Download complete 12:45:48 69c7f0334f64: Verifying Checksum 12:45:48 69c7f0334f64: Download complete 12:45:48 7264a8db6415: Verifying Checksum 12:45:48 7264a8db6415: Download complete 12:45:48 1f1c1a5573a3: Verifying Checksum 12:45:48 1f1c1a5573a3: Download complete 12:45:48 7264a8db6415: Pull complete 12:45:48 b5e4710f87ac: Verifying Checksum 12:45:48 b5e4710f87ac: Download complete 12:45:48 c4d48a809fc2: Pull complete 12:45:48 4f1c88b9dad5: Verifying Checksum 12:45:48 4f1c88b9dad5: Download complete 12:45:48 ce7588e14bc9: Verifying Checksum 12:45:48 ce7588e14bc9: Download complete 12:45:52 4f1c88b9dad5: Pull complete 12:45:52 ad3a456e5733: Pull complete 12:45:52 69c7f0334f64: Pull complete 12:45:52 1f1c1a5573a3: Pull complete 12:45:54 ce7588e14bc9: Pull complete 12:45:54 b5e4710f87ac: Pull complete 12:45:54 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:45:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:45:55 ---> 88b5674ff536 12:45:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:45:59 ---> Running in 771be797ecf7 12:45:59 Removing intermediate container 771be797ecf7 12:45:59 ---> df525f9e541d 12:45:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:45:59 ---> Running in 2562a1a5ac3a 12:45:59 Removing intermediate container 2562a1a5ac3a 12:45:59 ---> 5f3e8810178a 12:45:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:45:59 ---> Running in 98733acf6601 12:45:59 Removing intermediate container 98733acf6601 12:45:59 ---> 1d69ff3fe014 12:45:59 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:45:59 ---> Running in ae1e7f8cfe23 12:45:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:45:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:46:00 OK: 264 MiB in 52 packages 12:46:00 Removing intermediate container ae1e7f8cfe23 12:46:00 ---> e4951820d869 12:46:00 Step 7/12 : WORKDIR /app 12:46:00 ---> Running in cd65745147e5 12:46:00 Removing intermediate container cd65745147e5 12:46:00 ---> 6b47f4b445e9 12:46:00 Step 8/12 : COPY go.mod vendor* ./ 12:46:00 ---> 28396054fda8 12:46:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:46:00 ---> Running in 79c70fc74f33 12:46:00 Still waiting to schedule task 12:46:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:47:08 Removing intermediate container 79c70fc74f33 12:47:08 ---> 3fc5c5311895 12:47:08 Step 10/12 : COPY . . 12:47:08 ---> 0eb6b63e4b5b 12:47:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:47:08 ---> Running in e80d445aa66d 12:47:08 Removing intermediate container e80d445aa66d 12:47:08 ---> 08b64028cc02 12:47:08 Step 12/12 : RUN $MAKE 12:47:08 ---> Running in 72df00ef7c90 12:47:08 noop 12:47:08 Removing intermediate container 72df00ef7c90 12:47:08 ---> 852214b450b2 12:47:08 Successfully built 852214b450b2 12:47:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:08 + docker inspect -f . ci-base-image-x86_64 12:47:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:47:09 prd-ubuntu20.04-docker-8c-8g-1127 does not seem to be running inside a container 12:47:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-653 -v /w/workspace/_app-service-configurable_PR-653:/w/workspace/_app-service-configurable_PR-653:rw,z -v /w/workspace/_app-service-configurable_PR-653@tmp:/w/workspace/_app-service-configurable_PR-653@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:47:09 $ docker top 5720d350fca563b0013b9b266f27ae1a2b548b82ba7efc9c638ef0a0378a8b6d -eo pid,comm [Pipeline] { [Pipeline] sh 12:47:09 + go version 12:47:09 go version go1.21.0 linux/amd64 [Pipeline] } 12:47:09 $ docker stop --time=1 5720d350fca563b0013b9b266f27ae1a2b548b82ba7efc9c638ef0a0378a8b6d 12:47:11 $ docker rm -f --volumes 5720d350fca563b0013b9b266f27ae1a2b548b82ba7efc9c638ef0a0378a8b6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:11 + docker inspect -f . ci-base-image-x86_64 12:47:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:47:12 prd-ubuntu20.04-docker-8c-8g-1127 does not seem to be running inside a container 12:47:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-653 -v /w/workspace/_app-service-configurable_PR-653:/w/workspace/_app-service-configurable_PR-653:rw,z -v /w/workspace/_app-service-configurable_PR-653@tmp:/w/workspace/_app-service-configurable_PR-653@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:47:12 $ docker top f3d21c979d4a050c8d17fef6625dbb3f0dc832c39761c8d0467490532d19cc04 -eo pid,comm [Pipeline] { [Pipeline] sh 12:47:12 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-653 [Pipeline] fileExists [Pipeline] sh 12:47:13 + make test 12:47:13 go test -race -coverprofile=coverage.out ./... 12:47:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1128 in /w/workspace/_app-service-configurable_PR-653 [Pipeline] { [Pipeline] ws 12:47:36 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:47:36 Selected Git installation does not exist. Using Default 12:47:36 The recommended git tool is: NONE 12:47:40 using credential edgex-jenkins-ssh 12:47:40 Cloning the remote Git repository 12:47:40 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:47:41 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:47:41 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:47:41 > git --version # timeout=10 12:47:41 > git --version # 'git version 2.25.1' 12:47:41 using GIT_SSH to set credentials SSH Credentials for GitHub 12:47:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:47:43 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:47:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:47:44 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:47:44 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:47:44 using GIT_SSH to set credentials SSH Credentials for GitHub 12:47:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/653/head:refs/remotes/origin/PR-653 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:47:44 Merging remotes/origin/main commit d14d2885d31a8bbc3eba5c894c279c3ceea6765f into PR head commit c87dfaa7329ac001e5f5ae245f72050b063cd956 12:47:45 Merge succeeded, producing c87dfaa7329ac001e5f5ae245f72050b063cd956 12:47:45 Checking out Revision c87dfaa7329ac001e5f5ae245f72050b063cd956 (PR-653) 12:47:45 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:47:45 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:47:45 > git --version # timeout=10 12:47:45 > git --version # 'git version 2.25.1' 12:47:45 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:47:44 > git config core.sparsecheckout # timeout=10 12:47:45 > git checkout -f c87dfaa7329ac001e5f5ae245f72050b063cd956 # timeout=10 12:47:45 > git remote # timeout=10 12:47:45 > git config --get remote.origin.url # timeout=10 12:47:45 using GIT_SSH to set credentials SSH Credentials for GitHub 12:47:45 > git merge d14d2885d31a8bbc3eba5c894c279c3ceea6765f # timeout=10 12:47:45 > git rev-parse HEAD^{commit} # timeout=10 12:47:45 > git config core.sparsecheckout # timeout=10 12:47:45 > git checkout -f c87dfaa7329ac001e5f5ae245f72050b063cd956 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:47:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:47:50 % Total % Received % Xferd Average Speed Time Time Time Current 12:47:50 Dload Upload Total Spent Left Speed 12:47:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh 12:47:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:47:51 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 12:47:51 /etc/docker/daemon.new 12:47:51 { 12:47:51 "registry-mirrors": [ 12:47:51 "https://nexus3.edgexfoundry.org:10001" 12:47:51 ], 12:47:51 "bip": "10.250.0.254/24", 12:47:51 "hosts": [ 12:47:51 "tcp://0.0.0.0:5555", 12:47:51 "unix:///var/run/docker.sock" 12:47:51 ], 12:47:51 "mtu": 1458, 12:47:51 "selinux-enabled": true, 12:47:51 "seccomp-profile": "/etc/docker/seccomp.json" 12:47:51 } [Pipeline] sh 12:47:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:47:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:48:10 provisioning config files... 12:48:10 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config12540730002012868893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:10 ---> ****-login.sh 12:48:10 nexus3.edgexfoundry.org:10001 12:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:11 Configure a credential helper to remove this warning. See 12:48:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:11 12:48:11 Login Succeeded 12:48:11 nexus3.edgexfoundry.org:10002 12:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:11 Configure a credential helper to remove this warning. See 12:48:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:11 12:48:11 Login Succeeded 12:48:11 nexus3.edgexfoundry.org:10003 12:48:11 go vet ./... 12:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:12 Configure a credential helper to remove this warning. See 12:48:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:12 12:48:12 Login Succeeded 12:48:12 nexus3.edgexfoundry.org:10004 12:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:12 Configure a credential helper to remove this warning. See 12:48:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:12 12:48:12 Login Succeeded 12:48:12 ****.io 12:48:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:12 Configure a credential helper to remove this warning. See 12:48:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:12 12:48:12 Login Succeeded 12:48:12 ---> ****-login.sh ends [Pipeline] } 12:48:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:48:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:48:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:48:13 ========================================================= 12:48:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:48:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:14 + 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:48:14 Sending build context to Docker daemon 238.1kB 12:48:14 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:48:14 Step 2/12 : FROM ${BASE} AS builder 12:48:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:48:14 9fda8d8052c6: Pulling fs layer 12:48:14 5d54e960e981: Pulling fs layer 12:48:14 c4a7e357bf2a: Pulling fs layer 12:48:14 f0e02332f6b5: Pulling fs layer 12:48:14 872ee5b61b7b: Pulling fs layer 12:48:14 0c6a40ed1a82: Pulling fs layer 12:48:14 94ae7d8d031c: Pulling fs layer 12:48:14 f0e02332f6b5: Waiting 12:48:14 872ee5b61b7b: Waiting 12:48:14 0c6a40ed1a82: Waiting 12:48:14 94ae7d8d031c: Waiting 12:48:14 5d54e960e981: Verifying Checksum 12:48:14 5d54e960e981: Download complete 12:48:14 f0e02332f6b5: Verifying Checksum 12:48:14 f0e02332f6b5: Download complete 12:48:14 872ee5b61b7b: Verifying Checksum 12:48:14 872ee5b61b7b: Download complete 12:48:14 9fda8d8052c6: Verifying Checksum 12:48:14 9fda8d8052c6: Download complete 12:48:15 94ae7d8d031c: Verifying Checksum 12:48:15 94ae7d8d031c: Download complete 12:48:15 9fda8d8052c6: Pull complete 12:48:16 5d54e960e981: Pull complete 12:48:16 c4a7e357bf2a: Verifying Checksum 12:48:16 c4a7e357bf2a: Download complete 12:48:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:48:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:48:17 ./bin/test-attribution-txt.sh [Pipeline] echo 12:48:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:48:17 $ docker stop --time=1 f3d21c979d4a050c8d17fef6625dbb3f0dc832c39761c8d0467490532d19cc04 12:48:17 0c6a40ed1a82: Verifying Checksum 12:48:17 0c6a40ed1a82: Download complete 12:48:21 $ docker rm -f --volumes f3d21c979d4a050c8d17fef6625dbb3f0dc832c39761c8d0467490532d19cc04 [Pipeline] // withDockerContainer [Pipeline] sh 12:48:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:48:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:48:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:48:23 + ls -al . 12:48:23 total 260 12:48:23 drwxrwxr-x 7 jenkins jenkins 4096 Mar 25 12:47 . 12:48:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 12:45 .. 12:48:23 -rw-rw-r-- 1 jenkins jenkins 119 Mar 25 12:45 .dockerignore 12:48:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 12:47 .git 12:48:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 12:45 .github 12:48:23 -rw-rw-r-- 1 jenkins jenkins 106 Mar 25 12:45 .gitignore 12:48:23 -rw-rw-r-- 1 jenkins jenkins 41 Mar 25 12:45 .golangci.yml 12:48:23 drwxr-xr-x 3 jenkins jenkins 4096 Mar 25 12:45 .semver 12:48:23 -rw-rw-r-- 1 jenkins jenkins 18981 Mar 25 12:45 Attribution.txt 12:48:23 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 25 12:45 CHANGELOG.md 12:48:23 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 25 12:45 Dockerfile 12:48:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 25 12:45 GOVERNANCE.md 12:48:23 -rw-rw-r-- 1 jenkins jenkins 666 Mar 25 12:45 Jenkinsfile 12:48:23 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 25 12:45 LICENSE 12:48:23 -rw-rw-r-- 1 jenkins jenkins 618 Mar 25 12:45 OWNERS.md 12:48:23 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 25 12:45 README.md 12:48:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 25 12:45 VERSION 12:48:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 12:45 bin 12:48:23 -rw-r--r-- 1 jenkins jenkins 13 Mar 25 12:47 coverage.out 12:48:23 -rw-rw-r-- 1 jenkins jenkins 7078 Mar 25 12:45 go.mod 12:48:23 -rw-rw-r-- 1 jenkins jenkins 101604 Mar 25 12:45 go.sum 12:48:23 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 25 12:45 main.go 12:48:23 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 25 12:45 makefile 12:48:23 drwxrwxr-x 9 jenkins jenkins 4096 Mar 25 12:45 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:23 + 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=c87dfaa7329ac001e5f5ae245f72050b063cd956 --label arch=amd64 --label version=0.0.0 . 12:48:23 Sending build context to Docker daemon 8.967MB 12:48:23 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:48:23 Step 2/27 : FROM ${BASE} AS builder 12:48:23 ---> 852214b450b2 12:48:23 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:48:23 ---> Running in 2b3db4c92a58 12:48:23 Removing intermediate container 2b3db4c92a58 12:48:23 ---> 9a4ef7d362fd 12:48:23 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:48:23 ---> Running in 5cfcb3410249 12:48:23 Removing intermediate container 5cfcb3410249 12:48:23 ---> 9c9b6f1fbac8 12:48:23 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:48:23 ---> Running in daec8e6008a5 12:48:23 Removing intermediate container daec8e6008a5 12:48:23 ---> f670a0960272 12:48:23 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:48:23 ---> Running in 5ecc5acac171 12:48:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:48:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:48:24 OK: 264 MiB in 52 packages 12:48:25 Removing intermediate container 5ecc5acac171 12:48:25 ---> a836e2542848 12:48:25 Step 7/27 : WORKDIR /app 12:48:25 ---> Running in 0b21bd9ff2ff 12:48:25 Removing intermediate container 0b21bd9ff2ff 12:48:25 ---> c988c4041f23 12:48:25 Step 8/27 : COPY go.mod vendor* ./ 12:48:25 ---> a58d0e85b980 12:48:25 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:48:25 ---> Running in 632066bd38e9 12:48:25 Removing intermediate container 632066bd38e9 12:48:25 ---> 7a159a91677a 12:48:25 Step 10/27 : COPY . . 12:48:26 ---> c4ee461faf32 12:48:26 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:48:26 ---> Running in c869b268d2bc 12:48:26 Removing intermediate container c869b268d2bc 12:48:26 ---> 9267b4db4426 12:48:26 Step 12/27 : RUN $MAKE 12:48:26 ---> Running in beeded90b731 12:48:26 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.31 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:48:29 c4a7e357bf2a: Pull complete 12:48:29 f0e02332f6b5: Pull complete 12:48:29 872ee5b61b7b: Pull complete 12:48:38 0c6a40ed1a82: Pull complete 12:48:39 94ae7d8d031c: Pull complete 12:48:39 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:48:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:48:39 ---> 86de565de09d 12:48:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:48:41 ---> Running in c2bd28c50d8b 12:48:41 Removing intermediate container c2bd28c50d8b 12:48:41 ---> c8704f41cbb3 12:48:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:48:41 ---> Running in 7be4c3a3cb79 12:48:41 Removing intermediate container 7be4c3a3cb79 12:48:41 ---> 23cd5f29c7c2 12:48:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:48:42 ---> Running in fe7307bc7f5f 12:48:42 Removing intermediate container fe7307bc7f5f 12:48:42 ---> 7ce6b29e8f3a 12:48:42 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:48:42 ---> Running in 34f00282dcd4 12:48:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:48:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:48:44 OK: 266 MiB in 52 packages 12:48:45 Removing intermediate container 34f00282dcd4 12:48:45 ---> c9a9f7111829 12:48:45 Step 7/12 : WORKDIR /app 12:48:45 ---> Running in e0d4af827b40 12:48:45 Removing intermediate container e0d4af827b40 12:48:45 ---> f958148c48aa 12:48:45 Step 8/12 : COPY go.mod vendor* ./ 12:48:46 ---> dc993b143d7f 12:48:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:48:46 ---> Running in 149b655d758f 12:48:58 Removing intermediate container beeded90b731 12:48:58 ---> 481d28b84beb 12:48:58 Step 13/27 : FROM alpine:3.18 12:48:58 3.18: Pulling from library/alpine 12:48:58 619be1103602: Pulling fs layer 12:48:58 619be1103602: Verifying Checksum 12:48:58 619be1103602: Download complete 12:48:58 619be1103602: Pull complete 12:48:58 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:48:58 Status: Downloaded newer image for alpine:3.18 12:48:58 ---> d3782b16ccc9 12:48:58 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:48:58 ---> Running in bebdd6eac33f 12:48:58 Removing intermediate container bebdd6eac33f 12:48:58 ---> a8342a52b9a1 12:48:58 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:48:58 ---> Running in 354f119ef7d8 12:48:58 Removing intermediate container 354f119ef7d8 12:48:58 ---> da922f7e8586 12:48:58 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:48:58 ---> Running in b6feb008fa13 12:48:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:48:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:48:58 (1/2) Installing ca-certificates (20240226-r0) 12:48:58 (2/2) Installing dumb-init (1.2.5-r2) 12:48:58 Executing busybox-1.36.1-r5.trigger 12:48:58 Executing ca-certificates-20240226-r0.trigger 12:48:58 OK: 8 MiB in 17 packages 12:48:58 Removing intermediate container b6feb008fa13 12:48:58 ---> 9ee333601631 12:48:58 Step 17/27 : RUN apk --no-cache upgrade 12:48:58 ---> Running in 4d3eab096cdc 12:48:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:48:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:48:58 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 12:48:58 Executing ca-certificates-20240226-r0.trigger 12:48:58 OK: 8 MiB in 17 packages 12:48:58 Removing intermediate container 4d3eab096cdc 12:48:58 ---> 60d79714152b 12:48:58 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:48:58 ---> 95a415c417fc 12:48:58 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:48:58 ---> 1d763621d948 12:48:58 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:48:58 ---> 5b6b8bdae780 12:48:58 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:49:00 ---> b1a1fa55c15a 12:49:00 Step 22/27 : EXPOSE 48095 12:49:00 ---> Running in 961501f06e8e 12:49:00 Removing intermediate container 961501f06e8e 12:49:00 ---> 363c01996dd8 12:49:00 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:49:00 ---> Running in dd9973c1347b 12:49:00 Removing intermediate container dd9973c1347b 12:49:00 ---> aa77011a09ab 12:49:00 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:49:00 ---> Running in fa5204251dc5 12:49:00 Removing intermediate container fa5204251dc5 12:49:00 ---> be9c3f0c5a82 12:49:00 Step 25/27 : LABEL arch=amd64 12:49:00 ---> Running in b9ad7d34360a 12:49:00 Removing intermediate container b9ad7d34360a 12:49:00 ---> afaad702430e 12:49:00 Step 26/27 : LABEL git_sha=c87dfaa7329ac001e5f5ae245f72050b063cd956 12:49:00 ---> Running in a2ab8a3d032e 12:49:00 Removing intermediate container a2ab8a3d032e 12:49:00 ---> cf1d4bbcf141 12:49:00 Step 27/27 : LABEL version=0.0.0 12:49:00 ---> Running in 7f66f8a381f5 12:49:00 Removing intermediate container 7f66f8a381f5 12:49:00 ---> 4fb1cd098024 12:49:00 [Warning] One or more build-args [ARCH] were not consumed 12:49:00 Successfully built 4fb1cd098024 12:49:00 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:49:01 12:49:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:49:02 latest: Pulling from edgex-lftools-log-publisher 12:49:02 5eb5b503b376: Pulling fs layer 12:49:02 5c69ac0246d0: Pulling fs layer 12:49:02 ec43610c2a17: Pulling fs layer 12:49:02 3a2ae6a8a46f: Pulling fs layer 12:49:02 33b1e0a273af: Pulling fs layer 12:49:02 5d3b04190fa2: Pulling fs layer 12:49:02 2f39f015ded8: Pulling fs layer 12:49:02 3a2ae6a8a46f: Waiting 12:49:02 33b1e0a273af: Waiting 12:49:02 5d3b04190fa2: Waiting 12:49:02 2f39f015ded8: Waiting 12:49:02 5c69ac0246d0: Download complete 12:49:02 3a2ae6a8a46f: Verifying Checksum 12:49:02 3a2ae6a8a46f: Download complete 12:49:02 33b1e0a273af: Verifying Checksum 12:49:02 33b1e0a273af: Download complete 12:49:02 ec43610c2a17: Verifying Checksum 12:49:02 ec43610c2a17: Download complete 12:49:02 5d3b04190fa2: Verifying Checksum 12:49:02 5d3b04190fa2: Download complete 12:49:02 5eb5b503b376: Verifying Checksum 12:49:02 5eb5b503b376: Download complete 12:49:02 2f39f015ded8: Download complete 12:49:03 5eb5b503b376: Pull complete 12:49:03 5c69ac0246d0: Pull complete 12:49:04 ec43610c2a17: Pull complete 12:49:04 3a2ae6a8a46f: Pull complete 12:49:04 33b1e0a273af: Pull complete 12:49:04 5d3b04190fa2: Pull complete 12:49:08 2f39f015ded8: Pull complete 12:49:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:49:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:08 prd-ubuntu20.04-docker-8c-8g-1127 does not seem to be running inside a container 12:49: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_PR-653 -v /w/workspace/_app-service-configurable_PR-653:/w/workspace/_app-service-configurable_PR-653:rw,z -v /w/workspace/_app-service-configurable_PR-653@tmp:/w/workspace/_app-service-configurable_PR-653@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:49:12 $ docker top 0a5c0333d7e381d4802937870b06b59e569616593bdb6461e87f672352df4ccb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:49:13 ---> job-cost.sh 12:49:13 lf-activate-venv: SKIPPING 12:49:13 INFO: No Stack... 12:49:13 INFO: Retrieving Pricing Info for: v3-standard-8 12:49:14 INFO: Archiving Costs [Pipeline] sh 12:49:14 + cat /w/workspace/_app-service-configurable_PR-653/archives/cost.csv 12:49:14 + cut -d, -f6 [Pipeline] lock 12:49:14 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-653-1-stack-cost] 12:49:14 Resource [jenkins-edgexfoundry-app-service-configurable-PR-653-1-stack-cost] did not exist. Created. 12:49:14 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-653-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:49:14 + echo total: 0.2199999988079071 [Pipeline] stash 12:49:14 Stashed 1 file(s) [Pipeline] } 12:49:14 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-653-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:49:15 $ docker stop --time=1 0a5c0333d7e381d4802937870b06b59e569616593bdb6461e87f672352df4ccb 12:49:16 $ docker rm -f --volumes 0a5c0333d7e381d4802937870b06b59e569616593bdb6461e87f672352df4ccb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:50:38 Removing intermediate container 149b655d758f 12:50:38 ---> 1a335385b669 12:50:38 Step 10/12 : COPY . . 12:50:38 ---> 0e3e3e71edbf 12:50:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:50:38 ---> Running in 0f7fa5bf2df4 12:50:38 Removing intermediate container 0f7fa5bf2df4 12:50:38 ---> 0d5d2ac3f8bb 12:50:38 Step 12/12 : RUN $MAKE 12:50:38 ---> Running in cb6332bbbe4c 12:50:38 noop 12:50:39 Removing intermediate container cb6332bbbe4c 12:50:39 ---> 050f24895a79 12:50:39 Successfully built 050f24895a79 12:50:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:39 + docker inspect -f . ci-base-image-arm64 12:50:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:40 prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container 12:50:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:50:41 $ docker top eceb190cb307ac962e8f83f77ccd6dc01a9834fb515281bb292035447f57ab21 -eo pid,comm [Pipeline] { [Pipeline] sh 12:50:42 + go version 12:50:42 go version go1.21.0 linux/arm64 [Pipeline] } 12:50:42 $ docker stop --time=1 eceb190cb307ac962e8f83f77ccd6dc01a9834fb515281bb292035447f57ab21 12:50:43 $ docker rm -f --volumes eceb190cb307ac962e8f83f77ccd6dc01a9834fb515281bb292035447f57ab21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:44 + docker inspect -f . ci-base-image-arm64 12:50:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:45 prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container 12:50:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:50:46 $ docker top 0768fc9f98dde57179d66da7a01827602555a7a033997f2f190b1d0020251c2b -eo pid,comm [Pipeline] { [Pipeline] sh 12:50:46 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:50:47 + make test 12:50:47 go test -race -coverprofile=coverage.out ./... 12:53:39 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:53:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:53:40 go vet ./... 12:56:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:56:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:56:17 ./bin/test-attribution-txt.sh [Pipeline] echo 12:56:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:56:17 $ docker stop --time=1 0768fc9f98dde57179d66da7a01827602555a7a033997f2f190b1d0020251c2b 12:56:19 $ docker rm -f --volumes 0768fc9f98dde57179d66da7a01827602555a7a033997f2f190b1d0020251c2b [Pipeline] // withDockerContainer [Pipeline] sh 12:56:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:56:21 Warning: overwriting stash ‘coverage-report’ 12:56:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:56:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:56:22 + ls -al . 12:56:22 total 256 12:56:22 drwxrwxr-x 6 jenkins jenkins 4096 Mar 25 12:50 . 12:56:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 25 12:47 .. 12:56:22 -rw-rw-r-- 1 jenkins jenkins 119 Mar 25 12:47 .dockerignore 12:56:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 12:47 .git 12:56:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 25 12:47 .github 12:56:22 -rw-rw-r-- 1 jenkins jenkins 106 Mar 25 12:47 .gitignore 12:56:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 25 12:47 .golangci.yml 12:56:22 -rw-rw-r-- 1 jenkins jenkins 18981 Mar 25 12:47 Attribution.txt 12:56:22 -rw-rw-r-- 1 jenkins jenkins 37263 Mar 25 12:47 CHANGELOG.md 12:56:22 -rw-rw-r-- 1 jenkins jenkins 2007 Mar 25 12:47 Dockerfile 12:56:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 25 12:47 GOVERNANCE.md 12:56:22 -rw-rw-r-- 1 jenkins jenkins 666 Mar 25 12:47 Jenkinsfile 12:56:22 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 25 12:47 LICENSE 12:56:22 -rw-rw-r-- 1 jenkins jenkins 618 Mar 25 12:47 OWNERS.md 12:56:22 -rw-rw-r-- 1 jenkins jenkins 4582 Mar 25 12:47 README.md 12:56:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 25 12:45 VERSION 12:56:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 25 12:47 bin 12:56:22 -rw-r--r-- 1 jenkins jenkins 13 Mar 25 12:50 coverage.out 12:56:22 -rw-rw-r-- 1 jenkins jenkins 7078 Mar 25 12:47 go.mod 12:56:22 -rw-rw-r-- 1 jenkins jenkins 101604 Mar 25 12:47 go.sum 12:56:22 -rw-rw-r-- 1 jenkins jenkins 1937 Mar 25 12:47 main.go 12:56:22 -rw-rw-r-- 1 jenkins jenkins 2572 Mar 25 12:47 makefile 12:56:22 drwxrwxr-x 9 jenkins jenkins 4096 Mar 25 12:47 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:22 + 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=c87dfaa7329ac001e5f5ae245f72050b063cd956 --label arch=arm64 --label version=0.0.0 . 12:56:22 Sending build context to Docker daemon 239.1kB 12:56:23 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 12:56:23 Step 2/27 : FROM ${BASE} AS builder 12:56:23 ---> 050f24895a79 12:56:23 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 12:56:23 ---> Running in ec18a8acbd4c 12:56:23 Removing intermediate container ec18a8acbd4c 12:56:23 ---> 0a43655f610f 12:56:23 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 12:56:23 ---> Running in a92f8533d8ff 12:56:23 Removing intermediate container a92f8533d8ff 12:56:23 ---> b7444a1ef648 12:56:23 Step 5/27 : ARG ADD_BUILD_TAGS="" 12:56:24 ---> Running in 21db481a6132 12:56:24 Removing intermediate container 21db481a6132 12:56:24 ---> 3bd678334eae 12:56:24 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:24 ---> Running in ba231ded3f2d 12:56:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:56:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:56:26 OK: 266 MiB in 52 packages 12:56:27 Removing intermediate container ba231ded3f2d 12:56:27 ---> 90f94744ae9c 12:56:27 Step 7/27 : WORKDIR /app 12:56:27 ---> Running in 12b8bb7494c1 12:56:28 Removing intermediate container 12b8bb7494c1 12:56:28 ---> 35e200d530fc 12:56:28 Step 8/27 : COPY go.mod vendor* ./ 12:56:28 ---> 2aafbd0583eb 12:56:28 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:28 ---> Running in 1b52eb0aa3b9 12:56:31 Removing intermediate container 1b52eb0aa3b9 12:56:31 ---> a6083b84fdc3 12:56:31 Step 10/27 : COPY . . 12:56:31 ---> ee4ea06094d1 12:56:31 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:56:31 ---> Running in 844796e5f7ef 12:56:31 Removing intermediate container 844796e5f7ef 12:56:31 ---> 2ba5e7015cda 12:56:31 Step 12/27 : RUN $MAKE 12:56:32 ---> Running in 015207512ee0 12:56:33 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.31 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:59:09 Removing intermediate container 015207512ee0 12:59:09 ---> f7c156f08c2d 12:59:09 Step 13/27 : FROM alpine:3.18 12:59:09 3.18: Pulling from library/alpine 12:59:09 c6b39de5b339: Pulling fs layer 12:59:09 c6b39de5b339: Verifying Checksum 12:59:09 c6b39de5b339: Download complete 12:59:09 c6b39de5b339: Pull complete 12:59:09 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:59:09 Status: Downloaded newer image for alpine:3.18 12:59:09 ---> 33abbf032149 12:59:09 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:59:09 ---> Running in 69ca0d738feb 12:59:09 Removing intermediate container 69ca0d738feb 12:59:09 ---> c20582256f51 12:59:09 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 12:59:09 ---> Running in 3f5089ca1716 12:59:09 Removing intermediate container 3f5089ca1716 12:59:09 ---> c039282be4aa 12:59:09 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 12:59:09 ---> Running in a51f03141b3d 12:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:59:09 (1/2) Installing ca-certificates (20240226-r0) 12:59:09 (2/2) Installing dumb-init (1.2.5-r2) 12:59:09 Executing busybox-1.36.1-r5.trigger 12:59:09 Executing ca-certificates-20240226-r0.trigger 12:59:09 OK: 9 MiB in 17 packages 12:59:09 Removing intermediate container a51f03141b3d 12:59:09 ---> 3efc05afeadc 12:59:09 Step 17/27 : RUN apk --no-cache upgrade 12:59:09 ---> Running in 5ec162c795be 12:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:59:09 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 12:59:09 Executing ca-certificates-20240226-r0.trigger 12:59:09 OK: 9 MiB in 17 packages 12:59:09 Removing intermediate container 5ec162c795be 12:59:09 ---> 94707e7c1d4b 12:59:09 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:59:09 ---> b80bed65b655 12:59:09 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 12:59:09 ---> ea5e6f1887c8 12:59:09 Step 20/27 : COPY --from=builder /app/res/ /res/ 12:59:10 ---> e491105f1ccd 12:59:10 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:59:11 ---> 10952ca2f463 12:59:11 Step 22/27 : EXPOSE 48095 12:59:11 ---> Running in 44c486d628ed 12:59:11 Removing intermediate container 44c486d628ed 12:59:11 ---> 1fccc8cc8bcf 12:59:11 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 12:59:12 ---> Running in 5d28766f628f 12:59:12 Removing intermediate container 5d28766f628f 12:59:12 ---> 0dcfe7ecf122 12:59:12 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:59:12 ---> Running in ce0cc49b5970 12:59:12 Removing intermediate container ce0cc49b5970 12:59:12 ---> a94b4d076606 12:59:12 Step 25/27 : LABEL arch=arm64 12:59:12 ---> Running in 7af40591c7f3 12:59:12 Removing intermediate container 7af40591c7f3 12:59:12 ---> 584a93b641dd 12:59:12 Step 26/27 : LABEL git_sha=c87dfaa7329ac001e5f5ae245f72050b063cd956 12:59:13 ---> Running in cddb2bedfb74 12:59:13 Removing intermediate container cddb2bedfb74 12:59:13 ---> fb6c02f79d91 12:59:13 Step 27/27 : LABEL version=0.0.0 12:59:13 ---> Running in 0aef0ebfeeb6 12:59:13 Removing intermediate container 0aef0ebfeeb6 12:59:13 ---> 95c31d415128 12:59:13 [Warning] One or more build-args [ARCH] were not consumed 12:59:13 Successfully built 95c31d415128 12:59:13 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:14 12:59:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:15 arm64: Pulling from edgex-lftools-log-publisher 12:59:15 8998bd30e6a1: Pulling fs layer 12:59:15 04944245beec: Pulling fs layer 12:59:15 699f458cf7ca: Pulling fs layer 12:59:15 765212b225bb: Pulling fs layer 12:59:15 f23df028b6ca: Pulling fs layer 12:59:15 d65c8cfc05b1: Pulling fs layer 12:59:15 2437ff75d9bd: Pulling fs layer 12:59:15 765212b225bb: Waiting 12:59:15 f23df028b6ca: Waiting 12:59:15 d65c8cfc05b1: Waiting 12:59:15 2437ff75d9bd: Waiting 12:59:15 04944245beec: Verifying Checksum 12:59:15 04944245beec: Download complete 12:59:15 765212b225bb: Verifying Checksum 12:59:15 765212b225bb: Download complete 12:59:15 f23df028b6ca: Verifying Checksum 12:59:15 f23df028b6ca: Download complete 12:59:15 d65c8cfc05b1: Verifying Checksum 12:59:15 d65c8cfc05b1: Download complete 12:59:15 699f458cf7ca: Verifying Checksum 12:59:15 699f458cf7ca: Download complete 12:59:15 8998bd30e6a1: Download complete 12:59:18 2437ff75d9bd: Verifying Checksum 12:59:18 2437ff75d9bd: Download complete 12:59:20 8998bd30e6a1: Pull complete 12:59:20 04944245beec: Pull complete 12:59:22 699f458cf7ca: Pull complete 12:59:22 765212b225bb: Pull complete 12:59:23 f23df028b6ca: Pull complete 12:59:23 d65c8cfc05b1: Pull complete 12:59:41 2437ff75d9bd: Pull complete 12:59:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:59:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:59:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:42 prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container 12:59:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:59:44 $ docker top 12c66e3c6e4a2022846eca275a9c365a16a70cb2b6673b88ede415c0b37ec0d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:45 ---> job-cost.sh 12:59:45 lf-activate-venv: SKIPPING 12:59:45 INFO: No Stack... 12:59:46 INFO: Retrieving Pricing Info for: v3-standard-4 12:59:46 INFO: Archiving Costs [Pipeline] sh 12:59:47 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:59:47 + cut -d, -f6 [Pipeline] lock 12:59:47 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-653-1-stack-cost] 12:59:47 Resource [jenkins-edgexfoundry-app-service-configurable-PR-653-1-stack-cost] did not exist. Created. 12:59:47 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-653-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:59:48 /w/workspace/app-service-configurable/1@tmp/durable-2de9e69c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:59:48 + echo total: 0.10999999940395355 [Pipeline] stash 12:59:48 Warning: overwriting stash ‘stack-cost’ 12:59:48 Stashed 1 file(s) [Pipeline] } 12:59:55 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-653-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:59:55 $ docker stop --time=1 12c66e3c6e4a2022846eca275a9c365a16a70cb2b6673b88ede415c0b37ec0d5 12:59:57 $ docker rm -f --volumes 12c66e3c6e4a2022846eca275a9c365a16a70cb2b6673b88ede415c0b37ec0d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:59:58 provisioning config files... 12:59:58 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-653@tmp/config15247420831830956090tmp [Pipeline] { [Pipeline] sh 12:59:58 + set +x 12:59:58 + curl -s https://codecov.io/bash 12:59:58 + bash -s -- 12:59:59 12:59:59 _____ _ 12:59:59 / ____| | | 12:59:59 | | ___ __| | ___ ___ _____ __ 12:59:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:59:59 | |___| (_) | (_| | __/ (_| (_) \ V / 12:59:59 \_____\___/ \__,_|\___|\___\___/ \_/ 12:59:59 Bash-1.0.6 12:59:59 12:59:59 12:59:59 ==> git version 2.25.1 found 12:59:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:59:59 Release-Date: 2020-01-08 12:59:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:59:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:59:59 ==> Jenkins CI detected. 12:59:59 current dir:  /w/workspace/_app-service-configurable_PR-653 12:59:59 project root: . 12:59:59 --> token set from env 12:59:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:59:59 ==> Running gcov in . (disable via -X gcov) 12:59:59 ==> Python coveragepy not found 12:59:59 ==> Searching for coverage reports in: 12:59:59 + . 12:59:59 -> Found 1 reports 12:59:59 ==> Detecting git/mercurial file structure 12:59:59 ==> Reading reports 12:59:59 + ./coverage.out bytes=13 12:59:59 ==> Appending adjustments 12:59:59 https://docs.codecov.io/docs/fixing-reports 12:59:59 + Found adjustments 12:59:59 ==> Gzipping contents 12:59:59 4.0K /tmp/codecov.TfsegP.gz 12:59:59 ==> Uploading reports 12:59:59 url: https://codecov.io 12:59:59 query: branch=PR-653&commit=c87dfaa7329ac001e5f5ae245f72050b063cd956&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-653%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=653&job=&cmd_args= 12:59:59 -> Pinging Codecov 12:59:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-653&commit=c87dfaa7329ac001e5f5ae245f72050b063cd956&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-653%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=653&job=&cmd_args= 12:59:59 -> Uploading to 12:59:59 https://storage.googleapis.com/codecov/v4/raw/2024-03-25/A97CA9966030D2A3747ED39772930CCE/c87dfaa7329ac001e5f5ae245f72050b063cd956/4e7fdcaa-b650-4171-9527-1b975a7e017d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240325%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240325T125959Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=98d232e50b3a78a37b3f18ddcf5cec6fd799bf7aeb234b8e00a27027455f25d5 12:59:59 % Total % Received % Xferd Average Speed Time Time Time Current 12:59:59 Dload Upload Total Spent Left Speed 12:59:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 2412 --:--:-- --:--:-- --:--:-- 2387 100 234 0 0 100 234 0 801 --:--:-- --:--:-- --:--:-- 801 12:59:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/c87dfaa7329ac001e5f5ae245f72050b063cd956 [Pipeline] } 12:59:59 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:00:01 + [ -d /w/workspace/_app-service-configurable_PR-653/archives ] 13:00:01 + ls -al /w/workspace/_app-service-configurable_PR-653/archives 13:00:01 total 16 13:00:01 drwxr-xr-x 3 root root 4096 Mar 25 12:49 . 13:00:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 12:49 .. 13:00:01 drwxr-xr-x 2 root root 4096 Mar 25 12:49 cost 13:00:01 -rw-r--r-- 1 root root 96 Mar 25 12:49 cost.csv 13:00:01 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-653/archives 13:00:01 + ls -al /w/workspace/_app-service-configurable_PR-653/archives 13:00:01 total 16 13:00:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 25 12:49 . 13:00:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 25 12:49 .. 13:00:01 drwxr-xr-x 2 jenkins jenkins 4096 Mar 25 12:49 cost 13:00:01 -rw-r--r-- 1 jenkins jenkins 96 Mar 25 12:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:00:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:00:03 ---> package-listing.sh 13:00:03 ++ facter osfamily 13:00:03 ++ tr '[:upper:]' '[:lower:]' 13:00:03 + OS_FAMILY=debian 13:00:03 + workspace=/w/workspace/_app-service-configurable_PR-653 13:00:03 + START_PACKAGES=/tmp/packages_start.txt 13:00:03 + END_PACKAGES=/tmp/packages_end.txt 13:00:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:00:03 + PACKAGES=/tmp/packages_start.txt 13:00:03 + '[' /w/workspace/_app-service-configurable_PR-653 ']' 13:00:03 + PACKAGES=/tmp/packages_end.txt 13:00:03 + case "${OS_FAMILY}" in 13:00:03 + dpkg -l 13:00:03 + grep '^ii' 13:00:03 + '[' -f /tmp/packages_start.txt ']' 13:00:03 + '[' -f /tmp/packages_end.txt ']' 13:00:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:00:03 + '[' /w/workspace/_app-service-configurable_PR-653 ']' 13:00:03 + mkdir -p /w/workspace/_app-service-configurable_PR-653/archives/ 13:00:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-653/archives/ [Pipeline] echo 13:00:03 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-653/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:00:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:04 prd-ubuntu20.04-docker-8c-8g-1127 does not seem to be running inside a container 13:00:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-653/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-653 -v /w/workspace/_app-service-configurable_PR-653:/w/workspace/_app-service-configurable_PR-653:rw,z -v /w/workspace/_app-service-configurable_PR-653@tmp:/w/workspace/_app-service-configurable_PR-653@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:00:04 $ docker top b68e390b762b8cc0cbb79204de16b2c2f52edb6bce22694f0bb116f93e1d8999 -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:05 + touch /tmp/pre-build-complete [Pipeline] sh 13:00:05 + mkdir -p /var/log/sysstat [Pipeline] sh 13:00:05 + ls /var/log/sa-host 13:00:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:00:05 provisioning config files... 13:00:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-653@tmp/config9363186030267878584tmp [Pipeline] { [Pipeline] echo 13:00:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:00:06 ---> create-netrc.sh [Pipeline] } 13:00:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:00:06 ---> python-tools-install.sh [Pipeline] echo 13:00:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:00:07 ---> sudo-logs.sh 13:00:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:00:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:00:07 ---> job-cost.sh 13:00:07 lf-activate-venv: SKIPPING 13:00:07 DEBUG: total: 0.2199999988079071 13:00:07 INFO: Retrieving Stack Cost... 13:00:08 INFO: Retrieving Pricing Info for: v3-standard-8 13:00:08 INFO: Archiving Costs [Pipeline] echo 13:00:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:00:08 ---> logs-deploy.sh 13:00:08 lf-activate-venv: SKIPPING 13:00:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-653/1 13:00:08 INFO: archiving workspace using pattern(s): 13:00:09 Archives upload complete. 13:00:09 INFO: archiving logs to Nexus