Pull request #580 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a8f95546a7291fc86a4a358490460530b3d76c6c+c5f9822de111f2ad008e04cca8702a7116aaeba8 (93a6e6cb37f2780880605c3eb5ad603ae175c329) 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-ssh2295012167295433960.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-ssh4177779171099244707.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-580/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-580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8963425703193204827.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-580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6290797167404100772.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-ssh4053976665069975860.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-580/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-580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14483976035780588851.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-2367 in /w/workspace/_app-service-configurable_PR-580 [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-580 # 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/580/head:refs/remotes/origin/PR-580 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c5f9822de111f2ad008e04cca8702a7116aaeba8 into PR head commit a8f95546a7291fc86a4a358490460530b3d76c6c Merge succeeded, producing a8f95546a7291fc86a4a358490460530b3d76c6c Checking out Revision a8f95546a7291fc86a4a358490460530b3d76c6c (PR-580) 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:20:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f a8f95546a7291fc86a4a358490460530b3d76c6c # 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 c5f9822de111f2ad008e04cca8702a7116aaeba8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8f95546a7291fc86a4a358490460530b3d76c6c # timeout=10 [Pipeline] withCredentials 12:20:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:20:50 ========================================================= 12:20:50 EdgeX Global Pipelines Version Info 12:20:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:20:51 ------------------- 12:20:51 stable info: 12:20:51 ------------------- 12:20:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:20:51 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:20:51 Message: update stable to v1.0.250 12:20:52 ------------------- 12:20:52 experimental info: 12:20:52 ------------------- 12:20:52 Commited By: **** collab-it+edgex@linuxfoundation.org 12:20:52 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:20:52 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:20:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:20:52 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:20:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:20:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:20:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:20:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:20:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-580 [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-580 [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-580 [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8f95546a7291fc86a4a358490460530b3d76c6c [Pipeline] echo 12:20:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8f9554 [Pipeline] echo 12:20:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:20:54 provisioning config files... 12:20:54 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-580@tmp/config13983393258008331362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:20:54 ---> docker-login.sh 12:20:54 nexus3.edgexfoundry.org:10001 12:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:54 Configure a credential helper to remove this warning. See 12:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:54 12:20:54 Login Succeeded 12:20:54 nexus3.edgexfoundry.org:10002 12:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:55 Configure a credential helper to remove this warning. See 12:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:55 12:20:55 Login Succeeded 12:20:55 nexus3.edgexfoundry.org:10003 12:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:55 Configure a credential helper to remove this warning. See 12:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:55 12:20:55 Login Succeeded 12:20:55 nexus3.edgexfoundry.org:10004 12:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:55 Configure a credential helper to remove this warning. See 12:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:55 12:20:55 Login Succeeded 12:20:55 docker.io 12:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:55 Configure a credential helper to remove this warning. See 12:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:55 12:20:55 Login Succeeded 12:20:55 ---> docker-login.sh ends [Pipeline] } 12:20:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:20:56 + git rev-list -1 --merges a8f95546a7291fc86a4a358490460530b3d76c6c~1..a8f95546a7291fc86a4a358490460530b3d76c6c [Pipeline] echo 12:20:56 -----------> git rev-list -1 --merges a8f95546a7291fc86a4a358490460530b3d76c6c~1..a8f95546a7291fc86a4a358490460530b3d76c6c a8f95546a7291fc86a4a358490460530b3d76c6c [false] [Pipeline] sh 12:20:56 + git log --format=format:%s -1 a8f95546a7291fc86a4a358490460530b3d76c6c [Pipeline] echo 12:20:56 ========================================================= 12:20:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:20:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:20:56 + git log --format=format:%s -1 a8f95546a7291fc86a4a358490460530b3d76c6c [Pipeline] echo 12:20:57 [semverPrep] GIT_COMMIT: a8f95546a7291fc86a4a358490460530b3d76c6c, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:20:57 [semverPrep] This is not a build commit. [Pipeline] sh 12:20:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:20:57 + grep -v github /etc/ssh/ssh_known_hosts 12:20:57 + [ -e /tmp/ssh_known_hosts ] 12:20:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:20:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:20:57 + sudo tee -a /etc/ssh/ssh_known_hosts 12:20:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:57 12:20:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:58 0.1.4: Pulling from edgex-devops/py-git-semver 12:20:58 b85a868b505f: Pulling fs layer 12:20:58 e2be974225ed: Pulling fs layer 12:20:58 339a4e72a1f5: Pulling fs layer 12:20:58 988bab9f4d93: Pulling fs layer 12:20:58 1469e6f7b9e6: Pulling fs layer 12:20:58 eaf3925da568: Pulling fs layer 12:20:58 bab4dde63d76: Pulling fs layer 12:20:58 bde34c3a00c8: Pulling fs layer 12:20:58 b352a97aabf1: Pulling fs layer 12:20:58 4872d77fe225: Pulling fs layer 12:20:58 5851b861e8e6: Pulling fs layer 12:20:58 eaf3925da568: Waiting 12:20:58 bab4dde63d76: Waiting 12:20:58 bde34c3a00c8: Waiting 12:20:58 b352a97aabf1: Waiting 12:20:58 4872d77fe225: Waiting 12:20:58 5851b861e8e6: Waiting 12:20:58 988bab9f4d93: Waiting 12:20:58 1469e6f7b9e6: Waiting 12:20:58 e2be974225ed: Download complete 12:20:58 988bab9f4d93: Verifying Checksum 12:20:58 988bab9f4d93: Download complete 12:20:58 1469e6f7b9e6: Verifying Checksum 12:20:58 1469e6f7b9e6: Download complete 12:20:58 339a4e72a1f5: Verifying Checksum 12:20:58 339a4e72a1f5: Download complete 12:20:58 eaf3925da568: Verifying Checksum 12:20:58 eaf3925da568: Download complete 12:20:58 bde34c3a00c8: Download complete 12:20:58 b352a97aabf1: Download complete 12:20:58 4872d77fe225: Verifying Checksum 12:20:58 4872d77fe225: Download complete 12:20:58 5851b861e8e6: Download complete 12:20:58 b85a868b505f: Verifying Checksum 12:20:58 b85a868b505f: Download complete 12:20:58 bab4dde63d76: Verifying Checksum 12:20:58 bab4dde63d76: Download complete 12:20:59 b85a868b505f: Pull complete 12:21:00 e2be974225ed: Pull complete 12:21:00 339a4e72a1f5: Pull complete 12:21:00 988bab9f4d93: Pull complete 12:21:00 1469e6f7b9e6: Pull complete 12:21:00 eaf3925da568: Pull complete 12:21:02 bab4dde63d76: Pull complete 12:21:02 bde34c3a00c8: Pull complete 12:21:03 b352a97aabf1: Pull complete 12:21:03 4872d77fe225: Pull complete 12:21:03 5851b861e8e6: Pull complete 12:21:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:21:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:21:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:21:03 prd-ubuntu20.04-docker-8c-8g-2367 does not seem to be running inside a container 12:21:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-580 -v /w/workspace/_app-service-configurable_PR-580:/w/workspace/_app-service-configurable_PR-580:rw,z -v /w/workspace/_app-service-configurable_PR-580@tmp:/w/workspace/_app-service-configurable_PR-580@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:21:06 $ docker top 738fe02fe039eef689f6caff595f422f7c65f7da6e4496f8146537346e2baf11 -eo pid,comm 12:21:06 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:21:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:21:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:21:06 [ssh-agent] Looking for ssh-agent implementation... 12:21:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:21:06 $ docker exec 738fe02fe039eef689f6caff595f422f7c65f7da6e4496f8146537346e2baf11 ssh-agent 12:21:06 SSH_AUTH_SOCK=/tmp/ssh-pbYuN2Z8SxE5/agent.32 12:21:06 SSH_AGENT_PID=38 12:21:06 Running ssh-add (command line suppressed) 12:21:06 Identity added: /w/workspace/_app-service-configurable_PR-580@tmp/private_key_7216083682379425929.key (/w/workspace/_app-service-configurable_PR-580@tmp/private_key_7216083682379425929.key) 12:21:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:21:07 + git tag --points-at HEAD [Pipeline] } 12:21:07 $ docker exec --env ******** --env ******** 738fe02fe039eef689f6caff595f422f7c65f7da6e4496f8146537346e2baf11 ssh-agent -k 12:21:07 unset SSH_AUTH_SOCK; 12:21:07 unset SSH_AGENT_PID; 12:21:07 echo Agent pid 38 killed; 12:21:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:21:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:21:07 [ssh-agent] Looking for ssh-agent implementation... 12:21:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:21:07 $ docker exec 738fe02fe039eef689f6caff595f422f7c65f7da6e4496f8146537346e2baf11 ssh-agent 12:21:07 SSH_AUTH_SOCK=/tmp/ssh-Fd5CHZEL2mqS/agent.71 12:21:07 SSH_AGENT_PID=77 12:21:07 Running ssh-add (command line suppressed) 12:21:07 Identity added: /w/workspace/_app-service-configurable_PR-580@tmp/private_key_15560230739105849601.key (/w/workspace/_app-service-configurable_PR-580@tmp/private_key_15560230739105849601.key) 12:21:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:21:08 + git semver init 12:21:08 2023-07-27 12:21:08,247 [run_init] DEBUG init version:0.0.0 force:False 12:21:08 2023-07-27 12:21:08,248 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-580/.semver 12:21:08 2023-07-27 12:21:08,248 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-580/.semver 12:21:08 2023-07-27 12:21:08,248 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-580/.semver'], cwd=/w/workspace/_app-service-configurable_PR-580, universal_newlines=False, shell=None, istream=None) 12:21:09 2023-07-27 12:21:09,181 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-580/.git/info/exclude 12:21:09 2023-07-27 12:21:09,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-580/.semver/PR-580 with force:False 12:21:09 2023-07-27 12:21:09,182 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-580/.semver/PR-580 12:21:09 2023-07-27 12:21:09,185 [execute] INFO git cat-file --batch-check 12:21:09 2023-07-27 12:21:09,186 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-580/.semver, universal_newlines=False, shell=None, istream=) 12:21:09 2023-07-27 12:21:09,192 [execute] INFO git cat-file --batch 12:21:09 2023-07-27 12:21:09,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-580/.semver, universal_newlines=False, shell=None, istream=) 12:21:09 2023-07-27 12:21:09,199 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-580/.semver/PR-580 12:21:09 0.0.0 [Pipeline] } 12:21:09 $ docker exec --env ******** --env ******** 738fe02fe039eef689f6caff595f422f7c65f7da6e4496f8146537346e2baf11 ssh-agent -k 12:21:09 unset SSH_AUTH_SOCK; 12:21:09 unset SSH_AGENT_PID; 12:21:09 echo Agent pid 77 killed; 12:21:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:21:10 + git semver [Pipeline] } 12:21:10 $ docker stop --time=1 738fe02fe039eef689f6caff595f422f7c65f7da6e4496f8146537346e2baf11 12:21:11 $ docker rm -f --volumes 738fe02fe039eef689f6caff595f422f7c65f7da6e4496f8146537346e2baf11 [Pipeline] // withDockerContainer [Pipeline] sh 12:21:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:21:12 Stashed 1 file(s) [Pipeline] echo 12:21:12 [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:21:13 provisioning config files... 12:21:13 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-580@tmp/config7158771127506239708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:21:13 ---> docker-login.sh 12:21:13 nexus3.edgexfoundry.org:10001 12:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:13 Configure a credential helper to remove this warning. See 12:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:13 12:21:13 Login Succeeded 12:21:13 nexus3.edgexfoundry.org:10002 12:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:13 Configure a credential helper to remove this warning. See 12:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:13 12:21:13 Login Succeeded 12:21:13 nexus3.edgexfoundry.org:10003 12:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:14 Configure a credential helper to remove this warning. See 12:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:14 12:21:14 Login Succeeded 12:21:14 nexus3.edgexfoundry.org:10004 12:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:14 Configure a credential helper to remove this warning. See 12:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:14 12:21:14 Login Succeeded 12:21:14 docker.io 12:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:14 Configure a credential helper to remove this warning. See 12:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:14 12:21:14 Login Succeeded 12:21:14 ---> docker-login.sh ends [Pipeline] } 12:21:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:21:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:21:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:21:14 ========================================================= 12:21:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:21:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:15 + 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:21:15 Sending build context to Docker daemon 3.314MB 12:21:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:21:15 Step 2/12 : FROM ${BASE} AS builder 12:21:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:21:15 4db1b89c0bd1: Pulling fs layer 12:21:15 6911f1a30b25: Pulling fs layer 12:21:15 e194b8c5c2a9: Pulling fs layer 12:21:15 6863d3e3a2b1: Pulling fs layer 12:21:15 ec0bb842ea78: Pulling fs layer 12:21:15 40a00589a448: Pulling fs layer 12:21:15 6c08303d61cc: Pulling fs layer 12:21:15 798269fcf238: Pulling fs layer 12:21:15 6863d3e3a2b1: Waiting 12:21:15 40a00589a448: Waiting 12:21:15 ec0bb842ea78: Waiting 12:21:15 6c08303d61cc: Waiting 12:21:15 6911f1a30b25: Download complete 12:21:15 6863d3e3a2b1: Download complete 12:21:15 ec0bb842ea78: Download complete 12:21:15 4db1b89c0bd1: Verifying Checksum 12:21:15 4db1b89c0bd1: Download complete 12:21:15 40a00589a448: Verifying Checksum 12:21:15 40a00589a448: Download complete 12:21:15 4db1b89c0bd1: Pull complete 12:21:15 6911f1a30b25: Pull complete 12:21:16 798269fcf238: Verifying Checksum 12:21:16 798269fcf238: Download complete 12:21:16 e194b8c5c2a9: Verifying Checksum 12:21:16 e194b8c5c2a9: Download complete 12:21:16 6c08303d61cc: Verifying Checksum 12:21:16 6c08303d61cc: Download complete 12:21:19 e194b8c5c2a9: Pull complete 12:21:19 6863d3e3a2b1: Pull complete 12:21:19 ec0bb842ea78: Pull complete 12:21:19 40a00589a448: Pull complete 12:21:22 6c08303d61cc: Pull complete 12:21:23 798269fcf238: Pull complete 12:21:23 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:21:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:21:23 ---> ec979cd7f677 12:21:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:21:27 ---> Running in 436f9fa354f4 12:21:27 Removing intermediate container 436f9fa354f4 12:21:27 ---> e5612180ff1f 12:21:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:21:27 ---> Running in 58c0ac63dcbc 12:21:27 Removing intermediate container 58c0ac63dcbc 12:21:27 ---> e6d0f736fa1f 12:21:27 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:21:27 ---> Running in 441a49eac434 12:21:27 Removing intermediate container 441a49eac434 12:21:27 ---> f49ca4d0e509 12:21:27 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:21:27 ---> Running in 6f9ef8a442be 12:21:28 Still waiting to schedule task 12:21:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:21:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:21:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:21:28 OK: 265 MiB in 53 packages 12:21:28 Removing intermediate container 6f9ef8a442be 12:21:28 ---> b5a2a0b09cc1 12:21:28 Step 7/12 : WORKDIR /app 12:21:28 ---> Running in 97b5e68aca1e 12:21:28 Removing intermediate container 97b5e68aca1e 12:21:28 ---> e7284b63706f 12:21:28 Step 8/12 : COPY go.mod vendor* ./ 12:21:29 ---> 32d01631e9bf 12:21:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:21:29 ---> Running in 95312bfa2412 12:22:25 Removing intermediate container 95312bfa2412 12:22:25 ---> 9a20e770c3ac 12:22:25 Step 10/12 : COPY . . 12:22:25 ---> 92feea0bc119 12:22:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:22:25 ---> Running in ec3054b2b642 12:22:25 Removing intermediate container ec3054b2b642 12:22:25 ---> 574d7d3bf6c8 12:22:25 Step 12/12 : RUN $MAKE 12:22:25 ---> Running in bd76181eaf05 12:22:25 noop 12:22:25 Removing intermediate container bd76181eaf05 12:22:25 ---> caf93f1cc8a9 12:22:25 Successfully built caf93f1cc8a9 12:22:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:25 + docker inspect -f . ci-base-image-x86_64 12:22:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:25 prd-ubuntu20.04-docker-8c-8g-2367 does not seem to be running inside a container 12:22:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-580 -v /w/workspace/_app-service-configurable_PR-580:/w/workspace/_app-service-configurable_PR-580:rw,z -v /w/workspace/_app-service-configurable_PR-580@tmp:/w/workspace/_app-service-configurable_PR-580@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:22:26 $ docker top a572074e60c2d5c21b95c30fd386b7b534898951691c3821d7c3df1fd4fb952b -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:26 + go version 12:22:26 go version go1.20.6 linux/amd64 [Pipeline] } 12:22:26 $ docker stop --time=1 a572074e60c2d5c21b95c30fd386b7b534898951691c3821d7c3df1fd4fb952b 12:22:28 $ docker rm -f --volumes a572074e60c2d5c21b95c30fd386b7b534898951691c3821d7c3df1fd4fb952b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:28 + docker inspect -f . ci-base-image-x86_64 12:22:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:28 prd-ubuntu20.04-docker-8c-8g-2367 does not seem to be running inside a container 12:22:28 $ 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-580 -v /w/workspace/_app-service-configurable_PR-580:/w/workspace/_app-service-configurable_PR-580:rw,z -v /w/workspace/_app-service-configurable_PR-580@tmp:/w/workspace/_app-service-configurable_PR-580@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:22:29 $ docker top 0f6f01a7ab3840213348f33f89a5be9fdd38dca1ebca78acba621c47f9e2ceb3 -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:29 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-580 [Pipeline] fileExists [Pipeline] sh 12:22:29 + make test 12:22:29 go test -race -coverprofile=coverage.out ./... 12:22:51 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:22:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2368 in /w/workspace/_app-service-configurable_PR-580 [Pipeline] { [Pipeline] ws 12:22:56 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:22:56 Selected Git installation does not exist. Using Default 12:22:56 The recommended git tool is: NONE 12:23:01 using credential edgex-jenkins-ssh 12:23:01 Cloning the remote Git repository 12:23:01 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:23:01 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:23:01 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:23:01 > git --version # timeout=10 12:23:01 > git --version # 'git version 2.25.1' 12:23:01 using GIT_SSH to set credentials SSH Credentials for GitHub 12:23:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:23:02 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:23:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:23:03 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:23:03 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:23:03 using GIT_SSH to set credentials SSH Credentials for GitHub 12:23:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/580/head:refs/remotes/origin/PR-580 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:23:04 Merging remotes/origin/main commit c5f9822de111f2ad008e04cca8702a7116aaeba8 into PR head commit a8f95546a7291fc86a4a358490460530b3d76c6c 12:23:04 Merge succeeded, producing a8f95546a7291fc86a4a358490460530b3d76c6c 12:23:04 Checking out Revision a8f95546a7291fc86a4a358490460530b3d76c6c (PR-580) 12:23:05 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:23:05 > git --version # timeout=10 12:23:05 > git --version # 'git version 2.25.1' 12:23:05 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:23:04 > git config core.sparsecheckout # timeout=10 12:23:04 > git checkout -f a8f95546a7291fc86a4a358490460530b3d76c6c # timeout=10 12:23:04 > git remote # timeout=10 12:23:04 > git config --get remote.origin.url # timeout=10 12:23:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:23:04 > git merge c5f9822de111f2ad008e04cca8702a7116aaeba8 # timeout=10 12:23:04 > git rev-parse HEAD^{commit} # timeout=10 12:23:04 > git config core.sparsecheckout # timeout=10 12:23:04 > git checkout -f a8f95546a7291fc86a4a358490460530b3d76c6c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:23:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:23:06 % Total % Received % Xferd Average Speed Time Time Time Current 12:23:06 Dload Upload Total Spent Left Speed 12:23:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70838 0 --:--:-- --:--:-- --:--:-- 70838 [Pipeline] sh 12:23:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:23:07 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 12:23:07 /etc/docker/daemon.new 12:23:07 { 12:23:07 "registry-mirrors": [ 12:23:07 "https://nexus3.edgexfoundry.org:10001" 12:23:07 ], 12:23:07 "bip": "10.250.0.254/24", 12:23:07 "hosts": [ 12:23:07 "tcp://0.0.0.0:5555", 12:23:07 "unix:///var/run/docker.sock" 12:23:07 ], 12:23:07 "mtu": 1458, 12:23:07 "selinux-enabled": true, 12:23:07 "seccomp-profile": "/etc/docker/seccomp.json" 12:23:07 } [Pipeline] sh 12:23:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:23:08 + sudo service docker restart 12:23:10 go vet ./... 12:23:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:23:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:23:14 ./bin/test-attribution-txt.sh [Pipeline] echo 12:23:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:23:14 $ docker stop --time=1 0f6f01a7ab3840213348f33f89a5be9fdd38dca1ebca78acba621c47f9e2ceb3 12:23:19 $ docker rm -f --volumes 0f6f01a7ab3840213348f33f89a5be9fdd38dca1ebca78acba621c47f9e2ceb3 [Pipeline] // withDockerContainer [Pipeline] sh 12:23:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:23:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:23:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:23:21 + ls -al . 12:23:21 total 180 12:23:21 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 12:22 . 12:23:21 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 12:20 .. 12:23:21 -rw-rw-r-- 1 jenkins jenkins 119 Jul 27 12:20 .dockerignore 12:23:21 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 12:21 .git 12:23:21 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 12:20 .github 12:23:21 -rw-rw-r-- 1 jenkins jenkins 171 Jul 27 12:20 .gitignore 12:23:21 -rw-rw-r-- 1 jenkins jenkins 41 Jul 27 12:20 .golangci.yml 12:23:21 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 12:21 .semver 12:23:21 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 27 12:20 Attribution.txt 12:23:21 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 27 12:20 CHANGELOG.md 12:23:21 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 27 12:20 Dockerfile 12:23:21 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 12:20 GOVERNANCE.md 12:23:21 -rw-rw-r-- 1 jenkins jenkins 688 Jul 27 12:20 Jenkinsfile 12:23:21 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 27 12:20 LICENSE 12:23:21 -rw-rw-r-- 1 jenkins jenkins 618 Jul 27 12:20 OWNERS.md 12:23:21 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 27 12:20 README.md 12:23:21 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 12:21 VERSION 12:23:21 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 12:20 bin 12:23:21 -rw-r--r-- 1 jenkins jenkins 13 Jul 27 12:22 coverage.out 12:23:21 -rw-rw-r-- 1 jenkins jenkins 3469 Jul 27 12:20 go.mod 12:23:21 -rw-rw-r-- 1 jenkins jenkins 32452 Jul 27 12:20 go.sum 12:23:21 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 27 12:20 main.go 12:23:21 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 27 12:20 makefile 12:23:21 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 12:20 res 12:23:21 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 12:20 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:21 + 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=a8f95546a7291fc86a4a358490460530b3d76c6c --label arch=amd64 --label version=0.0.0 . 12:23:21 Sending build context to Docker daemon 3.315MB 12:23:21 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:23:21 Step 2/26 : FROM ${BASE} AS builder 12:23:21 ---> caf93f1cc8a9 12:23:21 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:23:22 ---> Running in 7be43a973ce0 12:23:22 Removing intermediate container 7be43a973ce0 12:23:22 ---> 7a8471cec0dc 12:23:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:23:22 ---> Running in 46897a1afc22 12:23:22 Removing intermediate container 46897a1afc22 12:23:22 ---> ce34d250a2b4 12:23:22 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:23:22 ---> Running in b4054a5ea4a9 12:23:22 Removing intermediate container b4054a5ea4a9 12:23:22 ---> f6d8d91dd6f7 12:23:22 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:23:22 ---> Running in bf8f321169cf 12:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:23:23 OK: 265 MiB in 53 packages 12:23:23 Removing intermediate container bf8f321169cf 12:23:23 ---> fa1c2b831b75 12:23:23 Step 7/26 : WORKDIR /app 12:23:23 ---> Running in 5c373926b6ad 12:23:23 Removing intermediate container 5c373926b6ad 12:23:23 ---> 28e24422ab26 12:23:23 Step 8/26 : COPY go.mod vendor* ./ 12:23:23 ---> 2033f5255f96 12:23:23 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:23:23 ---> Running in ada7f2737af0 12:23:24 Removing intermediate container ada7f2737af0 12:23:24 ---> aef17d282632 12:23:24 Step 10/26 : COPY . . 12:23:24 ---> ac3cce437edc 12:23:24 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:23:24 ---> Running in 4302a7797a01 12:23:24 Removing intermediate container 4302a7797a01 12:23:24 ---> 5285c132b5e7 12:23:24 Step 12/26 : RUN $MAKE 12:23:24 ---> Running in 38650c0fe35a 12:23:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.13 -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:23:26 provisioning config files... 12:23:26 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config5462775073651045281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:26 ---> docker-login.sh 12:23:26 nexus3.edgexfoundry.org:10001 12:23:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:27 Configure a credential helper to remove this warning. See 12:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:27 12:23:27 Login Succeeded 12:23:27 nexus3.edgexfoundry.org:10002 12:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:27 Configure a credential helper to remove this warning. See 12:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:27 12:23:27 Login Succeeded 12:23:27 nexus3.edgexfoundry.org:10003 12:23:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:27 Configure a credential helper to remove this warning. See 12:23:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:27 12:23:27 Login Succeeded 12:23:27 nexus3.edgexfoundry.org:10004 12:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:28 Configure a credential helper to remove this warning. See 12:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:28 12:23:28 Login Succeeded 12:23:28 docker.io 12:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:28 Configure a credential helper to remove this warning. See 12:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:28 12:23:28 Login Succeeded 12:23:28 ---> docker-login.sh ends [Pipeline] } 12:23:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:23:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:23:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:23:29 ========================================================= 12:23:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:23:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:29 + 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:23:29 Sending build context to Docker daemon 176.1kB 12:23:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:23:30 Step 2/12 : FROM ${BASE} AS builder 12:23:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:23:30 edb6bdbacee9: Pulling fs layer 12:23:30 5f9638ab2659: Pulling fs layer 12:23:30 8d51d6327a98: Pulling fs layer 12:23:30 8b374f2dd631: Pulling fs layer 12:23:30 ec14aa9079de: Pulling fs layer 12:23:30 2f466654f4bb: Pulling fs layer 12:23:30 554e91adad29: Pulling fs layer 12:23:30 8b374f2dd631: Waiting 12:23:30 ec14aa9079de: Waiting 12:23:30 2f466654f4bb: Waiting 12:23:30 554e91adad29: Waiting 12:23:30 5f9638ab2659: Verifying Checksum 12:23:30 5f9638ab2659: Download complete 12:23:30 8b374f2dd631: Verifying Checksum 12:23:30 8b374f2dd631: Download complete 12:23:30 ec14aa9079de: Verifying Checksum 12:23:30 ec14aa9079de: Download complete 12:23:30 edb6bdbacee9: Verifying Checksum 12:23:30 edb6bdbacee9: Download complete 12:23:31 edb6bdbacee9: Pull complete 12:23:31 554e91adad29: Verifying Checksum 12:23:31 554e91adad29: Download complete 12:23:32 8d51d6327a98: Verifying Checksum 12:23:32 8d51d6327a98: Download complete 12:23:32 2f466654f4bb: Verifying Checksum 12:23:35 5f9638ab2659: Pull complete 12:23:47 Removing intermediate container 38650c0fe35a 12:23:47 ---> 3af162ed2115 12:23:47 Step 13/26 : FROM alpine:3.17 12:23:47 3.17: Pulling from library/alpine 12:23:47 4db1b89c0bd1: Already exists 12:23:47 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:23:47 Status: Downloaded newer image for alpine:3.17 12:23:47 ---> 1f73a9d63274 12:23:47 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:23:47 ---> Running in eef7ef4ecce5 12:23:47 Removing intermediate container eef7ef4ecce5 12:23:47 ---> b1b9dd67b452 12:23:47 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:23:47 ---> Running in bba6818c04e2 12:23:47 Removing intermediate container bba6818c04e2 12:23:47 ---> 5a3ceccb2193 12:23:47 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:23:47 ---> Running in a64496c63302 12:23:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:23:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:23:47 8d51d6327a98: Pull complete 12:23:47 8b374f2dd631: Pull complete 12:23:47 ec14aa9079de: Pull complete 12:23:47 (1/2) Installing ca-certificates (20230506-r0) 12:23:48 (2/2) Installing dumb-init (1.2.5-r2) 12:23:48 Executing busybox-1.35.0-r29.trigger 12:23:48 Executing ca-certificates-20230506-r0.trigger 12:23:48 OK: 8 MiB in 17 packages 12:23:48 Removing intermediate container a64496c63302 12:23:48 ---> fddb3f192ed5 12:23:48 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:23:48 ---> e752b5ab4e18 12:23:48 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:23:48 ---> 47cf978db578 12:23:48 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:23:48 ---> 4ad3e4162df9 12:23:48 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:23:49 ---> e837c858447e 12:23:49 Step 21/26 : EXPOSE 48095 12:23:49 ---> Running in 787be5fa2228 12:23:49 Removing intermediate container 787be5fa2228 12:23:49 ---> cef765f5d9df 12:23:49 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:23:49 ---> Running in 233493b122c2 12:23:49 Removing intermediate container 233493b122c2 12:23:49 ---> 164864f02850 12:23:49 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:23:49 ---> Running in 4279493889b0 12:23:49 Removing intermediate container 4279493889b0 12:23:49 ---> 8f8d111b9fdc 12:23:49 Step 24/26 : LABEL arch=amd64 12:23:49 ---> Running in 6ac0d86c05dc 12:23:50 Removing intermediate container 6ac0d86c05dc 12:23:50 ---> fac5d0fb7076 12:23:50 Step 25/26 : LABEL git_sha=a8f95546a7291fc86a4a358490460530b3d76c6c 12:23:50 ---> Running in 4b14e38ffb24 12:23:50 Removing intermediate container 4b14e38ffb24 12:23:50 ---> f171402a7718 12:23:50 Step 26/26 : LABEL version=0.0.0 12:23:50 ---> Running in 12206adb1f37 12:23:50 Removing intermediate container 12206adb1f37 12:23:50 ---> 2d84688cd205 12:23:50 [Warning] One or more build-args [ARCH] were not consumed 12:23:50 Successfully built 2d84688cd205 12:23:50 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:23:51 12:23:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:23:51 latest: Pulling from edgex-lftools-log-publisher 12:23:51 5eb5b503b376: Pulling fs layer 12:23:51 5c69ac0246d0: Pulling fs layer 12:23:51 ec43610c2a17: Pulling fs layer 12:23:51 3a2ae6a8a46f: Pulling fs layer 12:23:51 33b1e0a273af: Pulling fs layer 12:23:51 5d3b04190fa2: Pulling fs layer 12:23:51 2f39f015ded8: Pulling fs layer 12:23:51 33b1e0a273af: Waiting 12:23:51 2f39f015ded8: Waiting 12:23:51 5d3b04190fa2: Waiting 12:23:51 3a2ae6a8a46f: Waiting 12:23:51 5c69ac0246d0: Verifying Checksum 12:23:51 5c69ac0246d0: Download complete 12:23:51 3a2ae6a8a46f: Verifying Checksum 12:23:51 3a2ae6a8a46f: Download complete 12:23:51 33b1e0a273af: Verifying Checksum 12:23:51 33b1e0a273af: Download complete 12:23:51 ec43610c2a17: Verifying Checksum 12:23:51 ec43610c2a17: Download complete 12:23:51 5d3b04190fa2: Download complete 12:23:51 5eb5b503b376: Verifying Checksum 12:23:51 5eb5b503b376: Download complete 12:23:52 2f39f015ded8: Download complete 12:23:53 5eb5b503b376: Pull complete 12:23:53 2f466654f4bb: Pull complete 12:23:53 5c69ac0246d0: Pull complete 12:23:53 ec43610c2a17: Pull complete 12:23:53 3a2ae6a8a46f: Pull complete 12:23:54 33b1e0a273af: Pull complete 12:23:54 5d3b04190fa2: Pull complete 12:23:55 554e91adad29: Pull complete 12:23:55 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:23:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:23:55 ---> 1e15ea492957 12:23:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:23:57 ---> Running in 499dd5e31dc0 12:23:57 Removing intermediate container 499dd5e31dc0 12:23:57 ---> d1a97518224e 12:23:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:23:57 ---> Running in 21c255863d3a 12:23:57 Removing intermediate container 21c255863d3a 12:23:57 ---> f83aa8d40afc 12:23:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:23:58 ---> Running in 0bfcd4df8c1d 12:23:58 2f39f015ded8: Pull complete 12:23:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:23:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:23:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 12:23:58 Removing intermediate container 0bfcd4df8c1d 12:23:58 ---> f94310c45424 12:23:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:23:58 ---> Running in 812487d5824e [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:23:58 prd-ubuntu20.04-docker-8c-8g-2367 does not seem to be running inside a container 12:23:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-580 -v /w/workspace/_app-service-configurable_PR-580:/w/workspace/_app-service-configurable_PR-580:rw,z -v /w/workspace/_app-service-configurable_PR-580@tmp:/w/workspace/_app-service-configurable_PR-580@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:23:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:23:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:24:00 OK: 263 MiB in 53 packages 12:24:02 Removing intermediate container 812487d5824e 12:24:02 ---> 6d8945985821 12:24:02 Step 7/12 : WORKDIR /app 12:24:02 ---> Running in afaf26436a7f 12:24:02 Removing intermediate container afaf26436a7f 12:24:02 ---> cb93c21f1907 12:24:02 Step 8/12 : COPY go.mod vendor* ./ 12:24:02 $ docker top cf64a066cdf8c01aa3b24b00bdcd9c63591c4cce60c6d4d38ae295f6a2cb23f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:24:03 ---> 248a37f3ffd4 12:24:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:24:03 ---> Running in b3747e2bc043 12:24:03 ---> job-cost.sh 12:24:03 lf-activate-venv: SKIPPING 12:24:03 INFO: No Stack... 12:24:03 INFO: Retrieving Pricing Info for: v3-standard-8 12:24:03 INFO: Archiving Costs [Pipeline] sh 12:24:04 + + cat /w/workspace/_app-service-configurable_PR-580/archives/cost.csv 12:24:04 cut -d, -f6 [Pipeline] lock 12:24:04 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-580-1-stack-cost] 12:24:04 Resource [jenkins-edgexfoundry-app-service-configurable-PR-580-1-stack-cost] did not exist. Created. 12:24:04 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-580-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:24:04 + echo total: 0.2199999988079071 [Pipeline] stash 12:24:04 Stashed 1 file(s) [Pipeline] } 12:24:04 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-580-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:24:04 $ docker stop --time=1 cf64a066cdf8c01aa3b24b00bdcd9c63591c4cce60c6d4d38ae295f6a2cb23f4 12:24:05 $ docker rm -f --volumes cf64a066cdf8c01aa3b24b00bdcd9c63591c4cce60c6d4d38ae295f6a2cb23f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:25:11 Removing intermediate container b3747e2bc043 12:25:11 ---> bb1548532706 12:25:11 Step 10/12 : COPY . . 12:25:11 ---> 35240d087536 12:25:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:25:11 ---> Running in 939e11f511ef 12:25:11 Removing intermediate container 939e11f511ef 12:25:11 ---> 3c942e9af88a 12:25:11 Step 12/12 : RUN $MAKE 12:25:11 ---> Running in c7ce360f0d5f 12:25:11 noop 12:25:11 Removing intermediate container c7ce360f0d5f 12:25:11 ---> 20cf741775d4 12:25:11 Successfully built 20cf741775d4 12:25:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:11 + docker inspect -f . ci-base-image-arm64 12:25:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:25:11 prd-ubuntu20.04-docker-arm64-4c-16g-2368 does not seem to be running inside a container 12:25:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:25:13 $ docker top 30568fb4a28fd4f867e6d9b34cca5563dce69b24e4f8ae8ce5d94e50a6c74d99 -eo pid,comm [Pipeline] { [Pipeline] sh 12:25:14 + go version 12:25:14 go version go1.20.6 linux/arm64 [Pipeline] } 12:25:14 $ docker stop --time=1 30568fb4a28fd4f867e6d9b34cca5563dce69b24e4f8ae8ce5d94e50a6c74d99 12:25:15 $ docker rm -f --volumes 30568fb4a28fd4f867e6d9b34cca5563dce69b24e4f8ae8ce5d94e50a6c74d99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:25:16 + docker inspect -f . ci-base-image-arm64 12:25:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:25:16 prd-ubuntu20.04-docker-arm64-4c-16g-2368 does not seem to be running inside a container 12:25: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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:25:17 $ docker top fa5d5fa7479951b13ad8ad0b555820efbcd43d5e82a9917ba07af555c914773d -eo pid,comm [Pipeline] { [Pipeline] sh 12:25:18 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:25:19 + make test 12:25:19 go test -race -coverprofile=coverage.out ./... 12:27:55 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:27:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:27:55 go vet ./... 12:30:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:30:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:30:17 ./bin/test-attribution-txt.sh [Pipeline] echo 12:30:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:30:17 $ docker stop --time=1 fa5d5fa7479951b13ad8ad0b555820efbcd43d5e82a9917ba07af555c914773d 12:30:19 $ docker rm -f --volumes fa5d5fa7479951b13ad8ad0b555820efbcd43d5e82a9917ba07af555c914773d [Pipeline] // withDockerContainer [Pipeline] sh 12:30:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:30:21 Warning: overwriting stash ‘coverage-report’ 12:30:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:30:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:30:22 + ls -al . 12:30:22 total 176 12:30:22 drwxrwxr-x 7 jenkins jenkins 4096 Jul 27 12:25 . 12:30:22 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 12:23 .. 12:30:22 -rw-rw-r-- 1 jenkins jenkins 119 Jul 27 12:23 .dockerignore 12:30:22 drwxrwxr-x 8 jenkins jenkins 4096 Jul 27 12:23 .git 12:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 27 12:23 .github 12:30:22 -rw-rw-r-- 1 jenkins jenkins 171 Jul 27 12:23 .gitignore 12:30:22 -rw-rw-r-- 1 jenkins jenkins 41 Jul 27 12:23 .golangci.yml 12:30:22 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 27 12:23 Attribution.txt 12:30:22 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 27 12:23 CHANGELOG.md 12:30:22 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 27 12:23 Dockerfile 12:30:22 -rw-rw-r-- 1 jenkins jenkins 677 Jul 27 12:23 GOVERNANCE.md 12:30:22 -rw-rw-r-- 1 jenkins jenkins 688 Jul 27 12:23 Jenkinsfile 12:30:22 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 27 12:23 LICENSE 12:30:22 -rw-rw-r-- 1 jenkins jenkins 618 Jul 27 12:23 OWNERS.md 12:30:22 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 27 12:23 README.md 12:30:22 -rw-rw-r-- 1 jenkins jenkins 5 Jul 27 12:21 VERSION 12:30:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 27 12:23 bin 12:30:22 -rw-r--r-- 1 jenkins jenkins 13 Jul 27 12:25 coverage.out 12:30:22 -rw-rw-r-- 1 jenkins jenkins 3469 Jul 27 12:23 go.mod 12:30:22 -rw-rw-r-- 1 jenkins jenkins 32452 Jul 27 12:23 go.sum 12:30:22 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 27 12:23 main.go 12:30:22 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 27 12:23 makefile 12:30:22 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 12:23 res 12:30:22 drwxrwxr-x 4 jenkins jenkins 4096 Jul 27 12:23 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:22 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a8f95546a7291fc86a4a358490460530b3d76c6c --label arch=arm64 --label version=0.0.0 . 12:30:22 Sending build context to Docker daemon 177.2kB 12:30:23 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:30:23 Step 2/26 : FROM ${BASE} AS builder 12:30:23 ---> 20cf741775d4 12:30:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:30:23 ---> Running in df22144fa10e 12:30:23 Removing intermediate container df22144fa10e 12:30:23 ---> 19ac1a977a84 12:30:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:30:23 ---> Running in 247ab125f5bd 12:30:23 Removing intermediate container 247ab125f5bd 12:30:23 ---> 51e4f4f6fba1 12:30:23 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:30:23 ---> Running in 8abbead581cb 12:30:24 Removing intermediate container 8abbead581cb 12:30:24 ---> 0b237e302641 12:30:24 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:30:24 ---> Running in b50169031f9f 12:30:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:30:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:30:26 OK: 263 MiB in 53 packages 12:30:27 Removing intermediate container b50169031f9f 12:30:27 ---> 8132be65c28f 12:30:27 Step 7/26 : WORKDIR /app 12:30:27 ---> Running in 88049525efc8 12:30:27 Removing intermediate container 88049525efc8 12:30:27 ---> 067302eaed4a 12:30:27 Step 8/26 : COPY go.mod vendor* ./ 12:30:28 ---> 5ae62919af24 12:30:28 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:30:28 ---> Running in 73f2a8fe97f5 12:30:35 Removing intermediate container 73f2a8fe97f5 12:30:35 ---> bad43bcebd6e 12:30:35 Step 10/26 : COPY . . 12:30:35 ---> 294be50f4179 12:30:35 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:30:35 ---> Running in aaa20af50ea7 12:30:35 Removing intermediate container aaa20af50ea7 12:30:35 ---> a22bf0ee0db7 12:30:35 Step 12/26 : RUN $MAKE 12:30:35 ---> Running in bb08e2ef84e3 12:30:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.13 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:32:42 Removing intermediate container bb08e2ef84e3 12:32:42 ---> 21f015e2e13d 12:32:42 Step 13/26 : FROM alpine:3.17 12:32:42 3.17: Pulling from library/alpine 12:32:42 edb6bdbacee9: Already exists 12:32:42 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:32:42 Status: Downloaded newer image for alpine:3.17 12:32:42 ---> 779605e5fbc0 12:32:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:32:42 ---> Running in b5af3aa0aac1 12:32:42 Removing intermediate container b5af3aa0aac1 12:32:42 ---> cf0fd34d060d 12:32:42 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:32:42 ---> Running in 33790b66e41e 12:32:42 Removing intermediate container 33790b66e41e 12:32:42 ---> 907065bf70de 12:32:42 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:32:42 ---> Running in f49960c6edfb 12:32:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:32:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:32:45 (1/2) Installing ca-certificates (20230506-r0) 12:32:45 (2/2) Installing dumb-init (1.2.5-r2) 12:32:45 Executing busybox-1.35.0-r29.trigger 12:32:45 Executing ca-certificates-20230506-r0.trigger 12:32:45 OK: 8 MiB in 17 packages 12:32:49 Removing intermediate container f49960c6edfb 12:32:49 ---> 9f56df63e2ce 12:32:49 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:32:49 ---> a839944c203e 12:32:49 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:32:50 ---> d07f7f77da0f 12:32:50 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:32:50 ---> 36cbcce25538 12:32:50 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:32:52 ---> ae320eebe6fd 12:32:52 Step 21/26 : EXPOSE 48095 12:32:52 ---> Running in 351db64eff12 12:32:52 Removing intermediate container 351db64eff12 12:32:52 ---> 87ad0df3c419 12:32:52 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:32:52 ---> Running in 40c083f6fa12 12:32:52 Removing intermediate container 40c083f6fa12 12:32:52 ---> a0a0e189da95 12:32:52 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:32:52 ---> Running in ae885f8828a3 12:32:53 Removing intermediate container ae885f8828a3 12:32:53 ---> 5ab716164b2d 12:32:53 Step 24/26 : LABEL arch=arm64 12:32:53 ---> Running in 69e100a8d964 12:32:53 Removing intermediate container 69e100a8d964 12:32:53 ---> fc675c7ede67 12:32:53 Step 25/26 : LABEL git_sha=a8f95546a7291fc86a4a358490460530b3d76c6c 12:32:53 ---> Running in 3837bb0a0908 12:32:53 Removing intermediate container 3837bb0a0908 12:32:53 ---> 4702333b8b0a 12:32:53 Step 26/26 : LABEL version=0.0.0 12:32:53 ---> Running in dda69009e2ef 12:32:54 Removing intermediate container dda69009e2ef 12:32:54 ---> 3c87c762e6b1 12:32:54 [Warning] One or more build-args [ARCH] were not consumed 12:32:54 Successfully built 3c87c762e6b1 12:32:54 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:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:54 12:32:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:55 arm64: Pulling from edgex-lftools-log-publisher 12:32:55 8998bd30e6a1: Pulling fs layer 12:32:55 04944245beec: Pulling fs layer 12:32:55 699f458cf7ca: Pulling fs layer 12:32:55 765212b225bb: Pulling fs layer 12:32:55 f23df028b6ca: Pulling fs layer 12:32:55 d65c8cfc05b1: Pulling fs layer 12:32:55 2437ff75d9bd: Pulling fs layer 12:32:55 d65c8cfc05b1: Waiting 12:32:55 2437ff75d9bd: Waiting 12:32:55 765212b225bb: Waiting 12:32:55 f23df028b6ca: Waiting 12:32:55 04944245beec: Verifying Checksum 12:32:55 04944245beec: Download complete 12:32:55 765212b225bb: Verifying Checksum 12:32:55 765212b225bb: Download complete 12:32:55 f23df028b6ca: Verifying Checksum 12:32:55 f23df028b6ca: Download complete 12:32:55 d65c8cfc05b1: Verifying Checksum 12:32:55 d65c8cfc05b1: Download complete 12:32:55 699f458cf7ca: Verifying Checksum 12:32:55 699f458cf7ca: Download complete 12:32:56 8998bd30e6a1: Verifying Checksum 12:32:56 8998bd30e6a1: Download complete 12:32:58 2437ff75d9bd: Verifying Checksum 12:32:58 2437ff75d9bd: Download complete 12:33:02 8998bd30e6a1: Pull complete 12:33:02 04944245beec: Pull complete 12:33:02 699f458cf7ca: Pull complete 12:33:02 765212b225bb: Pull complete 12:33:03 f23df028b6ca: Pull complete 12:33:03 d65c8cfc05b1: Pull complete 12:33:18 2437ff75d9bd: Pull complete 12:33:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:33:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:33:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:33:19 prd-ubuntu20.04-docker-arm64-4c-16g-2368 does not seem to be running inside a container 12:33:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:33:21 $ docker top 09d36620e83568e337e1ad05ed152d879dde791c7824d4c7b3a3b335027ecece -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:33:22 ---> job-cost.sh 12:33:22 lf-activate-venv: SKIPPING 12:33:22 INFO: No Stack... 12:33:22 INFO: Retrieving Pricing Info for: v3-standard-4 12:33:23 INFO: Archiving Costs [Pipeline] sh 12:33:23 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:33:23 + cut -d, -f6 [Pipeline] lock 12:33:24 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-580-1-stack-cost] 12:33:24 Resource [jenkins-edgexfoundry-app-service-configurable-PR-580-1-stack-cost] did not exist. Created. 12:33:24 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-580-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:33:24 /w/workspace/app-service-configurable/1@tmp/durable-9ff6280a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:33:24 + echo total: 0.10999999940395355 [Pipeline] stash 12:33:24 Warning: overwriting stash ‘stack-cost’ 12:33:24 Stashed 1 file(s) [Pipeline] } 12:33:24 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-580-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:33:24 $ docker stop --time=1 09d36620e83568e337e1ad05ed152d879dde791c7824d4c7b3a3b335027ecece 12:33:26 $ docker rm -f --volumes 09d36620e83568e337e1ad05ed152d879dde791c7824d4c7b3a3b335027ecece [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:33:27 provisioning config files... 12:33:27 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-580@tmp/config13209293957510479700tmp [Pipeline] { [Pipeline] sh 12:33:27 + set +x 12:33:27 + + curlbash -s -s https://codecov.io/bash -- 12:33:27 12:33:28 12:33:28 _____ _ 12:33:28 / ____| | | 12:33:28 | | ___ __| | ___ ___ _____ __ 12:33:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:33:28 | |___| (_) | (_| | __/ (_| (_) \ V / 12:33:28 \_____\___/ \__,_|\___|\___\___/ \_/ 12:33:28 Bash-1.0.6 12:33:28 12:33:28 12:33:28 ==> git version 2.25.1 found 12:33:28 ==> 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:33:28 Release-Date: 2020-01-08 12:33:28 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:33:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:33:28 ==> Jenkins CI detected. 12:33:28 current dir:  /w/workspace/_app-service-configurable_PR-580 12:33:28 project root: . 12:33:28 --> token set from env 12:33:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:33:28 ==> Running gcov in . (disable via -X gcov) 12:33:28 ==> Python coveragepy not found 12:33:28 ==> Searching for coverage reports in: 12:33:28 + . 12:33:28 -> Found 1 reports 12:33:28 ==> Detecting git/mercurial file structure 12:33:28 ==> Reading reports 12:33:28 + ./coverage.out bytes=13 12:33:28 ==> Appending adjustments 12:33:28 https://docs.codecov.io/docs/fixing-reports 12:33:28 + Found adjustments 12:33:28 ==> Gzipping contents 12:33:28 4.0K /tmp/codecov.2ntbRn.gz 12:33:28 ==> Uploading reports 12:33:28 url: https://codecov.io 12:33:28 query: branch=PR-580&commit=a8f95546a7291fc86a4a358490460530b3d76c6c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-580%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=580&job=&cmd_args= 12:33:28 -> Pinging Codecov 12:33:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-580&commit=a8f95546a7291fc86a4a358490460530b3d76c6c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-580%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=580&job=&cmd_args= 12:33:28 -> Uploading to 12:33:28 https://storage.googleapis.com/codecov/v4/raw/2023-07-27/A97CA9966030D2A3747ED39772930CCE/a8f95546a7291fc86a4a358490460530b3d76c6c/bc51a44e-925d-4f91-976e-b730bbbfa6eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230727%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230727T123328Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6dff2919622afba1decb0f0bf4a28889acb62ef504dd9f1149d95a208f4100a4 12:33:28 % Total % Received % Xferd Average Speed Time Time Time Current 12:33:28 Dload Upload Total Spent Left Speed 12:33:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2092 --:--:-- --:--:-- --:--:-- 2102 12:33:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/a8f95546a7291fc86a4a358490460530b3d76c6c [Pipeline] } 12:33:28 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:33:30 + [ -d /w/workspace/_app-service-configurable_PR-580/archives ] 12:33:30 + ls -al /w/workspace/_app-service-configurable_PR-580/archives 12:33:30 total 16 12:33:30 drwxr-xr-x 3 root root 4096 Jul 27 12:24 . 12:33:30 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 12:24 .. 12:33:30 drwxr-xr-x 2 root root 4096 Jul 27 12:24 cost 12:33:30 -rw-r--r-- 1 root root 96 Jul 27 12:24 cost.csv 12:33:30 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-580/archives 12:33:30 + ls -al /w/workspace/_app-service-configurable_PR-580/archives 12:33:30 total 16 12:33:30 drwxr-xr-x 3 jenkins jenkins 4096 Jul 27 12:24 . 12:33:30 drwxrwxr-x 9 jenkins jenkins 4096 Jul 27 12:24 .. 12:33:30 drwxr-xr-x 2 jenkins jenkins 4096 Jul 27 12:24 cost 12:33:30 -rw-r--r-- 1 jenkins jenkins 96 Jul 27 12:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:33:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:33:31 ---> package-listing.sh 12:33:31 ++ facter osfamily 12:33:31 ++ tr '[:upper:]' '[:lower:]' 12:33:31 + OS_FAMILY=debian 12:33:31 + workspace=/w/workspace/_app-service-configurable_PR-580 12:33:31 + START_PACKAGES=/tmp/packages_start.txt 12:33:31 + END_PACKAGES=/tmp/packages_end.txt 12:33:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:33:31 + PACKAGES=/tmp/packages_start.txt 12:33:31 + '[' /w/workspace/_app-service-configurable_PR-580 ']' 12:33:31 + PACKAGES=/tmp/packages_end.txt 12:33:31 + case "${OS_FAMILY}" in 12:33:31 + dpkg -l 12:33:31 + grep '^ii' 12:33:31 + '[' -f /tmp/packages_start.txt ']' 12:33:31 + '[' -f /tmp/packages_end.txt ']' 12:33:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:33:31 + '[' /w/workspace/_app-service-configurable_PR-580 ']' 12:33:31 + mkdir -p /w/workspace/_app-service-configurable_PR-580/archives/ 12:33:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-580/archives/ [Pipeline] echo 12:33:31 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-580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:33:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:33:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:33:32 prd-ubuntu20.04-docker-8c-8g-2367 does not seem to be running inside a container 12:33:32 $ 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-580/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-580 -v /w/workspace/_app-service-configurable_PR-580:/w/workspace/_app-service-configurable_PR-580:rw,z -v /w/workspace/_app-service-configurable_PR-580@tmp:/w/workspace/_app-service-configurable_PR-580@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:33:33 $ docker top 9f1d3b787025d385027c0b4a74cc46bc30893159d101fe52d0329626ed5ef301 -eo pid,comm [Pipeline] { [Pipeline] sh 12:33:33 + touch /tmp/pre-build-complete [Pipeline] sh 12:33:33 + mkdir -p /var/log/sysstat [Pipeline] sh 12:33:34 + ls /var/log/sa-host 12:33:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:33:34 provisioning config files... 12:33:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-580@tmp/config4611194191611333245tmp [Pipeline] { [Pipeline] echo 12:33:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:33:34 ---> create-netrc.sh [Pipeline] } 12:33:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:33:35 ---> python-tools-install.sh [Pipeline] echo 12:33:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:33:35 ---> sudo-logs.sh 12:33:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:33:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:33:35 ---> job-cost.sh 12:33:35 lf-activate-venv: SKIPPING 12:33:35 DEBUG: total: 0.2199999988079071 12:33:35 INFO: Retrieving Stack Cost... 12:33:36 INFO: Retrieving Pricing Info for: v3-standard-8 12:33:36 INFO: Archiving Costs [Pipeline] echo 12:33:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:33:37 ---> logs-deploy.sh 12:33:37 lf-activate-venv: SKIPPING 12:33:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-580/1 12:33:37 INFO: archiving workspace using pattern(s): 12:33:37 Archives upload complete. 12:33:38 INFO: archiving logs to Nexus