Pull request #550 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/app-service-configurable Obtained Jenkinsfile from bdc79d5f7fea20e9465a65ca2501a04935fc273e+dd3194ecd0160a0c22bac32624bfc649792b11c0 (69134298b1bbd50ab8a15d29ca7c033788b944bc) 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-ssh5108589704103509413.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14540074412931473538.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-550/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-550/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12402404548575989772.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-550/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18000098808890984944.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh9340123398815694781.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-550/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-550/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15488782468175091240.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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, buildSnap:false] ========================================================= [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.20 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-10820 in /w/workspace/_app-service-configurable_PR-550 [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-550 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/550/head:refs/remotes/origin/PR-550 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dd3194ecd0160a0c22bac32624bfc649792b11c0 into PR head commit bdc79d5f7fea20e9465a65ca2501a04935fc273e Merge succeeded, producing bdc79d5f7fea20e9465a65ca2501a04935fc273e Checking out Revision bdc79d5f7fea20e9465a65ca2501a04935fc273e (PR-550) > git config core.sparsecheckout # timeout=10 > git checkout -f bdc79d5f7fea20e9465a65ca2501a04935fc273e # 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 dd3194ecd0160a0c22bac32624bfc649792b11c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bdc79d5f7fea20e9465a65ca2501a04935fc273e # timeout=10 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:53:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:53:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:53:31 ========================================================= 12:53:31 EdgeX Global Pipelines Version Info 12:53:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:53:32 ------------------- 12:53:32 stable info: 12:53:32 ------------------- 12:53:32 Commited By: Bill Mahoney bill.mahoney@intel.com 12:53:32 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:53:32 Message: update stable to v1.0.248 12:53:32 ------------------- 12:53:32 experimental info: 12:53:32 ------------------- 12:53:32 Commited By: **** collab-it+edgex@linuxfoundation.org 12:53:32 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:53:32 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:53:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:53:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:53:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:53:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:53:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-550 [Pipeline] echo 12:53:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-550 [Pipeline] echo 12:53:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-550 [Pipeline] echo 12:53:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdc79d5f7fea20e9465a65ca2501a04935fc273e [Pipeline] echo 12:53:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdc79d5 [Pipeline] echo 12:53:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:53:34 provisioning config files... 12:53:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-550@tmp/config17629378401590776430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:34 ---> docker-login.sh 12:53:34 nexus3.edgexfoundry.org:10001 12:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:35 Configure a credential helper to remove this warning. See 12:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:35 12:53:35 Login Succeeded 12:53:35 nexus3.edgexfoundry.org:10002 12:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:35 Configure a credential helper to remove this warning. See 12:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:35 12:53:35 Login Succeeded 12:53:35 nexus3.edgexfoundry.org:10003 12:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:35 Configure a credential helper to remove this warning. See 12:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:35 12:53:35 Login Succeeded 12:53:35 nexus3.edgexfoundry.org:10004 12:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:35 Configure a credential helper to remove this warning. See 12:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:35 12:53:35 Login Succeeded 12:53:35 docker.io 12:53:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:35 Configure a credential helper to remove this warning. See 12:53:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:35 12:53:35 Login Succeeded 12:53:35 ---> docker-login.sh ends [Pipeline] } 12:53:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:53:36 + git rev-list -1 --merges bdc79d5f7fea20e9465a65ca2501a04935fc273e~1..bdc79d5f7fea20e9465a65ca2501a04935fc273e [Pipeline] echo 12:53:36 -----------> git rev-list -1 --merges bdc79d5f7fea20e9465a65ca2501a04935fc273e~1..bdc79d5f7fea20e9465a65ca2501a04935fc273e bdc79d5f7fea20e9465a65ca2501a04935fc273e [false] [Pipeline] sh 12:53:36 + git log --format=format:%s -1 bdc79d5f7fea20e9465a65ca2501a04935fc273e [Pipeline] echo 12:53:37 ========================================================= 12:53:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:53:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:53:37 + git log --format=format:%s -1 bdc79d5f7fea20e9465a65ca2501a04935fc273e [Pipeline] echo 12:53:37 [semverPrep] GIT_COMMIT: bdc79d5f7fea20e9465a65ca2501a04935fc273e, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug [Pipeline] echo 12:53:37 [semverPrep] This is not a build commit. [Pipeline] sh 12:53:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:53:37 + grep -v github /etc/ssh/ssh_known_hosts 12:53:37 + [ -e /tmp/ssh_known_hosts ] 12:53:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:53:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:53:37 + sudo tee -a /etc/ssh/ssh_known_hosts 12:53:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:38 12:53:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:38 0.1.4: Pulling from edgex-devops/py-git-semver 12:53:38 b85a868b505f: Pulling fs layer 12:53:38 e2be974225ed: Pulling fs layer 12:53:38 339a4e72a1f5: Pulling fs layer 12:53:38 988bab9f4d93: Pulling fs layer 12:53:38 1469e6f7b9e6: Pulling fs layer 12:53:38 eaf3925da568: Pulling fs layer 12:53:38 bab4dde63d76: Pulling fs layer 12:53:38 bde34c3a00c8: Pulling fs layer 12:53:38 b352a97aabf1: Pulling fs layer 12:53:38 4872d77fe225: Pulling fs layer 12:53:38 5851b861e8e6: Pulling fs layer 12:53:38 bde34c3a00c8: Waiting 12:53:38 1469e6f7b9e6: Waiting 12:53:38 bab4dde63d76: Waiting 12:53:38 b352a97aabf1: Waiting 12:53:38 4872d77fe225: Waiting 12:53:38 eaf3925da568: Waiting 12:53:38 988bab9f4d93: Waiting 12:53:38 e2be974225ed: Download complete 12:53:38 988bab9f4d93: Verifying Checksum 12:53:38 988bab9f4d93: Download complete 12:53:39 1469e6f7b9e6: Verifying Checksum 12:53:39 1469e6f7b9e6: Download complete 12:53:39 339a4e72a1f5: Verifying Checksum 12:53:39 339a4e72a1f5: Download complete 12:53:39 eaf3925da568: Verifying Checksum 12:53:39 eaf3925da568: Download complete 12:53:39 bde34c3a00c8: Verifying Checksum 12:53:39 bde34c3a00c8: Download complete 12:53:39 b352a97aabf1: Verifying Checksum 12:53:39 b352a97aabf1: Download complete 12:53:39 4872d77fe225: Verifying Checksum 12:53:39 4872d77fe225: Download complete 12:53:39 5851b861e8e6: Download complete 12:53:39 b85a868b505f: Verifying Checksum 12:53:39 b85a868b505f: Download complete 12:53:39 bab4dde63d76: Verifying Checksum 12:53:39 bab4dde63d76: Download complete 12:53:40 b85a868b505f: Pull complete 12:53:40 e2be974225ed: Pull complete 12:53:41 339a4e72a1f5: Pull complete 12:53:41 988bab9f4d93: Pull complete 12:53:41 1469e6f7b9e6: Pull complete 12:53:41 eaf3925da568: Pull complete 12:53:43 bab4dde63d76: Pull complete 12:53:43 bde34c3a00c8: Pull complete 12:53:43 b352a97aabf1: Pull complete 12:53:43 4872d77fe225: Pull complete 12:53:43 5851b861e8e6: Pull complete 12:53:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:53:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:43 prd-ubuntu20.04-docker-8c-8g-10820 does not seem to be running inside a container 12:53:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-550 -v /w/workspace/_app-service-configurable_PR-550:/w/workspace/_app-service-configurable_PR-550:rw,z -v /w/workspace/_app-service-configurable_PR-550@tmp:/w/workspace/_app-service-configurable_PR-550@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-devops/py-git-semver:0.1.4 cat 12:53:45 $ docker top efb3df3891f837c38be8a848a249c798f9bdf2689043fd66c566c16934d84afd -eo pid,comm 12:53:45 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:53:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:53:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:45 [ssh-agent] Looking for ssh-agent implementation... 12:53:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:45 $ docker exec efb3df3891f837c38be8a848a249c798f9bdf2689043fd66c566c16934d84afd ssh-agent 12:53:46 SSH_AUTH_SOCK=/tmp/ssh-O4l4aOZlF9ui/agent.32 12:53:46 SSH_AGENT_PID=38 12:53:46 Running ssh-add (command line suppressed) 12:53:46 Identity added: /w/workspace/_app-service-configurable_PR-550@tmp/private_key_2873423684651058566.key (/w/workspace/_app-service-configurable_PR-550@tmp/private_key_2873423684651058566.key) 12:53:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:46 + git tag --points-at HEAD [Pipeline] } 12:53:46 $ docker exec --env ******** --env ******** efb3df3891f837c38be8a848a249c798f9bdf2689043fd66c566c16934d84afd ssh-agent -k 12:53:46 unset SSH_AUTH_SOCK; 12:53:46 unset SSH_AGENT_PID; 12:53:46 echo Agent pid 38 killed; 12:53:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:53:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:46 [ssh-agent] Looking for ssh-agent implementation... 12:53:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:46 $ docker exec efb3df3891f837c38be8a848a249c798f9bdf2689043fd66c566c16934d84afd ssh-agent 12:53:47 SSH_AUTH_SOCK=/tmp/ssh-FhLcRHlvMxtq/agent.70 12:53:47 SSH_AGENT_PID=76 12:53:47 Running ssh-add (command line suppressed) 12:53:47 Identity added: /w/workspace/_app-service-configurable_PR-550@tmp/private_key_8281415552381430499.key (/w/workspace/_app-service-configurable_PR-550@tmp/private_key_8281415552381430499.key) 12:53:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:47 + git semver init 12:53:47 2023-04-25 12:53:47,643 [run_init] DEBUG init version:0.0.0 force:False 12:53:47 2023-04-25 12:53:47,643 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-550/.semver 12:53:47 2023-04-25 12:53:47,644 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-550/.semver 12:53:47 2023-04-25 12:53:47,644 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-550/.semver'], cwd=/w/workspace/_app-service-configurable_PR-550, universal_newlines=False, shell=None, istream=None) 12:53:48 2023-04-25 12:53:48,447 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-550/.git/info/exclude 12:53:48 2023-04-25 12:53:48,448 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-550/.semver/PR-550 with force:False 12:53:48 2023-04-25 12:53:48,448 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-550/.semver/PR-550 12:53:48 2023-04-25 12:53:48,452 [execute] INFO git cat-file --batch-check 12:53:48 2023-04-25 12:53:48,453 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-550/.semver, universal_newlines=False, shell=None, istream=) 12:53:48 2023-04-25 12:53:48,458 [execute] INFO git cat-file --batch 12:53:48 2023-04-25 12:53:48,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-550/.semver, universal_newlines=False, shell=None, istream=) 12:53:48 2023-04-25 12:53:48,462 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-550/.semver/PR-550 12:53:48 0.0.0 [Pipeline] } 12:53:48 $ docker exec --env ******** --env ******** efb3df3891f837c38be8a848a249c798f9bdf2689043fd66c566c16934d84afd ssh-agent -k 12:53:48 unset SSH_AUTH_SOCK; 12:53:48 unset SSH_AGENT_PID; 12:53:48 echo Agent pid 76 killed; 12:53:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:53:49 + git semver [Pipeline] } 12:53:49 $ docker stop --time=1 efb3df3891f837c38be8a848a249c798f9bdf2689043fd66c566c16934d84afd 12:53:50 $ docker rm -f --volumes efb3df3891f837c38be8a848a249c798f9bdf2689043fd66c566c16934d84afd [Pipeline] // withDockerContainer [Pipeline] sh 12:53:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:53:51 Stashed 1 file(s) [Pipeline] echo 12:53:51 [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:53:52 provisioning config files... 12:53:52 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-550@tmp/config15902952508779449029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:52 ---> docker-login.sh 12:53:52 nexus3.edgexfoundry.org:10001 12:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:52 Configure a credential helper to remove this warning. See 12:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:52 12:53:52 Login Succeeded 12:53:52 nexus3.edgexfoundry.org:10002 12:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:52 Configure a credential helper to remove this warning. See 12:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:52 12:53:52 Login Succeeded 12:53:52 nexus3.edgexfoundry.org:10003 12:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:52 Configure a credential helper to remove this warning. See 12:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:52 12:53:52 Login Succeeded 12:53:52 nexus3.edgexfoundry.org:10004 12:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:52 Configure a credential helper to remove this warning. See 12:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:52 12:53:52 Login Succeeded 12:53:52 docker.io 12:53:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:52 Configure a credential helper to remove this warning. See 12:53:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:52 12:53:52 Login Succeeded 12:53:52 ---> docker-login.sh ends [Pipeline] } 12:53:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:53:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:53 ========================================================= 12:53:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:53:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:53:53 Sending build context to Docker daemon 3.29MB 12:53:53 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:53:53 Step 2/12 : FROM ${BASE} AS builder 12:53:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:53:53 f56be85fc22e: Pulling fs layer 12:53:53 85791d961cd3: Pulling fs layer 12:53:53 d694b5ae8c79: Pulling fs layer 12:53:53 9f32a84ed3da: Pulling fs layer 12:53:53 4d19c01a9841: Pulling fs layer 12:53:53 9325e15d5711: Pulling fs layer 12:53:53 556b6ee489ea: Pulling fs layer 12:53:53 c5a4b2cf53e6: Pulling fs layer 12:53:53 9f32a84ed3da: Waiting 12:53:53 4d19c01a9841: Waiting 12:53:53 9325e15d5711: Waiting 12:53:53 c5a4b2cf53e6: Waiting 12:53:53 556b6ee489ea: Waiting 12:53:53 85791d961cd3: Download complete 12:53:53 9f32a84ed3da: Verifying Checksum 12:53:53 9f32a84ed3da: Download complete 12:53:53 4d19c01a9841: Download complete 12:53:53 f56be85fc22e: Verifying Checksum 12:53:53 f56be85fc22e: Download complete 12:53:54 9325e15d5711: Verifying Checksum 12:53:54 9325e15d5711: Download complete 12:53:54 f56be85fc22e: Pull complete 12:53:54 85791d961cd3: Pull complete 12:53:54 c5a4b2cf53e6: Verifying Checksum 12:53:54 c5a4b2cf53e6: Download complete 12:53:54 d694b5ae8c79: Verifying Checksum 12:53:54 d694b5ae8c79: Download complete 12:53:54 556b6ee489ea: Verifying Checksum 12:53:54 556b6ee489ea: Download complete 12:53:57 d694b5ae8c79: Pull complete 12:53:57 9f32a84ed3da: Pull complete 12:53:57 4d19c01a9841: Pull complete 12:53:57 9325e15d5711: Pull complete 12:54:00 556b6ee489ea: Pull complete 12:54:01 c5a4b2cf53e6: Pull complete 12:54:01 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 12:54:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:54:01 ---> c4be618373d6 12:54:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:54:04 ---> Running in dd27ddba90b5 12:54:04 Removing intermediate container dd27ddba90b5 12:54:04 ---> e89cff603564 12:54:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:54:04 ---> Running in 5e7473f7541e 12:54:04 Removing intermediate container 5e7473f7541e 12:54:04 ---> c5d6d56c4c0e 12:54:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:54:04 ---> Running in d5cb6866edf4 12:54:04 Removing intermediate container d5cb6866edf4 12:54:04 ---> b4934683d320 12:54:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:54:04 ---> Running in 332ecc1d393b 12:54:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:54:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:54:05 OK: 265 MiB in 53 packages 12:54:05 Removing intermediate container 332ecc1d393b 12:54:05 ---> 4c69559f0707 12:54:05 Step 7/12 : WORKDIR /app 12:54:05 ---> Running in ec5fbbc677e0 12:54:05 Removing intermediate container ec5fbbc677e0 12:54:05 ---> 6c49c655118e 12:54:05 Step 8/12 : COPY go.mod vendor* ./ 12:54:05 ---> ef266cf093aa 12:54:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:54:05 ---> Running in 537898428cbb 12:54:06 Still waiting to schedule task 12:54:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:54:32 Removing intermediate container 537898428cbb 12:54:32 ---> 46f4c1b146ab 12:54:32 Step 10/12 : COPY . . 12:54:32 ---> b05bd784b4a8 12:54:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:54:32 ---> Running in 1c4a5b03f5b9 12:54:32 Removing intermediate container 1c4a5b03f5b9 12:54:32 ---> fd5fd5671ef1 12:54:32 Step 12/12 : RUN $MAKE 12:54:32 ---> Running in fae1149e2809 12:54:32 noop 12:54:32 Removing intermediate container fae1149e2809 12:54:32 ---> a469f0805db9 12:54:32 Successfully built a469f0805db9 12:54:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:32 + docker inspect -f . ci-base-image-x86_64 12:54:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:32 prd-ubuntu20.04-docker-8c-8g-10820 does not seem to be running inside a container 12:54:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-550 -v /w/workspace/_app-service-configurable_PR-550:/w/workspace/_app-service-configurable_PR-550:rw,z -v /w/workspace/_app-service-configurable_PR-550@tmp:/w/workspace/_app-service-configurable_PR-550@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:54:33 $ docker top e69cf0a090fa367684fa214ccf0b2d6c96872d19218e6305dab6850d757858d7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:33 + go version 12:54:33 go version go1.20.2 linux/amd64 [Pipeline] } 12:54:33 $ docker stop --time=1 e69cf0a090fa367684fa214ccf0b2d6c96872d19218e6305dab6850d757858d7 12:54:34 $ docker rm -f --volumes e69cf0a090fa367684fa214ccf0b2d6c96872d19218e6305dab6850d757858d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:35 + docker inspect -f . ci-base-image-x86_64 12:54:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:35 prd-ubuntu20.04-docker-8c-8g-10820 does not seem to be running inside a container 12:54:35 $ 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-550 -v /w/workspace/_app-service-configurable_PR-550:/w/workspace/_app-service-configurable_PR-550:rw,z -v /w/workspace/_app-service-configurable_PR-550@tmp:/w/workspace/_app-service-configurable_PR-550@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:54:36 $ docker top 3eded46e43ed66987be143738ce07623435a6b3f3d6407b9efa4d28501de9016 -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:36 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-550 [Pipeline] fileExists [Pipeline] sh 12:54:36 + make test 12:54:36 go test -race -coverprofile=coverage.out ./... 12:54:58 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:55:16 go vet ./... 12:55:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:55:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:55:21 ./bin/test-attribution-txt.sh 12:55:21 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 12:55:21 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 12:55:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:55:21 $ docker stop --time=1 3eded46e43ed66987be143738ce07623435a6b3f3d6407b9efa4d28501de9016 12:55:23 $ docker rm -f --volumes 3eded46e43ed66987be143738ce07623435a6b3f3d6407b9efa4d28501de9016 [Pipeline] // withDockerContainer [Pipeline] sh 12:55:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:55:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:55:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:55:25 + ls -al . 12:55:25 total 176 12:55:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 12:54 . 12:55:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 12:53 .. 12:55:25 -rw-rw-r-- 1 jenkins jenkins 119 Apr 25 12:53 .dockerignore 12:55:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 12:53 .git 12:55:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 12:53 .github 12:55:25 -rw-rw-r-- 1 jenkins jenkins 171 Apr 25 12:53 .gitignore 12:55:25 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 12:53 .golangci.yml 12:55:25 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 12:53 .semver 12:55:25 -rw-rw-r-- 1 jenkins jenkins 9088 Apr 25 12:53 Attribution.txt 12:55:25 -rw-rw-r-- 1 jenkins jenkins 29118 Apr 25 12:53 CHANGELOG.md 12:55:25 -rw-rw-r-- 1 jenkins jenkins 1898 Apr 25 12:53 Dockerfile 12:55:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 12:53 GOVERNANCE.md 12:55:25 -rw-rw-r-- 1 jenkins jenkins 688 Apr 25 12:53 Jenkinsfile 12:55:25 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 25 12:53 LICENSE 12:55:25 -rw-rw-r-- 1 jenkins jenkins 618 Apr 25 12:53 OWNERS.md 12:55:25 -rw-rw-r-- 1 jenkins jenkins 4369 Apr 25 12:53 README.md 12:55:25 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 12:53 VERSION 12:55:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 12:53 bin 12:55:25 -rw-r--r-- 1 jenkins jenkins 13 Apr 25 12:54 coverage.out 12:55:25 -rw-rw-r-- 1 jenkins jenkins 3302 Apr 25 12:53 go.mod 12:55:25 -rw-rw-r-- 1 jenkins jenkins 31536 Apr 25 12:53 go.sum 12:55:25 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 25 12:53 main.go 12:55:25 -rw-rw-r-- 1 jenkins jenkins 2569 Apr 25 12:53 makefile 12:55:25 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 12:53 res 12:55:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 12:53 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:25 + 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=bdc79d5f7fea20e9465a65ca2501a04935fc273e --label arch=amd64 --label version=0.0.0 . 12:55:25 Sending build context to Docker daemon 3.291MB 12:55:25 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:55:25 Step 2/26 : FROM ${BASE} AS builder 12:55:25 ---> a469f0805db9 12:55:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:55:25 ---> Running in e507c637e630 12:55:26 Removing intermediate container e507c637e630 12:55:26 ---> 6c4658a465f9 12:55:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:55:26 ---> Running in cfae2002d8d8 12:55:26 Removing intermediate container cfae2002d8d8 12:55:26 ---> 18f35162c0e2 12:55:26 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:55:26 ---> Running in 66ab79674f77 12:55:26 Removing intermediate container 66ab79674f77 12:55:26 ---> 0103258d821f 12:55:26 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:55:26 ---> Running in 5934d9ccdda4 12:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:55:26 OK: 265 MiB in 53 packages 12:55:27 Removing intermediate container 5934d9ccdda4 12:55:27 ---> 392776b4aaef 12:55:27 Step 7/26 : WORKDIR /app 12:55:27 ---> Running in 5e26384f374a 12:55:27 Removing intermediate container 5e26384f374a 12:55:27 ---> f25a6bd1094b 12:55:27 Step 8/26 : COPY go.mod vendor* ./ 12:55:27 ---> dc9133ca25a4 12:55:27 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:55:27 ---> Running in 0c0a959c702e 12:55:28 Removing intermediate container 0c0a959c702e 12:55:28 ---> 0e2c1ea8826b 12:55:28 Step 10/26 : COPY . . 12:55:28 ---> f8db494d9dc9 12:55:28 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:55:28 ---> Running in 02ce5dbbe9c3 12:55:28 Removing intermediate container 02ce5dbbe9c3 12:55:28 ---> d594705aceab 12:55:28 Step 12/26 : RUN $MAKE 12:55:28 ---> Running in 27f7531faff1 12:55:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.51 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:55:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10821 in /w/workspace/_app-service-configurable_PR-550 [Pipeline] { [Pipeline] ws 12:55:40 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:55:40 Selected Git installation does not exist. Using Default 12:55:40 The recommended git tool is: NONE 12:55:45 using credential edgex-jenkins-ssh 12:55:45 Cloning the remote Git repository 12:55:45 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:55:46 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:55:46 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:55:46 > git --version # timeout=10 12:55:46 > git --version # 'git version 2.25.1' 12:55:46 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:47 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:55:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:49 Merging remotes/origin/main commit dd3194ecd0160a0c22bac32624bfc649792b11c0 into PR head commit bdc79d5f7fea20e9465a65ca2501a04935fc273e 12:55:48 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:55:48 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:55:48 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/550/head:refs/remotes/origin/PR-550 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:55:49 > git config core.sparsecheckout # timeout=10 12:55:49 > git checkout -f bdc79d5f7fea20e9465a65ca2501a04935fc273e # timeout=10 12:55:49 > git remote # timeout=10 12:55:49 > git config --get remote.origin.url # timeout=10 12:55:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:49 > git merge dd3194ecd0160a0c22bac32624bfc649792b11c0 # timeout=10 12:55:49 Merge succeeded, producing bdc79d5f7fea20e9465a65ca2501a04935fc273e 12:55:49 Checking out Revision bdc79d5f7fea20e9465a65ca2501a04935fc273e (PR-550) 12:55:49 > git rev-parse HEAD^{commit} # timeout=10 12:55:49 > git config core.sparsecheckout # timeout=10 12:55:49 > git checkout -f bdc79d5f7fea20e9465a65ca2501a04935fc273e # timeout=10 12:55:50 Removing intermediate container 27f7531faff1 12:55:50 ---> b72239c4d519 12:55:50 Step 13/26 : FROM alpine:3.17 12:55:50 3.17: Pulling from library/alpine 12:55:50 f56be85fc22e: Already exists 12:55:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:55:50 Status: Downloaded newer image for alpine:3.17 12:55:50 ---> 9ed4aefc74f6 12:55:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:55:50 ---> Running in 83fcdf584ac1 12:55:50 Removing intermediate container 83fcdf584ac1 12:55:50 ---> 6239a3d55a4c 12:55:50 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:55:50 ---> Running in 487d0ddc0a93 12:55:50 Removing intermediate container 487d0ddc0a93 12:55:50 ---> 28381d80fa10 12:55:50 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:55:50 ---> Running in b72b909ca453 12:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:55:50 (1/2) Installing ca-certificates (20220614-r4) 12:55:50 (2/2) Installing dumb-init (1.2.5-r2) 12:55:50 Executing busybox-1.35.0-r29.trigger 12:55:50 Executing ca-certificates-20220614-r4.trigger 12:55:50 OK: 8 MiB in 17 packages 12:55:50 Removing intermediate container b72b909ca453 12:55:50 ---> a9b66ab5d082 12:55:50 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:55:50 ---> 2cc3e6db0bcc 12:55:50 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:55:50 ---> 9c69f08b4805 12:55:50 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:55:50 ---> 5e8483f9966f 12:55:50 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:55:50 ---> bd76f8a5e58a 12:55:50 Step 21/26 : EXPOSE 48095 12:55:50 ---> Running in 3662df625d1c 12:55:50 Removing intermediate container 3662df625d1c 12:55:50 ---> 4752da85d9ab 12:55:50 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:55:50 ---> Running in 0e36e14f1d90 12:55:50 Removing intermediate container 0e36e14f1d90 12:55:50 ---> e5e58ee75a2a 12:55:50 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:55:50 ---> Running in 609e5a550b35 12:55:50 Removing intermediate container 609e5a550b35 12:55:50 ---> b4706ec92c2d 12:55:50 Step 24/26 : LABEL arch=amd64 12:55:50 ---> Running in 542b4760552d 12:55:50 Removing intermediate container 542b4760552d 12:55:50 ---> d9329348e5ea 12:55:50 Step 25/26 : LABEL git_sha=bdc79d5f7fea20e9465a65ca2501a04935fc273e 12:55:50 ---> Running in 790505bb43e0 12:55:50 Removing intermediate container 790505bb43e0 12:55:50 ---> a29d1a328e40 12:55:50 Step 26/26 : LABEL version=0.0.0 12:55:50 ---> Running in 8a522abd8e9c 12:55:50 Removing intermediate container 8a522abd8e9c 12:55:50 ---> b9ec4112bdf5 12:55:50 [Warning] One or more build-args [ARCH] were not consumed 12:55:50 Successfully built b9ec4112bdf5 12:55:50 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:55:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:55:51 12:55:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:55:52 latest: Pulling from edgex-lftools-log-publisher 12:55:52 5eb5b503b376: Pulling fs layer 12:55:52 5c69ac0246d0: Pulling fs layer 12:55:52 ec43610c2a17: Pulling fs layer 12:55:52 3a2ae6a8a46f: Pulling fs layer 12:55:52 33b1e0a273af: Pulling fs layer 12:55:52 5d3b04190fa2: Pulling fs layer 12:55:52 2f39f015ded8: Pulling fs layer 12:55:52 33b1e0a273af: Waiting 12:55:52 5d3b04190fa2: Waiting 12:55:52 2f39f015ded8: Waiting 12:55:52 5c69ac0246d0: Verifying Checksum 12:55:52 5c69ac0246d0: Download complete 12:55:52 3a2ae6a8a46f: Verifying Checksum 12:55:52 3a2ae6a8a46f: Download complete 12:55:52 33b1e0a273af: Verifying Checksum 12:55:52 33b1e0a273af: Download complete 12:55:52 5d3b04190fa2: Download complete 12:55:52 ec43610c2a17: Verifying Checksum 12:55:52 ec43610c2a17: Download complete 12:55:52 5eb5b503b376: Verifying Checksum 12:55:52 5eb5b503b376: Download complete 12:55:52 Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug" 12:55:52 2f39f015ded8: Verifying Checksum 12:55:52 2f39f015ded8: Download complete 12:55:52 > git --version # timeout=10 12:55:52 > git --version # 'git version 2.25.1' 12:55:52 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:55:53 12:55:53 GitHub has been notified of this commit’s build result 12:55:53 [Pipeline] withEnv [Pipeline] { 12:55:53 5eb5b503b376: Pull complete 12:55:53 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:55:54 ec43610c2a17: Pull complete 12:55:54 3a2ae6a8a46f: Pull complete 12:55:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:55:54 % Total % Received % Xferd Average Speed Time Time Time Current 12:55:54 Dload Upload Total Spent Left Speed 12:55:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 12:55:54 33b1e0a273af: Pull complete 12:55:54 5d3b04190fa2: Pull complete [Pipeline] sh 12:55:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:55:55 + sudo tee /etc/docker/daemon.new 12:55:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:55:55 { 12:55:55 "registry-mirrors": [ 12:55:55 "https://nexus3.edgexfoundry.org:10001" 12:55:55 ], 12:55:55 "bip": "10.250.0.254/24", 12:55:55 "hosts": [ 12:55:55 "tcp://0.0.0.0:5555", 12:55:55 "unix:///var/run/docker.sock" 12:55:55 ], 12:55:55 "mtu": 1458, 12:55:55 "selinux-enabled": true, 12:55:55 "seccomp-profile": "/etc/docker/seccomp.json" 12:55:55 } [Pipeline] sh 12:55:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:55:55 + sudo service docker restart 12:55:58 2f39f015ded8: Pull complete 12:55:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:55:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:55:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:58 prd-ubuntu20.04-docker-8c-8g-10820 does not seem to be running inside a container 12:55:58 $ 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-550 -v /w/workspace/_app-service-configurable_PR-550:/w/workspace/_app-service-configurable_PR-550:rw,z -v /w/workspace/_app-service-configurable_PR-550@tmp:/w/workspace/_app-service-configurable_PR-550@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:56:00 $ docker top 09d60aab886df393ef5634d1c25e24e9b862fe396d2e9b925fa7f72e787bf2ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:01 ---> job-cost.sh 12:56:01 lf-activate-venv: SKIPPING 12:56:01 INFO: No Stack... 12:56:01 INFO: Retrieving Pricing Info for: v3-standard-8 12:56:01 INFO: Archiving Costs [Pipeline] sh 12:56:02 + cat /w/workspace/_app-service-configurable_PR-550/archives/cost.csv 12:56:02 + cut -d, -f6 [Pipeline] lock 12:56:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-550-1-stack-cost] 12:56:02 Resource [jenkins-edgexfoundry-app-service-configurable-PR-550-1-stack-cost] did not exist. Created. 12:56:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-550-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:56:02 + echo total: 0.2199999988079071 [Pipeline] stash 12:56:02 Stashed 1 file(s) [Pipeline] } 12:56:02 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-550-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:56:02 $ docker stop --time=1 09d60aab886df393ef5634d1c25e24e9b862fe396d2e9b925fa7f72e787bf2ff 12:56:03 $ docker rm -f --volumes 09d60aab886df393ef5634d1c25e24e9b862fe396d2e9b925fa7f72e787bf2ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:56:14 provisioning config files... 12:56:14 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1132255611824306102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:14 ---> docker-login.sh 12:56:14 nexus3.edgexfoundry.org:10001 12:56:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:15 Configure a credential helper to remove this warning. See 12:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:15 12:56:15 Login Succeeded 12:56:15 nexus3.edgexfoundry.org:10002 12:56:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:15 Configure a credential helper to remove this warning. See 12:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:15 12:56:15 Login Succeeded 12:56:15 nexus3.edgexfoundry.org:10003 12:56:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:15 Configure a credential helper to remove this warning. See 12:56:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:15 12:56:15 Login Succeeded 12:56:15 nexus3.edgexfoundry.org:10004 12:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:16 Configure a credential helper to remove this warning. See 12:56:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:16 12:56:16 Login Succeeded 12:56:16 docker.io 12:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:56:16 Configure a credential helper to remove this warning. See 12:56:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:56:16 12:56:16 Login Succeeded 12:56:16 ---> docker-login.sh ends [Pipeline] } 12:56:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:56:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:56:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:56:17 ========================================================= 12:56:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:56:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:17 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:56:17 Sending build context to Docker daemon 169kB 12:56:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:56:19 Step 2/12 : FROM ${BASE} AS builder 12:56:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:56:19 c41833b44d91: Pulling fs layer 12:56:19 ed15518f5707: Pulling fs layer 12:56:19 feae8fd75edb: Pulling fs layer 12:56:19 242c74f7c9fa: Pulling fs layer 12:56:19 3cdef696dda3: Pulling fs layer 12:56:19 2ced38df9373: Pulling fs layer 12:56:19 58f1dce35555: Pulling fs layer 12:56:19 242c74f7c9fa: Waiting 12:56:19 2ced38df9373: Waiting 12:56:19 58f1dce35555: Waiting 12:56:19 3cdef696dda3: Waiting 12:56:19 ed15518f5707: Verifying Checksum 12:56:19 ed15518f5707: Download complete 12:56:19 242c74f7c9fa: Verifying Checksum 12:56:19 242c74f7c9fa: Download complete 12:56:19 3cdef696dda3: Download complete 12:56:19 c41833b44d91: Verifying Checksum 12:56:19 c41833b44d91: Download complete 12:56:20 c41833b44d91: Pull complete 12:56:20 58f1dce35555: Verifying Checksum 12:56:20 58f1dce35555: Download complete 12:56:21 ed15518f5707: Pull complete 12:56:22 feae8fd75edb: Verifying Checksum 12:56:22 feae8fd75edb: Download complete 12:56:22 2ced38df9373: Verifying Checksum 12:56:22 2ced38df9373: Download complete 12:56:34 feae8fd75edb: Pull complete 12:56:34 242c74f7c9fa: Pull complete 12:56:34 3cdef696dda3: Pull complete 12:56:41 2ced38df9373: Pull complete 12:56:43 58f1dce35555: Pull complete 12:56:43 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 12:56:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:56:43 ---> fadd8f120f05 12:56:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:56:44 ---> Running in d36234f8c2c8 12:56:45 Removing intermediate container d36234f8c2c8 12:56:45 ---> 07670ff13bc1 12:56:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:56:45 ---> Running in 920f10038d18 12:56:45 Removing intermediate container 920f10038d18 12:56:45 ---> 69b9441a19db 12:56:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:56:45 ---> Running in dd26d5054aad 12:56:45 Removing intermediate container dd26d5054aad 12:56:45 ---> 8021d4ca70bb 12:56:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:45 ---> Running in 73959bf54891 12:56:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:56:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:56:48 OK: 263 MiB in 53 packages 12:56:49 Removing intermediate container 73959bf54891 12:56:49 ---> 597631cef3f7 12:56:49 Step 7/12 : WORKDIR /app 12:56:49 ---> Running in 3dd0a603cec2 12:56:49 Removing intermediate container 3dd0a603cec2 12:56:49 ---> 4ae329cf42f7 12:56:49 Step 8/12 : COPY go.mod vendor* ./ 12:56:50 ---> fc2414708f59 12:56:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:50 ---> Running in eb7742b7c144 12:57:58 Removing intermediate container eb7742b7c144 12:57:58 ---> 2bca64a3c07d 12:57:58 Step 10/12 : COPY . . 12:57:58 ---> b8655402231f 12:57:58 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:57:58 ---> Running in d05515c0cf4e 12:57:58 Removing intermediate container d05515c0cf4e 12:57:58 ---> 6aa5bff57c1e 12:57:58 Step 12/12 : RUN $MAKE 12:57:58 ---> Running in f5c1a3d6ab45 12:57:58 noop 12:57:58 Removing intermediate container f5c1a3d6ab45 12:57:58 ---> e9abcd24349c 12:57:58 Successfully built e9abcd24349c 12:57:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:58 + docker inspect -f . ci-base-image-arm64 12:57:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:58 prd-ubuntu20.04-docker-arm64-4c-16g-10821 does not seem to be running inside a container 12:57:59 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 12:58:00 $ docker top 98eaef7e2c7cfe615523f46cc22f265fe6abcd3d76399e0a7845c26f33354dd5 -eo pid,comm [Pipeline] { [Pipeline] sh 12:58:01 + go version 12:58:01 go version go1.20.2 linux/arm64 [Pipeline] } 12:58:01 $ docker stop --time=1 98eaef7e2c7cfe615523f46cc22f265fe6abcd3d76399e0a7845c26f33354dd5 12:58:02 $ docker rm -f --volumes 98eaef7e2c7cfe615523f46cc22f265fe6abcd3d76399e0a7845c26f33354dd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:03 + docker inspect -f . ci-base-image-arm64 12:58:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:04 prd-ubuntu20.04-docker-arm64-4c-16g-10821 does not seem to be running inside a container 12:58:04 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 12:58:07 $ docker top 2d773aaae844567893cb2cbb923cbf900afef277054f8f9b1fad7a7a7565306f -eo pid,comm [Pipeline] { [Pipeline] sh 12:58:08 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:58:09 + make test 12:58:09 go test -race -coverprofile=coverage.out ./... 13:00:45 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:00:45 go vet ./... 13:03:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:03:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:03:07 ./bin/test-attribution-txt.sh 13:03:07 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:03:07 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:03:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:03:08 $ docker stop --time=1 2d773aaae844567893cb2cbb923cbf900afef277054f8f9b1fad7a7a7565306f 13:03:09 $ docker rm -f --volumes 2d773aaae844567893cb2cbb923cbf900afef277054f8f9b1fad7a7a7565306f [Pipeline] // withDockerContainer [Pipeline] sh 13:03:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:03:11 Warning: overwriting stash ‘coverage-report’ 13:03:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:03:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:03:12 + ls -al . 13:03:12 total 172 13:03:12 drwxrwxr-x 7 jenkins jenkins 4096 Apr 25 12:58 . 13:03:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 12:55 .. 13:03:12 -rw-rw-r-- 1 jenkins jenkins 119 Apr 25 12:55 .dockerignore 13:03:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 12:55 .git 13:03:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 12:55 .github 13:03:12 -rw-rw-r-- 1 jenkins jenkins 171 Apr 25 12:55 .gitignore 13:03:12 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 12:55 .golangci.yml 13:03:12 -rw-rw-r-- 1 jenkins jenkins 9088 Apr 25 12:55 Attribution.txt 13:03:12 -rw-rw-r-- 1 jenkins jenkins 29118 Apr 25 12:55 CHANGELOG.md 13:03:12 -rw-rw-r-- 1 jenkins jenkins 1898 Apr 25 12:55 Dockerfile 13:03:12 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 12:55 GOVERNANCE.md 13:03:12 -rw-rw-r-- 1 jenkins jenkins 688 Apr 25 12:55 Jenkinsfile 13:03:12 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 25 12:55 LICENSE 13:03:12 -rw-rw-r-- 1 jenkins jenkins 618 Apr 25 12:55 OWNERS.md 13:03:12 -rw-rw-r-- 1 jenkins jenkins 4369 Apr 25 12:55 README.md 13:03:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 12:53 VERSION 13:03:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 12:55 bin 13:03:12 -rw-r--r-- 1 jenkins jenkins 13 Apr 25 12:58 coverage.out 13:03:12 -rw-rw-r-- 1 jenkins jenkins 3302 Apr 25 12:55 go.mod 13:03:12 -rw-rw-r-- 1 jenkins jenkins 31536 Apr 25 12:55 go.sum 13:03:12 -rw-rw-r-- 1 jenkins jenkins 1949 Apr 25 12:55 main.go 13:03:12 -rw-rw-r-- 1 jenkins jenkins 2569 Apr 25 12:55 makefile 13:03:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 12:55 res 13:03:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 12:55 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:13 + 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=bdc79d5f7fea20e9465a65ca2501a04935fc273e --label arch=arm64 --label version=0.0.0 . 13:03:13 Sending build context to Docker daemon 170kB 13:03:13 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:03:13 Step 2/26 : FROM ${BASE} AS builder 13:03:13 ---> e9abcd24349c 13:03:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:03:14 ---> Running in a2c770ad6da9 13:03:14 Removing intermediate container a2c770ad6da9 13:03:14 ---> 752b5348fcac 13:03:14 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:03:14 ---> Running in 91c5ac3c01ec 13:03:14 Removing intermediate container 91c5ac3c01ec 13:03:14 ---> b61925e3936e 13:03:14 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:03:14 ---> Running in b767285bc8a9 13:03:15 Removing intermediate container b767285bc8a9 13:03:15 ---> 21fded966a24 13:03:15 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:03:15 ---> Running in eba4bb1619dd 13:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:03:17 OK: 263 MiB in 53 packages 13:03:18 Removing intermediate container eba4bb1619dd 13:03:18 ---> ac5682a5f68c 13:03:18 Step 7/26 : WORKDIR /app 13:03:18 ---> Running in b53b9f329da7 13:03:18 Removing intermediate container b53b9f329da7 13:03:18 ---> 8a8d1bbc2bf0 13:03:18 Step 8/26 : COPY go.mod vendor* ./ 13:03:19 ---> 68802a25e896 13:03:19 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:03:19 ---> Running in 574025cbc5cc 13:03:22 Removing intermediate container 574025cbc5cc 13:03:22 ---> 66dbd2675d27 13:03:22 Step 10/26 : COPY . . 13:03:22 ---> d07e945a100d 13:03:22 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:22 ---> Running in 865f7540d88e 13:03:22 Removing intermediate container 865f7540d88e 13:03:22 ---> daaf94351d23 13:03:22 Step 12/26 : RUN $MAKE 13:03:22 ---> Running in 594468f1f209 13:03:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.51 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:05:30 Removing intermediate container 594468f1f209 13:05:30 ---> bd45711b32cf 13:05:30 Step 13/26 : FROM alpine:3.17 13:05:30 3.17: Pulling from library/alpine 13:05:30 c41833b44d91: Already exists 13:05:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:05:30 Status: Downloaded newer image for alpine:3.17 13:05:30 ---> 51e60588ff2c 13:05:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:05:30 ---> Running in 44ef5d3cef6b 13:05:30 Removing intermediate container 44ef5d3cef6b 13:05:30 ---> ae0ff9f306fb 13:05:30 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:05:30 ---> Running in afd0ccf12322 13:05:30 Removing intermediate container afd0ccf12322 13:05:30 ---> b5ed6a587789 13:05:30 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:05:30 ---> Running in dbec7ff5dd38 13:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:05:30 (1/2) Installing ca-certificates (20220614-r4) 13:05:30 (2/2) Installing dumb-init (1.2.5-r2) 13:05:31 Executing busybox-1.35.0-r29.trigger 13:05:31 Executing ca-certificates-20220614-r4.trigger 13:05:31 OK: 8 MiB in 17 packages 13:05:32 Removing intermediate container dbec7ff5dd38 13:05:32 ---> 99ae7f3caab5 13:05:32 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:05:32 ---> 49a830a48ea8 13:05:32 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:05:33 ---> 50bc6ced7be8 13:05:33 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:05:33 ---> 975286992917 13:05:33 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:05:35 ---> a32a1f3c63e2 13:05:35 Step 21/26 : EXPOSE 48095 13:05:35 ---> Running in 8bc34e934927 13:05:35 Removing intermediate container 8bc34e934927 13:05:35 ---> 9e7612d55468 13:05:35 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:05:35 ---> Running in 90e9eeb5d7c5 13:05:35 Removing intermediate container 90e9eeb5d7c5 13:05:35 ---> e94a4829e2b5 13:05:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:05:35 ---> Running in 4a2f3f430a3d 13:05:35 Removing intermediate container 4a2f3f430a3d 13:05:35 ---> accf0be46133 13:05:35 Step 24/26 : LABEL arch=arm64 13:05:35 ---> Running in 02092b3cb7c9 13:05:36 Removing intermediate container 02092b3cb7c9 13:05:36 ---> adc58591d460 13:05:36 Step 25/26 : LABEL git_sha=bdc79d5f7fea20e9465a65ca2501a04935fc273e 13:05:36 ---> Running in e55f4faed4c3 13:05:36 Removing intermediate container e55f4faed4c3 13:05:36 ---> 757aa0c393aa 13:05:36 Step 26/26 : LABEL version=0.0.0 13:05:36 ---> Running in e714090b948c 13:05:36 Removing intermediate container e714090b948c 13:05:36 ---> 09b2d75ed011 13:05:36 [Warning] One or more build-args [ARCH] were not consumed 13:05:37 Successfully built 09b2d75ed011 13:05:37 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:05:37 13:05:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:05:38 arm64: Pulling from edgex-lftools-log-publisher 13:05:38 8998bd30e6a1: Pulling fs layer 13:05:38 04944245beec: Pulling fs layer 13:05:38 699f458cf7ca: Pulling fs layer 13:05:38 765212b225bb: Pulling fs layer 13:05:38 f23df028b6ca: Pulling fs layer 13:05:38 d65c8cfc05b1: Pulling fs layer 13:05:38 2437ff75d9bd: Pulling fs layer 13:05:38 f23df028b6ca: Waiting 13:05:38 d65c8cfc05b1: Waiting 13:05:38 2437ff75d9bd: Waiting 13:05:38 765212b225bb: Waiting 13:05:38 04944245beec: Verifying Checksum 13:05:38 04944245beec: Download complete 13:05:38 765212b225bb: Download complete 13:05:38 f23df028b6ca: Verifying Checksum 13:05:38 f23df028b6ca: Download complete 13:05:38 d65c8cfc05b1: Verifying Checksum 13:05:38 d65c8cfc05b1: Download complete 13:05:38 699f458cf7ca: Verifying Checksum 13:05:38 699f458cf7ca: Download complete 13:05:39 8998bd30e6a1: Verifying Checksum 13:05:39 8998bd30e6a1: Download complete 13:05:41 2437ff75d9bd: Verifying Checksum 13:05:41 2437ff75d9bd: Download complete 13:05:42 8998bd30e6a1: Pull complete 13:05:43 04944245beec: Pull complete 13:05:44 699f458cf7ca: Pull complete 13:05:44 765212b225bb: Pull complete 13:05:45 f23df028b6ca: Pull complete 13:05:45 d65c8cfc05b1: Pull complete 13:06:00 2437ff75d9bd: Pull complete 13:06:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:06:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:06:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:06:00 prd-ubuntu20.04-docker-arm64-4c-16g-10821 does not seem to be running inside a container 13:06:00 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:06:03 $ docker top 60aa03a8db26cedf149edbafcaf889cff21f48c1bbe1a369dbe1b2a6244030ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:06:03 ---> job-cost.sh 13:06:04 lf-activate-venv: SKIPPING 13:06:04 INFO: No Stack... 13:06:04 INFO: Retrieving Pricing Info for: v3-standard-4 13:06:05 INFO: Archiving Costs [Pipeline] sh 13:06:05 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:06:05 + cut -d, -f6 [Pipeline] lock 13:06:05 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-550-1-stack-cost] 13:06:05 Resource [jenkins-edgexfoundry-app-service-configurable-PR-550-1-stack-cost] did not exist. Created. 13:06:05 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-550-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:06:06 /w/workspace/app-service-configurable/1@tmp/durable-502f0c3f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:06:06 + echo total: 0.10999999940395355 [Pipeline] stash 13:06:06 Warning: overwriting stash ‘stack-cost’ 13:06:07 Stashed 1 file(s) [Pipeline] } 13:06:07 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-550-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:06:07 $ docker stop --time=1 60aa03a8db26cedf149edbafcaf889cff21f48c1bbe1a369dbe1b2a6244030ea 13:06:08 $ docker rm -f --volumes 60aa03a8db26cedf149edbafcaf889cff21f48c1bbe1a369dbe1b2a6244030ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:06:09 provisioning config files... 13:06:09 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-550@tmp/config2252356250038089955tmp [Pipeline] { [Pipeline] sh 13:06:09 + set +x 13:06:09 + bash -s -- 13:06:09 + curl -s https://codecov.io/bash 13:06:10 13:06:10 _____ _ 13:06:10 / ____| | | 13:06:10 | | ___ __| | ___ ___ _____ __ 13:06:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:06:10 | |___| (_) | (_| | __/ (_| (_) \ V / 13:06:10 \_____\___/ \__,_|\___|\___\___/ \_/ 13:06:10 Bash-1.0.6 13:06:10 13:06:10 13:06:10 ==> git version 2.25.1 found 13:06:10 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:06:10 Release-Date: 2020-01-08 13:06:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:06:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:06:10 ==> Jenkins CI detected. 13:06:10 current dir:  /w/workspace/_app-service-configurable_PR-550 13:06:10 project root: . 13:06:10 --> token set from env 13:06:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:06:10 ==> Running gcov in . (disable via -X gcov) 13:06:10 ==> Python coveragepy not found 13:06:10 ==> Searching for coverage reports in: 13:06:10 + . 13:06:10 -> Found 1 reports 13:06:10 ==> Detecting git/mercurial file structure 13:06:10 ==> Reading reports 13:06:10 + ./coverage.out bytes=13 13:06:10 ==> Appending adjustments 13:06:10 https://docs.codecov.io/docs/fixing-reports 13:06:10 + Found adjustments 13:06:10 ==> Gzipping contents 13:06:10 4.0K /tmp/codecov.wvKfZA.gz 13:06:10 ==> Uploading reports 13:06:10 url: https://codecov.io 13:06:10 query: branch=PR-550&commit=bdc79d5f7fea20e9465a65ca2501a04935fc273e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-550%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=550&job=&cmd_args= 13:06:10 -> Pinging Codecov 13:06:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-550&commit=bdc79d5f7fea20e9465a65ca2501a04935fc273e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-550%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=550&job=&cmd_args= 13:06:10 -> Uploading to 13:06:10 https://storage.googleapis.com/codecov/v4/raw/2023-04-25/A97CA9966030D2A3747ED39772930CCE/bdc79d5f7fea20e9465a65ca2501a04935fc273e/e071e882-315a-4bf4-8ac8-24ce449d68ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T130610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be8c67294123ff6fb58bb0470ee020550d034f012312c7f5446324285f04c72e 13:06:10 % Total % Received % Xferd Average Speed Time Time Time Current 13:06:10 Dload Upload Total Spent Left Speed 13:06:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2113 --:--:-- --:--:-- --:--:-- 2102 100 429 0 0 100 429 0 1765 --:--:-- --:--:-- --:--:-- 1758 13:06:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/bdc79d5f7fea20e9465a65ca2501a04935fc273e [Pipeline] } 13:06:10 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:06:12 + [ -d /w/workspace/_app-service-configurable_PR-550/archives ] 13:06:12 + ls -al /w/workspace/_app-service-configurable_PR-550/archives 13:06:12 total 16 13:06:12 drwxr-xr-x 3 root root 4096 Apr 25 12:56 . 13:06:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 12:56 .. 13:06:12 drwxr-xr-x 2 root root 4096 Apr 25 12:56 cost 13:06:12 -rw-r--r-- 1 root root 96 Apr 25 12:56 cost.csv 13:06:12 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-550/archives 13:06:12 + ls -al /w/workspace/_app-service-configurable_PR-550/archives 13:06:12 total 16 13:06:12 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 12:56 . 13:06:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 12:56 .. 13:06:12 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 12:56 cost 13:06:12 -rw-r--r-- 1 jenkins jenkins 96 Apr 25 12:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:06:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:06:13 ---> package-listing.sh 13:06:13 ++ facter osfamily 13:06:13 ++ tr '[:upper:]' '[:lower:]' 13:06:13 + OS_FAMILY=debian 13:06:13 + workspace=/w/workspace/_app-service-configurable_PR-550 13:06:13 + START_PACKAGES=/tmp/packages_start.txt 13:06:13 + END_PACKAGES=/tmp/packages_end.txt 13:06:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:06:13 + PACKAGES=/tmp/packages_start.txt 13:06:13 + '[' /w/workspace/_app-service-configurable_PR-550 ']' 13:06:13 + PACKAGES=/tmp/packages_end.txt 13:06:13 + case "${OS_FAMILY}" in 13:06:13 + dpkg -l 13:06:13 + grep '^ii' 13:06:13 + '[' -f /tmp/packages_start.txt ']' 13:06:13 + '[' -f /tmp/packages_end.txt ']' 13:06:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:06:13 + '[' /w/workspace/_app-service-configurable_PR-550 ']' 13:06:13 + mkdir -p /w/workspace/_app-service-configurable_PR-550/archives/ 13:06:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-550/archives/ [Pipeline] echo 13:06:14 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-550/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:06:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:06:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:06:15 prd-ubuntu20.04-docker-8c-8g-10820 does not seem to be running inside a container 13:06:15 $ 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-550/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-550 -v /w/workspace/_app-service-configurable_PR-550:/w/workspace/_app-service-configurable_PR-550:rw,z -v /w/workspace/_app-service-configurable_PR-550@tmp:/w/workspace/_app-service-configurable_PR-550@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:06:15 $ docker top 1f6cf6a7d5fa7d5ce9241b63050367070a511dcee7bf39bf88bc3032f2548648 -eo pid,comm [Pipeline] { [Pipeline] sh 13:06:15 + touch /tmp/pre-build-complete [Pipeline] sh 13:06:16 + mkdir -p /var/log/sysstat [Pipeline] sh 13:06:16 + ls /var/log/sa-host 13:06:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:06:16 provisioning config files... 13:06:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-550@tmp/config6045187810779804239tmp [Pipeline] { [Pipeline] echo 13:06:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:06:16 ---> create-netrc.sh [Pipeline] } 13:06:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:06:17 ---> python-tools-install.sh [Pipeline] echo 13:06:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:06:17 ---> sudo-logs.sh 13:06:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:06:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:06:18 ---> job-cost.sh 13:06:18 lf-activate-venv: SKIPPING 13:06:18 DEBUG: total: 0.2199999988079071 13:06:18 INFO: Retrieving Stack Cost... 13:06:18 INFO: Retrieving Pricing Info for: v3-standard-8 13:06:19 INFO: Archiving Costs [Pipeline] echo 13:06:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:06:19 ---> logs-deploy.sh 13:06:19 lf-activate-venv: SKIPPING 13:06:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-550/1 13:06:19 INFO: archiving workspace using pattern(s): 13:06:20 Archives upload complete. 13:06:20 INFO: archiving logs to Nexus 13:06:21 ---> uname -a: 13:06:21 Linux prd-ubuntu20-04-docker-8c-8g-10820 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 13:06:21 13:06:21