Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cherrycl for edgexfoundry/app-service-configurable Loading trusted files from base branch main at e006c610c04bb7e0ab96add43a12e9ef9e699912 rather than 27f04b8be9641ab55644619a2a9bef97aabf9bd0 Obtained Jenkinsfile from e006c610c04bb7e0ab96add43a12e9ef9e699912 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-ssh7535240600300940607.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-ssh8792969028390364000.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-579/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-579/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18120331910031709858.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 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-ssh8748927648040704460.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-579/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-579/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6542377175265726039.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-2489 in /w/workspace/_app-service-configurable_PR-579 [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-579 # 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/579/head:refs/remotes/origin/PR-579 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e006c610c04bb7e0ab96add43a12e9ef9e699912 into PR head commit 27f04b8be9641ab55644619a2a9bef97aabf9bd0 Merge succeeded, producing 1f71989722d746665191c040816835541002eb76 Checking out Revision 1f71989722d746665191c040816835541002eb76 (PR-579) > git config core.sparsecheckout # timeout=10 > git checkout -f 27f04b8be9641ab55644619a2a9bef97aabf9bd0 # 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 e006c610c04bb7e0ab96add43a12e9ef9e699912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f71989722d746665191c040816835541002eb76 # timeout=10 Commit message: "Merge commit 'e006c610c04bb7e0ab96add43a12e9ef9e699912' into HEAD" > git rev-list --no-walk 27f04b8be9641ab55644619a2a9bef97aabf9bd0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:52:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:52:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:52:39 ========================================================= 04:52:39 EdgeX Global Pipelines Version Info 04:52:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:52:40 ------------------- 04:52:40 stable info: 04:52:40 ------------------- 04:52:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:52:40 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:52:40 Message: update stable to v1.0.250 04:52:40 ------------------- 04:52:40 experimental info: 04:52:40 ------------------- 04:52:40 Commited By: **** collab-it+edgex@linuxfoundation.org 04:52:40 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 04:52:40 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:52:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-579 [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-579 [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-579 [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f71989722d746665191c040816835541002eb76 [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f71989 [Pipeline] echo 04:52:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:41 provisioning config files... 04:52:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-579@tmp/config4353448729534371107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:41 ---> docker-login.sh 04:52:41 nexus3.edgexfoundry.org:10001 04:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 nexus3.edgexfoundry.org:10002 04:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 nexus3.edgexfoundry.org:10003 04:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 nexus3.edgexfoundry.org:10004 04:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 docker.io 04:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 ---> docker-login.sh ends [Pipeline] } 04:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:52:43 + git rev-list -1 --merges 1f71989722d746665191c040816835541002eb76~1..1f71989722d746665191c040816835541002eb76 [Pipeline] echo 04:52:43 -----------> git rev-list -1 --merges 1f71989722d746665191c040816835541002eb76~1..1f71989722d746665191c040816835541002eb76 1f71989722d746665191c040816835541002eb76 04:52:43 1f71989722d746665191c040816835541002eb76 [false] [Pipeline] sh 04:52:43 + git log --format=format:%s -1 1f71989722d746665191c040816835541002eb76 [Pipeline] echo 04:52:43 ========================================================= 04:52:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:52:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:43 + git log --format=format:%s -1 1f71989722d746665191c040816835541002eb76 [Pipeline] echo 04:52:43 [semverPrep] GIT_COMMIT: 1f71989722d746665191c040816835541002eb76, Commit Message: Merge commit 'e006c610c04bb7e0ab96add43a12e9ef9e699912' into HEAD [Pipeline] echo 04:52:43 [semverPrep] This is not a build commit. [Pipeline] sh 04:52:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:44 + grep -v github /etc/ssh/ssh_known_hosts 04:52:44 + [ -e /tmp/ssh_known_hosts ] 04:52:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:52:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:52:44 + sudo tee -a /etc/ssh/ssh_known_hosts 04:52:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:44 04:52:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:45 0.1.4: Pulling from edgex-devops/py-git-semver 04:52:45 b85a868b505f: Pulling fs layer 04:52:45 e2be974225ed: Pulling fs layer 04:52:45 339a4e72a1f5: Pulling fs layer 04:52:45 988bab9f4d93: Pulling fs layer 04:52:45 1469e6f7b9e6: Pulling fs layer 04:52:45 eaf3925da568: Pulling fs layer 04:52:45 bab4dde63d76: Pulling fs layer 04:52:45 bde34c3a00c8: Pulling fs layer 04:52:45 b352a97aabf1: Pulling fs layer 04:52:45 4872d77fe225: Pulling fs layer 04:52:45 5851b861e8e6: Pulling fs layer 04:52:45 988bab9f4d93: Waiting 04:52:45 1469e6f7b9e6: Waiting 04:52:45 eaf3925da568: Waiting 04:52:45 bab4dde63d76: Waiting 04:52:45 bde34c3a00c8: Waiting 04:52:45 5851b861e8e6: Waiting 04:52:45 b352a97aabf1: Waiting 04:52:45 4872d77fe225: Waiting 04:52:45 e2be974225ed: Verifying Checksum 04:52:45 e2be974225ed: Download complete 04:52:45 988bab9f4d93: Verifying Checksum 04:52:45 988bab9f4d93: Download complete 04:52:45 1469e6f7b9e6: Verifying Checksum 04:52:45 1469e6f7b9e6: Download complete 04:52:45 339a4e72a1f5: Verifying Checksum 04:52:45 339a4e72a1f5: Download complete 04:52:45 eaf3925da568: Verifying Checksum 04:52:45 eaf3925da568: Download complete 04:52:45 b352a97aabf1: Verifying Checksum 04:52:45 b352a97aabf1: Download complete 04:52:45 4872d77fe225: Verifying Checksum 04:52:45 4872d77fe225: Download complete 04:52:45 5851b861e8e6: Download complete 04:52:45 b85a868b505f: Verifying Checksum 04:52:45 b85a868b505f: Download complete 04:52:45 bab4dde63d76: Verifying Checksum 04:52:45 bab4dde63d76: Download complete 04:52:46 b85a868b505f: Pull complete 04:52:46 e2be974225ed: Pull complete 04:52:47 339a4e72a1f5: Pull complete 04:52:47 988bab9f4d93: Pull complete 04:52:47 1469e6f7b9e6: Pull complete 04:52:48 eaf3925da568: Pull complete 04:52:50 bab4dde63d76: Pull complete 04:52:50 bde34c3a00c8: Pull complete 04:52:50 b352a97aabf1: Pull complete 04:52:50 4872d77fe225: Pull complete 04:52:50 5851b861e8e6: Pull complete 04:52:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:50 prd-ubuntu20.04-docker-8c-8g-2489 does not seem to be running inside a container 04:52:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-579 -v /w/workspace/_app-service-configurable_PR-579:/w/workspace/_app-service-configurable_PR-579:rw,z -v /w/workspace/_app-service-configurable_PR-579@tmp:/w/workspace/_app-service-configurable_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:52:59 $ docker top faf0df7a1859e7f62a8494eaea78a2686fe05813e24afd87720de9f3202cbc8d -eo pid,comm 04:52:59 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). 04:52:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:59 [ssh-agent] Looking for ssh-agent implementation... 04:52:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:59 $ docker exec faf0df7a1859e7f62a8494eaea78a2686fe05813e24afd87720de9f3202cbc8d ssh-agent 04:52:59 SSH_AUTH_SOCK=/tmp/ssh-6niFYQfUymPv/agent.14 04:52:59 SSH_AGENT_PID=20 04:52:59 Running ssh-add (command line suppressed) 04:52:59 Identity added: /w/workspace/_app-service-configurable_PR-579@tmp/private_key_15772291315657723747.key (/w/workspace/_app-service-configurable_PR-579@tmp/private_key_15772291315657723747.key) 04:52:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:53:00 + git tag --points-at HEAD [Pipeline] } 04:53:00 $ docker exec --env ******** --env ******** faf0df7a1859e7f62a8494eaea78a2686fe05813e24afd87720de9f3202cbc8d ssh-agent -k 04:53:00 unset SSH_AUTH_SOCK; 04:53:00 unset SSH_AGENT_PID; 04:53:00 echo Agent pid 20 killed; 04:53:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:53:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:53:00 [ssh-agent] Looking for ssh-agent implementation... 04:53:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:53:00 $ docker exec faf0df7a1859e7f62a8494eaea78a2686fe05813e24afd87720de9f3202cbc8d ssh-agent 04:53:00 SSH_AUTH_SOCK=/tmp/ssh-1m6Gph766kbi/agent.70 04:53:00 SSH_AGENT_PID=76 04:53:00 Running ssh-add (command line suppressed) 04:53:00 Identity added: /w/workspace/_app-service-configurable_PR-579@tmp/private_key_15521199587196699158.key (/w/workspace/_app-service-configurable_PR-579@tmp/private_key_15521199587196699158.key) 04:53:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:53:00 + git semver init 04:53:01 2023-07-29 04:53:01,128 [run_init] DEBUG init version:0.0.0 force:False 04:53:01 2023-07-29 04:53:01,129 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-579/.semver 04:53:01 2023-07-29 04:53:01,129 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-579/.semver 04:53:01 2023-07-29 04:53:01,129 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-579/.semver'], cwd=/w/workspace/_app-service-configurable_PR-579, universal_newlines=False, shell=None, istream=None) 04:53:02 2023-07-29 04:53:02,017 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-579/.git/info/exclude 04:53:02 2023-07-29 04:53:02,018 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-579/.semver/PR-579 with force:False 04:53:02 2023-07-29 04:53:02,018 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-579/.semver/PR-579 04:53:02 2023-07-29 04:53:02,020 [execute] INFO git cat-file --batch-check 04:53:02 2023-07-29 04:53:02,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-579/.semver, universal_newlines=False, shell=None, istream=) 04:53:02 2023-07-29 04:53:02,026 [execute] INFO git cat-file --batch 04:53:02 2023-07-29 04:53:02,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-579/.semver, universal_newlines=False, shell=None, istream=) 04:53:02 2023-07-29 04:53:02,033 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-579/.semver/PR-579 04:53:02 0.0.0 [Pipeline] } 04:53:02 $ docker exec --env ******** --env ******** faf0df7a1859e7f62a8494eaea78a2686fe05813e24afd87720de9f3202cbc8d ssh-agent -k 04:53:02 unset SSH_AUTH_SOCK; 04:53:02 unset SSH_AGENT_PID; 04:53:02 echo Agent pid 76 killed; 04:53:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:53:02 + git semver [Pipeline] } 04:53:02 $ docker stop --time=1 faf0df7a1859e7f62a8494eaea78a2686fe05813e24afd87720de9f3202cbc8d 04:53:04 $ docker rm -f --volumes faf0df7a1859e7f62a8494eaea78a2686fe05813e24afd87720de9f3202cbc8d [Pipeline] // withDockerContainer [Pipeline] sh 04:53:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:53:04 Stashed 1 file(s) [Pipeline] echo 04:53:04 [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 04:53:05 provisioning config files... 04:53:05 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-579@tmp/config3931093963878252997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:53:05 ---> docker-login.sh 04:53:05 nexus3.edgexfoundry.org:10001 04:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:05 Configure a credential helper to remove this warning. See 04:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:05 04:53:05 Login Succeeded 04:53:05 nexus3.edgexfoundry.org:10002 04:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:05 Configure a credential helper to remove this warning. See 04:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:05 04:53:05 Login Succeeded 04:53:05 nexus3.edgexfoundry.org:10003 04:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:05 Configure a credential helper to remove this warning. See 04:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:05 04:53:05 Login Succeeded 04:53:05 nexus3.edgexfoundry.org:10004 04:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:05 Configure a credential helper to remove this warning. See 04:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:05 04:53:05 Login Succeeded 04:53:05 docker.io 04:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:53:05 Configure a credential helper to remove this warning. See 04:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:53:05 04:53:05 Login Succeeded 04:53:05 ---> docker-login.sh ends [Pipeline] } 04:53:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:53:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:53:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:53:05 ========================================================= 04:53:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:53:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:06 + 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 . 04:53:06 Sending build context to Docker daemon 3.309MB 04:53:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:53:06 Step 2/12 : FROM ${BASE} AS builder 04:53:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:53:06 4db1b89c0bd1: Pulling fs layer 04:53:06 6911f1a30b25: Pulling fs layer 04:53:06 e194b8c5c2a9: Pulling fs layer 04:53:06 6863d3e3a2b1: Pulling fs layer 04:53:06 ec0bb842ea78: Pulling fs layer 04:53:06 40a00589a448: Pulling fs layer 04:53:06 6c08303d61cc: Pulling fs layer 04:53:06 798269fcf238: Pulling fs layer 04:53:06 6863d3e3a2b1: Waiting 04:53:06 ec0bb842ea78: Waiting 04:53:06 40a00589a448: Waiting 04:53:06 6c08303d61cc: Waiting 04:53:06 798269fcf238: Waiting 04:53:06 6911f1a30b25: Download complete 04:53:06 6863d3e3a2b1: Verifying Checksum 04:53:06 6863d3e3a2b1: Download complete 04:53:06 ec0bb842ea78: Verifying Checksum 04:53:06 ec0bb842ea78: Download complete 04:53:06 4db1b89c0bd1: Verifying Checksum 04:53:06 4db1b89c0bd1: Download complete 04:53:06 40a00589a448: Verifying Checksum 04:53:06 40a00589a448: Download complete 04:53:06 4db1b89c0bd1: Pull complete 04:53:06 6911f1a30b25: Pull complete 04:53:06 798269fcf238: Verifying Checksum 04:53:06 798269fcf238: Download complete 04:53:07 e194b8c5c2a9: Verifying Checksum 04:53:07 e194b8c5c2a9: Download complete 04:53:07 6c08303d61cc: Verifying Checksum 04:53:07 6c08303d61cc: Download complete 04:53:10 e194b8c5c2a9: Pull complete 04:53:10 6863d3e3a2b1: Pull complete 04:53:10 ec0bb842ea78: Pull complete 04:53:10 40a00589a448: Pull complete 04:53:13 6c08303d61cc: Pull complete 04:53:13 798269fcf238: Pull complete 04:53:13 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:53:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:53:13 ---> ec979cd7f677 04:53:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:53:17 ---> Running in ebffaec1cc0a 04:53:18 Removing intermediate container ebffaec1cc0a 04:53:18 ---> 437a8861a667 04:53:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:53:18 ---> Running in 53b99ce193f0 04:53:18 Removing intermediate container 53b99ce193f0 04:53:18 ---> f303e097f536 04:53:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:53:18 ---> Running in 5427f1378bbe 04:53:18 Removing intermediate container 5427f1378bbe 04:53:18 ---> acdd00f93fa1 04:53:18 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:53:18 ---> Running in 04adafd89cbd 04:53:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:53:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:53:19 OK: 265 MiB in 53 packages 04:53:19 Removing intermediate container 04adafd89cbd 04:53:19 ---> ef95c9135945 04:53:19 Step 7/12 : WORKDIR /app 04:53:19 ---> Running in 08d36256a015 04:53:19 Removing intermediate container 08d36256a015 04:53:19 ---> f4dae4191da0 04:53:19 Step 8/12 : COPY go.mod vendor* ./ 04:53:19 ---> 66fbd5915b3a 04:53:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:20 ---> Running in 6edf912f6238 04:53:20 Still waiting to schedule task 04:53:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:54:27 Removing intermediate container 6edf912f6238 04:54:27 ---> caf2d7fc82be 04:54:27 Step 10/12 : COPY . . 04:54:27 ---> b3cdde8443bb 04:54:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:54:27 ---> Running in c7ac56cfd1a9 04:54:27 Removing intermediate container c7ac56cfd1a9 04:54:27 ---> c7b1af84e151 04:54:27 Step 12/12 : RUN $MAKE 04:54:27 ---> Running in 19231eac5274 04:54:27 noop 04:54:27 Removing intermediate container 19231eac5274 04:54:27 ---> 2eb4d641f0b9 04:54:27 Successfully built 2eb4d641f0b9 04:54:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:28 + docker inspect -f . ci-base-image-x86_64 04:54:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:28 prd-ubuntu20.04-docker-8c-8g-2489 does not seem to be running inside a container 04:54:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-579 -v /w/workspace/_app-service-configurable_PR-579:/w/workspace/_app-service-configurable_PR-579:rw,z -v /w/workspace/_app-service-configurable_PR-579@tmp:/w/workspace/_app-service-configurable_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:54:28 $ docker top 05b1891000672bbfd90ba73d27e3de02be4587d90feba7e988e7f917d8ba27f1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:28 + go version 04:54:28 go version go1.20.6 linux/amd64 [Pipeline] } 04:54:28 $ docker stop --time=1 05b1891000672bbfd90ba73d27e3de02be4587d90feba7e988e7f917d8ba27f1 04:54:30 $ docker rm -f --volumes 05b1891000672bbfd90ba73d27e3de02be4587d90feba7e988e7f917d8ba27f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:30 + docker inspect -f . ci-base-image-x86_64 04:54:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:30 prd-ubuntu20.04-docker-8c-8g-2489 does not seem to be running inside a container 04:54:30 $ 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-579 -v /w/workspace/_app-service-configurable_PR-579:/w/workspace/_app-service-configurable_PR-579:rw,z -v /w/workspace/_app-service-configurable_PR-579@tmp:/w/workspace/_app-service-configurable_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:54:30 $ docker top eb144639e2bcf781c116e3cf473859ee798c9dedc184f47532b159744f541adc -eo pid,comm [Pipeline] { [Pipeline] sh 04:54:31 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-579 [Pipeline] fileExists [Pipeline] sh 04:54:31 + make test 04:54:31 go test -race -coverprofile=coverage.out ./... 04:54:53 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:54:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2490 in /w/workspace/_app-service-configurable_PR-579 [Pipeline] { [Pipeline] ws 04:54:58 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 04:54:58 Selected Git installation does not exist. Using Default 04:54:58 The recommended git tool is: NONE 04:55:02 using credential edgex-jenkins-ssh 04:55:03 Cloning the remote Git repository 04:55:03 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:55:03 > git init /w/workspace/app-service-configurable/2 # timeout=10 04:55:03 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:55:03 > git --version # timeout=10 04:55:03 > git --version # 'git version 2.25.1' 04:55:03 using GIT_SSH to set credentials SSH Credentials for GitHub 04:55:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:55:06 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:55:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:55:08 Merging remotes/origin/main commit e006c610c04bb7e0ab96add43a12e9ef9e699912 into PR head commit 27f04b8be9641ab55644619a2a9bef97aabf9bd0 04:55:07 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:55:07 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:55:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:55:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:55:08 > git config core.sparsecheckout # timeout=10 04:55:08 > git checkout -f 27f04b8be9641ab55644619a2a9bef97aabf9bd0 # timeout=10 04:55:08 > git remote # timeout=10 04:55:08 > git config --get remote.origin.url # timeout=10 04:55:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:55:08 > git merge e006c610c04bb7e0ab96add43a12e9ef9e699912 # timeout=10 04:55:08 Merge succeeded, producing 3a7b8b733da0f219490d2940d213fe94c2d05ab3 04:55:08 Checking out Revision 3a7b8b733da0f219490d2940d213fe94c2d05ab3 (PR-579) 04:55:08 > git rev-parse HEAD^{commit} # timeout=10 04:55:08 > git config core.sparsecheckout # timeout=10 04:55:08 > git checkout -f 3a7b8b733da0f219490d2940d213fe94c2d05ab3 # timeout=10 04:55:11 go vet ./... 04:55:11 Commit message: "Merge commit 'e006c610c04bb7e0ab96add43a12e9ef9e699912' into HEAD" 04:55:11 > git rev-list --no-walk 27f04b8be9641ab55644619a2a9bef97aabf9bd0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:55:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:55:12 % Total % Received % Xferd Average Speed Time Time Time Current 04:55:12 Dload Upload Total Spent Left Speed 04:55:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 04:55:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:55:13 + sudo tee /etc/docker/daemon.new 04:55:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:55:13 { 04:55:13 "registry-mirrors": [ 04:55:13 "https://nexus3.edgexfoundry.org:10001" 04:55:13 ], 04:55:13 "bip": "10.250.0.254/24", 04:55:13 "hosts": [ 04:55:13 "tcp://0.0.0.0:5555", 04:55:13 "unix:///var/run/docker.sock" 04:55:13 ], 04:55:13 "mtu": 1458, 04:55:13 "selinux-enabled": true, 04:55:13 "seccomp-profile": "/etc/docker/seccomp.json" 04:55:13 } [Pipeline] sh 04:55:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:55:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:55:14 ./bin/test-attribution-txt.sh [Pipeline] echo 04:55:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:55:14 $ docker stop --time=1 eb144639e2bcf781c116e3cf473859ee798c9dedc184f47532b159744f541adc 04:55:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 04:55:18 $ docker rm -f --volumes eb144639e2bcf781c116e3cf473859ee798c9dedc184f47532b159744f541adc [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 04:55:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:55:19 Stashed 1 file(s) [Pipeline] } 04:55:19 + sudo service docker restart [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:55:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:55:19 + ls -al . 04:55:19 total 180 04:55:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 04:54 . 04:55:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 04:52 .. 04:55:19 -rw-rw-r-- 1 jenkins jenkins 119 Jul 29 04:52 .dockerignore 04:55:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 04:53 .git 04:55:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 04:52 .github 04:55:19 -rw-rw-r-- 1 jenkins jenkins 171 Jul 29 04:52 .gitignore 04:55:19 -rw-rw-r-- 1 jenkins jenkins 41 Jul 29 04:52 .golangci.yml 04:55:19 drwxr-xr-x 3 jenkins jenkins 4096 Jul 29 04:53 .semver 04:55:19 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 29 04:52 Attribution.txt 04:55:19 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 29 04:52 CHANGELOG.md 04:55:19 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 29 04:52 Dockerfile 04:55:19 -rw-rw-r-- 1 jenkins jenkins 677 Jul 29 04:52 GOVERNANCE.md 04:55:19 -rw-rw-r-- 1 jenkins jenkins 688 Jul 29 04:52 Jenkinsfile 04:55:19 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 29 04:52 LICENSE 04:55:19 -rw-rw-r-- 1 jenkins jenkins 618 Jul 29 04:52 OWNERS.md 04:55:19 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 29 04:52 README.md 04:55:19 -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 04:53 VERSION 04:55:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 04:52 bin 04:55:19 -rw-r--r-- 1 jenkins jenkins 13 Jul 29 04:54 coverage.out 04:55:19 -rw-rw-r-- 1 jenkins jenkins 3469 Jul 29 04:52 go.mod 04:55:19 -rw-rw-r-- 1 jenkins jenkins 32452 Jul 29 04:52 go.sum 04:55:19 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 29 04:52 main.go 04:55:19 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 29 04:52 makefile 04:55:19 drwxrwxr-x 9 jenkins jenkins 4096 Jul 29 04:52 res 04:55:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 04:52 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:20 + 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=1f71989722d746665191c040816835541002eb76 --label arch=amd64 --label version=0.0.0 . 04:55:20 Sending build context to Docker daemon 3.31MB 04:55:20 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:55:20 Step 2/26 : FROM ${BASE} AS builder 04:55:20 ---> 2eb4d641f0b9 04:55:20 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:55:20 ---> Running in b327db797cf9 04:55:20 Removing intermediate container b327db797cf9 04:55:20 ---> 67b95b447b87 04:55:20 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:55:20 ---> Running in d2132dea1734 04:55:20 Removing intermediate container d2132dea1734 04:55:20 ---> 0ce849f41894 04:55:20 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:55:20 ---> Running in cad5c8059328 04:55:20 Removing intermediate container cad5c8059328 04:55:20 ---> cce45948a078 04:55:20 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:20 ---> Running in b2c8a074d5c0 04:55:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:55:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:55:21 OK: 265 MiB in 53 packages 04:55:21 Removing intermediate container b2c8a074d5c0 04:55:21 ---> b135a1f62637 04:55:21 Step 7/26 : WORKDIR /app 04:55:21 ---> Running in a41da5ff19c5 04:55:21 Removing intermediate container a41da5ff19c5 04:55:21 ---> 21438be7dd7e 04:55:21 Step 8/26 : COPY go.mod vendor* ./ 04:55:21 ---> f3af67e906e2 04:55:21 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:21 ---> Running in 8b3a0c573159 04:55:22 Removing intermediate container 8b3a0c573159 04:55:22 ---> 1898155fe5bf 04:55:22 Step 10/26 : COPY . . 04:55:22 ---> c08c3bb9da28 04:55:22 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:55:22 ---> Running in 86bfcb571b6d 04:55:23 Removing intermediate container 86bfcb571b6d 04:55:23 ---> 3226f653beef 04:55:23 Step 12/26 : RUN $MAKE 04:55:23 ---> Running in dab615fa9e1d 04:55:23 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 04:55:37 provisioning config files... 04:55:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config201128264992604809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:37 ---> docker-login.sh 04:55:37 nexus3.edgexfoundry.org:10001 04:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:38 Configure a credential helper to remove this warning. See 04:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:38 04:55:38 Login Succeeded 04:55:38 nexus3.edgexfoundry.org:10002 04:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:38 Configure a credential helper to remove this warning. See 04:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:38 04:55:38 Login Succeeded 04:55:38 nexus3.edgexfoundry.org:10003 04:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:39 Configure a credential helper to remove this warning. See 04:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:39 04:55:39 Login Succeeded 04:55:39 nexus3.edgexfoundry.org:10004 04:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:39 Configure a credential helper to remove this warning. See 04:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:39 04:55:39 Login Succeeded 04:55:39 docker.io 04:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:39 Configure a credential helper to remove this warning. See 04:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:39 04:55:39 Login Succeeded 04:55:39 ---> docker-login.sh ends [Pipeline] } 04:55:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:40 ========================================================= 04:55:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:55:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:40 + 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 . 04:55:40 Sending build context to Docker daemon 176.1kB 04:55:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:55:40 Step 2/12 : FROM ${BASE} AS builder 04:55:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:55:40 edb6bdbacee9: Pulling fs layer 04:55:40 5f9638ab2659: Pulling fs layer 04:55:40 8d51d6327a98: Pulling fs layer 04:55:40 8b374f2dd631: Pulling fs layer 04:55:40 ec14aa9079de: Pulling fs layer 04:55:40 2f466654f4bb: Pulling fs layer 04:55:40 554e91adad29: Pulling fs layer 04:55:40 2f466654f4bb: Waiting 04:55:40 554e91adad29: Waiting 04:55:40 8b374f2dd631: Waiting 04:55:40 ec14aa9079de: Waiting 04:55:40 5f9638ab2659: Verifying Checksum 04:55:40 5f9638ab2659: Download complete 04:55:41 8b374f2dd631: Verifying Checksum 04:55:41 8b374f2dd631: Download complete 04:55:41 ec14aa9079de: Verifying Checksum 04:55:41 ec14aa9079de: Download complete 04:55:41 edb6bdbacee9: Verifying Checksum 04:55:41 Removing intermediate container dab615fa9e1d 04:55:41 ---> 50a0fb14c48f 04:55:41 Step 13/26 : FROM alpine:3.17 04:55:41 3.17: Pulling from library/alpine 04:55:41 4db1b89c0bd1: Already exists 04:55:41 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 04:55:41 Status: Downloaded newer image for alpine:3.17 04:55:41 ---> 1f73a9d63274 04:55:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:55:41 ---> Running in 484941094ec3 04:55:41 Removing intermediate container 484941094ec3 04:55:41 ---> e546a28a7c5c 04:55:41 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 04:55:41 ---> Running in ea9a0f51ab52 04:55:41 Removing intermediate container ea9a0f51ab52 04:55:41 ---> de83085fa832 04:55:41 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:55:41 ---> Running in 2641a2220b50 04:55:41 edb6bdbacee9: Pull complete 04:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:55:42 554e91adad29: Verifying Checksum 04:55:42 554e91adad29: Download complete 04:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:55:42 5f9638ab2659: Pull complete 04:55:42 (1/2) Installing ca-certificates (20230506-r0) 04:55:42 (2/2) Installing dumb-init (1.2.5-r2) 04:55:42 Executing busybox-1.35.0-r29.trigger 04:55:42 Executing ca-certificates-20230506-r0.trigger 04:55:42 OK: 8 MiB in 17 packages 04:55:43 Removing intermediate container 2641a2220b50 04:55:43 ---> dad972936b9f 04:55:43 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:55:43 ---> 8b7422488a20 04:55:43 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:55:43 ---> 5fbcfa1194bd 04:55:43 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:55:43 8d51d6327a98: Verifying Checksum 04:55:43 8d51d6327a98: Download complete 04:55:43 2f466654f4bb: Verifying Checksum 04:55:43 ---> 3d080dacdb15 04:55:43 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:55:44 ---> 89840d4b40bf 04:55:44 Step 21/26 : EXPOSE 48095 04:55:44 ---> Running in de874bd31797 04:55:44 Removing intermediate container de874bd31797 04:55:44 ---> 3c296f2c67a7 04:55:44 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 04:55:44 ---> Running in ff70aa195508 04:55:44 Removing intermediate container ff70aa195508 04:55:44 ---> c67ac162ebc0 04:55:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:55:44 ---> Running in df1eb2dcec9a 04:55:44 Removing intermediate container df1eb2dcec9a 04:55:44 ---> 6acaa3f2ed5a 04:55:44 Step 24/26 : LABEL arch=amd64 04:55:44 ---> Running in 7017aee168b0 04:55:44 Removing intermediate container 7017aee168b0 04:55:44 ---> 79204ae51831 04:55:44 Step 25/26 : LABEL git_sha=1f71989722d746665191c040816835541002eb76 04:55:44 ---> Running in 1d57f804c445 04:55:44 Removing intermediate container 1d57f804c445 04:55:44 ---> c2ed62f6378b 04:55:44 Step 26/26 : LABEL version=0.0.0 04:55:44 ---> Running in 208ef7ce5151 04:55:44 Removing intermediate container 208ef7ce5151 04:55:44 ---> a2d0a402c0d0 04:55:44 [Warning] One or more build-args [ARCH] were not consumed 04:55:44 Successfully built a2d0a402c0d0 04:55:44 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 04:55:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:45 04:55:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:45 latest: Pulling from edgex-lftools-log-publisher 04:55:45 5eb5b503b376: Pulling fs layer 04:55:45 5c69ac0246d0: Pulling fs layer 04:55:45 ec43610c2a17: Pulling fs layer 04:55:45 3a2ae6a8a46f: Pulling fs layer 04:55:45 33b1e0a273af: Pulling fs layer 04:55:45 5d3b04190fa2: Pulling fs layer 04:55:45 2f39f015ded8: Pulling fs layer 04:55:45 3a2ae6a8a46f: Waiting 04:55:45 33b1e0a273af: Waiting 04:55:45 5d3b04190fa2: Waiting 04:55:45 2f39f015ded8: Waiting 04:55:45 5c69ac0246d0: Download complete 04:55:45 3a2ae6a8a46f: Verifying Checksum 04:55:45 3a2ae6a8a46f: Download complete 04:55:45 33b1e0a273af: Verifying Checksum 04:55:45 33b1e0a273af: Download complete 04:55:45 5d3b04190fa2: Verifying Checksum 04:55:45 5d3b04190fa2: Download complete 04:55:45 ec43610c2a17: Verifying Checksum 04:55:45 ec43610c2a17: Download complete 04:55:45 5eb5b503b376: Verifying Checksum 04:55:45 5eb5b503b376: Download complete 04:55:46 2f39f015ded8: Download complete 04:55:46 5eb5b503b376: Pull complete 04:55:46 5c69ac0246d0: Pull complete 04:55:47 ec43610c2a17: Pull complete 04:55:47 3a2ae6a8a46f: Pull complete 04:55:47 33b1e0a273af: Pull complete 04:55:47 5d3b04190fa2: Pull complete 04:55:51 2f39f015ded8: Pull complete 04:55:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:55:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:55:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:51 prd-ubuntu20.04-docker-8c-8g-2489 does not seem to be running inside a container 04:55:51 $ 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-579 -v /w/workspace/_app-service-configurable_PR-579:/w/workspace/_app-service-configurable_PR-579:rw,z -v /w/workspace/_app-service-configurable_PR-579@tmp:/w/workspace/_app-service-configurable_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:55:55 $ docker top fd93dd510faceb118fcbf4b6d1bbf9d64550c9b62e2cb28b390b7a37114a1e66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:55 8d51d6327a98: Pull complete 04:55:55 8b374f2dd631: Pull complete 04:55:55 ec14aa9079de: Pull complete 04:55:56 ---> job-cost.sh 04:55:56 lf-activate-venv: SKIPPING 04:55:56 INFO: No Stack... 04:55:56 INFO: Retrieving Pricing Info for: v3-standard-8 04:55:56 INFO: Archiving Costs [Pipeline] sh 04:55:56 + cat /w/workspace/_app-service-configurable_PR-579/archives/cost.csv 04:55:56 + cut -d, -f6 [Pipeline] lock 04:55:56 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-579-2-stack-cost] 04:55:56 Resource [jenkins-edgexfoundry-app-service-configurable-PR-579-2-stack-cost] did not exist. Created. 04:55:56 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-579-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:55:57 + echo total: 0.2199999988079071 [Pipeline] stash 04:55:57 Stashed 1 file(s) [Pipeline] } 04:55:57 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-579-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:55:57 $ docker stop --time=1 fd93dd510faceb118fcbf4b6d1bbf9d64550c9b62e2cb28b390b7a37114a1e66 04:55:58 $ docker rm -f --volumes fd93dd510faceb118fcbf4b6d1bbf9d64550c9b62e2cb28b390b7a37114a1e66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:56:01 2f466654f4bb: Pull complete 04:56:03 554e91adad29: Pull complete 04:56:03 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:56:03 ---> 1e15ea492957 04:56:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:56:05 ---> Running in d001f1cc6433 04:56:05 Removing intermediate container d001f1cc6433 04:56:05 ---> 3993fe6f70af 04:56:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:56:05 ---> Running in 23fefab7812e 04:56:05 Removing intermediate container 23fefab7812e 04:56:05 ---> fbcadbf9f53b 04:56:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:56:05 ---> Running in 1e992c4c994a 04:56:06 Removing intermediate container 1e992c4c994a 04:56:06 ---> c4f3375a8760 04:56:06 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:56:06 ---> Running in f2797eea9f8f 04:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:56:08 OK: 263 MiB in 53 packages 04:56:09 Removing intermediate container f2797eea9f8f 04:56:09 ---> 3ff35d6b07c1 04:56:09 Step 7/12 : WORKDIR /app 04:56:09 ---> Running in 976f774950e4 04:56:10 Removing intermediate container 976f774950e4 04:56:10 ---> 2eace6e752ff 04:56:10 Step 8/12 : COPY go.mod vendor* ./ 04:56:10 ---> b1bb83e93518 04:56:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:10 ---> Running in 0ba021973617 04:57:18 Removing intermediate container 0ba021973617 04:57:18 ---> 9c5c90908bbf 04:57:18 Step 10/12 : COPY . . 04:57:18 ---> c902d2ec8f03 04:57:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:57:18 ---> Running in 50fc6675635e 04:57:18 Removing intermediate container 50fc6675635e 04:57:18 ---> 21513dbe167b 04:57:18 Step 12/12 : RUN $MAKE 04:57:18 ---> Running in 04a295c7881f 04:57:18 noop 04:57:18 Removing intermediate container 04a295c7881f 04:57:18 ---> 8be9f6aeb047 04:57:18 Successfully built 8be9f6aeb047 04:57:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:18 + docker inspect -f . ci-base-image-arm64 04:57:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:19 prd-ubuntu20.04-docker-arm64-4c-16g-2490 does not seem to be running inside a container 04:57:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:57:20 $ docker top df16e0a813d4f0d1c7a3b582a4cf4178d457db1adcdf5f45150ef8e99fe3ed12 -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:21 + go version 04:57:21 go version go1.20.6 linux/arm64 [Pipeline] } 04:57:21 $ docker stop --time=1 df16e0a813d4f0d1c7a3b582a4cf4178d457db1adcdf5f45150ef8e99fe3ed12 04:57:22 $ docker rm -f --volumes df16e0a813d4f0d1c7a3b582a4cf4178d457db1adcdf5f45150ef8e99fe3ed12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:23 + docker inspect -f . ci-base-image-arm64 04:57:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:23 prd-ubuntu20.04-docker-arm64-4c-16g-2490 does not seem to be running inside a container 04:57:23 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:57:24 $ docker top 3bfcb4352d9a7ae267323ae5ead0eed913b0465c8183f2a1bdc0fb0299688dfb -eo pid,comm [Pipeline] { [Pipeline] sh 04:57:24 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 04:57:25 + make test 04:57:25 go test -race -coverprofile=coverage.out ./... 05:00:01 ? github.com/edgexfoundry/app-service-configurable [no test files] 05:00:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:00:01 go vet ./... 05:02:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:02:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:02:23 ./bin/test-attribution-txt.sh [Pipeline] echo 05:02:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:02:23 $ docker stop --time=1 3bfcb4352d9a7ae267323ae5ead0eed913b0465c8183f2a1bdc0fb0299688dfb 05:02:25 $ docker rm -f --volumes 3bfcb4352d9a7ae267323ae5ead0eed913b0465c8183f2a1bdc0fb0299688dfb [Pipeline] // withDockerContainer [Pipeline] sh 05:02:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:02:27 Warning: overwriting stash ‘coverage-report’ 05:02:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:02:28 + ls -al . 05:02:28 total 176 05:02:28 drwxrwxr-x 7 jenkins jenkins 4096 Jul 29 04:57 . 05:02:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 04:55 .. 05:02:28 -rw-rw-r-- 1 jenkins jenkins 119 Jul 29 04:55 .dockerignore 05:02:28 drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 04:55 .git 05:02:28 drwxrwxr-x 3 jenkins jenkins 4096 Jul 29 04:55 .github 05:02:28 -rw-rw-r-- 1 jenkins jenkins 171 Jul 29 04:55 .gitignore 05:02:28 -rw-rw-r-- 1 jenkins jenkins 41 Jul 29 04:55 .golangci.yml 05:02:28 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 29 04:55 Attribution.txt 05:02:28 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 29 04:55 CHANGELOG.md 05:02:28 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 29 04:55 Dockerfile 05:02:28 -rw-rw-r-- 1 jenkins jenkins 677 Jul 29 04:55 GOVERNANCE.md 05:02:28 -rw-rw-r-- 1 jenkins jenkins 688 Jul 29 04:55 Jenkinsfile 05:02:28 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 29 04:55 LICENSE 05:02:28 -rw-rw-r-- 1 jenkins jenkins 618 Jul 29 04:55 OWNERS.md 05:02:28 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 29 04:55 README.md 05:02:28 -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 04:53 VERSION 05:02:28 drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 04:55 bin 05:02:28 -rw-r--r-- 1 jenkins jenkins 13 Jul 29 04:57 coverage.out 05:02:28 -rw-rw-r-- 1 jenkins jenkins 3469 Jul 29 04:55 go.mod 05:02:28 -rw-rw-r-- 1 jenkins jenkins 32452 Jul 29 04:55 go.sum 05:02:28 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 29 04:55 main.go 05:02:28 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 29 04:55 makefile 05:02:28 drwxrwxr-x 9 jenkins jenkins 4096 Jul 29 04:55 res 05:02:28 drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 04:55 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:28 + 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=3a7b8b733da0f219490d2940d213fe94c2d05ab3 --label arch=arm64 --label version=0.0.0 . 05:02:28 Sending build context to Docker daemon 177.2kB 05:02:28 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 05:02:28 Step 2/26 : FROM ${BASE} AS builder 05:02:28 ---> 8be9f6aeb047 05:02:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 05:02:28 ---> Running in 7cecca1a789c 05:02:28 Removing intermediate container 7cecca1a789c 05:02:28 ---> 5d42d6a6a5f7 05:02:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:02:28 ---> Running in 16fccba37ef7 05:02:29 Removing intermediate container 16fccba37ef7 05:02:29 ---> d62b45e3e91f 05:02:29 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:02:29 ---> Running in 48da38605ab3 05:02:29 Removing intermediate container 48da38605ab3 05:02:29 ---> be970499f489 05:02:29 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:02:29 ---> Running in 4f826e70ce5b 05:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:02:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:02:32 OK: 263 MiB in 53 packages 05:02:32 Removing intermediate container 4f826e70ce5b 05:02:32 ---> 759ad12bead0 05:02:32 Step 7/26 : WORKDIR /app 05:02:33 ---> Running in 855cb3d3d3d5 05:02:33 Removing intermediate container 855cb3d3d3d5 05:02:33 ---> e6abab55957c 05:02:33 Step 8/26 : COPY go.mod vendor* ./ 05:02:34 ---> 9f65073a58fa 05:02:34 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:35 ---> Running in 2c165294cfc0 05:02:37 Removing intermediate container 2c165294cfc0 05:02:37 ---> ee5ec5a8703d 05:02:37 Step 10/26 : COPY . . 05:02:38 ---> d7deb21baa8d 05:02:38 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:02:38 ---> Running in 6970c97ffb9a 05:02:38 Removing intermediate container 6970c97ffb9a 05:02:38 ---> 40f52103d59e 05:02:38 Step 12/26 : RUN $MAKE 05:02:38 ---> Running in 9b1f915bbff2 05:02:39 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 05:04:46 Removing intermediate container 9b1f915bbff2 05:04:46 ---> 6d075bfa5abd 05:04:46 Step 13/26 : FROM alpine:3.17 05:04:46 3.17: Pulling from library/alpine 05:04:46 edb6bdbacee9: Already exists 05:04:46 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 05:04:46 Status: Downloaded newer image for alpine:3.17 05:04:46 ---> 779605e5fbc0 05:04:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:04:46 ---> Running in d619d58116cc 05:04:46 Removing intermediate container d619d58116cc 05:04:46 ---> 203a0af12785 05:04:46 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 05:04:46 ---> Running in a7abc841eccb 05:04:46 Removing intermediate container a7abc841eccb 05:04:46 ---> fa78c2e8c31f 05:04:46 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 05:04:46 ---> Running in 4c07edc88a5d 05:04:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:04:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:04:46 (1/2) Installing ca-certificates (20230506-r0) 05:04:46 (2/2) Installing dumb-init (1.2.5-r2) 05:04:46 Executing busybox-1.35.0-r29.trigger 05:04:46 Executing ca-certificates-20230506-r0.trigger 05:04:46 OK: 8 MiB in 17 packages 05:04:47 Removing intermediate container 4c07edc88a5d 05:04:47 ---> 03dddb8c40c0 05:04:47 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:04:47 ---> 0deb406a6cfe 05:04:47 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 05:04:47 ---> cad76121db77 05:04:47 Step 19/26 : COPY --from=builder /app/res/ /res/ 05:04:48 ---> de678c25678f 05:04:48 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:04:49 ---> 5d8ba86e0365 05:04:49 Step 21/26 : EXPOSE 48095 05:04:49 ---> Running in c3755749417b 05:04:49 Removing intermediate container c3755749417b 05:04:49 ---> 3f2e61644ba5 05:04:49 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 05:04:49 ---> Running in b2b3742c6ca1 05:04:50 Removing intermediate container b2b3742c6ca1 05:04:50 ---> 6ac71f13bff8 05:04:50 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:04:50 ---> Running in 3ff6cfb5ba1b 05:04:50 Removing intermediate container 3ff6cfb5ba1b 05:04:50 ---> 039c6b870573 05:04:50 Step 24/26 : LABEL arch=arm64 05:04:50 ---> Running in 42a7ed213f48 05:04:50 Removing intermediate container 42a7ed213f48 05:04:50 ---> b56a416dc5b7 05:04:50 Step 25/26 : LABEL git_sha=3a7b8b733da0f219490d2940d213fe94c2d05ab3 05:04:50 ---> Running in 9d2a8d955c16 05:04:51 Removing intermediate container 9d2a8d955c16 05:04:51 ---> 805d62bf5f1d 05:04:51 Step 26/26 : LABEL version=0.0.0 05:04:51 ---> Running in 8c42aa54236d 05:04:51 Removing intermediate container 8c42aa54236d 05:04:51 ---> c6a4308069d0 05:04:51 [Warning] One or more build-args [ARCH] were not consumed 05:04:51 Successfully built c6a4308069d0 05:04:51 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 05:04:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:52 05:04:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:52 arm64: Pulling from edgex-lftools-log-publisher 05:04:52 8998bd30e6a1: Pulling fs layer 05:04:52 04944245beec: Pulling fs layer 05:04:52 699f458cf7ca: Pulling fs layer 05:04:52 765212b225bb: Pulling fs layer 05:04:52 f23df028b6ca: Pulling fs layer 05:04:52 d65c8cfc05b1: Pulling fs layer 05:04:52 2437ff75d9bd: Pulling fs layer 05:04:52 765212b225bb: Waiting 05:04:52 f23df028b6ca: Waiting 05:04:52 2437ff75d9bd: Waiting 05:04:52 d65c8cfc05b1: Waiting 05:04:52 04944245beec: Verifying Checksum 05:04:52 04944245beec: Download complete 05:04:52 765212b225bb: Download complete 05:04:52 f23df028b6ca: Verifying Checksum 05:04:52 f23df028b6ca: Download complete 05:04:52 d65c8cfc05b1: Verifying Checksum 05:04:52 d65c8cfc05b1: Download complete 05:04:52 699f458cf7ca: Verifying Checksum 05:04:52 699f458cf7ca: Download complete 05:04:53 8998bd30e6a1: Verifying Checksum 05:04:53 8998bd30e6a1: Download complete 05:04:55 2437ff75d9bd: Verifying Checksum 05:04:55 2437ff75d9bd: Download complete 05:04:57 8998bd30e6a1: Pull complete 05:04:57 04944245beec: Pull complete 05:04:59 699f458cf7ca: Pull complete 05:04:59 765212b225bb: Pull complete 05:04:59 f23df028b6ca: Pull complete 05:05:00 d65c8cfc05b1: Pull complete 05:05:15 2437ff75d9bd: Pull complete 05:05:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:05:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:05:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:15 prd-ubuntu20.04-docker-arm64-4c-16g-2490 does not seem to be running inside a container 05:05:15 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:05:17 $ docker top 93f8da5d9b917ad3cf3804148ca7fb7af841654f9ef18da26f49155daeb2feb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:18 ---> job-cost.sh 05:05:18 lf-activate-venv: SKIPPING 05:05:18 INFO: No Stack... 05:05:19 INFO: Retrieving Pricing Info for: v3-standard-4 05:05:19 INFO: Archiving Costs [Pipeline] sh 05:05:20 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 05:05:20 + cut -d, -f6 [Pipeline] lock 05:05:20 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-579-2-stack-cost] 05:05:20 Resource [jenkins-edgexfoundry-app-service-configurable-PR-579-2-stack-cost] did not exist. Created. 05:05:20 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-579-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:20 /w/workspace/app-service-configurable/2@tmp/durable-7b7532cc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:05:21 + echo total: 0.10999999940395355 [Pipeline] stash 05:05:21 Warning: overwriting stash ‘stack-cost’ 05:05:21 Stashed 1 file(s) [Pipeline] } 05:05:21 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-579-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:21 $ docker stop --time=1 93f8da5d9b917ad3cf3804148ca7fb7af841654f9ef18da26f49155daeb2feb8 05:05:22 $ docker rm -f --volumes 93f8da5d9b917ad3cf3804148ca7fb7af841654f9ef18da26f49155daeb2feb8 [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 05:05:23 provisioning config files... 05:05:23 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-579@tmp/config15652372129051860112tmp [Pipeline] { [Pipeline] sh 05:05:23 + set +x 05:05:23 + curl -s https://codecov.io/bash 05:05:23 + bash -s -- 05:05:23 05:05:23 _____ _ 05:05:23 / ____| | | 05:05:23 | | ___ __| | ___ ___ _____ __ 05:05:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:05:23 | |___| (_) | (_| | __/ (_| (_) \ V / 05:05:23 \_____\___/ \__,_|\___|\___\___/ \_/ 05:05:23 Bash-1.0.6 05:05:23 05:05:23 05:05:23 ==> git version 2.25.1 found 05:05:23 ==> 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 05:05:23 Release-Date: 2020-01-08 05:05:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:05:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:05:23 ==> Jenkins CI detected. 05:05:23 current dir:  /w/workspace/_app-service-configurable_PR-579 05:05:23 project root: . 05:05:23 --> token set from env 05:05:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:05:23 ==> Running gcov in . (disable via -X gcov) 05:05:23 ==> Python coveragepy not found 05:05:23 ==> Searching for coverage reports in: 05:05:23 + . 05:05:23 -> Found 1 reports 05:05:23 ==> Detecting git/mercurial file structure 05:05:23 ==> Reading reports 05:05:23 + ./coverage.out bytes=13 05:05:23 ==> Appending adjustments 05:05:23 https://docs.codecov.io/docs/fixing-reports 05:05:23 + Found adjustments 05:05:23 ==> Gzipping contents 05:05:23 4.0K /tmp/codecov.CnLxQS.gz 05:05:23 ==> Uploading reports 05:05:23 url: https://codecov.io 05:05:23 query: branch=PR-579&commit=1f71989722d746665191c040816835541002eb76&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-579%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=579&job=&cmd_args= 05:05:23 -> Pinging Codecov 05:05:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-579&commit=1f71989722d746665191c040816835541002eb76&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-579%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=579&job=&cmd_args= 05:05:23 -> Uploading to 05:05:23 https://storage.googleapis.com/codecov/v4/raw/2023-07-29/A97CA9966030D2A3747ED39772930CCE/1f71989722d746665191c040816835541002eb76/5ce737c7-c15e-4904-84a4-dcd333f2650c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230729%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230729T050523Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1323d5b43acee97e9efaf5df74f227b033d0c6401fbfd3ed447601a4342780e4 05:05:23 % Total % Received % Xferd Average Speed Time Time Time Current 05:05:23 Dload Upload Total Spent Left Speed 05:05:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2042 --:--:-- --:--:-- --:--:-- 2042 05:05:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/1f71989722d746665191c040816835541002eb76 [Pipeline] } 05:05:23 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 05:05:24 + [ -d /w/workspace/_app-service-configurable_PR-579/archives ] 05:05:24 + ls -al /w/workspace/_app-service-configurable_PR-579/archives 05:05:24 total 16 05:05:24 drwxr-xr-x 3 root root 4096 Jul 29 04:55 . 05:05:24 drwxrwxr-x 9 jenkins jenkins 4096 Jul 29 04:55 .. 05:05:24 drwxr-xr-x 2 root root 4096 Jul 29 04:55 cost 05:05:24 -rw-r--r-- 1 root root 96 Jul 29 04:55 cost.csv 05:05:24 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-579/archives 05:05:24 + ls -al /w/workspace/_app-service-configurable_PR-579/archives 05:05:24 total 16 05:05:24 drwxr-xr-x 3 jenkins jenkins 4096 Jul 29 04:55 . 05:05:24 drwxrwxr-x 9 jenkins jenkins 4096 Jul 29 04:55 .. 05:05:24 drwxr-xr-x 2 jenkins jenkins 4096 Jul 29 04:55 cost 05:05:24 -rw-r--r-- 1 jenkins jenkins 96 Jul 29 04:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:05:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:05:25 ---> package-listing.sh 05:05:25 ++ facter osfamily 05:05:25 ++ tr '[:upper:]' '[:lower:]' 05:05:26 + OS_FAMILY=debian 05:05:26 + workspace=/w/workspace/_app-service-configurable_PR-579 05:05:26 + START_PACKAGES=/tmp/packages_start.txt 05:05:26 + END_PACKAGES=/tmp/packages_end.txt 05:05:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:05:26 + PACKAGES=/tmp/packages_start.txt 05:05:26 + '[' /w/workspace/_app-service-configurable_PR-579 ']' 05:05:26 + PACKAGES=/tmp/packages_end.txt 05:05:26 + case "${OS_FAMILY}" in 05:05:26 + dpkg -l 05:05:26 + grep '^ii' 05:05:26 + '[' -f /tmp/packages_start.txt ']' 05:05:26 + '[' -f /tmp/packages_end.txt ']' 05:05:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:05:26 + '[' /w/workspace/_app-service-configurable_PR-579 ']' 05:05:26 + mkdir -p /w/workspace/_app-service-configurable_PR-579/archives/ 05:05:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-579/archives/ [Pipeline] echo 05:05:26 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-579/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:05:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:26 prd-ubuntu20.04-docker-8c-8g-2489 does not seem to be running inside a container 05:05:26 $ 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-579/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-579 -v /w/workspace/_app-service-configurable_PR-579:/w/workspace/_app-service-configurable_PR-579:rw,z -v /w/workspace/_app-service-configurable_PR-579@tmp:/w/workspace/_app-service-configurable_PR-579@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:05:27 $ docker top 5f05c84eeacc36f02ad58455862de1ea51a81434d582665e535497fe90015526 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:28 + touch /tmp/pre-build-complete [Pipeline] sh 05:05:28 + mkdir -p /var/log/sysstat [Pipeline] sh 05:05:28 + ls /var/log/sa-host 05:05:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:28 provisioning config files... 05:05:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-579@tmp/config9787440386026249006tmp [Pipeline] { [Pipeline] echo 05:05:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:05:29 ---> create-netrc.sh [Pipeline] } 05:05:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:05:29 ---> python-tools-install.sh [Pipeline] echo 05:05:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:05:29 ---> sudo-logs.sh 05:05:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:05:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:05:30 ---> job-cost.sh 05:05:30 lf-activate-venv: SKIPPING 05:05:30 DEBUG: total: 0.2199999988079071 05:05:30 INFO: Retrieving Stack Cost... 05:05:30 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:30 INFO: Archiving Costs [Pipeline] echo 05:05:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:05:31 ---> logs-deploy.sh 05:05:31 lf-activate-venv: SKIPPING 05:05:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-579/2 05:05:31 INFO: archiving workspace using pattern(s): 05:05:32 Archives upload complete. 05:05:32 INFO: archiving logs to Nexus