Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6bd47f15c5da31808950f5de66cc259deeda11fa+a0e8a3cf402e2d18cab125a1c4a8a92554f18848 (caef8ec00438e84503b5b842b354c2024ce72fe9) 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-ssh17086957127700815428.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3933484899979580527.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-497/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-497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10350347208459160791.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16740745763342005550.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-497/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-497/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9826061033919810440.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1805 in /w/workspace/_app-service-configurable_PR-497 [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-497 # 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/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a0e8a3cf402e2d18cab125a1c4a8a92554f18848 into PR head commit 6bd47f15c5da31808950f5de66cc259deeda11fa Merge succeeded, producing fa77ffa0bdd83402329d58bb93505df32b484a71 Checking out Revision fa77ffa0bdd83402329d58bb93505df32b484a71 (PR-497) > git config core.sparsecheckout # timeout=10 > git checkout -f 6bd47f15c5da31808950f5de66cc259deeda11fa # 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 a0e8a3cf402e2d18cab125a1c4a8a92554f18848 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa77ffa0bdd83402329d58bb93505df32b484a71 # timeout=10 Commit message: "Merge commit 'a0e8a3cf402e2d18cab125a1c4a8a92554f18848' into HEAD" > git rev-list --no-walk 6bd47f15c5da31808950f5de66cc259deeda11fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:52:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:52:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:52:19 ========================================================= 04:52:19 EdgeX Global Pipelines Version Info 04:52:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:52:19 ------------------- 04:52:19 stable info: 04:52:19 ------------------- 04:52:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:52:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:52:19 Message: update stable to v1.0.244 04:52:20 ------------------- 04:52:20 experimental info: 04:52:20 ------------------- 04:52:20 Commited By: **** collab-it+edgex@linuxfoundation.org 04:52:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:52:20 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:52:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-497 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-497 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-497 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa77ffa0bdd83402329d58bb93505df32b484a71 [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa77ffa [Pipeline] echo 04:52:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:21 provisioning config files... 04:52:21 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-497@tmp/config10625944740420029764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:21 ---> docker-login.sh 04:52:21 nexus3.edgexfoundry.org:10001 04:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:21 Configure a credential helper to remove this warning. See 04:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:21 04:52:21 Login Succeeded 04:52:21 nexus3.edgexfoundry.org:10002 04:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:22 Configure a credential helper to remove this warning. See 04:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:22 04:52:22 Login Succeeded 04:52:22 nexus3.edgexfoundry.org:10003 04:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:22 Configure a credential helper to remove this warning. See 04:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:22 04:52:22 Login Succeeded 04:52:22 nexus3.edgexfoundry.org:10004 04:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:22 Configure a credential helper to remove this warning. See 04:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:22 04:52:22 Login Succeeded 04:52:22 docker.io 04:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:22 Configure a credential helper to remove this warning. See 04:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:22 04:52:22 Login Succeeded 04:52:22 ---> docker-login.sh ends [Pipeline] } 04:52:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:52:22 + git rev-list -1 --merges fa77ffa0bdd83402329d58bb93505df32b484a71~1..fa77ffa0bdd83402329d58bb93505df32b484a71 [Pipeline] echo 04:52:23 -----------> git rev-list -1 --merges fa77ffa0bdd83402329d58bb93505df32b484a71~1..fa77ffa0bdd83402329d58bb93505df32b484a71 fa77ffa0bdd83402329d58bb93505df32b484a71 04:52:23 fa77ffa0bdd83402329d58bb93505df32b484a71 [false] [Pipeline] sh 04:52:23 + git log --format=format:%s -1 fa77ffa0bdd83402329d58bb93505df32b484a71 [Pipeline] echo 04:52:23 ========================================================= 04:52:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:52:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:23 + git log --format=format:%s -1 fa77ffa0bdd83402329d58bb93505df32b484a71 [Pipeline] echo 04:52:23 [semverPrep] GIT_COMMIT: fa77ffa0bdd83402329d58bb93505df32b484a71, Commit Message: Merge commit 'a0e8a3cf402e2d18cab125a1c4a8a92554f18848' into HEAD [Pipeline] echo 04:52:23 [semverPrep] This is not a build commit. [Pipeline] sh 04:52:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:24 + grep -v github /etc/ssh/ssh_known_hosts 04:52:24 + [ -e /tmp/ssh_known_hosts ] 04:52:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:52:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:52:24 + sudo tee -a /etc/ssh/ssh_known_hosts 04:52:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:24 04:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:24 0.1.4: Pulling from edgex-devops/py-git-semver 04:52:24 b85a868b505f: Pulling fs layer 04:52:24 e2be974225ed: Pulling fs layer 04:52:24 339a4e72a1f5: Pulling fs layer 04:52:24 988bab9f4d93: Pulling fs layer 04:52:24 1469e6f7b9e6: Pulling fs layer 04:52:24 eaf3925da568: Pulling fs layer 04:52:24 bab4dde63d76: Pulling fs layer 04:52:24 bde34c3a00c8: Pulling fs layer 04:52:24 b352a97aabf1: Pulling fs layer 04:52:24 4872d77fe225: Pulling fs layer 04:52:24 5851b861e8e6: Pulling fs layer 04:52:24 1469e6f7b9e6: Waiting 04:52:24 eaf3925da568: Waiting 04:52:24 bab4dde63d76: Waiting 04:52:24 bde34c3a00c8: Waiting 04:52:24 b352a97aabf1: Waiting 04:52:24 4872d77fe225: Waiting 04:52:24 5851b861e8e6: Waiting 04:52:24 988bab9f4d93: Waiting 04:52:24 e2be974225ed: Download complete 04:52:24 988bab9f4d93: Verifying Checksum 04:52:24 988bab9f4d93: Download complete 04:52:25 1469e6f7b9e6: Verifying Checksum 04:52:25 1469e6f7b9e6: Download complete 04:52:25 339a4e72a1f5: Verifying Checksum 04:52:25 339a4e72a1f5: Download complete 04:52:25 eaf3925da568: Verifying Checksum 04:52:25 eaf3925da568: Download complete 04:52:25 bde34c3a00c8: Verifying Checksum 04:52:25 bde34c3a00c8: Download complete 04:52:25 b352a97aabf1: Download complete 04:52:25 4872d77fe225: Verifying Checksum 04:52:25 4872d77fe225: Download complete 04:52:25 5851b861e8e6: Verifying Checksum 04:52:25 5851b861e8e6: Download complete 04:52:25 b85a868b505f: Verifying Checksum 04:52:25 b85a868b505f: Download complete 04:52:25 bab4dde63d76: Verifying Checksum 04:52:25 bab4dde63d76: Download complete 04:52:26 b85a868b505f: Pull complete 04:52:26 e2be974225ed: Pull complete 04:52:26 339a4e72a1f5: Pull complete 04:52:27 988bab9f4d93: Pull complete 04:52:27 1469e6f7b9e6: Pull complete 04:52:27 eaf3925da568: Pull complete 04:52:29 bab4dde63d76: Pull complete 04:52:29 bde34c3a00c8: Pull complete 04:52:29 b352a97aabf1: Pull complete 04:52:29 4872d77fe225: Pull complete 04:52:29 5851b861e8e6: Pull complete 04:52:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:52:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:29 prd-ubuntu20.04-docker-8c-8g-1805 does not seem to be running inside a container 04:52:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-497 -v /w/workspace/_app-service-configurable_PR-497:/w/workspace/_app-service-configurable_PR-497:rw,z -v /w/workspace/_app-service-configurable_PR-497@tmp:/w/workspace/_app-service-configurable_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:52:31 $ docker top 5bd41496daae78bb597c16adec87791dfcabe9035214e76c857bf93511b876c3 -eo pid,comm 04:52:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:52:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:32 [ssh-agent] Looking for ssh-agent implementation... 04:52:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:32 $ docker exec 5bd41496daae78bb597c16adec87791dfcabe9035214e76c857bf93511b876c3 ssh-agent 04:52:32 SSH_AUTH_SOCK=/tmp/ssh-RApl35nJk9lU/agent.32 04:52:32 SSH_AGENT_PID=38 04:52:32 Running ssh-add (command line suppressed) 04:52:32 Identity added: /w/workspace/_app-service-configurable_PR-497@tmp/private_key_16218673496433543630.key (/w/workspace/_app-service-configurable_PR-497@tmp/private_key_16218673496433543630.key) 04:52:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:32 + git tag --points-at HEAD [Pipeline] } 04:52:32 $ docker exec --env ******** --env ******** 5bd41496daae78bb597c16adec87791dfcabe9035214e76c857bf93511b876c3 ssh-agent -k 04:52:32 unset SSH_AUTH_SOCK; 04:52:32 unset SSH_AGENT_PID; 04:52:32 echo Agent pid 38 killed; 04:52:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:52:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:32 [ssh-agent] Looking for ssh-agent implementation... 04:52:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:32 $ docker exec 5bd41496daae78bb597c16adec87791dfcabe9035214e76c857bf93511b876c3 ssh-agent 04:52:33 SSH_AUTH_SOCK=/tmp/ssh-ldQdZwQzC9Nv/agent.70 04:52:33 SSH_AGENT_PID=76 04:52:33 Running ssh-add (command line suppressed) 04:52:33 Identity added: /w/workspace/_app-service-configurable_PR-497@tmp/private_key_12395001715567296369.key (/w/workspace/_app-service-configurable_PR-497@tmp/private_key_12395001715567296369.key) 04:52:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:33 + git semver init 04:52:33 2023-01-11 04:52:33,703 [run_init] DEBUG init version:0.0.0 force:False 04:52:33 2023-01-11 04:52:33,704 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-497/.semver 04:52:33 2023-01-11 04:52:33,704 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-497/.semver 04:52:33 2023-01-11 04:52:33,704 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-497/.semver'], cwd=/w/workspace/_app-service-configurable_PR-497, universal_newlines=False, shell=None, istream=None) 04:52:34 2023-01-11 04:52:34,512 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-497/.git/info/exclude 04:52:34 2023-01-11 04:52:34,513 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-497/.semver/PR-497 with force:False 04:52:34 2023-01-11 04:52:34,513 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-497/.semver/PR-497 04:52:34 2023-01-11 04:52:34,517 [execute] INFO git cat-file --batch-check 04:52:34 2023-01-11 04:52:34,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-497/.semver, universal_newlines=False, shell=None, istream=) 04:52:34 2023-01-11 04:52:34,524 [execute] INFO git cat-file --batch 04:52:34 2023-01-11 04:52:34,524 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-497/.semver, universal_newlines=False, shell=None, istream=) 04:52:34 2023-01-11 04:52:34,529 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-497/.semver/PR-497 04:52:34 0.0.0 [Pipeline] } 04:52:34 $ docker exec --env ******** --env ******** 5bd41496daae78bb597c16adec87791dfcabe9035214e76c857bf93511b876c3 ssh-agent -k 04:52:34 unset SSH_AUTH_SOCK; 04:52:34 unset SSH_AGENT_PID; 04:52:34 echo Agent pid 76 killed; 04:52:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:35 + git semver [Pipeline] } 04:52:35 $ docker stop --time=1 5bd41496daae78bb597c16adec87791dfcabe9035214e76c857bf93511b876c3 04:52:36 $ docker rm -f --volumes 5bd41496daae78bb597c16adec87791dfcabe9035214e76c857bf93511b876c3 [Pipeline] // withDockerContainer [Pipeline] sh 04:52:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:52:37 Stashed 1 file(s) [Pipeline] echo 04:52:37 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:37 provisioning config files... 04:52:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-497@tmp/config17628083913297921371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:37 ---> docker-login.sh 04:52:37 nexus3.edgexfoundry.org:10001 04:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:37 Configure a credential helper to remove this warning. See 04:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:37 04:52:37 Login Succeeded 04:52:37 nexus3.edgexfoundry.org:10002 04:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:37 Configure a credential helper to remove this warning. See 04:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:37 04:52:37 Login Succeeded 04:52:37 nexus3.edgexfoundry.org:10003 04:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:37 Configure a credential helper to remove this warning. See 04:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:37 04:52:37 Login Succeeded 04:52:37 nexus3.edgexfoundry.org:10004 04:52:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:37 Configure a credential helper to remove this warning. See 04:52:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:37 04:52:37 Login Succeeded 04:52:37 docker.io 04:52:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:38 Configure a credential helper to remove this warning. See 04:52:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:38 04:52:38 Login Succeeded 04:52:38 ---> docker-login.sh ends [Pipeline] } 04:52:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:52:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:38 ========================================================= 04:52:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:52:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:52:38 Sending build context to Docker daemon 3.216MB 04:52:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 04:52:38 Step 2/12 : FROM ${BASE} AS builder 04:52:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:52:38 213ec9aee27d: Pulling fs layer 04:52:38 4583459ba037: Pulling fs layer 04:52:38 93c1e223e6f2: Pulling fs layer 04:52:38 53926ce57604: Pulling fs layer 04:52:38 21b2b0c7a3f4: Pulling fs layer 04:52:38 22ff95d597cd: Pulling fs layer 04:52:38 12d6caf4c0d1: Pulling fs layer 04:52:38 96b7cbca73a9: Pulling fs layer 04:52:38 a7acece74701: Pulling fs layer 04:52:38 22ff95d597cd: Waiting 04:52:38 53926ce57604: Waiting 04:52:38 12d6caf4c0d1: Waiting 04:52:38 96b7cbca73a9: Waiting 04:52:38 21b2b0c7a3f4: Waiting 04:52:38 a7acece74701: Waiting 04:52:38 93c1e223e6f2: Download complete 04:52:38 4583459ba037: Verifying Checksum 04:52:38 4583459ba037: Download complete 04:52:38 21b2b0c7a3f4: Verifying Checksum 04:52:38 21b2b0c7a3f4: Download complete 04:52:38 22ff95d597cd: Verifying Checksum 04:52:38 22ff95d597cd: Download complete 04:52:38 213ec9aee27d: Verifying Checksum 04:52:38 213ec9aee27d: Download complete 04:52:38 12d6caf4c0d1: Verifying Checksum 04:52:38 12d6caf4c0d1: Download complete 04:52:38 213ec9aee27d: Pull complete 04:52:39 4583459ba037: Pull complete 04:52:39 93c1e223e6f2: Pull complete 04:52:39 a7acece74701: Verifying Checksum 04:52:39 a7acece74701: Download complete 04:52:39 53926ce57604: Verifying Checksum 04:52:39 53926ce57604: Download complete 04:52:39 96b7cbca73a9: Verifying Checksum 04:52:39 96b7cbca73a9: Download complete 04:52:44 53926ce57604: Pull complete 04:52:44 21b2b0c7a3f4: Pull complete 04:52:44 22ff95d597cd: Pull complete 04:52:44 12d6caf4c0d1: Pull complete 04:52:46 96b7cbca73a9: Pull complete 04:52:46 a7acece74701: Pull complete 04:52:46 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:52:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:52:46 ---> db6d94c90886 04:52:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:52:49 ---> Running in 7a6e37b5faa0 04:52:49 Removing intermediate container 7a6e37b5faa0 04:52:49 ---> 88112cb41793 04:52:49 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:52:49 ---> Running in d08453494a1a 04:52:49 Removing intermediate container d08453494a1a 04:52:49 ---> 89ad31ca4adb 04:52:49 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:52:49 ---> Running in b3c685938114 04:52:49 Removing intermediate container b3c685938114 04:52:49 ---> 240e13a774d0 04:52:49 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:52:49 ---> Running in c3ac5cfa53f9 04:52:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:52:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:52:50 OK: 211 MiB in 51 packages 04:52:51 Removing intermediate container c3ac5cfa53f9 04:52:51 ---> ce51971cbfd7 04:52:51 Step 7/12 : WORKDIR /app 04:52:51 ---> Running in d5930f8d2826 04:52:51 Removing intermediate container d5930f8d2826 04:52:51 ---> a541f82a9b71 04:52:51 Step 8/12 : COPY go.mod vendor* ./ 04:52:51 ---> c7a88a739e2b 04:52:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:51 ---> Running in 1b9469df6f63 04:52:52 Still waiting to schedule task 04:52:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:53:17 Removing intermediate container 1b9469df6f63 04:53:17 ---> b46848361f4e 04:53:17 Step 10/12 : COPY . . 04:53:17 ---> 4327eb3189a7 04:53:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:53:17 ---> Running in b8203a99f30d 04:53:17 Removing intermediate container b8203a99f30d 04:53:17 ---> df655dd6f26a 04:53:17 Step 12/12 : RUN $MAKE 04:53:17 ---> Running in 0002627b8022 04:53:17 noop 04:53:17 Removing intermediate container 0002627b8022 04:53:17 ---> 17f12eb00930 04:53:17 Successfully built 17f12eb00930 04:53:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:18 + docker inspect -f . ci-base-image-x86_64 04:53:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:18 prd-ubuntu20.04-docker-8c-8g-1805 does not seem to be running inside a container 04:53:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-497 -v /w/workspace/_app-service-configurable_PR-497:/w/workspace/_app-service-configurable_PR-497:rw,z -v /w/workspace/_app-service-configurable_PR-497@tmp:/w/workspace/_app-service-configurable_PR-497@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 ******** ci-base-image-x86_64 cat 04:53:18 $ docker top 7d2b3db6f77e8e0fc0c419e49f8a86b5a2227bb53de67bd3c1d0c1fbad5e11b4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:18 + go version 04:53:18 go version go1.18.7 linux/amd64 [Pipeline] } 04:53:18 $ docker stop --time=1 7d2b3db6f77e8e0fc0c419e49f8a86b5a2227bb53de67bd3c1d0c1fbad5e11b4 04:53:20 $ docker rm -f --volumes 7d2b3db6f77e8e0fc0c419e49f8a86b5a2227bb53de67bd3c1d0c1fbad5e11b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:20 + docker inspect -f . ci-base-image-x86_64 04:53:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:20 prd-ubuntu20.04-docker-8c-8g-1805 does not seem to be running inside a container 04:53:20 $ 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-497 -v /w/workspace/_app-service-configurable_PR-497:/w/workspace/_app-service-configurable_PR-497:rw,z -v /w/workspace/_app-service-configurable_PR-497@tmp:/w/workspace/_app-service-configurable_PR-497@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 ******** ci-base-image-x86_64 cat 04:53:21 $ docker top cfefa9ca608faf3f46b195e4818a3754bfdc3089d49d27a2ad7b5379be9a6e86 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:21 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-497 [Pipeline] fileExists [Pipeline] sh 04:53:21 + make test 04:53:21 go test -race -coverprofile=coverage.out ./... 04:53:39 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:53:39 go vet ./... 04:53:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:53:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:53:47 ./bin/test-attribution-txt.sh [Pipeline] echo 04:53:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:53:47 $ docker stop --time=1 cfefa9ca608faf3f46b195e4818a3754bfdc3089d49d27a2ad7b5379be9a6e86 04:53:50 $ docker rm -f --volumes cfefa9ca608faf3f46b195e4818a3754bfdc3089d49d27a2ad7b5379be9a6e86 [Pipeline] // withDockerContainer [Pipeline] sh 04:53:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:53:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:53:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:53:52 + ls -al . 04:53:52 total 184 04:53:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 04:53 . 04:53:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 04:52 .. 04:53:52 -rw-rw-r-- 1 jenkins jenkins 119 Jan 11 04:52 .dockerignore 04:53:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 04:52 .git 04:53:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 04:52 .github 04:53:52 -rw-rw-r-- 1 jenkins jenkins 171 Jan 11 04:52 .gitignore 04:53:52 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 04:52 .semver 04:53:52 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 11 04:52 Attribution.txt 04:53:52 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 11 04:52 CHANGELOG.md 04:53:52 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 11 04:52 Dockerfile 04:53:52 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 04:52 GOVERNANCE.md 04:53:52 -rw-rw-r-- 1 jenkins jenkins 688 Jan 11 04:52 Jenkinsfile 04:53:52 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 11 04:52 LICENSE 04:53:52 -rw-rw-r-- 1 jenkins jenkins 618 Jan 11 04:52 OWNERS.md 04:53:52 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 11 04:52 README.md 04:53:52 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 04:52 VERSION 04:53:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 04:52 bin 04:53:52 -rw-r--r-- 1 jenkins jenkins 13 Jan 11 04:53 coverage.out 04:53:52 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 11 04:52 go.mod 04:53:52 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 11 04:52 go.sum 04:53:52 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 11 04:52 main.go 04:53:52 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 11 04:52 makefile 04:53:52 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 04:52 res 04:53:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 04:52 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:52 + 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=fa77ffa0bdd83402329d58bb93505df32b484a71 --label arch=amd64 --label version=0.0.0 . 04:53:52 Sending build context to Docker daemon 3.217MB 04:53:52 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:53:52 Step 2/26 : FROM ${BASE} AS builder 04:53:52 ---> 17f12eb00930 04:53:52 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:53:52 ---> Running in b8adde7ae49c 04:53:52 Removing intermediate container b8adde7ae49c 04:53:52 ---> 6d57f007102a 04:53:52 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:53:52 ---> Running in 97c388b37a98 04:53:52 Removing intermediate container 97c388b37a98 04:53:52 ---> 3f783d4d0c9c 04:53:52 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:53:52 ---> Running in c6b0695937d9 04:53:52 Removing intermediate container c6b0695937d9 04:53:52 ---> a9f8305893ae 04:53:52 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:53:52 ---> Running in aede64019a49 04:53:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:53:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:53:53 OK: 211 MiB in 51 packages 04:53:53 Removing intermediate container aede64019a49 04:53:53 ---> f6ad6e62f619 04:53:53 Step 7/26 : WORKDIR /app 04:53:53 ---> Running in 82d8dc2a66b9 04:53:54 Removing intermediate container 82d8dc2a66b9 04:53:54 ---> 95e5873a2006 04:53:54 Step 8/26 : COPY go.mod vendor* ./ 04:53:54 ---> 1781187be106 04:53:54 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:53:54 ---> Running in 3962a927d0cd 04:53:54 Removing intermediate container 3962a927d0cd 04:53:54 ---> 65c16943f469 04:53:54 Step 10/26 : COPY . . 04:53:54 ---> c4950b4968fb 04:53:54 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:53:54 ---> Running in 9cd939eb0f5d 04:53:55 Removing intermediate container 9cd939eb0f5d 04:53:55 ---> 2e380169a8b8 04:53:55 Step 12/26 : RUN $MAKE 04:53:55 ---> Running in 149f2635d03a 04:53:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 04:54:17 Removing intermediate container 149f2635d03a 04:54:17 ---> f098ea0f2ad9 04:54:17 Step 13/26 : FROM alpine:3.16 04:54:17 3.16: Pulling from library/alpine 04:54:17 ca7dd9ec2225: Pulling fs layer 04:54:17 ca7dd9ec2225: Verifying Checksum 04:54:17 ca7dd9ec2225: Download complete 04:54:17 ca7dd9ec2225: Pull complete 04:54:17 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:54:17 Status: Downloaded newer image for alpine:3.16 04:54:17 ---> bfe296a52501 04:54:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:54:17 ---> Running in 292f63f56c87 04:54:17 Removing intermediate container 292f63f56c87 04:54:17 ---> 664ad4771c5e 04:54:17 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 04:54:17 ---> Running in 15e9f1f02246 04:54:17 Removing intermediate container 15e9f1f02246 04:54:17 ---> fba6b0a58b96 04:54:17 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:54:17 ---> Running in 0e763db10637 04:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:54:17 (1/2) Installing ca-certificates (20220614-r0) 04:54:17 (2/2) Installing dumb-init (1.2.5-r1) 04:54:17 Executing busybox-1.35.0-r17.trigger 04:54:17 Executing ca-certificates-20220614-r0.trigger 04:54:17 OK: 6 MiB in 16 packages 04:54:17 Removing intermediate container 0e763db10637 04:54:17 ---> ff2a8a8149e2 04:54:17 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:54:17 ---> 31a717633375 04:54:17 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:54:17 ---> 31e552777588 04:54:17 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:54:17 ---> d0207e73b2eb 04:54:17 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:54:17 ---> 129fdbcf739d 04:54:17 Step 21/26 : EXPOSE 48095 04:54:17 ---> Running in 7ce017a34413 04:54:17 Removing intermediate container 7ce017a34413 04:54:17 ---> 2bc7c2c449a2 04:54:17 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 04:54:17 ---> Running in 8bba519dc68b 04:54:17 Removing intermediate container 8bba519dc68b 04:54:17 ---> 6276c458d860 04:54:17 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:54:17 ---> Running in 021fa94f1c93 04:54:17 Removing intermediate container 021fa94f1c93 04:54:17 ---> 77a46f3934d6 04:54:17 Step 24/26 : LABEL arch=amd64 04:54:17 ---> Running in 16215b22905c 04:54:17 Removing intermediate container 16215b22905c 04:54:17 ---> 815f4aa08945 04:54:17 Step 25/26 : LABEL git_sha=fa77ffa0bdd83402329d58bb93505df32b484a71 04:54:17 ---> Running in 795b0082dcf8 04:54:17 Removing intermediate container 795b0082dcf8 04:54:17 ---> f8ff93daaf4b 04:54:17 Step 26/26 : LABEL version=0.0.0 04:54:17 ---> Running in 273929c86652 04:54:18 Removing intermediate container 273929c86652 04:54:18 ---> cb11649f4281 04:54:18 [Warning] One or more build-args [ARCH] were not consumed 04:54:18 Successfully built cb11649f4281 04:54:18 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:18 04:54:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1806 in /w/workspace/_app-service-configurable_PR-497 [Pipeline] { [Pipeline] ws 04:54:18 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 04:54:18 Selected Git installation does not exist. Using Default 04:54:18 The recommended git tool is: NONE 04:54:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:18 latest: Pulling from edgex-lftools-log-publisher 04:54:18 5eb5b503b376: Pulling fs layer 04:54:18 5c69ac0246d0: Pulling fs layer 04:54:18 ec43610c2a17: Pulling fs layer 04:54:18 3a2ae6a8a46f: Pulling fs layer 04:54:18 33b1e0a273af: Pulling fs layer 04:54:18 5d3b04190fa2: Pulling fs layer 04:54:18 2f39f015ded8: Pulling fs layer 04:54:18 33b1e0a273af: Waiting 04:54:18 5d3b04190fa2: Waiting 04:54:18 2f39f015ded8: Waiting 04:54:18 3a2ae6a8a46f: Waiting 04:54:18 5c69ac0246d0: Download complete 04:54:18 3a2ae6a8a46f: Verifying Checksum 04:54:18 3a2ae6a8a46f: Download complete 04:54:19 33b1e0a273af: Verifying Checksum 04:54:19 33b1e0a273af: Download complete 04:54:19 ec43610c2a17: Verifying Checksum 04:54:19 ec43610c2a17: Download complete 04:54:19 5d3b04190fa2: Download complete 04:54:19 5eb5b503b376: Verifying Checksum 04:54:19 5eb5b503b376: Download complete 04:54:19 2f39f015ded8: Verifying Checksum 04:54:19 2f39f015ded8: Download complete 04:54:20 5eb5b503b376: Pull complete 04:54:20 5c69ac0246d0: Pull complete 04:54:21 ec43610c2a17: Pull complete 04:54:21 3a2ae6a8a46f: Pull complete 04:54:21 33b1e0a273af: Pull complete 04:54:21 5d3b04190fa2: Pull complete 04:54:23 using credential edgex-jenkins-ssh 04:54:24 Cloning the remote Git repository 04:54:24 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:54:24 > git init /w/workspace/app-service-configurable/2 # timeout=10 04:54:24 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:24 > git --version # timeout=10 04:54:24 > git --version # 'git version 2.25.1' 04:54:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:25 2f39f015ded8: Pull complete 04:54:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:54:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:25 prd-ubuntu20.04-docker-8c-8g-1805 does not seem to be running inside a container 04:54:25 $ 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-497 -v /w/workspace/_app-service-configurable_PR-497:/w/workspace/_app-service-configurable_PR-497:rw,z -v /w/workspace/_app-service-configurable_PR-497@tmp:/w/workspace/_app-service-configurable_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:54:25 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:26 Merging remotes/origin/main commit a0e8a3cf402e2d18cab125a1c4a8a92554f18848 into PR head commit 6bd47f15c5da31808950f5de66cc259deeda11fa 04:54:27 Merge succeeded, producing a2be29c919f6c7ab0b6210e8d60acf7093634938 04:54:27 Checking out Revision a2be29c919f6c7ab0b6210e8d60acf7093634938 (PR-497) 04:54:26 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:26 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/497/head:refs/remotes/origin/PR-497 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:54:27 > git config core.sparsecheckout # timeout=10 04:54:27 > git checkout -f 6bd47f15c5da31808950f5de66cc259deeda11fa # timeout=10 04:54:27 > git remote # timeout=10 04:54:27 > git config --get remote.origin.url # timeout=10 04:54:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:27 > git merge a0e8a3cf402e2d18cab125a1c4a8a92554f18848 # timeout=10 04:54:27 > git rev-parse HEAD^{commit} # timeout=10 04:54:27 > git config core.sparsecheckout # timeout=10 04:54:27 > git checkout -f a2be29c919f6c7ab0b6210e8d60acf7093634938 # timeout=10 04:54:28 $ docker top 8c01ed3f0178cbc0eb06b011018febd5f7e2a779702b4d9899b521efba8a2367 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:28 ---> job-cost.sh 04:54:28 lf-activate-venv: SKIPPING 04:54:28 INFO: No Stack... 04:54:29 INFO: Retrieving Pricing Info for: v3-standard-8 04:54:29 INFO: Archiving Costs [Pipeline] sh 04:54:29 + cat /w/workspace/_app-service-configurable_PR-497/archives/cost.csv 04:54:29 + cut -d, -f6 [Pipeline] lock 04:54:29 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-497-2-stack-cost] 04:54:29 Resource [jenkins-edgexfoundry-app-service-configurable-PR-497-2-stack-cost] did not exist. Created. 04:54:29 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-497-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:54:30 + echo total: 0.2199999988079071 [Pipeline] stash 04:54:30 Stashed 1 file(s) [Pipeline] } 04:54:30 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-497-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:54:30 $ docker stop --time=1 8c01ed3f0178cbc0eb06b011018febd5f7e2a779702b4d9899b521efba8a2367 04:54:30 Commit message: "Merge commit 'a0e8a3cf402e2d18cab125a1c4a8a92554f18848' into HEAD" 04:54:30 > git rev-list --no-walk 6bd47f15c5da31808950f5de66cc259deeda11fa # timeout=10 04:54:31 04:54:31 GitHub has been notified of this commit’s build result 04:54:31 04:54:31 $ docker rm -f --volumes 8c01ed3f0178cbc0eb06b011018febd5f7e2a779702b4d9899b521efba8a2367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:54:32 % Total % Received % Xferd Average Speed Time Time Time Current 04:54:32 Dload Upload Total Spent Left Speed 04:54:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 04:54:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:54:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:54:33 + sudo tee /etc/docker/daemon.new 04:54:33 { 04:54:33 "registry-mirrors": [ 04:54:33 "https://nexus3.edgexfoundry.org:10001" 04:54:33 ], 04:54:33 "bip": "10.250.0.254/24", 04:54:33 "hosts": [ 04:54:33 "tcp://0.0.0.0:5555", 04:54:33 "unix:///var/run/docker.sock" 04:54:33 ], 04:54:33 "mtu": 1458, 04:54:33 "selinux-enabled": true, 04:54:33 "seccomp-profile": "/etc/docker/seccomp.json" 04:54:33 } [Pipeline] sh 04:54:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:54:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:51 provisioning config files... 04:54:51 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config1354806145441622264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:52 ---> docker-login.sh 04:54:52 nexus3.edgexfoundry.org:10001 04:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:52 Configure a credential helper to remove this warning. See 04:54:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:52 04:54:52 Login Succeeded 04:54:52 nexus3.edgexfoundry.org:10002 04:54:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:53 Configure a credential helper to remove this warning. See 04:54:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:53 04:54:53 Login Succeeded 04:54:53 nexus3.edgexfoundry.org:10003 04:54:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:53 Configure a credential helper to remove this warning. See 04:54:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:53 04:54:53 Login Succeeded 04:54:53 nexus3.edgexfoundry.org:10004 04:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:54 Configure a credential helper to remove this warning. See 04:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:54 04:54:54 Login Succeeded 04:54:54 docker.io 04:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:54 Configure a credential helper to remove this warning. See 04:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:54 04:54:54 Login Succeeded 04:54:54 ---> docker-login.sh ends [Pipeline] } 04:54:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:54:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:54:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:54:54 ========================================================= 04:54:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:54:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:54:55 Sending build context to Docker daemon 217.1kB 04:54:55 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 04:54:55 Step 2/12 : FROM ${BASE} AS builder 04:54:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:54:56 9b18e9b68314: Pulling fs layer 04:54:56 35d82f9e3411: Pulling fs layer 04:54:56 e16973657156: Pulling fs layer 04:54:56 fc693d55d65f: Pulling fs layer 04:54:56 7e9fc2657dce: Pulling fs layer 04:54:56 dda99020689f: Pulling fs layer 04:54:56 db1c61fa0a46: Pulling fs layer 04:54:56 891c053d2c06: Pulling fs layer 04:54:56 dda99020689f: Waiting 04:54:56 fc693d55d65f: Waiting 04:54:56 7e9fc2657dce: Waiting 04:54:56 db1c61fa0a46: Waiting 04:54:56 891c053d2c06: Waiting 04:54:56 e16973657156: Verifying Checksum 04:54:56 e16973657156: Download complete 04:54:56 35d82f9e3411: Verifying Checksum 04:54:56 35d82f9e3411: Download complete 04:54:56 7e9fc2657dce: Download complete 04:54:56 dda99020689f: Verifying Checksum 04:54:56 dda99020689f: Download complete 04:54:56 9b18e9b68314: Verifying Checksum 04:54:56 9b18e9b68314: Download complete 04:54:57 9b18e9b68314: Pull complete 04:54:57 891c053d2c06: Verifying Checksum 04:54:57 891c053d2c06: Download complete 04:54:58 35d82f9e3411: Pull complete 04:54:58 e16973657156: Pull complete 04:54:59 db1c61fa0a46: Download complete 04:54:59 fc693d55d65f: Verifying Checksum 04:54:59 fc693d55d65f: Download complete 04:55:12 fc693d55d65f: Pull complete 04:55:12 7e9fc2657dce: Pull complete 04:55:12 dda99020689f: Pull complete 04:55:16 db1c61fa0a46: Pull complete 04:55:18 891c053d2c06: Pull complete 04:55:18 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:55:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:55:18 ---> f96f9c87975a 04:55:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:55:20 ---> Running in 514575bcb4d7 04:55:20 Removing intermediate container 514575bcb4d7 04:55:20 ---> 122f56801a2b 04:55:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:55:20 ---> Running in 7a759ab8c00e 04:55:20 Removing intermediate container 7a759ab8c00e 04:55:20 ---> 60e6c5fb717d 04:55:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:55:20 ---> Running in ab7766213c0f 04:55:21 Removing intermediate container ab7766213c0f 04:55:21 ---> 4a15cb3a7618 04:55:21 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:21 ---> Running in c88f2fb8981c 04:55:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:55:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:55:23 OK: 221 MiB in 51 packages 04:55:24 Removing intermediate container c88f2fb8981c 04:55:24 ---> a08f96f827a0 04:55:24 Step 7/12 : WORKDIR /app 04:55:24 ---> Running in bd7e631d557a 04:55:24 Removing intermediate container bd7e631d557a 04:55:24 ---> c02a66e9d718 04:55:24 Step 8/12 : COPY go.mod vendor* ./ 04:55:25 ---> ba60cc59e8a7 04:55:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:25 ---> Running in 207c90a9a2ea 04:56:21 Removing intermediate container 207c90a9a2ea 04:56:21 ---> a5abff490090 04:56:21 Step 10/12 : COPY . . 04:56:21 ---> 624b4a2ca6b7 04:56:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:56:21 ---> Running in 8b326c067c8f 04:56:21 Removing intermediate container 8b326c067c8f 04:56:21 ---> 835ee825fcfa 04:56:21 Step 12/12 : RUN $MAKE 04:56:21 ---> Running in 666ca098e429 04:56:21 noop 04:56:21 Removing intermediate container 666ca098e429 04:56:21 ---> 857788a36aea 04:56:21 Successfully built 857788a36aea 04:56:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:21 + docker inspect -f . ci-base-image-arm64 04:56:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:22 prd-ubuntu20.04-docker-arm64-4c-16g-1806 does not seem to be running inside a container 04:56:22 $ 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 ******** ci-base-image-arm64 cat 04:56:24 $ docker top 824a474ddb9757200a05bb9ba931510613dfdeecf9093462485f533024cc6970 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:25 + go version 04:56:25 go version go1.18.7 linux/arm64 [Pipeline] } 04:56:25 $ docker stop --time=1 824a474ddb9757200a05bb9ba931510613dfdeecf9093462485f533024cc6970 04:56:27 $ docker rm -f --volumes 824a474ddb9757200a05bb9ba931510613dfdeecf9093462485f533024cc6970 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:27 + docker inspect -f . ci-base-image-arm64 04:56:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:28 prd-ubuntu20.04-docker-arm64-4c-16g-1806 does not seem to be running inside a container 04:56:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/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 ******** ci-base-image-arm64 cat 04:56:29 $ docker top 97a11bd666b787951c2b2fd6785c187bb9b9958fcf26007071cf865ac8ce943d -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:30 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 04:56:30 + make test 04:56:30 go test -race -coverprofile=coverage.out ./... 04:58:52 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:58:52 go vet ./... 05:00:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:00:28 ./bin/test-attribution-txt.sh [Pipeline] echo 05:00:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:00:28 $ docker stop --time=1 97a11bd666b787951c2b2fd6785c187bb9b9958fcf26007071cf865ac8ce943d 05:00:30 $ docker rm -f --volumes 97a11bd666b787951c2b2fd6785c187bb9b9958fcf26007071cf865ac8ce943d [Pipeline] // withDockerContainer [Pipeline] sh 05:00:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:31 Warning: overwriting stash ‘coverage-report’ 05:00:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:32 + ls -al . 05:00:32 total 180 05:00:32 drwxrwxr-x 7 jenkins jenkins 4096 Jan 11 04:56 . 05:00:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 04:54 .. 05:00:32 -rw-rw-r-- 1 jenkins jenkins 119 Jan 11 04:54 .dockerignore 05:00:32 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 04:54 .git 05:00:32 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 04:54 .github 05:00:32 -rw-rw-r-- 1 jenkins jenkins 171 Jan 11 04:54 .gitignore 05:00:32 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 11 04:54 Attribution.txt 05:00:32 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 11 04:54 CHANGELOG.md 05:00:32 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 11 04:54 Dockerfile 05:00:32 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 04:54 GOVERNANCE.md 05:00:32 -rw-rw-r-- 1 jenkins jenkins 688 Jan 11 04:54 Jenkinsfile 05:00:32 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 11 04:54 LICENSE 05:00:32 -rw-rw-r-- 1 jenkins jenkins 618 Jan 11 04:54 OWNERS.md 05:00:32 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 11 04:54 README.md 05:00:32 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 04:52 VERSION 05:00:32 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 04:54 bin 05:00:32 -rw-r--r-- 1 jenkins jenkins 13 Jan 11 04:56 coverage.out 05:00:32 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 11 04:54 go.mod 05:00:32 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 11 04:54 go.sum 05:00:32 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 11 04:54 main.go 05:00:32 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 11 04:54 makefile 05:00:32 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 04:54 res 05:00:32 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 04:54 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:33 + 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=a2be29c919f6c7ab0b6210e8d60acf7093634938 --label arch=arm64 --label version=0.0.0 . 05:00:33 Sending build context to Docker daemon 218.1kB 05:00:33 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 05:00:33 Step 2/26 : FROM ${BASE} AS builder 05:00:33 ---> 857788a36aea 05:00:33 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 05:00:33 ---> Running in af6ab7f4afcc 05:00:34 Removing intermediate container af6ab7f4afcc 05:00:34 ---> 65c9c22943eb 05:00:34 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:00:34 ---> Running in 7f7dabeaad41 05:00:34 Removing intermediate container 7f7dabeaad41 05:00:34 ---> 4e4e1a8c166f 05:00:34 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:00:34 ---> Running in 87fd60d29a97 05:00:34 Removing intermediate container 87fd60d29a97 05:00:34 ---> dd717fd7ab28 05:00:34 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:00:34 ---> Running in 80fcdd8b0a99 05:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:00:37 OK: 221 MiB in 51 packages 05:00:38 Removing intermediate container 80fcdd8b0a99 05:00:38 ---> c5cdf0b4988c 05:00:38 Step 7/26 : WORKDIR /app 05:00:38 ---> Running in 940f32cf75b0 05:00:38 Removing intermediate container 940f32cf75b0 05:00:38 ---> 5a285ca74496 05:00:38 Step 8/26 : COPY go.mod vendor* ./ 05:00:38 ---> a49cf0571362 05:00:38 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:38 ---> Running in 453578aa6921 05:00:40 Removing intermediate container 453578aa6921 05:00:40 ---> eadf12eccde9 05:00:40 Step 10/26 : COPY . . 05:00:41 ---> 5eb0c7ac33ef 05:00:41 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:00:41 ---> Running in 219184ee7d79 05:00:41 Removing intermediate container 219184ee7d79 05:00:41 ---> aa7c1c110b7e 05:00:41 Step 12/26 : RUN $MAKE 05:00:41 ---> Running in 49226acb7863 05:00:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.12 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:02:49 Removing intermediate container 49226acb7863 05:02:49 ---> 2229e7ffce8d 05:02:49 Step 13/26 : FROM alpine:3.16 05:02:49 3.16: Pulling from library/alpine 05:02:49 6875df1f5354: Pulling fs layer 05:02:49 6875df1f5354: Download complete 05:02:49 6875df1f5354: Pull complete 05:02:49 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 05:02:49 Status: Downloaded newer image for alpine:3.16 05:02:49 ---> 2b4661558fb8 05:02:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:02:49 ---> Running in 060cfad1b737 05:02:49 Removing intermediate container 060cfad1b737 05:02:49 ---> 559ddd475af0 05:02:49 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 05:02:49 ---> Running in b63b77192101 05:02:49 Removing intermediate container b63b77192101 05:02:49 ---> b758c97b8305 05:02:49 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 05:02:49 ---> Running in 104d532b6ea5 05:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:02:49 (1/2) Installing ca-certificates (20220614-r0) 05:02:49 (2/2) Installing dumb-init (1.2.5-r1) 05:02:49 Executing busybox-1.35.0-r17.trigger 05:02:49 Executing ca-certificates-20220614-r0.trigger 05:02:49 OK: 6 MiB in 16 packages 05:02:49 Removing intermediate container 104d532b6ea5 05:02:49 ---> cedf3574bb59 05:02:49 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:02:49 ---> 590db001d1aa 05:02:49 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 05:02:49 ---> bcd64e0612b5 05:02:49 Step 19/26 : COPY --from=builder /app/res/ /res/ 05:02:49 ---> a409c325d176 05:02:49 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:02:49 ---> 330375183d9d 05:02:49 Step 21/26 : EXPOSE 48095 05:02:49 ---> Running in 207fb0a8645e 05:02:49 Removing intermediate container 207fb0a8645e 05:02:49 ---> 299244f417a7 05:02:49 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 05:02:49 ---> Running in 81cf2d20f189 05:02:49 Removing intermediate container 81cf2d20f189 05:02:49 ---> 3b7300965092 05:02:49 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:02:49 ---> Running in aae66c3eeaef 05:02:49 Removing intermediate container aae66c3eeaef 05:02:49 ---> 3d5aa4a1a53a 05:02:49 Step 24/26 : LABEL arch=arm64 05:02:49 ---> Running in 6ab99eae9075 05:02:49 Removing intermediate container 6ab99eae9075 05:02:49 ---> c307c84b5eae 05:02:49 Step 25/26 : LABEL git_sha=a2be29c919f6c7ab0b6210e8d60acf7093634938 05:02:49 ---> Running in 522f0b14f750 05:02:49 Removing intermediate container 522f0b14f750 05:02:49 ---> 8178ad425195 05:02:49 Step 26/26 : LABEL version=0.0.0 05:02:49 ---> Running in 01acc31093fc 05:02:49 Removing intermediate container 01acc31093fc 05:02:49 ---> c587dc4b1cb7 05:02:49 [Warning] One or more build-args [ARCH] were not consumed 05:02:49 Successfully built c587dc4b1cb7 05:02:49 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:02:50 05:02:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:02:50 arm64: Pulling from edgex-lftools-log-publisher 05:02:50 8998bd30e6a1: Pulling fs layer 05:02:50 04944245beec: Pulling fs layer 05:02:50 699f458cf7ca: Pulling fs layer 05:02:50 765212b225bb: Pulling fs layer 05:02:50 f23df028b6ca: Pulling fs layer 05:02:50 d65c8cfc05b1: Pulling fs layer 05:02:50 2437ff75d9bd: Pulling fs layer 05:02:50 765212b225bb: Waiting 05:02:50 f23df028b6ca: Waiting 05:02:50 d65c8cfc05b1: Waiting 05:02:50 2437ff75d9bd: Waiting 05:02:50 04944245beec: Verifying Checksum 05:02:50 04944245beec: Download complete 05:02:50 765212b225bb: Verifying Checksum 05:02:50 765212b225bb: Download complete 05:02:50 f23df028b6ca: Verifying Checksum 05:02:50 f23df028b6ca: Download complete 05:02:50 d65c8cfc05b1: Verifying Checksum 05:02:50 d65c8cfc05b1: Download complete 05:02:50 699f458cf7ca: Verifying Checksum 05:02:50 699f458cf7ca: Download complete 05:02:51 8998bd30e6a1: Verifying Checksum 05:02:51 8998bd30e6a1: Download complete 05:02:53 2437ff75d9bd: Verifying Checksum 05:02:53 2437ff75d9bd: Download complete 05:02:54 8998bd30e6a1: Pull complete 05:02:55 04944245beec: Pull complete 05:02:56 699f458cf7ca: Pull complete 05:02:56 765212b225bb: Pull complete 05:02:57 f23df028b6ca: Pull complete 05:02:57 d65c8cfc05b1: Pull complete 05:03:09 2437ff75d9bd: Pull complete 05:03:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:03:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:03:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:09 prd-ubuntu20.04-docker-arm64-4c-16g-1806 does not seem to be running inside a container 05:03:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:03:12 $ docker top c7057481e5c4b7b3dcf6703a431be7c92c689c1a5436c9a01ef78f8b59651cfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:13 ---> job-cost.sh 05:03:13 lf-activate-venv: SKIPPING 05:03:13 INFO: No Stack... 05:03:14 INFO: Retrieving Pricing Info for: v3-standard-4 05:03:15 INFO: Archiving Costs [Pipeline] sh 05:03:15 + + cut -d, -f6 05:03:15 cat /w/workspace/app-service-configurable/2/archives/cost.csv [Pipeline] lock 05:03:15 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-497-2-stack-cost] 05:03:15 Resource [jenkins-edgexfoundry-app-service-configurable-PR-497-2-stack-cost] did not exist. Created. 05:03:15 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-497-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:03:16 /w/workspace/app-service-configurable/2@tmp/durable-9c36e5d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:03:16 + echo total: 0.10999999940395355 [Pipeline] stash 05:03:16 Warning: overwriting stash ‘stack-cost’ 05:03:16 Stashed 1 file(s) [Pipeline] } 05:03:16 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-497-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:03:16 $ docker stop --time=1 c7057481e5c4b7b3dcf6703a431be7c92c689c1a5436c9a01ef78f8b59651cfc 05:03:18 $ docker rm -f --volumes c7057481e5c4b7b3dcf6703a431be7c92c689c1a5436c9a01ef78f8b59651cfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:03:18 provisioning config files... 05:03:18 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-497@tmp/config12258482566110186996tmp [Pipeline] { [Pipeline] sh 05:03:18 + set +x 05:03:18 + + curl -s https://codecov.io/bash 05:03:18 bash -s -- 05:03:18 05:03:18 _____ _ 05:03:18 / ____| | | 05:03:18 | | ___ __| | ___ ___ _____ __ 05:03:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:03:18 | |___| (_) | (_| | __/ (_| (_) \ V / 05:03:18 \_____\___/ \__,_|\___|\___\___/ \_/ 05:03:18 Bash-1.0.6 05:03:18 05:03:18 05:03:18 ==> git version 2.25.1 found 05:03:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:03:18 Release-Date: 2020-01-08 05:03:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:03:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:03:18 ==> Jenkins CI detected. 05:03:18 current dir:  /w/workspace/_app-service-configurable_PR-497 05:03:18 project root: . 05:03:18 --> token set from env 05:03:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:03:18 ==> Running gcov in . (disable via -X gcov) 05:03:18 ==> Python coveragepy not found 05:03:18 ==> Searching for coverage reports in: 05:03:18 + . 05:03:18 -> Found 1 reports 05:03:18 ==> Detecting git/mercurial file structure 05:03:19 ==> Reading reports 05:03:19 + ./coverage.out bytes=13 05:03:19 ==> Appending adjustments 05:03:19 https://docs.codecov.io/docs/fixing-reports 05:03:19 + Found adjustments 05:03:19 ==> Gzipping contents 05:03:19 4.0K /tmp/codecov.HL47X3.gz 05:03:19 ==> Uploading reports 05:03:19 url: https://codecov.io 05:03:19 query: branch=PR-497&commit=fa77ffa0bdd83402329d58bb93505df32b484a71&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-497%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=497&job=&cmd_args= 05:03:19 -> Pinging Codecov 05:03:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-497&commit=fa77ffa0bdd83402329d58bb93505df32b484a71&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-497%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=497&job=&cmd_args= 05:03:19 -> Uploading to 05:03:19 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/A97CA9966030D2A3747ED39772930CCE/fa77ffa0bdd83402329d58bb93505df32b484a71/e4f76025-f6af-4d4d-8f43-c697387dde02.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T050319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8532d28cf9cabd64e43c082ad578fd7b87b8094b88a83a63dd221024e313eb43 05:03:19 % Total % Received % Xferd Average Speed Time Time Time Current 05:03:19 Dload Upload Total Spent Left Speed 05:03:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 530 0 0 100 530 0 2046 --:--:-- --:--:-- --:--:-- 2046 05:03:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/fa77ffa0bdd83402329d58bb93505df32b484a71 [Pipeline] } 05:03:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:03:20 + [ -d /w/workspace/_app-service-configurable_PR-497/archives ] 05:03:20 + ls -al /w/workspace/_app-service-configurable_PR-497/archives 05:03:20 total 16 05:03:20 drwxr-xr-x 3 root root 4096 Jan 11 04:54 . 05:03:20 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 04:54 .. 05:03:20 drwxr-xr-x 2 root root 4096 Jan 11 04:54 cost 05:03:20 -rw-r--r-- 1 root root 96 Jan 11 04:54 cost.csv 05:03:20 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-497/archives 05:03:20 + ls -al /w/workspace/_app-service-configurable_PR-497/archives 05:03:20 total 16 05:03:20 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 04:54 . 05:03:20 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 04:54 .. 05:03:20 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 04:54 cost 05:03:20 -rw-r--r-- 1 jenkins jenkins 96 Jan 11 04:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:03:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:03:21 ---> package-listing.sh 05:03:21 ++ facter osfamily 05:03:21 ++ tr '[:upper:]' '[:lower:]' 05:03:21 + OS_FAMILY=debian 05:03:21 + workspace=/w/workspace/_app-service-configurable_PR-497 05:03:21 + START_PACKAGES=/tmp/packages_start.txt 05:03:21 + END_PACKAGES=/tmp/packages_end.txt 05:03:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:03:21 + PACKAGES=/tmp/packages_start.txt 05:03:21 + '[' /w/workspace/_app-service-configurable_PR-497 ']' 05:03:21 + PACKAGES=/tmp/packages_end.txt 05:03:21 + case "${OS_FAMILY}" in 05:03:21 + dpkg -l 05:03:21 + grep '^ii' 05:03:21 + '[' -f /tmp/packages_start.txt ']' 05:03:21 + '[' -f /tmp/packages_end.txt ']' 05:03:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:03:21 + '[' /w/workspace/_app-service-configurable_PR-497 ']' 05:03:21 + mkdir -p /w/workspace/_app-service-configurable_PR-497/archives/ 05:03:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-497/archives/ [Pipeline] echo 05:03:21 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-497/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:03:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:22 prd-ubuntu20.04-docker-8c-8g-1805 does not seem to be running inside a container 05:03:22 $ 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-497/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-497 -v /w/workspace/_app-service-configurable_PR-497:/w/workspace/_app-service-configurable_PR-497:rw,z -v /w/workspace/_app-service-configurable_PR-497@tmp:/w/workspace/_app-service-configurable_PR-497@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:03:22 $ docker top 3129a1d97de215903e51da4f478969cfeaf386fd63bd869d31e8fd3b0b4b28af -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:23 + touch /tmp/pre-build-complete [Pipeline] sh 05:03:23 + mkdir -p /var/log/sysstat [Pipeline] sh 05:03:23 + ls /var/log/sa-host 05:03:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:23 provisioning config files... 05:03:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-497@tmp/config163253854515243035tmp [Pipeline] { [Pipeline] echo 05:03:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:03:24 ---> create-netrc.sh [Pipeline] } 05:03:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:03:24 ---> python-tools-install.sh [Pipeline] echo 05:03:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:03:24 ---> sudo-logs.sh 05:03:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:03:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:03:25 ---> job-cost.sh 05:03:25 lf-activate-venv: SKIPPING 05:03:25 DEBUG: total: 0.2199999988079071 05:03:25 INFO: Retrieving Stack Cost... 05:03:25 INFO: Retrieving Pricing Info for: v3-standard-8 05:03:26 INFO: Archiving Costs [Pipeline] echo 05:03:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:03:26 ---> logs-deploy.sh 05:03:26 lf-activate-venv: SKIPPING 05:03:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-497/2 05:03:26 INFO: archiving workspace using pattern(s): 05:03:27 Archives upload complete. 05:03:27 INFO: archiving logs to Nexus