Pull request #570 updated 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 lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 368083aad5ad6b7039d48c1a470c7b3e4daf9a13+162d3a06d6a77858f9267e44f258c8258eccc8be (00622d831c4996ee21026d6a54d91763713f6eff) 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-ssh1075401014834517623.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-ssh3687148073972302231.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-570/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-570/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14352054183960839554.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-ssh11170112675092221523.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-570/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-570/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8013035234770542128.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1013 in /w/workspace/_app-service-configurable_PR-570 [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-570 # 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/570/head:refs/remotes/origin/PR-570 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 162d3a06d6a77858f9267e44f258c8258eccc8be into PR head commit 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 Merge succeeded, producing 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 Checking out Revision 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 (PR-570) > git config core.sparsecheckout # timeout=10 > git checkout -f 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 # 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 162d3a06d6a77858f9267e44f258c8258eccc8be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 # timeout=10 Commit message: "build: Update to latest SDK" First time build. Skipping changelog. > git rev-list --no-walk c85a49218b82e13738ec9b672758048df44354bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:46:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:46:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:46:15 ========================================================= 00:46:15 EdgeX Global Pipelines Version Info 00:46:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:46:16 ------------------- 00:46:16 stable info: 00:46:16 ------------------- 00:46:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:46:16 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:46:16 Message: update stable to v1.0.250 00:46:16 ------------------- 00:46:16 experimental info: 00:46:16 ------------------- 00:46:16 Commited By: **** collab-it+edgex@linuxfoundation.org 00:46:16 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:46:16 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:46:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 00:46:16 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 00:46:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-570 [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-570 [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-570 [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 368083a [Pipeline] echo 00:46:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:17 provisioning config files... 00:46:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-570@tmp/config3113194263382263851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:17 ---> docker-login.sh 00:46:17 nexus3.edgexfoundry.org:10001 00:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:18 Configure a credential helper to remove this warning. See 00:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:18 00:46:18 Login Succeeded 00:46:18 nexus3.edgexfoundry.org:10002 00:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:18 Configure a credential helper to remove this warning. See 00:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:18 00:46:18 Login Succeeded 00:46:18 nexus3.edgexfoundry.org:10003 00:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:18 Configure a credential helper to remove this warning. See 00:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:18 00:46:18 Login Succeeded 00:46:18 nexus3.edgexfoundry.org:10004 00:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:18 Configure a credential helper to remove this warning. See 00:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:18 00:46:18 Login Succeeded 00:46:18 docker.io 00:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:18 Configure a credential helper to remove this warning. See 00:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:18 00:46:18 Login Succeeded 00:46:18 ---> docker-login.sh ends [Pipeline] } 00:46:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:46:19 + git rev-list -1 --merges 368083aad5ad6b7039d48c1a470c7b3e4daf9a13~1..368083aad5ad6b7039d48c1a470c7b3e4daf9a13 [Pipeline] echo 00:46:19 -----------> git rev-list -1 --merges 368083aad5ad6b7039d48c1a470c7b3e4daf9a13~1..368083aad5ad6b7039d48c1a470c7b3e4daf9a13 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 [false] [Pipeline] sh 00:46:19 + git log --format=format:%s -1 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 [Pipeline] echo 00:46:19 ========================================================= 00:46:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:46:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:19 + git log --format=format:%s -1 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 [Pipeline] echo 00:46:19 [semverPrep] GIT_COMMIT: 368083aad5ad6b7039d48c1a470c7b3e4daf9a13, Commit Message: build: Update to latest SDK [Pipeline] echo 00:46:19 [semverPrep] This is not a build commit. [Pipeline] sh 00:46:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:46:20 + grep -v github /etc/ssh/ssh_known_hosts 00:46:20 + [ -e /tmp/ssh_known_hosts ] 00:46:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:46:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:46:20 + sudo tee -a /etc/ssh/ssh_known_hosts 00:46:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:46:20 00:46:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:46:21 0.1.4: Pulling from edgex-devops/py-git-semver 00:46:21 b85a868b505f: Pulling fs layer 00:46:21 e2be974225ed: Pulling fs layer 00:46:21 339a4e72a1f5: Pulling fs layer 00:46:21 988bab9f4d93: Pulling fs layer 00:46:21 1469e6f7b9e6: Pulling fs layer 00:46:21 eaf3925da568: Pulling fs layer 00:46:21 bab4dde63d76: Pulling fs layer 00:46:21 bde34c3a00c8: Pulling fs layer 00:46:21 b352a97aabf1: Pulling fs layer 00:46:21 4872d77fe225: Pulling fs layer 00:46:21 5851b861e8e6: Pulling fs layer 00:46:21 988bab9f4d93: Waiting 00:46:21 eaf3925da568: Waiting 00:46:21 1469e6f7b9e6: Waiting 00:46:21 bab4dde63d76: Waiting 00:46:21 4872d77fe225: Waiting 00:46:21 bde34c3a00c8: Waiting 00:46:21 b352a97aabf1: Waiting 00:46:21 5851b861e8e6: Waiting 00:46:21 e2be974225ed: Download complete 00:46:21 988bab9f4d93: Verifying Checksum 00:46:21 988bab9f4d93: Download complete 00:46:21 1469e6f7b9e6: Verifying Checksum 00:46:21 1469e6f7b9e6: Download complete 00:46:21 eaf3925da568: Verifying Checksum 00:46:21 eaf3925da568: Download complete 00:46:21 339a4e72a1f5: Verifying Checksum 00:46:21 339a4e72a1f5: Download complete 00:46:21 bde34c3a00c8: Verifying Checksum 00:46:21 bde34c3a00c8: Download complete 00:46:21 b352a97aabf1: Download complete 00:46:21 4872d77fe225: Download complete 00:46:21 5851b861e8e6: Verifying Checksum 00:46:21 5851b861e8e6: Download complete 00:46:21 b85a868b505f: Verifying Checksum 00:46:21 b85a868b505f: Download complete 00:46:22 bab4dde63d76: Verifying Checksum 00:46:22 bab4dde63d76: Download complete 00:46:23 b85a868b505f: Pull complete 00:46:23 e2be974225ed: Pull complete 00:46:23 339a4e72a1f5: Pull complete 00:46:23 988bab9f4d93: Pull complete 00:46:23 1469e6f7b9e6: Pull complete 00:46:24 eaf3925da568: Pull complete 00:46:26 bab4dde63d76: Pull complete 00:46:26 bde34c3a00c8: Pull complete 00:46:26 b352a97aabf1: Pull complete 00:46:26 4872d77fe225: Pull complete 00:46:26 5851b861e8e6: Pull complete 00:46:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:46:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:46:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:26 prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container 00:46:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-570 -v /w/workspace/_app-service-configurable_PR-570:/w/workspace/_app-service-configurable_PR-570:rw,z -v /w/workspace/_app-service-configurable_PR-570@tmp:/w/workspace/_app-service-configurable_PR-570@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-devops/py-git-semver:0.1.4 cat 00:46:28 $ docker top 24753378a20e4756b2544cfeb7db99efc96f11b0a901ee1a0672a299f642917f -eo pid,comm 00:46:28 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). 00:46:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:46:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:46:28 [ssh-agent] Looking for ssh-agent implementation... 00:46:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:46:28 $ docker exec 24753378a20e4756b2544cfeb7db99efc96f11b0a901ee1a0672a299f642917f ssh-agent 00:46:29 SSH_AUTH_SOCK=/tmp/ssh-LTUdexcdjKmK/agent.31 00:46:29 SSH_AGENT_PID=37 00:46:29 Running ssh-add (command line suppressed) 00:46:29 Identity added: /w/workspace/_app-service-configurable_PR-570@tmp/private_key_16939229473802942648.key (/w/workspace/_app-service-configurable_PR-570@tmp/private_key_16939229473802942648.key) 00:46:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:46:29 + git tag --points-at HEAD [Pipeline] } 00:46:29 $ docker exec --env ******** --env ******** 24753378a20e4756b2544cfeb7db99efc96f11b0a901ee1a0672a299f642917f ssh-agent -k 00:46:29 unset SSH_AUTH_SOCK; 00:46:29 unset SSH_AGENT_PID; 00:46:29 echo Agent pid 37 killed; 00:46:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:46:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:46:29 [ssh-agent] Looking for ssh-agent implementation... 00:46:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:46:29 $ docker exec 24753378a20e4756b2544cfeb7db99efc96f11b0a901ee1a0672a299f642917f ssh-agent 00:46:29 SSH_AUTH_SOCK=/tmp/ssh-TnQEVJgOOrzs/agent.69 00:46:29 SSH_AGENT_PID=74 00:46:29 Running ssh-add (command line suppressed) 00:46:30 Identity added: /w/workspace/_app-service-configurable_PR-570@tmp/private_key_13727044705870964977.key (/w/workspace/_app-service-configurable_PR-570@tmp/private_key_13727044705870964977.key) 00:46:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:46:30 + git semver init 00:46:30 2023-07-13 00:46:30,493 [run_init] DEBUG init version:0.0.0 force:False 00:46:30 2023-07-13 00:46:30,494 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-570/.semver 00:46:30 2023-07-13 00:46:30,494 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-570/.semver 00:46:30 2023-07-13 00:46:30,494 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-570/.semver'], cwd=/w/workspace/_app-service-configurable_PR-570, universal_newlines=False, shell=None, istream=None) 00:46:31 2023-07-13 00:46:31,276 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-570/.git/info/exclude 00:46:31 2023-07-13 00:46:31,277 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-570/.semver/PR-570 with force:False 00:46:31 2023-07-13 00:46:31,277 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-570/.semver/PR-570 00:46:31 2023-07-13 00:46:31,281 [execute] INFO git cat-file --batch-check 00:46:31 2023-07-13 00:46:31,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-570/.semver, universal_newlines=False, shell=None, istream=) 00:46:31 2023-07-13 00:46:31,287 [execute] INFO git cat-file --batch 00:46:31 2023-07-13 00:46:31,288 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-570/.semver, universal_newlines=False, shell=None, istream=) 00:46:31 2023-07-13 00:46:31,293 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-570/.semver/PR-570 00:46:31 0.0.0 [Pipeline] } 00:46:31 $ docker exec --env ******** --env ******** 24753378a20e4756b2544cfeb7db99efc96f11b0a901ee1a0672a299f642917f ssh-agent -k 00:46:31 unset SSH_AUTH_SOCK; 00:46:31 unset SSH_AGENT_PID; 00:46:31 echo Agent pid 74 killed; 00:46:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:46:31 + git semver [Pipeline] } 00:46:32 $ docker stop --time=1 24753378a20e4756b2544cfeb7db99efc96f11b0a901ee1a0672a299f642917f 00:46:33 $ docker rm -f --volumes 24753378a20e4756b2544cfeb7db99efc96f11b0a901ee1a0672a299f642917f [Pipeline] // withDockerContainer [Pipeline] sh 00:46:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:46:33 Stashed 1 file(s) [Pipeline] echo 00:46:33 [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 00:46:34 provisioning config files... 00:46:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-570@tmp/config6464103839924843241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:34 ---> docker-login.sh 00:46:34 nexus3.edgexfoundry.org:10001 00:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:34 Configure a credential helper to remove this warning. See 00:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:34 00:46:34 Login Succeeded 00:46:34 nexus3.edgexfoundry.org:10002 00:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:34 Configure a credential helper to remove this warning. See 00:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:34 00:46:34 Login Succeeded 00:46:34 nexus3.edgexfoundry.org:10003 00:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:34 Configure a credential helper to remove this warning. See 00:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:34 00:46:34 Login Succeeded 00:46:34 nexus3.edgexfoundry.org:10004 00:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:34 Configure a credential helper to remove this warning. See 00:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:34 00:46:34 Login Succeeded 00:46:34 docker.io 00:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:34 Configure a credential helper to remove this warning. See 00:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:34 00:46:34 Login Succeeded 00:46:34 ---> docker-login.sh ends [Pipeline] } 00:46:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:46:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:35 ========================================================= 00:46:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:46:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:35 + 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 . 00:46:35 Sending build context to Docker daemon 3.291MB 00:46:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:46:35 Step 2/12 : FROM ${BASE} AS builder 00:46:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:46:35 4db1b89c0bd1: Pulling fs layer 00:46:35 6911f1a30b25: Pulling fs layer 00:46:35 e194b8c5c2a9: Pulling fs layer 00:46:35 6863d3e3a2b1: Pulling fs layer 00:46:35 ec0bb842ea78: Pulling fs layer 00:46:35 40a00589a448: Pulling fs layer 00:46:35 6c08303d61cc: Pulling fs layer 00:46:35 798269fcf238: Pulling fs layer 00:46:35 6863d3e3a2b1: Waiting 00:46:35 ec0bb842ea78: Waiting 00:46:35 40a00589a448: Waiting 00:46:35 6c08303d61cc: Waiting 00:46:35 798269fcf238: Waiting 00:46:35 6911f1a30b25: Verifying Checksum 00:46:35 6911f1a30b25: Download complete 00:46:35 6863d3e3a2b1: Verifying Checksum 00:46:35 6863d3e3a2b1: Download complete 00:46:35 ec0bb842ea78: Download complete 00:46:35 4db1b89c0bd1: Verifying Checksum 00:46:35 4db1b89c0bd1: Download complete 00:46:35 40a00589a448: Verifying Checksum 00:46:35 40a00589a448: Download complete 00:46:35 4db1b89c0bd1: Pull complete 00:46:35 6911f1a30b25: Pull complete 00:46:36 798269fcf238: Verifying Checksum 00:46:36 798269fcf238: Download complete 00:46:36 e194b8c5c2a9: Download complete 00:46:36 6c08303d61cc: Verifying Checksum 00:46:36 6c08303d61cc: Download complete 00:46:38 e194b8c5c2a9: Pull complete 00:46:38 6863d3e3a2b1: Pull complete 00:46:38 ec0bb842ea78: Pull complete 00:46:39 40a00589a448: Pull complete 00:46:41 6c08303d61cc: Pull complete 00:46:42 798269fcf238: Pull complete 00:46:42 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:46:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:46:42 ---> ec979cd7f677 00:46:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:46:46 ---> Running in ee18cd795c8b 00:46:46 Removing intermediate container ee18cd795c8b 00:46:46 ---> 0f75900ce4d3 00:46:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:46:46 ---> Running in 38343e91be57 00:46:46 Removing intermediate container 38343e91be57 00:46:46 ---> b145cc713744 00:46:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:46:46 ---> Running in eb8f80e7b882 00:46:46 Removing intermediate container eb8f80e7b882 00:46:46 ---> c25b699d3903 00:46:46 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:46:46 ---> Running in a581af0a7ded 00:46:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:46:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:46:47 OK: 265 MiB in 53 packages 00:46:47 Removing intermediate container a581af0a7ded 00:46:47 ---> 381849078631 00:46:47 Step 7/12 : WORKDIR /app 00:46:47 ---> Running in 63e59707b4dc 00:46:47 Removing intermediate container 63e59707b4dc 00:46:47 ---> 68cfe1066b98 00:46:47 Step 8/12 : COPY go.mod vendor* ./ 00:46:48 ---> 903b182ea8d5 00:46:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:48 ---> Running in 88ce8625d3a6 00:46:49 Still waiting to schedule task 00:46:49 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:47:14 Removing intermediate container 88ce8625d3a6 00:47:14 ---> 7b8e88e79743 00:47:14 Step 10/12 : COPY . . 00:47:14 ---> 66152bd62ad5 00:47:14 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:47:14 ---> Running in 249d6af88d98 00:47:14 Removing intermediate container 249d6af88d98 00:47:14 ---> fad824dab030 00:47:14 Step 12/12 : RUN $MAKE 00:47:14 ---> Running in 581eef69da76 00:47:14 noop 00:47:14 Removing intermediate container 581eef69da76 00:47:14 ---> 474b845092dc 00:47:14 Successfully built 474b845092dc 00:47:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:14 + docker inspect -f . ci-base-image-x86_64 00:47:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:15 prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container 00:47:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-570 -v /w/workspace/_app-service-configurable_PR-570:/w/workspace/_app-service-configurable_PR-570:rw,z -v /w/workspace/_app-service-configurable_PR-570@tmp:/w/workspace/_app-service-configurable_PR-570@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 ******** -e ******** ci-base-image-x86_64 cat 00:47:15 $ docker top a7ae59df8c3b249c888ee04e57f735d35b59ebdf2d746bfce713c963e6b39674 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:15 + go version 00:47:15 go version go1.20.6 linux/amd64 [Pipeline] } 00:47:15 $ docker stop --time=1 a7ae59df8c3b249c888ee04e57f735d35b59ebdf2d746bfce713c963e6b39674 00:47:17 $ docker rm -f --volumes a7ae59df8c3b249c888ee04e57f735d35b59ebdf2d746bfce713c963e6b39674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:17 + docker inspect -f . ci-base-image-x86_64 00:47:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:17 prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container 00:47:17 $ 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-570 -v /w/workspace/_app-service-configurable_PR-570:/w/workspace/_app-service-configurable_PR-570:rw,z -v /w/workspace/_app-service-configurable_PR-570@tmp:/w/workspace/_app-service-configurable_PR-570@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 ******** -e ******** ci-base-image-x86_64 cat 00:47:17 $ docker top ae4739de60c6f6d0cafaec4dd90579bac56cef4ca4154a8f24f5631482f1b334 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:18 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-570 [Pipeline] fileExists [Pipeline] sh 00:47:18 + make test 00:47:18 go test -race -coverprofile=coverage.out ./... 00:47:36 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:47:54 go vet ./... 00:47:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:47:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:47:58 ./bin/test-attribution-txt.sh [Pipeline] echo 00:47:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:47:58 $ docker stop --time=1 ae4739de60c6f6d0cafaec4dd90579bac56cef4ca4154a8f24f5631482f1b334 00:48:05 $ docker rm -f --volumes ae4739de60c6f6d0cafaec4dd90579bac56cef4ca4154a8f24f5631482f1b334 [Pipeline] // withDockerContainer [Pipeline] sh 00:48:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:48:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:48:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:48:06 + ls -al . 00:48:06 total 180 00:48:06 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 00:47 . 00:48:06 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:46 .. 00:48:06 -rw-rw-r-- 1 jenkins jenkins 119 Jul 13 00:46 .dockerignore 00:48:06 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 00:46 .git 00:48:06 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 00:46 .github 00:48:06 -rw-rw-r-- 1 jenkins jenkins 171 Jul 13 00:46 .gitignore 00:48:06 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 00:46 .golangci.yml 00:48:06 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 00:46 .semver 00:48:06 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 13 00:46 Attribution.txt 00:48:06 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 13 00:46 CHANGELOG.md 00:48:06 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 13 00:46 Dockerfile 00:48:06 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 00:46 GOVERNANCE.md 00:48:06 -rw-rw-r-- 1 jenkins jenkins 688 Jul 13 00:46 Jenkinsfile 00:48:06 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 13 00:46 LICENSE 00:48:06 -rw-rw-r-- 1 jenkins jenkins 618 Jul 13 00:46 OWNERS.md 00:48:06 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 13 00:46 README.md 00:48:06 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 00:46 VERSION 00:48:06 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:46 bin 00:48:06 -rw-r--r-- 1 jenkins jenkins 13 Jul 13 00:47 coverage.out 00:48:06 -rw-rw-r-- 1 jenkins jenkins 3467 Jul 13 00:46 go.mod 00:48:06 -rw-rw-r-- 1 jenkins jenkins 32448 Jul 13 00:46 go.sum 00:48:06 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 13 00:46 main.go 00:48:06 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 13 00:46 makefile 00:48:06 drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 00:46 res 00:48:06 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:46 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:06 + 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=368083aad5ad6b7039d48c1a470c7b3e4daf9a13 --label arch=amd64 --label version=0.0.0 . 00:48:06 Sending build context to Docker daemon 3.292MB 00:48:06 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:48:06 Step 2/26 : FROM ${BASE} AS builder 00:48:06 ---> 474b845092dc 00:48:06 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:48:07 ---> Running in 30edc74732ba 00:48:07 Removing intermediate container 30edc74732ba 00:48:07 ---> a6eb80beb073 00:48:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:48:07 ---> Running in e8cb107bd1ea 00:48:07 Removing intermediate container e8cb107bd1ea 00:48:07 ---> 22a5fc076d37 00:48:07 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:48:07 ---> Running in 3949694da2b4 00:48:07 Removing intermediate container 3949694da2b4 00:48:07 ---> cab33ff298a0 00:48:07 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:48:07 ---> Running in bd910d676531 00:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:48:08 OK: 265 MiB in 53 packages 00:48:08 Removing intermediate container bd910d676531 00:48:08 ---> 79f3fc63d48f 00:48:08 Step 7/26 : WORKDIR /app 00:48:08 ---> Running in 2fb785eca511 00:48:08 Removing intermediate container 2fb785eca511 00:48:08 ---> 87e231ada2bf 00:48:08 Step 8/26 : COPY go.mod vendor* ./ 00:48:08 ---> a47fb74d0321 00:48:08 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:48:08 ---> Running in 9ff078fc5e58 00:48:09 Removing intermediate container 9ff078fc5e58 00:48:09 ---> 9a814bd4bfac 00:48:09 Step 10/26 : COPY . . 00:48:09 ---> 00fe5007e316 00:48:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:48:09 ---> Running in 7bdfd0791ef4 00:48:09 Removing intermediate container 7bdfd0791ef4 00:48:09 ---> f8c720d7a590 00:48:09 Step 12/26 : RUN $MAKE 00:48:09 ---> Running in 5f96ee3f8133 00:48:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 00:48:32 Removing intermediate container 5f96ee3f8133 00:48:32 ---> c663c80eb122 00:48:32 Step 13/26 : FROM alpine:3.17 00:48:32 3.17: Pulling from library/alpine 00:48:32 4db1b89c0bd1: Already exists 00:48:32 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:48:32 Status: Downloaded newer image for alpine:3.17 00:48:32 ---> 1f73a9d63274 00:48:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:48:32 ---> Running in e9716248f20e 00:48:32 Removing intermediate container e9716248f20e 00:48:32 ---> 99a8d175263a 00:48:32 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 00:48:32 ---> Running in 75217e929d71 00:48:32 Removing intermediate container 75217e929d71 00:48:32 ---> a2e34a89e40c 00:48:32 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 00:48:32 ---> Running in fa28d3e797f5 00:48:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:48:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:48:32 (1/2) Installing ca-certificates (20230506-r0) 00:48:32 (2/2) Installing dumb-init (1.2.5-r2) 00:48:32 Executing busybox-1.35.0-r29.trigger 00:48:32 Executing ca-certificates-20230506-r0.trigger 00:48:32 OK: 8 MiB in 17 packages 00:48:32 Removing intermediate container fa28d3e797f5 00:48:32 ---> ddbdfa4db85d 00:48:32 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 00:48:33 ---> 460856ebdda1 00:48:33 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 00:48:33 ---> 4a26bb29465f 00:48:33 Step 19/26 : COPY --from=builder /app/res/ /res/ 00:48:33 ---> d2225f45db89 00:48:33 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 00:48:34 ---> b8e5f0953bd3 00:48:34 Step 21/26 : EXPOSE 48095 00:48:34 ---> Running in 8136662fb8e0 00:48:34 Removing intermediate container 8136662fb8e0 00:48:34 ---> f2d509cb9658 00:48:34 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 00:48:34 ---> Running in 72b13a630cc7 00:48:34 Removing intermediate container 72b13a630cc7 00:48:34 ---> f871b68352ba 00:48:34 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:48:34 ---> Running in 3ee7324e766a 00:48:34 Removing intermediate container 3ee7324e766a 00:48:34 ---> 6adfa0b2b93f 00:48:34 Step 24/26 : LABEL arch=amd64 00:48:34 ---> Running in 46d943893213 00:48:34 Removing intermediate container 46d943893213 00:48:34 ---> a6cdcd28b6d5 00:48:34 Step 25/26 : LABEL git_sha=368083aad5ad6b7039d48c1a470c7b3e4daf9a13 00:48:34 ---> Running in 9f89d5e7e4a4 00:48:34 Removing intermediate container 9f89d5e7e4a4 00:48:34 ---> 117b67515660 00:48:34 Step 26/26 : LABEL version=0.0.0 00:48:34 ---> Running in 9e39d5db5117 00:48:34 Removing intermediate container 9e39d5db5117 00:48:34 ---> c829abb3fa98 00:48:34 [Warning] One or more build-args [ARCH] were not consumed 00:48:34 Successfully built c829abb3fa98 00:48:34 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 00:48:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:48:35 00:48:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:48:35 latest: Pulling from edgex-lftools-log-publisher 00:48:35 5eb5b503b376: Pulling fs layer 00:48:35 5c69ac0246d0: Pulling fs layer 00:48:35 ec43610c2a17: Pulling fs layer 00:48:35 3a2ae6a8a46f: Pulling fs layer 00:48:35 33b1e0a273af: Pulling fs layer 00:48:35 5d3b04190fa2: Pulling fs layer 00:48:35 2f39f015ded8: Pulling fs layer 00:48:35 5d3b04190fa2: Waiting 00:48:35 3a2ae6a8a46f: Waiting 00:48:35 5c69ac0246d0: Verifying Checksum 00:48:35 5c69ac0246d0: Download complete 00:48:35 3a2ae6a8a46f: Verifying Checksum 00:48:35 3a2ae6a8a46f: Download complete 00:48:35 33b1e0a273af: Verifying Checksum 00:48:35 33b1e0a273af: Download complete 00:48:35 5d3b04190fa2: Verifying Checksum 00:48:35 5d3b04190fa2: Download complete 00:48:35 ec43610c2a17: Verifying Checksum 00:48:35 ec43610c2a17: Download complete 00:48:35 5eb5b503b376: Verifying Checksum 00:48:35 5eb5b503b376: Download complete 00:48:36 2f39f015ded8: Download complete 00:48:37 5eb5b503b376: Pull complete 00:48:37 5c69ac0246d0: Pull complete 00:48:37 ec43610c2a17: Pull complete 00:48:37 3a2ae6a8a46f: Pull complete 00:48:37 33b1e0a273af: Pull complete 00:48:38 5d3b04190fa2: Pull complete 00:48:42 2f39f015ded8: Pull complete 00:48:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:48:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:48:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:42 prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container 00:48:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-570 -v /w/workspace/_app-service-configurable_PR-570:/w/workspace/_app-service-configurable_PR-570:rw,z -v /w/workspace/_app-service-configurable_PR-570@tmp:/w/workspace/_app-service-configurable_PR-570@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:48:48 $ docker top 69e1fb23d3656bf50e4d40578b30c0d652cd21f3c026e52198c63a9834eb5552 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:48 ---> job-cost.sh 00:48:48 lf-activate-venv: SKIPPING 00:48:48 INFO: No Stack... 00:48:49 INFO: Retrieving Pricing Info for: v3-standard-8 00:48:49 INFO: Archiving Costs [Pipeline] sh 00:48:49 + cat /w/workspace/_app-service-configurable_PR-570/archives/cost.csv 00:48:49 + cut -d, -f6 [Pipeline] lock 00:48:49 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-570-2-stack-cost] 00:48:49 Resource [jenkins-edgexfoundry-app-service-configurable-PR-570-2-stack-cost] did not exist. Created. 00:48:49 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-570-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:48:50 + echo total: 0.2199999988079071 [Pipeline] stash 00:48:50 Stashed 1 file(s) [Pipeline] } 00:48:50 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-570-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:48:50 $ docker stop --time=1 69e1fb23d3656bf50e4d40578b30c0d652cd21f3c026e52198c63a9834eb5552 00:48:51 $ docker rm -f --volumes 69e1fb23d3656bf50e4d40578b30c0d652cd21f3c026e52198c63a9834eb5552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:49:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1015 in /w/workspace/_app-service-configurable_PR-570 [Pipeline] { [Pipeline] ws 00:49:55 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 00:49:55 Selected Git installation does not exist. Using Default 00:49:55 The recommended git tool is: NONE 00:50:02 using credential edgex-jenkins-ssh 00:50:02 Cloning the remote Git repository 00:50:02 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 00:50:02 > git init /w/workspace/app-service-configurable/2 # timeout=10 00:50:03 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:50:03 > git --version # timeout=10 00:50:03 > git --version # 'git version 2.25.1' 00:50:03 using GIT_SSH to set credentials SSH Credentials for GitHub 00:50:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:50:04 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:50:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:50:05 Merging remotes/origin/main commit 162d3a06d6a77858f9267e44f258c8258eccc8be into PR head commit 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 00:50:05 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 00:50:05 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 00:50:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:50:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/570/head:refs/remotes/origin/PR-570 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:50:05 > git config core.sparsecheckout # timeout=10 00:50:06 > git checkout -f 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 # timeout=10 00:50:06 > git remote # timeout=10 00:50:06 > git config --get remote.origin.url # timeout=10 00:50:06 using GIT_SSH to set credentials SSH Credentials for GitHub 00:50:06 Merge succeeded, producing 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 00:50:06 Checking out Revision 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 (PR-570) 00:50:06 > git merge 162d3a06d6a77858f9267e44f258c8258eccc8be # timeout=10 00:50:06 > git rev-parse HEAD^{commit} # timeout=10 00:50:06 > git config core.sparsecheckout # timeout=10 00:50:06 > git checkout -f 368083aad5ad6b7039d48c1a470c7b3e4daf9a13 # timeout=10 00:50:09 Commit message: "build: Update to latest SDK" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:50:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:50:10 % Total % Received % Xferd Average Speed Time Time Time Current 00:50:10 Dload Upload Total Spent Left Speed 00:50:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 00:50:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:50:11 + sudo tee /etc/docker/daemon.new 00:50:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:50:11 { 00:50:11 "registry-mirrors": [ 00:50:11 "https://nexus3.edgexfoundry.org:10001" 00:50:11 ], 00:50:11 "bip": "10.250.0.254/24", 00:50:11 "hosts": [ 00:50:11 "tcp://0.0.0.0:5555", 00:50:11 "unix:///var/run/docker.sock" 00:50:11 ], 00:50:11 "mtu": 1458, 00:50:11 "selinux-enabled": true, 00:50:11 "seccomp-profile": "/etc/docker/seccomp.json" 00:50:11 } [Pipeline] sh 00:50:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:50:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:50:30 provisioning config files... 00:50:30 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config3569388732719370210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:30 ---> docker-login.sh 00:50:30 nexus3.edgexfoundry.org:10001 00:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:31 Configure a credential helper to remove this warning. See 00:50:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:31 00:50:31 Login Succeeded 00:50:31 nexus3.edgexfoundry.org:10002 00:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:31 Configure a credential helper to remove this warning. See 00:50:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:31 00:50:31 Login Succeeded 00:50:31 nexus3.edgexfoundry.org:10003 00:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:32 Configure a credential helper to remove this warning. See 00:50:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:32 00:50:32 Login Succeeded 00:50:32 nexus3.edgexfoundry.org:10004 00:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:32 Configure a credential helper to remove this warning. See 00:50:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:32 00:50:32 Login Succeeded 00:50:32 docker.io 00:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:33 Configure a credential helper to remove this warning. See 00:50:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:33 00:50:33 Login Succeeded 00:50:33 ---> docker-login.sh ends [Pipeline] } 00:50:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:50:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:50:33 ========================================================= 00:50:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:50:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:33 + 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 . 00:50:33 Sending build context to Docker daemon 176.1kB 00:50:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:50:33 Step 2/12 : FROM ${BASE} AS builder 00:50:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:50:33 edb6bdbacee9: Pulling fs layer 00:50:33 5f9638ab2659: Pulling fs layer 00:50:33 8d51d6327a98: Pulling fs layer 00:50:33 8b374f2dd631: Pulling fs layer 00:50:33 ec14aa9079de: Pulling fs layer 00:50:33 2f466654f4bb: Pulling fs layer 00:50:33 554e91adad29: Pulling fs layer 00:50:33 8b374f2dd631: Waiting 00:50:33 ec14aa9079de: Waiting 00:50:33 2f466654f4bb: Waiting 00:50:33 554e91adad29: Waiting 00:50:33 5f9638ab2659: Download complete 00:50:34 8b374f2dd631: Verifying Checksum 00:50:34 8b374f2dd631: Download complete 00:50:34 ec14aa9079de: Verifying Checksum 00:50:34 ec14aa9079de: Download complete 00:50:34 edb6bdbacee9: Verifying Checksum 00:50:34 edb6bdbacee9: Download complete 00:50:35 edb6bdbacee9: Pull complete 00:50:35 554e91adad29: Verifying Checksum 00:50:35 554e91adad29: Download complete 00:50:35 5f9638ab2659: Pull complete 00:50:36 8d51d6327a98: Verifying Checksum 00:50:36 8d51d6327a98: Download complete 00:50:36 2f466654f4bb: Verifying Checksum 00:50:36 2f466654f4bb: Download complete 00:50:46 8d51d6327a98: Pull complete 00:50:47 8b374f2dd631: Pull complete 00:50:47 ec14aa9079de: Pull complete 00:50:55 2f466654f4bb: Pull complete 00:50:58 554e91adad29: Pull complete 00:50:58 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:50:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:50:58 ---> 1e15ea492957 00:50:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 00:50:59 ---> Running in 6b6a25316f10 00:50:59 Removing intermediate container 6b6a25316f10 00:50:59 ---> 5e62a1cbf028 00:50:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:50:59 ---> Running in c4cc73f76b7a 00:50:59 Removing intermediate container c4cc73f76b7a 00:50:59 ---> e3964ef4f53d 00:50:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:51:00 ---> Running in 1fa5cfe39eda 00:51:00 Removing intermediate container 1fa5cfe39eda 00:51:00 ---> 9d2b8839bcb7 00:51:00 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:51:00 ---> Running in e3acac397088 00:51:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:51:03 OK: 263 MiB in 53 packages 00:51:04 Removing intermediate container e3acac397088 00:51:04 ---> c6c3881f59d8 00:51:04 Step 7/12 : WORKDIR /app 00:51:04 ---> Running in 1377abeaaee5 00:51:04 Removing intermediate container 1377abeaaee5 00:51:04 ---> c1d4bd1bcdbc 00:51:04 Step 8/12 : COPY go.mod vendor* ./ 00:51:05 ---> 52836fb5eb8f 00:51:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:51:05 ---> Running in 99e1f1dbe5c8 00:52:13 Removing intermediate container 99e1f1dbe5c8 00:52:13 ---> 6f3a1f7372bd 00:52:13 Step 10/12 : COPY . . 00:52:13 ---> 7fb070d2fe5f 00:52:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:52:13 ---> Running in 0aabf2f8f0b3 00:52:13 Removing intermediate container 0aabf2f8f0b3 00:52:13 ---> 07d1b909f6a5 00:52:13 Step 12/12 : RUN $MAKE 00:52:13 ---> Running in 25c5cf8e22ec 00:52:13 noop 00:52:13 Removing intermediate container 25c5cf8e22ec 00:52:13 ---> 5ed8c61c4c75 00:52:13 Successfully built 5ed8c61c4c75 00:52:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:13 + docker inspect -f . ci-base-image-arm64 00:52:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:52:13 prd-ubuntu20.04-docker-arm64-4c-16g-1015 does not seem to be running inside a container 00:52:13 $ 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 00:52:14 $ docker top d30e4c0e17529a22c693ce0753448707eefc9a276a96098141d9eed241aebcb4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:15 + go version 00:52:15 go version go1.20.6 linux/arm64 [Pipeline] } 00:52:15 $ docker stop --time=1 d30e4c0e17529a22c693ce0753448707eefc9a276a96098141d9eed241aebcb4 00:52:17 $ docker rm -f --volumes d30e4c0e17529a22c693ce0753448707eefc9a276a96098141d9eed241aebcb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:52:17 + docker inspect -f . ci-base-image-arm64 00:52:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:52:18 prd-ubuntu20.04-docker-arm64-4c-16g-1015 does not seem to be running inside a container 00:52:18 $ 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 00:52:19 $ docker top 553b4a3daa2ae31f4005fa327200b48c72013f656fa84fbcc5b93522e57e4ee4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:20 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 00:52:20 + make test 00:52:20 go test -race -coverprofile=coverage.out ./... 00:55:12 ? github.com/edgexfoundry/app-service-configurable [no test files] 00:55:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:55:12 go vet ./... 00:57:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:57:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:57:49 ./bin/test-attribution-txt.sh [Pipeline] echo 00:57:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:57:49 $ docker stop --time=1 553b4a3daa2ae31f4005fa327200b48c72013f656fa84fbcc5b93522e57e4ee4 00:57:52 $ docker rm -f --volumes 553b4a3daa2ae31f4005fa327200b48c72013f656fa84fbcc5b93522e57e4ee4 [Pipeline] // withDockerContainer [Pipeline] sh 00:57:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:57:53 Warning: overwriting stash ‘coverage-report’ 00:57:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:57:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:57:54 + ls -al . 00:57:54 total 176 00:57:54 drwxrwxr-x 7 jenkins jenkins 4096 Jul 13 00:52 . 00:57:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:50 .. 00:57:54 -rw-rw-r-- 1 jenkins jenkins 119 Jul 13 00:50 .dockerignore 00:57:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 00:50 .git 00:57:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 00:50 .github 00:57:54 -rw-rw-r-- 1 jenkins jenkins 171 Jul 13 00:50 .gitignore 00:57:54 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 00:50 .golangci.yml 00:57:54 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 13 00:50 Attribution.txt 00:57:54 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 13 00:50 CHANGELOG.md 00:57:54 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 13 00:50 Dockerfile 00:57:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 00:50 GOVERNANCE.md 00:57:54 -rw-rw-r-- 1 jenkins jenkins 688 Jul 13 00:50 Jenkinsfile 00:57:54 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 13 00:50 LICENSE 00:57:54 -rw-rw-r-- 1 jenkins jenkins 618 Jul 13 00:50 OWNERS.md 00:57:54 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 13 00:50 README.md 00:57:54 -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 00:46 VERSION 00:57:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:50 bin 00:57:54 -rw-r--r-- 1 jenkins jenkins 13 Jul 13 00:52 coverage.out 00:57:54 -rw-rw-r-- 1 jenkins jenkins 3467 Jul 13 00:50 go.mod 00:57:54 -rw-rw-r-- 1 jenkins jenkins 32448 Jul 13 00:50 go.sum 00:57:54 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 13 00:50 main.go 00:57:54 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 13 00:50 makefile 00:57:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 00:50 res 00:57:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:50 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:55 + 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=368083aad5ad6b7039d48c1a470c7b3e4daf9a13 --label arch=arm64 --label version=0.0.0 . 00:57:55 Sending build context to Docker daemon 177.2kB 00:57:55 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 00:57:55 Step 2/26 : FROM ${BASE} AS builder 00:57:55 ---> 5ed8c61c4c75 00:57:55 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 00:57:55 ---> Running in 319e61f4f60c 00:57:55 Removing intermediate container 319e61f4f60c 00:57:55 ---> 88c06192b906 00:57:55 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:57:55 ---> Running in 62acd146d2d3 00:57:56 Removing intermediate container 62acd146d2d3 00:57:56 ---> 92994f37ea5c 00:57:56 Step 5/26 : ARG ADD_BUILD_TAGS="" 00:57:56 ---> Running in f905dbd1a0ec 00:57:56 Removing intermediate container f905dbd1a0ec 00:57:56 ---> eb194cb84434 00:57:56 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:57:56 ---> Running in b3ae716f4eba 00:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:57:59 OK: 263 MiB in 53 packages 00:57:59 Removing intermediate container b3ae716f4eba 00:57:59 ---> b9a8aaed3940 00:57:59 Step 7/26 : WORKDIR /app 00:58:00 ---> Running in 187dfbc834c5 00:58:00 Removing intermediate container 187dfbc834c5 00:58:00 ---> f0d9c9227381 00:58:00 Step 8/26 : COPY go.mod vendor* ./ 00:58:00 ---> fffe657d6ef3 00:58:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:58:00 ---> Running in 8bf983758203 00:58:04 Removing intermediate container 8bf983758203 00:58:04 ---> d36931964c26 00:58:04 Step 10/26 : COPY . . 00:58:04 ---> 903bd0fb1976 00:58:04 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:58:04 ---> Running in 2ff22cb53870 00:58:04 Removing intermediate container 2ff22cb53870 00:58:04 ---> 1b1bf549df7b 00:58:04 Step 12/26 : RUN $MAKE 00:58:05 ---> Running in 0bbb2d9bdceb 00:58:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.5 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 01:00:42 Removing intermediate container 0bbb2d9bdceb 01:00:42 ---> e5e74f17e3fb 01:00:42 Step 13/26 : FROM alpine:3.17 01:00:42 3.17: Pulling from library/alpine 01:00:42 edb6bdbacee9: Already exists 01:00:42 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 01:00:42 Status: Downloaded newer image for alpine:3.17 01:00:42 ---> 779605e5fbc0 01:00:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:00:42 ---> Running in 011bbad4f6e8 01:00:42 Removing intermediate container 011bbad4f6e8 01:00:42 ---> d31b4fea4ba3 01:00:42 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 01:00:42 ---> Running in b09e380c53e3 01:00:42 Removing intermediate container b09e380c53e3 01:00:42 ---> dee55817e969 01:00:42 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 01:00:42 ---> Running in ecaa424d9ab0 01:00:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:00:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:00:42 (1/2) Installing ca-certificates (20230506-r0) 01:00:42 (2/2) Installing dumb-init (1.2.5-r2) 01:00:42 Executing busybox-1.35.0-r29.trigger 01:00:42 Executing ca-certificates-20230506-r0.trigger 01:00:42 OK: 8 MiB in 17 packages 01:00:42 Removing intermediate container ecaa424d9ab0 01:00:42 ---> 0ea49bf4800c 01:00:42 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 01:00:42 ---> 4438c2142e5e 01:00:42 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 01:00:42 ---> d36e3c944f59 01:00:42 Step 19/26 : COPY --from=builder /app/res/ /res/ 01:00:42 ---> 8517cc94a97a 01:00:42 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 01:00:42 ---> 4dc7251bd20f 01:00:42 Step 21/26 : EXPOSE 48095 01:00:42 ---> Running in 878c619abef1 01:00:42 Removing intermediate container 878c619abef1 01:00:42 ---> a003ab41767f 01:00:42 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 01:00:42 ---> Running in 07e98b691933 01:00:42 Removing intermediate container 07e98b691933 01:00:42 ---> 8ed9effbd1c6 01:00:42 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:00:42 ---> Running in 4d76c4625f02 01:00:42 Removing intermediate container 4d76c4625f02 01:00:42 ---> 083f62a87797 01:00:42 Step 24/26 : LABEL arch=arm64 01:00:42 ---> Running in bf34c03d863e 01:00:42 Removing intermediate container bf34c03d863e 01:00:42 ---> e33014a9a25d 01:00:42 Step 25/26 : LABEL git_sha=368083aad5ad6b7039d48c1a470c7b3e4daf9a13 01:00:42 ---> Running in 59f8ade9da46 01:00:42 Removing intermediate container 59f8ade9da46 01:00:42 ---> 45eec7e5b43a 01:00:42 Step 26/26 : LABEL version=0.0.0 01:00:42 ---> Running in 66131402fe89 01:00:42 Removing intermediate container 66131402fe89 01:00:42 ---> 726553eeda95 01:00:42 [Warning] One or more build-args [ARCH] were not consumed 01:00:42 Successfully built 726553eeda95 01:00:42 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 01:00:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:43 01:00:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:43 arm64: Pulling from edgex-lftools-log-publisher 01:00:43 8998bd30e6a1: Pulling fs layer 01:00:43 04944245beec: Pulling fs layer 01:00:43 699f458cf7ca: Pulling fs layer 01:00:43 765212b225bb: Pulling fs layer 01:00:43 f23df028b6ca: Pulling fs layer 01:00:43 d65c8cfc05b1: Pulling fs layer 01:00:43 2437ff75d9bd: Pulling fs layer 01:00:43 f23df028b6ca: Waiting 01:00:43 d65c8cfc05b1: Waiting 01:00:43 2437ff75d9bd: Waiting 01:00:43 765212b225bb: Waiting 01:00:43 04944245beec: Verifying Checksum 01:00:43 04944245beec: Download complete 01:00:43 765212b225bb: Verifying Checksum 01:00:43 765212b225bb: Download complete 01:00:43 f23df028b6ca: Verifying Checksum 01:00:43 f23df028b6ca: Download complete 01:00:43 d65c8cfc05b1: Verifying Checksum 01:00:43 d65c8cfc05b1: Download complete 01:00:44 699f458cf7ca: Verifying Checksum 01:00:44 699f458cf7ca: Download complete 01:00:44 8998bd30e6a1: Verifying Checksum 01:00:44 8998bd30e6a1: Download complete 01:00:47 2437ff75d9bd: Verifying Checksum 01:00:47 2437ff75d9bd: Download complete 01:00:49 8998bd30e6a1: Pull complete 01:00:49 04944245beec: Pull complete 01:00:50 699f458cf7ca: Pull complete 01:00:51 765212b225bb: Pull complete 01:00:51 f23df028b6ca: Pull complete 01:00:52 d65c8cfc05b1: Pull complete 01:01:07 2437ff75d9bd: Pull complete 01:01:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:01:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:01:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:07 prd-ubuntu20.04-docker-arm64-4c-16g-1015 does not seem to be running inside a container 01:01:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/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 01:01:10 $ docker top 34a73594fc9b5e896cdb6d5aec3e28a1748f5a3e11cfb64080b486ce60caab26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:01:11 ---> job-cost.sh 01:01:11 lf-activate-venv: SKIPPING 01:01:11 INFO: No Stack... 01:01:11 INFO: Retrieving Pricing Info for: v3-standard-4 01:01:12 INFO: Archiving Costs [Pipeline] sh 01:01:13 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 01:01:13 + cut -d, -f6 [Pipeline] lock 01:01:13 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-570-2-stack-cost] 01:01:13 Resource [jenkins-edgexfoundry-app-service-configurable-PR-570-2-stack-cost] did not exist. Created. 01:01:13 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-570-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:01:13 /w/workspace/app-service-configurable/2@tmp/durable-84938746/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:01:14 + echo total: 0.10999999940395355 [Pipeline] stash 01:01:14 Warning: overwriting stash ‘stack-cost’ 01:01:14 Stashed 1 file(s) [Pipeline] } 01:01:14 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-570-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:01:14 $ docker stop --time=1 34a73594fc9b5e896cdb6d5aec3e28a1748f5a3e11cfb64080b486ce60caab26 01:01:16 $ docker rm -f --volumes 34a73594fc9b5e896cdb6d5aec3e28a1748f5a3e11cfb64080b486ce60caab26 [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 01:01:16 provisioning config files... 01:01:16 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-570@tmp/config6270111395158700266tmp [Pipeline] { [Pipeline] sh 01:01:17 + set +x 01:01:17 + curl -s https://codecov.io/bash 01:01:17 + bash -s -- 01:01:17 01:01:17 _____ _ 01:01:17 / ____| | | 01:01:17 | | ___ __| | ___ ___ _____ __ 01:01:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:01:17 | |___| (_) | (_| | __/ (_| (_) \ V / 01:01:17 \_____\___/ \__,_|\___|\___\___/ \_/ 01:01:17 Bash-1.0.6 01:01:17 01:01:17 01:01:17 ==> git version 2.25.1 found 01:01:17 ==> 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 01:01:17 Release-Date: 2020-01-08 01:01:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:01:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:01:17 ==> Jenkins CI detected. 01:01:17 current dir:  /w/workspace/_app-service-configurable_PR-570 01:01:17 project root: . 01:01:17 --> token set from env 01:01:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:01:17 ==> Running gcov in . (disable via -X gcov) 01:01:17 ==> Python coveragepy not found 01:01:17 ==> Searching for coverage reports in: 01:01:17 + . 01:01:17 -> Found 1 reports 01:01:17 ==> Detecting git/mercurial file structure 01:01:17 ==> Reading reports 01:01:17 + ./coverage.out bytes=13 01:01:17 ==> Appending adjustments 01:01:17 https://docs.codecov.io/docs/fixing-reports 01:01:17 + Found adjustments 01:01:17 ==> Gzipping contents 01:01:17 4.0K /tmp/codecov.RVJzuC.gz 01:01:17 ==> Uploading reports 01:01:17 url: https://codecov.io 01:01:17 query: branch=PR-570&commit=368083aad5ad6b7039d48c1a470c7b3e4daf9a13&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-570%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=570&job=&cmd_args= 01:01:17 -> Pinging Codecov 01:01:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-570&commit=368083aad5ad6b7039d48c1a470c7b3e4daf9a13&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-570%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=570&job=&cmd_args= 01:01:17 -> Uploading to 01:01:17 https://storage.googleapis.com/codecov/v4/raw/2023-07-13/A97CA9966030D2A3747ED39772930CCE/368083aad5ad6b7039d48c1a470c7b3e4daf9a13/534b12c9-edff-4982-84bb-602590ff35be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230713T010117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e85bc089a94ccf25fed6dd91ad0b9332f12c2d0b3bd769056cf473edfa4a606d 01:01:17 % Total % Received % Xferd Average Speed Time Time Time Current 01:01:17 Dload Upload Total Spent Left Speed 01:01:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1941 --:--:-- --:--:-- --:--:-- 1932 100 429 0 0 100 429 0 1906 --:--:-- --:--:-- --:--:-- 1898 01:01:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/368083aad5ad6b7039d48c1a470c7b3e4daf9a13 [Pipeline] } 01:01:17 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 01:01:18 + [ -d /w/workspace/_app-service-configurable_PR-570/archives ] 01:01:18 + ls -al /w/workspace/_app-service-configurable_PR-570/archives 01:01:18 total 16 01:01:18 drwxr-xr-x 3 root root 4096 Jul 13 00:48 . 01:01:18 drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 00:48 .. 01:01:18 drwxr-xr-x 2 root root 4096 Jul 13 00:48 cost 01:01:18 -rw-r--r-- 1 root root 96 Jul 13 00:48 cost.csv 01:01:18 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-570/archives 01:01:18 + ls -al /w/workspace/_app-service-configurable_PR-570/archives 01:01:18 total 16 01:01:18 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 00:48 . 01:01:18 drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 00:48 .. 01:01:18 drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 00:48 cost 01:01:18 -rw-r--r-- 1 jenkins jenkins 96 Jul 13 00:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:01:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:01:19 ---> package-listing.sh 01:01:19 ++ facter osfamily 01:01:19 ++ tr '[:upper:]' '[:lower:]' 01:01:19 + OS_FAMILY=debian 01:01:19 + workspace=/w/workspace/_app-service-configurable_PR-570 01:01:19 + START_PACKAGES=/tmp/packages_start.txt 01:01:19 + END_PACKAGES=/tmp/packages_end.txt 01:01:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:01:19 + PACKAGES=/tmp/packages_start.txt 01:01:19 + '[' /w/workspace/_app-service-configurable_PR-570 ']' 01:01:19 + PACKAGES=/tmp/packages_end.txt 01:01:19 + case "${OS_FAMILY}" in 01:01:19 + dpkg -l 01:01:19 + grep '^ii' 01:01:19 + '[' -f /tmp/packages_start.txt ']' 01:01:19 + '[' -f /tmp/packages_end.txt ']' 01:01:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:01:19 + '[' /w/workspace/_app-service-configurable_PR-570 ']' 01:01:19 + mkdir -p /w/workspace/_app-service-configurable_PR-570/archives/ 01:01:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-570/archives/ [Pipeline] echo 01:01:19 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-570/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:01:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:01:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:01:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:01:20 prd-ubuntu20.04-docker-8c-8g-1013 does not seem to be running inside a container 01:01:20 $ 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-570/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-570 -v /w/workspace/_app-service-configurable_PR-570:/w/workspace/_app-service-configurable_PR-570:rw,z -v /w/workspace/_app-service-configurable_PR-570@tmp:/w/workspace/_app-service-configurable_PR-570@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:latest cat 01:01:21 $ docker top e7e54beec0b56973f7e84556dbeb467337fc44ac70d87be0b83901961e81ab03 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:21 + touch /tmp/pre-build-complete [Pipeline] sh 01:01:21 + mkdir -p /var/log/sysstat [Pipeline] sh 01:01:22 + ls /var/log/sa-host 01:01:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:01:22 provisioning config files... 01:01:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-570@tmp/config16266996180789198990tmp [Pipeline] { [Pipeline] echo 01:01:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:01:22 ---> create-netrc.sh [Pipeline] } 01:01:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:01:22 ---> python-tools-install.sh [Pipeline] echo 01:01:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:01:23 ---> sudo-logs.sh 01:01:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:01:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:01:23 ---> job-cost.sh 01:01:23 lf-activate-venv: SKIPPING 01:01:23 DEBUG: total: 0.2199999988079071 01:01:23 INFO: Retrieving Stack Cost... 01:01:23 INFO: Retrieving Pricing Info for: v3-standard-8 01:01:24 INFO: Archiving Costs [Pipeline] echo 01:01:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:01:24 ---> logs-deploy.sh 01:01:24 lf-activate-venv: SKIPPING 01:01:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-570/2 01:01:24 INFO: archiving workspace using pattern(s): 01:01:25 Archives upload complete. 01:01:25 INFO: archiving logs to Nexus