Pull request #583 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f5b0c627a8d443713b6581c905939882a98e581f+26b93c6358d1976bbdea6c8c16d65e092b814248 (fbf7b697ace03f24ead053c5898bb438fbe9ce94) 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-ssh5997114805185422607.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh2703952288909092714.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-583/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-583/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17576943531763934091.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-583/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10789956985870619123.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh9894163457167495070.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-583/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-583/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7761676421662393568.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-2825 in /w/workspace/_app-service-configurable_PR-583 [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-583 # 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/583/head:refs/remotes/origin/PR-583 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 26b93c6358d1976bbdea6c8c16d65e092b814248 into PR head commit f5b0c627a8d443713b6581c905939882a98e581f Merge succeeded, producing f5b0c627a8d443713b6581c905939882a98e581f Checking out Revision f5b0c627a8d443713b6581c905939882a98e581f (PR-583) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:29:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:29:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f f5b0c627a8d443713b6581c905939882a98e581f # 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 26b93c6358d1976bbdea6c8c16d65e092b814248 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f5b0c627a8d443713b6581c905939882a98e581f # timeout=10 [Pipeline] echo 12:29:34 ========================================================= 12:29:34 EdgeX Global Pipelines Version Info 12:29:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:29:35 ------------------- 12:29:35 stable info: 12:29:35 ------------------- 12:29:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:29:35 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:29:35 Message: update stable to v1.0.250 12:29:35 ------------------- 12:29:35 experimental info: 12:29:35 ------------------- 12:29:35 Commited By: **** collab-it+edgex@linuxfoundation.org 12:29:35 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:29:35 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:29:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:29:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:29:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:29:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:29:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:29:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-583 [Pipeline] echo 12:29:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-583 [Pipeline] echo 12:29:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-583 [Pipeline] echo 12:29:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5b0c627a8d443713b6581c905939882a98e581f [Pipeline] echo 12:29:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5b0c62 [Pipeline] echo 12:29:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:29:37 provisioning config files... 12:29:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-583@tmp/config3782909913780561349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:29:37 ---> docker-login.sh 12:29:37 nexus3.edgexfoundry.org:10001 12:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:38 Configure a credential helper to remove this warning. See 12:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:38 12:29:38 Login Succeeded 12:29:38 nexus3.edgexfoundry.org:10002 12:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:38 Configure a credential helper to remove this warning. See 12:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:38 12:29:38 Login Succeeded 12:29:38 nexus3.edgexfoundry.org:10003 12:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:38 Configure a credential helper to remove this warning. See 12:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:38 12:29:38 Login Succeeded 12:29:38 nexus3.edgexfoundry.org:10004 12:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:38 Configure a credential helper to remove this warning. See 12:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:38 12:29:38 Login Succeeded 12:29:38 docker.io 12:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:38 Configure a credential helper to remove this warning. See 12:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:38 12:29:38 Login Succeeded 12:29:38 ---> docker-login.sh ends [Pipeline] } 12:29:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:29:39 + git rev-list -1 --merges f5b0c627a8d443713b6581c905939882a98e581f~1..f5b0c627a8d443713b6581c905939882a98e581f [Pipeline] echo 12:29:39 -----------> git rev-list -1 --merges f5b0c627a8d443713b6581c905939882a98e581f~1..f5b0c627a8d443713b6581c905939882a98e581f f5b0c627a8d443713b6581c905939882a98e581f [false] [Pipeline] sh 12:29:39 + git log --format=format:%s -1 f5b0c627a8d443713b6581c905939882a98e581f [Pipeline] echo 12:29:40 ========================================================= 12:29:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:29:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:29:40 + git log --format=format:%s -1 f5b0c627a8d443713b6581c905939882a98e581f [Pipeline] echo 12:29:40 [semverPrep] GIT_COMMIT: f5b0c627a8d443713b6581c905939882a98e581f, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:29:40 [semverPrep] This is not a build commit. [Pipeline] sh 12:29:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:29:40 + grep -v github /etc/ssh/ssh_known_hosts 12:29:40 + [ -e /tmp/ssh_known_hosts ] 12:29:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:29:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:29:40 + sudo tee -a /etc/ssh/ssh_known_hosts 12:29:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:29:41 12:29:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:29:41 0.1.4: Pulling from edgex-devops/py-git-semver 12:29:41 b85a868b505f: Pulling fs layer 12:29:41 e2be974225ed: Pulling fs layer 12:29:41 339a4e72a1f5: Pulling fs layer 12:29:41 988bab9f4d93: Pulling fs layer 12:29:41 1469e6f7b9e6: Pulling fs layer 12:29:41 eaf3925da568: Pulling fs layer 12:29:41 bab4dde63d76: Pulling fs layer 12:29:41 bde34c3a00c8: Pulling fs layer 12:29:41 b352a97aabf1: Pulling fs layer 12:29:41 4872d77fe225: Pulling fs layer 12:29:41 5851b861e8e6: Pulling fs layer 12:29:41 1469e6f7b9e6: Waiting 12:29:41 eaf3925da568: Waiting 12:29:41 bab4dde63d76: Waiting 12:29:41 bde34c3a00c8: Waiting 12:29:41 b352a97aabf1: Waiting 12:29:41 4872d77fe225: Waiting 12:29:41 5851b861e8e6: Waiting 12:29:41 988bab9f4d93: Waiting 12:29:41 e2be974225ed: Verifying Checksum 12:29:41 e2be974225ed: Download complete 12:29:41 988bab9f4d93: Verifying Checksum 12:29:41 988bab9f4d93: Download complete 12:29:42 1469e6f7b9e6: Verifying Checksum 12:29:42 1469e6f7b9e6: Download complete 12:29:42 eaf3925da568: Download complete 12:29:42 339a4e72a1f5: Verifying Checksum 12:29:42 339a4e72a1f5: Download complete 12:29:42 bde34c3a00c8: Verifying Checksum 12:29:42 bde34c3a00c8: Download complete 12:29:42 b352a97aabf1: Download complete 12:29:42 4872d77fe225: Verifying Checksum 12:29:42 4872d77fe225: Download complete 12:29:42 5851b861e8e6: Verifying Checksum 12:29:42 5851b861e8e6: Download complete 12:29:42 b85a868b505f: Verifying Checksum 12:29:42 b85a868b505f: Download complete 12:29:42 bab4dde63d76: Verifying Checksum 12:29:42 bab4dde63d76: Download complete 12:29:43 b85a868b505f: Pull complete 12:29:43 e2be974225ed: Pull complete 12:29:44 339a4e72a1f5: Pull complete 12:29:44 988bab9f4d93: Pull complete 12:29:44 1469e6f7b9e6: Pull complete 12:29:44 eaf3925da568: Pull complete 12:29:46 bab4dde63d76: Pull complete 12:29:46 bde34c3a00c8: Pull complete 12:29:46 b352a97aabf1: Pull complete 12:29:46 4872d77fe225: Pull complete 12:29:46 5851b861e8e6: Pull complete 12:29:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:29:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:29:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:29:47 prd-ubuntu20.04-docker-8c-8g-2825 does not seem to be running inside a container 12:29:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-583 -v /w/workspace/_app-service-configurable_PR-583:/w/workspace/_app-service-configurable_PR-583:rw,z -v /w/workspace/_app-service-configurable_PR-583@tmp:/w/workspace/_app-service-configurable_PR-583@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:29:51 $ docker top dc52af06796c5ae5dd80e2afa44ecaf2ba49197de0b14175ffa5e5f719284f77 -eo pid,comm 12:29:51 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:29:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:29:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:29:51 [ssh-agent] Looking for ssh-agent implementation... 12:29:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:29:51 $ docker exec dc52af06796c5ae5dd80e2afa44ecaf2ba49197de0b14175ffa5e5f719284f77 ssh-agent 12:29:51 SSH_AUTH_SOCK=/tmp/ssh-FanvPP7VmtZJ/agent.33 12:29:51 SSH_AGENT_PID=39 12:29:51 Running ssh-add (command line suppressed) 12:29:51 Identity added: /w/workspace/_app-service-configurable_PR-583@tmp/private_key_615840583712649348.key (/w/workspace/_app-service-configurable_PR-583@tmp/private_key_615840583712649348.key) 12:29:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:29:51 + git tag --points-at HEAD [Pipeline] } 12:29:51 $ docker exec --env ******** --env ******** dc52af06796c5ae5dd80e2afa44ecaf2ba49197de0b14175ffa5e5f719284f77 ssh-agent -k 12:29:52 unset SSH_AUTH_SOCK; 12:29:52 unset SSH_AGENT_PID; 12:29:52 echo Agent pid 39 killed; 12:29:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:29:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:29:52 [ssh-agent] Looking for ssh-agent implementation... 12:29:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:29:52 $ docker exec dc52af06796c5ae5dd80e2afa44ecaf2ba49197de0b14175ffa5e5f719284f77 ssh-agent 12:29:52 SSH_AUTH_SOCK=/tmp/ssh-W0ef5vpT6KIO/agent.71 12:29:52 SSH_AGENT_PID=78 12:29:52 Running ssh-add (command line suppressed) 12:29:52 Identity added: /w/workspace/_app-service-configurable_PR-583@tmp/private_key_16666959348963445919.key (/w/workspace/_app-service-configurable_PR-583@tmp/private_key_16666959348963445919.key) 12:29:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:29:52 + git semver init 12:29:53 2023-08-03 12:29:53,088 [run_init] DEBUG init version:0.0.0 force:False 12:29:53 2023-08-03 12:29:53,089 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-583/.semver 12:29:53 2023-08-03 12:29:53,090 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-583/.semver 12:29:53 2023-08-03 12:29:53,090 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-583/.semver'], cwd=/w/workspace/_app-service-configurable_PR-583, universal_newlines=False, shell=None, istream=None) 12:29:54 2023-08-03 12:29:53,920 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-583/.git/info/exclude 12:29:54 2023-08-03 12:29:53,921 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-583/.semver/PR-583 with force:False 12:29:54 2023-08-03 12:29:53,921 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-583/.semver/PR-583 12:29:54 2023-08-03 12:29:53,925 [execute] INFO git cat-file --batch-check 12:29:54 2023-08-03 12:29:53,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-583/.semver, universal_newlines=False, shell=None, istream=) 12:29:54 2023-08-03 12:29:53,931 [execute] INFO git cat-file --batch 12:29:54 2023-08-03 12:29:53,932 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-583/.semver, universal_newlines=False, shell=None, istream=) 12:29:54 2023-08-03 12:29:53,937 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-583/.semver/PR-583 12:29:54 0.0.0 [Pipeline] } 12:29:54 $ docker exec --env ******** --env ******** dc52af06796c5ae5dd80e2afa44ecaf2ba49197de0b14175ffa5e5f719284f77 ssh-agent -k 12:29:54 unset SSH_AUTH_SOCK; 12:29:54 unset SSH_AGENT_PID; 12:29:54 echo Agent pid 78 killed; 12:29:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:29:54 + git semver [Pipeline] } 12:29:54 $ docker stop --time=1 dc52af06796c5ae5dd80e2afa44ecaf2ba49197de0b14175ffa5e5f719284f77 12:29:56 $ docker rm -f --volumes dc52af06796c5ae5dd80e2afa44ecaf2ba49197de0b14175ffa5e5f719284f77 [Pipeline] // withDockerContainer [Pipeline] sh 12:29:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:29:57 Stashed 1 file(s) [Pipeline] echo 12:29:57 [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:29:57 provisioning config files... 12:29:57 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-583@tmp/config8814252060583173620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:29:58 ---> docker-login.sh 12:29:58 nexus3.edgexfoundry.org:10001 12:29:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:58 Configure a credential helper to remove this warning. See 12:29:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:58 12:29:58 Login Succeeded 12:29:58 nexus3.edgexfoundry.org:10002 12:29:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:58 Configure a credential helper to remove this warning. See 12:29:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:58 12:29:58 Login Succeeded 12:29:58 nexus3.edgexfoundry.org:10003 12:29:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:58 Configure a credential helper to remove this warning. See 12:29:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:58 12:29:58 Login Succeeded 12:29:58 nexus3.edgexfoundry.org:10004 12:29:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:58 Configure a credential helper to remove this warning. See 12:29:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:58 12:29:58 Login Succeeded 12:29:58 docker.io 12:29:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:29:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:29:58 Configure a credential helper to remove this warning. See 12:29:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:29:58 12:29:58 Login Succeeded 12:29:58 ---> docker-login.sh ends [Pipeline] } 12:29:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:29:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:29:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:29:59 ========================================================= 12:29:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:29:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:59 + 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:29:59 Sending build context to Docker daemon 3.32MB 12:29:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:29:59 Step 2/12 : FROM ${BASE} AS builder 12:29:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:29:59 4db1b89c0bd1: Pulling fs layer 12:29:59 6911f1a30b25: Pulling fs layer 12:29:59 e194b8c5c2a9: Pulling fs layer 12:29:59 6863d3e3a2b1: Pulling fs layer 12:29:59 ec0bb842ea78: Pulling fs layer 12:29:59 40a00589a448: Pulling fs layer 12:29:59 6c08303d61cc: Pulling fs layer 12:29:59 798269fcf238: Pulling fs layer 12:29:59 6863d3e3a2b1: Waiting 12:29:59 ec0bb842ea78: Waiting 12:29:59 6c08303d61cc: Waiting 12:29:59 6911f1a30b25: Download complete 12:29:59 6863d3e3a2b1: Verifying Checksum 12:29:59 6863d3e3a2b1: Download complete 12:29:59 ec0bb842ea78: Verifying Checksum 12:29:59 ec0bb842ea78: Download complete 12:29:59 4db1b89c0bd1: Verifying Checksum 12:29:59 4db1b89c0bd1: Download complete 12:29:59 40a00589a448: Verifying Checksum 12:29:59 40a00589a448: Download complete 12:29:59 4db1b89c0bd1: Pull complete 12:30:00 6911f1a30b25: Pull complete 12:30:00 798269fcf238: Verifying Checksum 12:30:00 798269fcf238: Download complete 12:30:00 e194b8c5c2a9: Download complete 12:30:00 6c08303d61cc: Verifying Checksum 12:30:00 6c08303d61cc: Download complete 12:30:04 e194b8c5c2a9: Pull complete 12:30:04 6863d3e3a2b1: Pull complete 12:30:04 ec0bb842ea78: Pull complete 12:30:04 40a00589a448: Pull complete 12:30:06 6c08303d61cc: Pull complete 12:30:07 798269fcf238: Pull complete 12:30:07 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:30:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:30:07 ---> ec979cd7f677 12:30:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:30:12 Still waiting to schedule task 12:30:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:30:15 ---> Running in bf72eccae838 12:30:15 Removing intermediate container bf72eccae838 12:30:15 ---> 2d00717ae509 12:30:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:30:15 ---> Running in a14acbbe3cda 12:30:15 Removing intermediate container a14acbbe3cda 12:30:15 ---> 2cbc59bab3b1 12:30:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:30:15 ---> Running in ed9d3b1d2615 12:30:15 Removing intermediate container ed9d3b1d2615 12:30:15 ---> dce0326387c5 12:30:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:30:15 ---> Running in f4223d680e11 12:30:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:30:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:30:16 OK: 265 MiB in 53 packages 12:30:16 Removing intermediate container f4223d680e11 12:30:16 ---> 3d45ed6459e7 12:30:16 Step 7/12 : WORKDIR /app 12:30:16 ---> Running in ca6f8957dd4a 12:30:16 Removing intermediate container ca6f8957dd4a 12:30:16 ---> f56bcc512d93 12:30:16 Step 8/12 : COPY go.mod vendor* ./ 12:30:16 ---> 738c8f7c2584 12:30:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:30:16 ---> Running in 796629d6707b 12:31:12 Removing intermediate container 796629d6707b 12:31:12 ---> 3376438ea658 12:31:12 Step 10/12 : COPY . . 12:31:12 ---> f66f020211b1 12:31:12 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:31:12 ---> Running in 06247a49aa19 12:31:12 Removing intermediate container 06247a49aa19 12:31:12 ---> e4bf64f01f68 12:31:12 Step 12/12 : RUN $MAKE 12:31:12 ---> Running in 92c3352edfd4 12:31:12 noop 12:31:12 Removing intermediate container 92c3352edfd4 12:31:12 ---> 803fba142117 12:31:12 Successfully built 803fba142117 12:31:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:13 + docker inspect -f . ci-base-image-x86_64 12:31:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:13 prd-ubuntu20.04-docker-8c-8g-2825 does not seem to be running inside a container 12:31:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-583 -v /w/workspace/_app-service-configurable_PR-583:/w/workspace/_app-service-configurable_PR-583:rw,z -v /w/workspace/_app-service-configurable_PR-583@tmp:/w/workspace/_app-service-configurable_PR-583@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:31:13 $ docker top b91a69afba44679caffcc9746208bbcf94730fa57b62cc76f9b09edc5d020b14 -eo pid,comm [Pipeline] { [Pipeline] sh 12:31:14 + go version 12:31:14 go version go1.20.6 linux/amd64 [Pipeline] } 12:31:14 $ docker stop --time=1 b91a69afba44679caffcc9746208bbcf94730fa57b62cc76f9b09edc5d020b14 12:31:15 $ docker rm -f --volumes b91a69afba44679caffcc9746208bbcf94730fa57b62cc76f9b09edc5d020b14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:31:16 + docker inspect -f . ci-base-image-x86_64 12:31:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:31:16 prd-ubuntu20.04-docker-8c-8g-2825 does not seem to be running inside a container 12:31:16 $ 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-583 -v /w/workspace/_app-service-configurable_PR-583:/w/workspace/_app-service-configurable_PR-583:rw,z -v /w/workspace/_app-service-configurable_PR-583@tmp:/w/workspace/_app-service-configurable_PR-583@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:31:16 $ docker top a84b09a71f63e4123b8102829bc1306c807ceffdda6d20cee9b15ebff2d1e88e -eo pid,comm [Pipeline] { [Pipeline] sh 12:31:17 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-583 [Pipeline] fileExists [Pipeline] sh 12:31:17 + make test 12:31:17 go test -race -coverprofile=coverage.out ./... 12:31:39 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:31:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2826 in /w/workspace/_app-service-configurable_PR-583 [Pipeline] { [Pipeline] ws 12:31:44 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:31:44 Selected Git installation does not exist. Using Default 12:31:44 The recommended git tool is: NONE 12:31:49 using credential edgex-jenkins-ssh 12:31:49 Cloning the remote Git repository 12:31:49 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:31:49 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:31:50 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:31:50 > git --version # timeout=10 12:31:50 > git --version # 'git version 2.25.1' 12:31:50 using GIT_SSH to set credentials SSH Credentials for GitHub 12:31:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:31:51 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:31:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:31:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:31:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:31:52 using GIT_SSH to set credentials SSH Credentials for GitHub 12:31:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/583/head:refs/remotes/origin/PR-583 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:31:52 Merging remotes/origin/main commit 26b93c6358d1976bbdea6c8c16d65e092b814248 into PR head commit f5b0c627a8d443713b6581c905939882a98e581f 12:31:53 Merge succeeded, producing f5b0c627a8d443713b6581c905939882a98e581f 12:31:53 Checking out Revision f5b0c627a8d443713b6581c905939882a98e581f (PR-583) 12:31:53 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:31:53 > git --version # timeout=10 12:31:53 > git --version # 'git version 2.25.1' 12:31:53 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:31:52 > git config core.sparsecheckout # timeout=10 12:31:52 > git checkout -f f5b0c627a8d443713b6581c905939882a98e581f # timeout=10 12:31:52 > git remote # timeout=10 12:31:53 > git config --get remote.origin.url # timeout=10 12:31:53 using GIT_SSH to set credentials SSH Credentials for GitHub 12:31:53 > git merge 26b93c6358d1976bbdea6c8c16d65e092b814248 # timeout=10 12:31:53 > git rev-parse HEAD^{commit} # timeout=10 12:31:53 > git config core.sparsecheckout # timeout=10 12:31:53 > git checkout -f f5b0c627a8d443713b6581c905939882a98e581f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:31:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:31:54 % Total % Received % Xferd Average Speed Time Time Time Current 12:31:54 Dload Upload Total Spent Left Speed 12:31:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 12:31:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:31:55 + sudo tee /etc/docker/daemon.new 12:31:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:31:55 { 12:31:55 "registry-mirrors": [ 12:31:55 "https://nexus3.edgexfoundry.org:10001" 12:31:55 ], 12:31:55 "bip": "10.250.0.254/24", 12:31:55 "hosts": [ 12:31:55 "tcp://0.0.0.0:5555", 12:31:55 "unix:///var/run/docker.sock" 12:31:55 ], 12:31:55 "mtu": 1458, 12:31:55 "selinux-enabled": true, 12:31:55 "seccomp-profile": "/etc/docker/seccomp.json" 12:31:55 } [Pipeline] sh 12:31:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:31:56 + sudo service docker restart 12:31:57 go vet ./... 12:32:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:32:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:32:02 ./bin/test-attribution-txt.sh [Pipeline] echo 12:32:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:32:02 $ docker stop --time=1 a84b09a71f63e4123b8102829bc1306c807ceffdda6d20cee9b15ebff2d1e88e 12:32:07 $ docker rm -f --volumes a84b09a71f63e4123b8102829bc1306c807ceffdda6d20cee9b15ebff2d1e88e [Pipeline] // withDockerContainer [Pipeline] sh 12:32:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:32:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:32:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:32:08 + ls -al . 12:32:08 total 180 12:32:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 12:31 . 12:32:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 12:29 .. 12:32:08 -rw-rw-r-- 1 jenkins jenkins 119 Aug 3 12:29 .dockerignore 12:32:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 12:29 .git 12:32:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 12:29 .github 12:32:08 -rw-rw-r-- 1 jenkins jenkins 171 Aug 3 12:29 .gitignore 12:32:08 -rw-rw-r-- 1 jenkins jenkins 41 Aug 3 12:29 .golangci.yml 12:32:08 drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 12:29 .semver 12:32:08 -rw-rw-r-- 1 jenkins jenkins 9736 Aug 3 12:29 Attribution.txt 12:32:08 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 3 12:29 CHANGELOG.md 12:32:08 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 3 12:29 Dockerfile 12:32:08 -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 12:29 GOVERNANCE.md 12:32:08 -rw-rw-r-- 1 jenkins jenkins 688 Aug 3 12:29 Jenkinsfile 12:32:08 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 3 12:29 LICENSE 12:32:08 -rw-rw-r-- 1 jenkins jenkins 618 Aug 3 12:29 OWNERS.md 12:32:08 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 3 12:29 README.md 12:32:08 -rw-rw-r-- 1 jenkins jenkins 5 Aug 3 12:29 VERSION 12:32:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 12:29 bin 12:32:08 -rw-r--r-- 1 jenkins jenkins 13 Aug 3 12:31 coverage.out 12:32:08 -rw-rw-r-- 1 jenkins jenkins 3469 Aug 3 12:29 go.mod 12:32:08 -rw-rw-r-- 1 jenkins jenkins 32452 Aug 3 12:29 go.sum 12:32:08 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 3 12:29 main.go 12:32:08 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 3 12:29 makefile 12:32:08 drwxrwxr-x 9 jenkins jenkins 4096 Aug 3 12:29 res 12:32:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 12:29 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:09 + 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=f5b0c627a8d443713b6581c905939882a98e581f --label arch=amd64 --label version=0.0.0 . 12:32:09 Sending build context to Docker daemon 3.321MB 12:32:09 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:32:09 Step 2/26 : FROM ${BASE} AS builder 12:32:09 ---> 803fba142117 12:32:09 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:32:09 ---> Running in 12116afd890d 12:32:09 Removing intermediate container 12116afd890d 12:32:09 ---> 2d9b1bbea7ea 12:32:09 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:32:09 ---> Running in a24291909fa1 12:32:10 Removing intermediate container a24291909fa1 12:32:10 ---> 50d5dcfafd4a 12:32:10 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:32:10 ---> Running in 2de761d1effa 12:32:10 Removing intermediate container 2de761d1effa 12:32:10 ---> 0a72ba4ca9c4 12:32:10 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:32:10 ---> Running in ac7c532521f6 12:32:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:32:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:32:11 OK: 265 MiB in 53 packages 12:32:11 Removing intermediate container ac7c532521f6 12:32:11 ---> d225b5f7586d 12:32:11 Step 7/26 : WORKDIR /app 12:32:11 ---> Running in 3578dd7042e1 12:32:12 Removing intermediate container 3578dd7042e1 12:32:12 ---> 3b03d6618600 12:32:12 Step 8/26 : COPY go.mod vendor* ./ 12:32:12 ---> 0c9acd105858 12:32:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:32:12 ---> Running in 87a4474264da 12:32:13 Removing intermediate container 87a4474264da 12:32:13 ---> b6d8440d7269 12:32:13 Step 10/26 : COPY . . 12:32:14 ---> 3e73046e7296 12:32:14 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:32:14 ---> Running in 48471c7537f8 12:32:14 Removing intermediate container 48471c7537f8 12:32:14 ---> 3c469a4229af 12:32:14 Step 12/26 : RUN $MAKE 12:32:15 ---> Running in cbb6a921435f 12:32:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.16 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:32:20 provisioning config files... 12:32:20 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config448669610871582550tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:32:20 ---> docker-login.sh 12:32:20 nexus3.edgexfoundry.org:10001 12:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:32:21 Configure a credential helper to remove this warning. See 12:32:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:32:21 12:32:21 Login Succeeded 12:32:21 nexus3.edgexfoundry.org:10002 12:32:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:32:21 Configure a credential helper to remove this warning. See 12:32:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:32:21 12:32:21 Login Succeeded 12:32:21 nexus3.edgexfoundry.org:10003 12:32:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:32:21 Configure a credential helper to remove this warning. See 12:32:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:32:21 12:32:21 Login Succeeded 12:32:21 nexus3.edgexfoundry.org:10004 12:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:32:22 Configure a credential helper to remove this warning. See 12:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:32:22 12:32:22 Login Succeeded 12:32:22 docker.io 12:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:32:22 Configure a credential helper to remove this warning. See 12:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:32:22 12:32:22 Login Succeeded 12:32:22 ---> docker-login.sh ends [Pipeline] } 12:32:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:32:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:32:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:32:23 ========================================================= 12:32:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:32:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:23 + 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:32:23 Sending build context to Docker daemon 176.6kB 12:32:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:32:23 Step 2/12 : FROM ${BASE} AS builder 12:32:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:32:23 edb6bdbacee9: Pulling fs layer 12:32:23 5f9638ab2659: Pulling fs layer 12:32:23 8d51d6327a98: Pulling fs layer 12:32:23 8b374f2dd631: Pulling fs layer 12:32:23 ec14aa9079de: Pulling fs layer 12:32:23 2f466654f4bb: Pulling fs layer 12:32:23 554e91adad29: Pulling fs layer 12:32:23 ec14aa9079de: Waiting 12:32:23 2f466654f4bb: Waiting 12:32:23 554e91adad29: Waiting 12:32:23 8b374f2dd631: Waiting 12:32:23 5f9638ab2659: Verifying Checksum 12:32:23 5f9638ab2659: Download complete 12:32:23 8b374f2dd631: Download complete 12:32:24 ec14aa9079de: Verifying Checksum 12:32:24 ec14aa9079de: Download complete 12:32:24 edb6bdbacee9: Verifying Checksum 12:32:24 edb6bdbacee9: Download complete 12:32:25 edb6bdbacee9: Pull complete 12:32:25 554e91adad29: Verifying Checksum 12:32:25 554e91adad29: Download complete 12:32:25 5f9638ab2659: Pull complete 12:32:26 8d51d6327a98: Verifying Checksum 12:32:26 8d51d6327a98: Download complete 12:32:26 2f466654f4bb: Verifying Checksum 12:32:26 2f466654f4bb: Download complete 12:32:37 Removing intermediate container cbb6a921435f 12:32:37 ---> 64dc9b01e774 12:32:37 Step 13/26 : FROM alpine:3.17 12:32:38 3.17: Pulling from library/alpine 12:32:38 4db1b89c0bd1: Already exists 12:32:38 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:32:38 Status: Downloaded newer image for alpine:3.17 12:32:38 ---> 1f73a9d63274 12:32:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:32:38 ---> Running in 28456944dd7e 12:32:38 Removing intermediate container 28456944dd7e 12:32:38 ---> 6960296a7719 12:32:38 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:32:38 ---> Running in 8c1b47e59eda 12:32:38 Removing intermediate container 8c1b47e59eda 12:32:38 ---> 56c82fdd479e 12:32:38 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:32:38 ---> Running in c11fece8522a 12:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:32:39 8d51d6327a98: Pull complete 12:32:39 8b374f2dd631: Pull complete 12:32:39 ec14aa9079de: Pull complete 12:32:39 (1/2) Installing ca-certificates (20230506-r0) 12:32:39 (2/2) Installing dumb-init (1.2.5-r2) 12:32:39 Executing busybox-1.35.0-r29.trigger 12:32:39 Executing ca-certificates-20230506-r0.trigger 12:32:39 OK: 8 MiB in 17 packages 12:32:39 Removing intermediate container c11fece8522a 12:32:39 ---> 389b8cee99b5 12:32:39 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:32:39 ---> 04ab082438a1 12:32:39 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:32:40 ---> 71f9a15a989a 12:32:40 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:32:40 ---> 34ff438dd7bf 12:32:40 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:32:41 ---> a39129e599ca 12:32:41 Step 21/26 : EXPOSE 48095 12:32:41 ---> Running in 8c20af3f626f 12:32:41 Removing intermediate container 8c20af3f626f 12:32:41 ---> 4daff6c13105 12:32:41 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:32:41 ---> Running in 89070f0e8944 12:32:41 Removing intermediate container 89070f0e8944 12:32:41 ---> 1554ff9b44f3 12:32:41 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:32:41 ---> Running in cfa24b3281fe 12:32:41 Removing intermediate container cfa24b3281fe 12:32:41 ---> 3b883c60a4a5 12:32:41 Step 24/26 : LABEL arch=amd64 12:32:41 ---> Running in 2112cd11f819 12:32:41 Removing intermediate container 2112cd11f819 12:32:41 ---> 07e37f47c7ce 12:32:41 Step 25/26 : LABEL git_sha=f5b0c627a8d443713b6581c905939882a98e581f 12:32:41 ---> Running in 8f386ac8e2fc 12:32:41 Removing intermediate container 8f386ac8e2fc 12:32:41 ---> e31b89480d19 12:32:41 Step 26/26 : LABEL version=0.0.0 12:32:41 ---> Running in f14bdf8ff355 12:32:41 Removing intermediate container f14bdf8ff355 12:32:41 ---> 52ca452c3fe9 12:32:41 [Warning] One or more build-args [ARCH] were not consumed 12:32:41 Successfully built 52ca452c3fe9 12:32:41 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:32:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:32:42 12:32:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:32:43 latest: Pulling from edgex-lftools-log-publisher 12:32:43 5eb5b503b376: Pulling fs layer 12:32:43 5c69ac0246d0: Pulling fs layer 12:32:43 ec43610c2a17: Pulling fs layer 12:32:43 3a2ae6a8a46f: Pulling fs layer 12:32:43 33b1e0a273af: Pulling fs layer 12:32:43 5d3b04190fa2: Pulling fs layer 12:32:43 2f39f015ded8: Pulling fs layer 12:32:43 3a2ae6a8a46f: Waiting 12:32:43 33b1e0a273af: Waiting 12:32:43 5d3b04190fa2: Waiting 12:32:43 2f39f015ded8: Waiting 12:32:43 5c69ac0246d0: Verifying Checksum 12:32:43 5c69ac0246d0: Download complete 12:32:43 3a2ae6a8a46f: Verifying Checksum 12:32:43 3a2ae6a8a46f: Download complete 12:32:43 33b1e0a273af: Verifying Checksum 12:32:43 33b1e0a273af: Download complete 12:32:43 5d3b04190fa2: Verifying Checksum 12:32:43 ec43610c2a17: Verifying Checksum 12:32:43 ec43610c2a17: Download complete 12:32:43 5eb5b503b376: Verifying Checksum 12:32:43 5eb5b503b376: Download complete 12:32:44 2f39f015ded8: Download complete 12:32:44 5eb5b503b376: Pull complete 12:32:44 5c69ac0246d0: Pull complete 12:32:45 ec43610c2a17: Pull complete 12:32:45 3a2ae6a8a46f: Pull complete 12:32:45 33b1e0a273af: Pull complete 12:32:45 5d3b04190fa2: Pull complete 12:32:45 2f466654f4bb: Pull complete 12:32:47 554e91adad29: Pull complete 12:32:47 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:32:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:32:47 ---> 1e15ea492957 12:32:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:32:49 ---> Running in 95434a8f708f 12:32:49 Removing intermediate container 95434a8f708f 12:32:49 ---> be62a112110c 12:32:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:32:49 ---> Running in 79263693392a 12:32:49 2f39f015ded8: Pull complete 12:32:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:32:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:32:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 12:32:49 Removing intermediate container 79263693392a 12:32:49 ---> 652c06eee05e 12:32:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:32:49 ---> Running in f9dbcf17055d [Pipeline] // withEnv [Pipeline] withDockerContainer 12:32:49 prd-ubuntu20.04-docker-8c-8g-2825 does not seem to be running inside a container 12:32:49 $ 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-583 -v /w/workspace/_app-service-configurable_PR-583:/w/workspace/_app-service-configurable_PR-583:rw,z -v /w/workspace/_app-service-configurable_PR-583@tmp:/w/workspace/_app-service-configurable_PR-583@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:32:49 Removing intermediate container f9dbcf17055d 12:32:49 ---> d153221b38cb 12:32:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:32:49 ---> Running in e5b349310228 12:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:32:52 OK: 263 MiB in 53 packages 12:32:53 Removing intermediate container e5b349310228 12:32:53 ---> b11215cdfa91 12:32:53 Step 7/12 : WORKDIR /app 12:32:53 ---> Running in 49839509ca22 12:32:53 Removing intermediate container 49839509ca22 12:32:53 ---> e6426382dc9d 12:32:53 Step 8/12 : COPY go.mod vendor* ./ 12:32:55 $ docker top a53ed21690df9371720f9c59b15c2c265aa1ba0594213991aae8c391d6d8332a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:32:55 ---> job-cost.sh 12:32:55 lf-activate-venv: SKIPPING 12:32:55 INFO: No Stack... 12:32:56 INFO: Retrieving Pricing Info for: v3-standard-8 12:32:56 INFO: Archiving Costs [Pipeline] sh 12:32:56 + cat /w/workspace/_app-service-configurable_PR-583/archives/cost.csv 12:32:56 + cut -d, -f6 [Pipeline] lock 12:32:56 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-583-1-stack-cost] 12:32:56 Resource [jenkins-edgexfoundry-app-service-configurable-PR-583-1-stack-cost] did not exist. Created. 12:32:56 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-583-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:32:56 ---> 55477998c738 12:32:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:32:56 ---> Running in 35cceb339802 12:32:57 + echo total: 0.2199999988079071 [Pipeline] stash 12:32:57 Stashed 1 file(s) [Pipeline] } 12:32:57 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-583-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:32:57 $ docker stop --time=1 a53ed21690df9371720f9c59b15c2c265aa1ba0594213991aae8c391d6d8332a 12:32:58 $ docker rm -f --volumes a53ed21690df9371720f9c59b15c2c265aa1ba0594213991aae8c391d6d8332a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:34:04 Removing intermediate container 35cceb339802 12:34:04 ---> 926f93db32fc 12:34:04 Step 10/12 : COPY . . 12:34:04 ---> 5d07c805ef0a 12:34:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:34:04 ---> Running in 5a5b9d347f26 12:34:04 Removing intermediate container 5a5b9d347f26 12:34:04 ---> 6e03664510be 12:34:04 Step 12/12 : RUN $MAKE 12:34:04 ---> Running in a7adb168ba52 12:34:04 noop 12:34:04 Removing intermediate container a7adb168ba52 12:34:04 ---> b580db9229c1 12:34:04 Successfully built b580db9229c1 12:34:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:34:05 + docker inspect -f . ci-base-image-arm64 12:34:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:34:05 prd-ubuntu20.04-docker-arm64-4c-16g-2826 does not seem to be running inside a container 12:34:05 $ 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 ******** ci-base-image-arm64 cat 12:34:06 $ docker top 9662e0980e397b8bbab9b0e7f1df44c7ea589ac43f1ad0f7bc5b45912c544b02 -eo pid,comm [Pipeline] { [Pipeline] sh 12:34:07 + go version 12:34:07 go version go1.20.6 linux/arm64 [Pipeline] } 12:34:07 $ docker stop --time=1 9662e0980e397b8bbab9b0e7f1df44c7ea589ac43f1ad0f7bc5b45912c544b02 12:34:09 $ docker rm -f --volumes 9662e0980e397b8bbab9b0e7f1df44c7ea589ac43f1ad0f7bc5b45912c544b02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:34:09 + docker inspect -f . ci-base-image-arm64 12:34:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:34:10 prd-ubuntu20.04-docker-arm64-4c-16g-2826 does not seem to be running inside a container 12:34:10 $ 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 ******** ci-base-image-arm64 cat 12:34:11 $ docker top 5d722c6f49e71ba79cf0a90d255882bbf5c7b8aab3f7a8790f7479c5d6d8352a -eo pid,comm [Pipeline] { [Pipeline] sh 12:34:11 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:34:12 + make test 12:34:12 go test -race -coverprofile=coverage.out ./... 12:36:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:36:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:36:48 go vet ./... 12:39:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:39:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:39:10 ./bin/test-attribution-txt.sh [Pipeline] echo 12:39:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:39:10 $ docker stop --time=1 5d722c6f49e71ba79cf0a90d255882bbf5c7b8aab3f7a8790f7479c5d6d8352a 12:39:12 $ docker rm -f --volumes 5d722c6f49e71ba79cf0a90d255882bbf5c7b8aab3f7a8790f7479c5d6d8352a [Pipeline] // withDockerContainer [Pipeline] sh 12:39:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:39:14 Warning: overwriting stash ‘coverage-report’ 12:39:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:39:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:39:15 + ls -al . 12:39:15 total 176 12:39:15 drwxrwxr-x 7 jenkins jenkins 4096 Aug 3 12:34 . 12:39:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 12:31 .. 12:39:15 -rw-rw-r-- 1 jenkins jenkins 119 Aug 3 12:31 .dockerignore 12:39:15 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 12:31 .git 12:39:15 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 12:31 .github 12:39:15 -rw-rw-r-- 1 jenkins jenkins 171 Aug 3 12:31 .gitignore 12:39:15 -rw-rw-r-- 1 jenkins jenkins 41 Aug 3 12:31 .golangci.yml 12:39:15 -rw-rw-r-- 1 jenkins jenkins 9736 Aug 3 12:31 Attribution.txt 12:39:15 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 3 12:31 CHANGELOG.md 12:39:15 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 3 12:31 Dockerfile 12:39:15 -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 12:31 GOVERNANCE.md 12:39:15 -rw-rw-r-- 1 jenkins jenkins 688 Aug 3 12:31 Jenkinsfile 12:39:15 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 3 12:31 LICENSE 12:39:15 -rw-rw-r-- 1 jenkins jenkins 618 Aug 3 12:31 OWNERS.md 12:39:15 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 3 12:31 README.md 12:39:15 -rw-rw-r-- 1 jenkins jenkins 5 Aug 3 12:29 VERSION 12:39:15 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 12:31 bin 12:39:15 -rw-r--r-- 1 jenkins jenkins 13 Aug 3 12:34 coverage.out 12:39:15 -rw-rw-r-- 1 jenkins jenkins 3469 Aug 3 12:31 go.mod 12:39:15 -rw-rw-r-- 1 jenkins jenkins 32452 Aug 3 12:31 go.sum 12:39:15 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 3 12:31 main.go 12:39:15 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 3 12:31 makefile 12:39:15 drwxrwxr-x 9 jenkins jenkins 4096 Aug 3 12:31 res 12:39:15 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 12:31 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:15 + 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=f5b0c627a8d443713b6581c905939882a98e581f --label arch=arm64 --label version=0.0.0 . 12:39:15 Sending build context to Docker daemon 177.7kB 12:39:16 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:39:16 Step 2/26 : FROM ${BASE} AS builder 12:39:16 ---> b580db9229c1 12:39:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:39:16 ---> Running in 7c84748c65fb 12:39:16 Removing intermediate container 7c84748c65fb 12:39:16 ---> 50479f44f9dd 12:39:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:39:16 ---> Running in e1b3dbab8ffe 12:39:16 Removing intermediate container e1b3dbab8ffe 12:39:16 ---> 858411eab3a7 12:39:16 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:39:16 ---> Running in a8a0683c060a 12:39:17 Removing intermediate container a8a0683c060a 12:39:17 ---> 424bb6316bf9 12:39:17 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:39:17 ---> Running in 1fad1adc12bf 12:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:39:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:39:19 OK: 263 MiB in 53 packages 12:39:20 Removing intermediate container 1fad1adc12bf 12:39:20 ---> d6356b7041b7 12:39:20 Step 7/26 : WORKDIR /app 12:39:20 ---> Running in 4a3516e6a7d1 12:39:20 Removing intermediate container 4a3516e6a7d1 12:39:20 ---> a70337b43771 12:39:20 Step 8/26 : COPY go.mod vendor* ./ 12:39:22 ---> f597b272b7ea 12:39:22 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:39:23 ---> Running in c3794078c8b5 12:39:25 Removing intermediate container c3794078c8b5 12:39:25 ---> 7ca71f52a5bf 12:39:25 Step 10/26 : COPY . . 12:39:25 ---> 0b77dcb22d79 12:39:25 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:39:25 ---> Running in 308630c981ef 12:39:26 Removing intermediate container 308630c981ef 12:39:26 ---> fcd1cce12990 12:39:26 Step 12/26 : RUN $MAKE 12:39:26 ---> Running in 0d81e9875bb2 12:39:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.16 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:41:33 Removing intermediate container 0d81e9875bb2 12:41:33 ---> 2c4a1123d3a5 12:41:33 Step 13/26 : FROM alpine:3.17 12:41:33 3.17: Pulling from library/alpine 12:41:33 edb6bdbacee9: Already exists 12:41:33 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:41:33 Status: Downloaded newer image for alpine:3.17 12:41:33 ---> 779605e5fbc0 12:41:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:41:33 ---> Running in ab24cefc2b0b 12:41:33 Removing intermediate container ab24cefc2b0b 12:41:33 ---> 2c413084fdb4 12:41:33 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:41:33 ---> Running in 5a76cc734d40 12:41:33 Removing intermediate container 5a76cc734d40 12:41:33 ---> 842a3ce708cc 12:41:33 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:41:33 ---> Running in 50059dbb9f21 12:41:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:41:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:41:33 (1/2) Installing ca-certificates (20230506-r0) 12:41:33 (2/2) Installing dumb-init (1.2.5-r2) 12:41:33 Executing busybox-1.35.0-r29.trigger 12:41:33 Executing ca-certificates-20230506-r0.trigger 12:41:33 OK: 8 MiB in 17 packages 12:41:34 Removing intermediate container 50059dbb9f21 12:41:34 ---> a4a5b175c7b6 12:41:34 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:41:35 ---> a5d5f190100b 12:41:35 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:41:35 ---> 2c5646891474 12:41:35 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:41:36 ---> 786d9bfcaca4 12:41:36 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:41:37 ---> 0cc6b44c4a8e 12:41:37 Step 21/26 : EXPOSE 48095 12:41:37 ---> Running in 90d6f046766a 12:41:37 Removing intermediate container 90d6f046766a 12:41:37 ---> c9d810e82bd6 12:41:37 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:41:38 ---> Running in ca332f855d18 12:41:38 Removing intermediate container ca332f855d18 12:41:38 ---> 82bdabb38602 12:41:38 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:41:38 ---> Running in 81b42a6b5677 12:41:38 Removing intermediate container 81b42a6b5677 12:41:38 ---> f89bb4cece54 12:41:38 Step 24/26 : LABEL arch=arm64 12:41:38 ---> Running in c314a1332f5f 12:41:39 Removing intermediate container c314a1332f5f 12:41:39 ---> b54efefefa76 12:41:39 Step 25/26 : LABEL git_sha=f5b0c627a8d443713b6581c905939882a98e581f 12:41:39 ---> Running in 46314fe1d4d4 12:41:39 Removing intermediate container 46314fe1d4d4 12:41:39 ---> 276f1d57069d 12:41:39 Step 26/26 : LABEL version=0.0.0 12:41:39 ---> Running in 5d81bae6e7f8 12:41:39 Removing intermediate container 5d81bae6e7f8 12:41:39 ---> 295fe836f058 12:41:39 [Warning] One or more build-args [ARCH] were not consumed 12:41:39 Successfully built 295fe836f058 12:41:39 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:41:40 12:41:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:41:41 arm64: Pulling from edgex-lftools-log-publisher 12:41:41 8998bd30e6a1: Pulling fs layer 12:41:41 04944245beec: Pulling fs layer 12:41:41 699f458cf7ca: Pulling fs layer 12:41:41 765212b225bb: Pulling fs layer 12:41:41 f23df028b6ca: Pulling fs layer 12:41:41 d65c8cfc05b1: Pulling fs layer 12:41:41 2437ff75d9bd: Pulling fs layer 12:41:41 f23df028b6ca: Waiting 12:41:41 d65c8cfc05b1: Waiting 12:41:41 2437ff75d9bd: Waiting 12:41:41 765212b225bb: Waiting 12:41:41 04944245beec: Verifying Checksum 12:41:41 04944245beec: Download complete 12:41:41 765212b225bb: Verifying Checksum 12:41:41 765212b225bb: Download complete 12:41:41 f23df028b6ca: Download complete 12:41:41 d65c8cfc05b1: Verifying Checksum 12:41:41 d65c8cfc05b1: Download complete 12:41:41 699f458cf7ca: Verifying Checksum 12:41:41 699f458cf7ca: Download complete 12:41:41 8998bd30e6a1: Verifying Checksum 12:41:41 8998bd30e6a1: Download complete 12:41:44 2437ff75d9bd: Verifying Checksum 12:41:44 2437ff75d9bd: Download complete 12:41:46 8998bd30e6a1: Pull complete 12:41:49 04944245beec: Pull complete 12:41:50 699f458cf7ca: Pull complete 12:41:51 765212b225bb: Pull complete 12:41:51 f23df028b6ca: Pull complete 12:41:51 d65c8cfc05b1: Pull complete 12:42:06 2437ff75d9bd: Pull complete 12:42:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:42:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:42:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:42:07 prd-ubuntu20.04-docker-arm64-4c-16g-2826 does not seem to be running inside a container 12:42:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:42:09 $ docker top 72b846dc9ce2ab41d5867e531babe07722e625cdc403cf8aa53aa71717e75ddf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:42:10 ---> job-cost.sh 12:42:10 lf-activate-venv: SKIPPING 12:42:10 INFO: No Stack... 12:42:10 INFO: Retrieving Pricing Info for: v3-standard-4 12:42:11 INFO: Archiving Costs [Pipeline] sh 12:42:12 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:42:12 + cut -d, -f6 [Pipeline] lock 12:42:12 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-583-1-stack-cost] 12:42:12 Resource [jenkins-edgexfoundry-app-service-configurable-PR-583-1-stack-cost] did not exist. Created. 12:42:12 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-583-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:42:12 /w/workspace/app-service-configurable/1@tmp/durable-fe943a23/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:42:13 + echo total: 0.10999999940395355 [Pipeline] stash 12:42:13 Warning: overwriting stash ‘stack-cost’ 12:42:13 Stashed 1 file(s) [Pipeline] } 12:42:13 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-583-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:42:13 $ docker stop --time=1 72b846dc9ce2ab41d5867e531babe07722e625cdc403cf8aa53aa71717e75ddf 12:42:14 $ docker rm -f --volumes 72b846dc9ce2ab41d5867e531babe07722e625cdc403cf8aa53aa71717e75ddf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:42:15 provisioning config files... 12:42:15 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-583@tmp/config14270035445069158480tmp [Pipeline] { [Pipeline] sh 12:42:16 + set +x 12:42:16 + curl -s https://codecov.io/bash 12:42:16 + bash -s -- 12:42:16 12:42:16 _____ _ 12:42:16 / ____| | | 12:42:16 | | ___ __| | ___ ___ _____ __ 12:42:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:42:16 | |___| (_) | (_| | __/ (_| (_) \ V / 12:42:16 \_____\___/ \__,_|\___|\___\___/ \_/ 12:42:16 Bash-1.0.6 12:42:16 12:42:16 12:42:16 ==> git version 2.25.1 found 12:42:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:42:16 Release-Date: 2020-01-08 12:42:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:42:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:42:16 ==> Jenkins CI detected. 12:42:16 current dir:  /w/workspace/_app-service-configurable_PR-583 12:42:16 project root: . 12:42:16 --> token set from env 12:42:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:42:16 ==> Running gcov in . (disable via -X gcov) 12:42:16 ==> Python coveragepy not found 12:42:16 ==> Searching for coverage reports in: 12:42:16 + . 12:42:16 -> Found 1 reports 12:42:16 ==> Detecting git/mercurial file structure 12:42:16 ==> Reading reports 12:42:16 + ./coverage.out bytes=13 12:42:16 ==> Appending adjustments 12:42:16 https://docs.codecov.io/docs/fixing-reports 12:42:16 + Found adjustments 12:42:16 ==> Gzipping contents 12:42:16 4.0K /tmp/codecov.ltNp5n.gz 12:42:16 ==> Uploading reports 12:42:16 url: https://codecov.io 12:42:16 query: branch=PR-583&commit=f5b0c627a8d443713b6581c905939882a98e581f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-583%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=583&job=&cmd_args= 12:42:16 -> Pinging Codecov 12:42:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-583&commit=f5b0c627a8d443713b6581c905939882a98e581f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-583%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=583&job=&cmd_args= 12:42:16 -> Uploading to 12:42:16 https://storage.googleapis.com/codecov/v4/raw/2023-08-03/A97CA9966030D2A3747ED39772930CCE/f5b0c627a8d443713b6581c905939882a98e581f/40db4ca5-4c74-4b0e-bd92-18dbab15ad58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230803%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230803T124216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e0d33e545048a19cb4dab05ebf5ce5048a8bfa8f841f2aaf9f5f9bcbde8ae04 12:42:16 % Total % Received % Xferd Average Speed Time Time Time Current 12:42:16 Dload Upload Total Spent Left Speed 12:42:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2145 --:--:-- --:--:-- --:--:-- 2145 12:42:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/f5b0c627a8d443713b6581c905939882a98e581f [Pipeline] } 12:42:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:42:18 + [ -d /w/workspace/_app-service-configurable_PR-583/archives ] 12:42:18 + ls -al /w/workspace/_app-service-configurable_PR-583/archives 12:42:18 total 16 12:42:18 drwxr-xr-x 3 root root 4096 Aug 3 12:32 . 12:42:18 drwxrwxr-x 9 jenkins jenkins 4096 Aug 3 12:32 .. 12:42:18 drwxr-xr-x 2 root root 4096 Aug 3 12:32 cost 12:42:18 -rw-r--r-- 1 root root 96 Aug 3 12:32 cost.csv 12:42:18 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-583/archives 12:42:18 + ls -al /w/workspace/_app-service-configurable_PR-583/archives 12:42:18 total 16 12:42:18 drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 12:32 . 12:42:18 drwxrwxr-x 9 jenkins jenkins 4096 Aug 3 12:32 .. 12:42:18 drwxr-xr-x 2 jenkins jenkins 4096 Aug 3 12:32 cost 12:42:18 -rw-r--r-- 1 jenkins jenkins 96 Aug 3 12:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:42:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:42:19 ---> package-listing.sh 12:42:19 ++ tr '[:upper:]' '[:lower:]' 12:42:19 ++ facter osfamily 12:42:19 + OS_FAMILY=debian 12:42:19 + workspace=/w/workspace/_app-service-configurable_PR-583 12:42:19 + START_PACKAGES=/tmp/packages_start.txt 12:42:19 + END_PACKAGES=/tmp/packages_end.txt 12:42:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:42:19 + PACKAGES=/tmp/packages_start.txt 12:42:19 + '[' /w/workspace/_app-service-configurable_PR-583 ']' 12:42:19 + PACKAGES=/tmp/packages_end.txt 12:42:19 + case "${OS_FAMILY}" in 12:42:19 + dpkg -l 12:42:19 + grep '^ii' 12:42:19 + '[' -f /tmp/packages_start.txt ']' 12:42:19 + '[' -f /tmp/packages_end.txt ']' 12:42:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:42:19 + '[' /w/workspace/_app-service-configurable_PR-583 ']' 12:42:19 + mkdir -p /w/workspace/_app-service-configurable_PR-583/archives/ 12:42:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-583/archives/ [Pipeline] echo 12:42:20 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-583/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:42:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:42:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:42:21 prd-ubuntu20.04-docker-8c-8g-2825 does not seem to be running inside a container 12:42:21 $ 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-583/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-583 -v /w/workspace/_app-service-configurable_PR-583:/w/workspace/_app-service-configurable_PR-583:rw,z -v /w/workspace/_app-service-configurable_PR-583@tmp:/w/workspace/_app-service-configurable_PR-583@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:42:21 $ docker top b4a096fab50c6756c4984fba805b41848beb274a8072d8ab19a1a1cbd5bf4230 -eo pid,comm [Pipeline] { [Pipeline] sh 12:42:21 + touch /tmp/pre-build-complete [Pipeline] sh 12:42:22 + mkdir -p /var/log/sysstat [Pipeline] sh 12:42:22 + ls /var/log/sa-host 12:42:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:42:22 provisioning config files... 12:42:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-583@tmp/config665327570094793399tmp [Pipeline] { [Pipeline] echo 12:42:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:42:22 ---> create-netrc.sh [Pipeline] } 12:42:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:42:23 ---> python-tools-install.sh [Pipeline] echo 12:42:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:42:23 ---> sudo-logs.sh 12:42:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:42:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:42:24 ---> job-cost.sh 12:42:24 lf-activate-venv: SKIPPING 12:42:24 DEBUG: total: 0.2199999988079071 12:42:24 INFO: Retrieving Stack Cost... 12:42:24 INFO: Retrieving Pricing Info for: v3-standard-8 12:42:24 INFO: Archiving Costs [Pipeline] echo 12:42:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:42:25 ---> logs-deploy.sh 12:42:25 lf-activate-venv: SKIPPING 12:42:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-583/1 12:42:25 INFO: archiving workspace using pattern(s): 12:42:26 Archives upload complete. 12:42:26 INFO: archiving logs to Nexus