Pull request #503 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb1d263d4419ca4cf785bb464f73f0f11639233b+98ba4b579a71d8df1e8645a2b00f90d0d7fafb5d (d461f045c5906467534d2b805e1c7b2728486332) 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-ssh6868819640700437558.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-ssh1524847980866549905.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-503/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-503/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh472521105450693346.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-503/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5343242836828353917.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1036924058590305548.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-503/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-503/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8633695994754728238.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-2923 in /w/workspace/_app-service-configurable_PR-503 [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-503 # 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/503/head:refs/remotes/origin/PR-503 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 98ba4b579a71d8df1e8645a2b00f90d0d7fafb5d into PR head commit bb1d263d4419ca4cf785bb464f73f0f11639233b Merge succeeded, producing bb1d263d4419ca4cf785bb464f73f0f11639233b Checking out Revision bb1d263d4419ca4cf785bb464f73f0f11639233b (PR-503) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:02:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:02:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f bb1d263d4419ca4cf785bb464f73f0f11639233b # 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 98ba4b579a71d8df1e8645a2b00f90d0d7fafb5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb1d263d4419ca4cf785bb464f73f0f11639233b # timeout=10 [Pipeline] echo 12:02:40 ========================================================= 12:02:40 EdgeX Global Pipelines Version Info 12:02:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:02:40 ------------------- 12:02:40 stable info: 12:02:40 ------------------- 12:02:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:02:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:02:40 Message: update stable to v1.0.244 12:02:41 ------------------- 12:02:41 experimental info: 12:02:41 ------------------- 12:02:41 Commited By: **** collab-it+edgex@linuxfoundation.org 12:02:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:02:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:02:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:02:41 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:02:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:02:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:02:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:02:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-503 [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-503 [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-503 [Pipeline] echo 12:02:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb1d263d4419ca4cf785bb464f73f0f11639233b [Pipeline] echo 12:02:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb1d263 [Pipeline] echo 12:02:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:02:43 provisioning config files... 12:02:43 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-503@tmp/config3823741302804375909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:43 ---> docker-login.sh 12:02:43 nexus3.edgexfoundry.org:10001 12:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:43 Configure a credential helper to remove this warning. See 12:02:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:43 12:02:43 Login Succeeded 12:02:43 nexus3.edgexfoundry.org:10002 12:02:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:44 Configure a credential helper to remove this warning. See 12:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:44 12:02:44 Login Succeeded 12:02:44 nexus3.edgexfoundry.org:10003 12:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:44 Configure a credential helper to remove this warning. See 12:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:44 12:02:44 Login Succeeded 12:02:44 nexus3.edgexfoundry.org:10004 12:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:44 Configure a credential helper to remove this warning. See 12:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:44 12:02:44 Login Succeeded 12:02:44 docker.io 12:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:44 Configure a credential helper to remove this warning. See 12:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:44 12:02:44 Login Succeeded 12:02:44 ---> docker-login.sh ends [Pipeline] } 12:02:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:02:45 + git rev-list -1 --merges bb1d263d4419ca4cf785bb464f73f0f11639233b~1..bb1d263d4419ca4cf785bb464f73f0f11639233b [Pipeline] echo 12:02:45 -----------> git rev-list -1 --merges bb1d263d4419ca4cf785bb464f73f0f11639233b~1..bb1d263d4419ca4cf785bb464f73f0f11639233b bb1d263d4419ca4cf785bb464f73f0f11639233b [false] [Pipeline] sh 12:02:45 + git log --format=format:%s -1 bb1d263d4419ca4cf785bb464f73f0f11639233b [Pipeline] echo 12:02:45 ========================================================= 12:02:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:02:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:02:46 + git log --format=format:%s -1 bb1d263d4419ca4cf785bb464f73f0f11639233b [Pipeline] echo 12:02:46 [semverPrep] GIT_COMMIT: bb1d263d4419ca4cf785bb464f73f0f11639233b, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:02:46 [semverPrep] This is not a build commit. [Pipeline] sh 12:02:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:02:46 + grep -v github /etc/ssh/ssh_known_hosts 12:02:46 + [ -e /tmp/ssh_known_hosts ] 12:02:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:02:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:02:46 + sudo tee -a /etc/ssh/ssh_known_hosts 12:02:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:47 12:02:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:47 0.1.4: Pulling from edgex-devops/py-git-semver 12:02:47 b85a868b505f: Pulling fs layer 12:02:47 e2be974225ed: Pulling fs layer 12:02:47 339a4e72a1f5: Pulling fs layer 12:02:47 988bab9f4d93: Pulling fs layer 12:02:47 1469e6f7b9e6: Pulling fs layer 12:02:47 eaf3925da568: Pulling fs layer 12:02:47 bab4dde63d76: Pulling fs layer 12:02:47 bde34c3a00c8: Pulling fs layer 12:02:47 b352a97aabf1: Pulling fs layer 12:02:47 4872d77fe225: Pulling fs layer 12:02:47 5851b861e8e6: Pulling fs layer 12:02:47 bab4dde63d76: Waiting 12:02:47 bde34c3a00c8: Waiting 12:02:47 5851b861e8e6: Waiting 12:02:47 4872d77fe225: Waiting 12:02:47 b352a97aabf1: Waiting 12:02:47 1469e6f7b9e6: Waiting 12:02:47 988bab9f4d93: Waiting 12:02:47 e2be974225ed: Download complete 12:02:47 988bab9f4d93: Verifying Checksum 12:02:47 988bab9f4d93: Download complete 12:02:47 1469e6f7b9e6: Verifying Checksum 12:02:47 1469e6f7b9e6: Download complete 12:02:47 eaf3925da568: Verifying Checksum 12:02:47 eaf3925da568: Download complete 12:02:47 339a4e72a1f5: Verifying Checksum 12:02:47 339a4e72a1f5: Download complete 12:02:47 bde34c3a00c8: Verifying Checksum 12:02:47 bde34c3a00c8: Download complete 12:02:47 b352a97aabf1: Verifying Checksum 12:02:47 b352a97aabf1: Download complete 12:02:47 4872d77fe225: Verifying Checksum 12:02:47 4872d77fe225: Download complete 12:02:47 5851b861e8e6: Verifying Checksum 12:02:47 5851b861e8e6: Download complete 12:02:47 b85a868b505f: Download complete 12:02:48 bab4dde63d76: Verifying Checksum 12:02:48 bab4dde63d76: Download complete 12:02:49 b85a868b505f: Pull complete 12:02:49 e2be974225ed: Pull complete 12:02:49 339a4e72a1f5: Pull complete 12:02:49 988bab9f4d93: Pull complete 12:02:49 1469e6f7b9e6: Pull complete 12:02:49 eaf3925da568: Pull complete 12:02:51 bab4dde63d76: Pull complete 12:02:51 bde34c3a00c8: Pull complete 12:02:51 b352a97aabf1: Pull complete 12:02:51 4872d77fe225: Pull complete 12:02:51 5851b861e8e6: Pull complete 12:02:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:02:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:52 prd-ubuntu20.04-docker-8c-8g-2923 does not seem to be running inside a container 12:02:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-503 -v /w/workspace/_app-service-configurable_PR-503:/w/workspace/_app-service-configurable_PR-503:rw,z -v /w/workspace/_app-service-configurable_PR-503@tmp:/w/workspace/_app-service-configurable_PR-503@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:02:53 $ docker top 00ca079554091517603d4167420a0dc85b325fa51ea648c612dbebd3911f705a -eo pid,comm 12:02:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:02:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:02:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:53 [ssh-agent] Looking for ssh-agent implementation... 12:02:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:54 $ docker exec 00ca079554091517603d4167420a0dc85b325fa51ea648c612dbebd3911f705a ssh-agent 12:02:54 SSH_AUTH_SOCK=/tmp/ssh-mNSQqtaUrLoe/agent.32 12:02:54 SSH_AGENT_PID=38 12:02:54 Running ssh-add (command line suppressed) 12:02:54 Identity added: /w/workspace/_app-service-configurable_PR-503@tmp/private_key_18315219524925664749.key (/w/workspace/_app-service-configurable_PR-503@tmp/private_key_18315219524925664749.key) 12:02:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:54 + git tag --points-at HEAD [Pipeline] } 12:02:54 $ docker exec --env ******** --env ******** 00ca079554091517603d4167420a0dc85b325fa51ea648c612dbebd3911f705a ssh-agent -k 12:02:54 unset SSH_AUTH_SOCK; 12:02:54 unset SSH_AGENT_PID; 12:02:54 echo Agent pid 38 killed; 12:02:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:02:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:54 [ssh-agent] Looking for ssh-agent implementation... 12:02:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:55 $ docker exec 00ca079554091517603d4167420a0dc85b325fa51ea648c612dbebd3911f705a ssh-agent 12:02:55 SSH_AUTH_SOCK=/tmp/ssh-UftMOSAaDymO/agent.70 12:02:55 SSH_AGENT_PID=76 12:02:55 Running ssh-add (command line suppressed) 12:02:55 Identity added: /w/workspace/_app-service-configurable_PR-503@tmp/private_key_10273940323102741178.key (/w/workspace/_app-service-configurable_PR-503@tmp/private_key_10273940323102741178.key) 12:02:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:55 + git semver init 12:02:55 2023-01-18 12:02:55,742 [run_init] DEBUG init version:0.0.0 force:False 12:02:55 2023-01-18 12:02:55,743 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-503/.semver 12:02:55 2023-01-18 12:02:55,743 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-503/.semver 12:02:55 2023-01-18 12:02:55,743 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-503/.semver'], cwd=/w/workspace/_app-service-configurable_PR-503, universal_newlines=False, shell=None, istream=None) 12:02:57 2023-01-18 12:02:56,811 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-503/.git/info/exclude 12:02:57 2023-01-18 12:02:56,812 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-503/.semver/PR-503 with force:False 12:02:57 2023-01-18 12:02:56,812 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-503/.semver/PR-503 12:02:57 2023-01-18 12:02:56,817 [execute] INFO git cat-file --batch-check 12:02:57 2023-01-18 12:02:56,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-503/.semver, universal_newlines=False, shell=None, istream=) 12:02:57 2023-01-18 12:02:56,824 [execute] INFO git cat-file --batch 12:02:57 2023-01-18 12:02:56,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-503/.semver, universal_newlines=False, shell=None, istream=) 12:02:57 2023-01-18 12:02:56,831 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-503/.semver/PR-503 12:02:57 0.0.0 [Pipeline] } 12:02:57 $ docker exec --env ******** --env ******** 00ca079554091517603d4167420a0dc85b325fa51ea648c612dbebd3911f705a ssh-agent -k 12:02:57 unset SSH_AUTH_SOCK; 12:02:57 unset SSH_AGENT_PID; 12:02:57 echo Agent pid 76 killed; 12:02:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:02:57 + git semver [Pipeline] } 12:02:58 $ docker stop --time=1 00ca079554091517603d4167420a0dc85b325fa51ea648c612dbebd3911f705a 12:02:59 $ docker rm -f --volumes 00ca079554091517603d4167420a0dc85b325fa51ea648c612dbebd3911f705a [Pipeline] // withDockerContainer [Pipeline] sh 12:02:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:03:00 Stashed 1 file(s) [Pipeline] echo 12:03:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:00 provisioning config files... 12:03:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-503@tmp/config72132106519696189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:01 ---> docker-login.sh 12:03:01 nexus3.edgexfoundry.org:10001 12:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:01 Configure a credential helper to remove this warning. See 12:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:01 12:03:01 Login Succeeded 12:03:01 nexus3.edgexfoundry.org:10002 12:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:01 Configure a credential helper to remove this warning. See 12:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:01 12:03:01 Login Succeeded 12:03:01 nexus3.edgexfoundry.org:10003 12:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:01 Configure a credential helper to remove this warning. See 12:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:01 12:03:01 Login Succeeded 12:03:01 nexus3.edgexfoundry.org:10004 12:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:01 Configure a credential helper to remove this warning. See 12:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:01 12:03:01 Login Succeeded 12:03:01 docker.io 12:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:01 Configure a credential helper to remove this warning. See 12:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:01 12:03:01 Login Succeeded 12:03:01 ---> docker-login.sh ends [Pipeline] } 12:03:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:03:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:03:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:03:01 ========================================================= 12:03:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:03:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:02 + 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 . 12:03:02 Sending build context to Docker daemon 3.218MB 12:03:02 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:03:02 Step 2/12 : FROM ${BASE} AS builder 12:03:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:03:02 213ec9aee27d: Pulling fs layer 12:03:02 4583459ba037: Pulling fs layer 12:03:02 93c1e223e6f2: Pulling fs layer 12:03:02 53926ce57604: Pulling fs layer 12:03:02 21b2b0c7a3f4: Pulling fs layer 12:03:02 22ff95d597cd: Pulling fs layer 12:03:02 12d6caf4c0d1: Pulling fs layer 12:03:02 96b7cbca73a9: Pulling fs layer 12:03:02 a7acece74701: Pulling fs layer 12:03:02 53926ce57604: Waiting 12:03:02 21b2b0c7a3f4: Waiting 12:03:02 22ff95d597cd: Waiting 12:03:02 12d6caf4c0d1: Waiting 12:03:02 a7acece74701: Waiting 12:03:02 96b7cbca73a9: Waiting 12:03:02 93c1e223e6f2: Verifying Checksum 12:03:02 93c1e223e6f2: Download complete 12:03:02 4583459ba037: Verifying Checksum 12:03:02 4583459ba037: Download complete 12:03:02 21b2b0c7a3f4: Download complete 12:03:02 22ff95d597cd: Download complete 12:03:02 213ec9aee27d: Download complete 12:03:02 12d6caf4c0d1: Verifying Checksum 12:03:02 12d6caf4c0d1: Download complete 12:03:02 213ec9aee27d: Pull complete 12:03:03 4583459ba037: Pull complete 12:03:03 93c1e223e6f2: Pull complete 12:03:03 a7acece74701: Verifying Checksum 12:03:03 a7acece74701: Download complete 12:03:04 53926ce57604: Verifying Checksum 12:03:04 53926ce57604: Download complete 12:03:04 96b7cbca73a9: Verifying Checksum 12:03:04 96b7cbca73a9: Download complete 12:03:07 53926ce57604: Pull complete 12:03:07 21b2b0c7a3f4: Pull complete 12:03:07 22ff95d597cd: Pull complete 12:03:07 12d6caf4c0d1: Pull complete 12:03:09 96b7cbca73a9: Pull complete 12:03:10 a7acece74701: Pull complete 12:03:10 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 12:03:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:03:10 ---> db6d94c90886 12:03:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:03:13 ---> Running in f701ddf67f61 12:03:13 Removing intermediate container f701ddf67f61 12:03:13 ---> b95b7c684f52 12:03:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:03:13 ---> Running in 6e85c3566629 12:03:13 Removing intermediate container 6e85c3566629 12:03:13 ---> fc985a08fcc8 12:03:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:03:13 ---> Running in 967d210de840 12:03:14 Removing intermediate container 967d210de840 12:03:14 ---> 97326d08f6e0 12:03:14 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:03:14 ---> Running in 89ce8d0f8a3e 12:03:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:03:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:03:14 OK: 211 MiB in 51 packages 12:03:15 Removing intermediate container 89ce8d0f8a3e 12:03:15 ---> 6d33a03f01ac 12:03:15 Step 7/12 : WORKDIR /app 12:03:15 ---> Running in a13da1006248 12:03:15 Removing intermediate container a13da1006248 12:03:15 ---> 91040510c99a 12:03:15 Step 8/12 : COPY go.mod vendor* ./ 12:03:15 ---> 01bf02af387f 12:03:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:03:15 Still waiting to schedule task 12:03:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:03:15 ---> Running in e629c8c4ca67 12:03:54 Removing intermediate container e629c8c4ca67 12:03:54 ---> 3009b8914c28 12:03:54 Step 10/12 : COPY . . 12:03:54 ---> 4c0678c1fa20 12:03:54 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:03:54 ---> Running in 8ddda7716a31 12:03:54 Removing intermediate container 8ddda7716a31 12:03:54 ---> 332100da5032 12:03:54 Step 12/12 : RUN $MAKE 12:03:54 ---> Running in 428b78e031d5 12:03:54 noop 12:03:54 Removing intermediate container 428b78e031d5 12:03:54 ---> 1a659b4f8ebb 12:03:54 Successfully built 1a659b4f8ebb 12:03:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:54 + docker inspect -f . ci-base-image-x86_64 12:03:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:55 prd-ubuntu20.04-docker-8c-8g-2923 does not seem to be running inside a container 12:03:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-503 -v /w/workspace/_app-service-configurable_PR-503:/w/workspace/_app-service-configurable_PR-503:rw,z -v /w/workspace/_app-service-configurable_PR-503@tmp:/w/workspace/_app-service-configurable_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:03:55 $ docker top 74881b893cecefc26ccdf630d9cb927c87684cdd91e8aa2b8faf3118531cda2f -eo pid,comm [Pipeline] { [Pipeline] sh 12:03:55 + go version 12:03:55 go version go1.18.7 linux/amd64 [Pipeline] } 12:03:55 $ docker stop --time=1 74881b893cecefc26ccdf630d9cb927c87684cdd91e8aa2b8faf3118531cda2f 12:03:57 $ docker rm -f --volumes 74881b893cecefc26ccdf630d9cb927c87684cdd91e8aa2b8faf3118531cda2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:57 + docker inspect -f . ci-base-image-x86_64 12:03:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:58 prd-ubuntu20.04-docker-8c-8g-2923 does not seem to be running inside a container 12:03:58 $ 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-503 -v /w/workspace/_app-service-configurable_PR-503:/w/workspace/_app-service-configurable_PR-503:rw,z -v /w/workspace/_app-service-configurable_PR-503@tmp:/w/workspace/_app-service-configurable_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:03:58 $ docker top aee39d30d608c15bd8014fbb459f4cd60b9d855aeb22bd1350302de4b647f9c7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:03:58 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-503 [Pipeline] fileExists [Pipeline] sh 12:03:59 + make test 12:03:59 go test -race -coverprofile=coverage.out ./... 12:04:17 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:04:17 go vet ./... 12:04:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:04:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:04:27 ./bin/test-attribution-txt.sh 12:04:27 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 12:04:27 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 12:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:04:27 $ docker stop --time=1 aee39d30d608c15bd8014fbb459f4cd60b9d855aeb22bd1350302de4b647f9c7 12:04:29 $ docker rm -f --volumes aee39d30d608c15bd8014fbb459f4cd60b9d855aeb22bd1350302de4b647f9c7 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:04:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:04:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:04:31 + ls -al . 12:04:31 total 176 12:04:31 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 12:03 . 12:04:31 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 12:02 .. 12:04:31 -rw-rw-r-- 1 jenkins jenkins 119 Jan 18 12:02 .dockerignore 12:04:31 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 12:02 .git 12:04:31 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 12:02 .github 12:04:31 -rw-rw-r-- 1 jenkins jenkins 171 Jan 18 12:02 .gitignore 12:04:31 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 12:02 .semver 12:04:31 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 18 12:02 Attribution.txt 12:04:31 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 18 12:02 CHANGELOG.md 12:04:31 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 18 12:02 Dockerfile 12:04:31 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 12:02 GOVERNANCE.md 12:04:31 -rw-rw-r-- 1 jenkins jenkins 688 Jan 18 12:02 Jenkinsfile 12:04:31 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 18 12:02 LICENSE 12:04:31 -rw-rw-r-- 1 jenkins jenkins 618 Jan 18 12:02 OWNERS.md 12:04:31 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 18 12:02 README.md 12:04:31 -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 12:02 VERSION 12:04:31 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 12:02 bin 12:04:31 -rw-r--r-- 1 jenkins jenkins 13 Jan 18 12:03 coverage.out 12:04:31 -rw-rw-r-- 1 jenkins jenkins 3362 Jan 18 12:02 go.mod 12:04:31 -rw-rw-r-- 1 jenkins jenkins 33983 Jan 18 12:02 go.sum 12:04:31 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 18 12:02 main.go 12:04:31 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 18 12:02 makefile 12:04:31 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 12:02 res 12:04:31 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 12:02 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:31 + 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=bb1d263d4419ca4cf785bb464f73f0f11639233b --label arch=amd64 --label version=0.0.0 . 12:04:31 Sending build context to Docker daemon 3.219MB 12:04:31 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:04:31 Step 2/26 : FROM ${BASE} AS builder 12:04:31 ---> 1a659b4f8ebb 12:04:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:04:31 ---> Running in 2651bcf6b51e 12:04:32 Removing intermediate container 2651bcf6b51e 12:04:32 ---> ccc1f6b61099 12:04:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:04:32 ---> Running in 42050b3288de 12:04:32 Removing intermediate container 42050b3288de 12:04:32 ---> c87c6d9bf983 12:04:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:04:32 ---> Running in 20301b325257 12:04:32 Removing intermediate container 20301b325257 12:04:32 ---> 8a0fead5765d 12:04:32 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:32 ---> Running in 6725c5fb6633 12:04:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:04:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:04:33 OK: 211 MiB in 51 packages 12:04:33 Removing intermediate container 6725c5fb6633 12:04:33 ---> 0466905fe90a 12:04:33 Step 7/26 : WORKDIR /app 12:04:33 ---> Running in d8013e600e72 12:04:33 Removing intermediate container d8013e600e72 12:04:33 ---> 43d39a5d0b07 12:04:33 Step 8/26 : COPY go.mod vendor* ./ 12:04:33 ---> 12e718d58a6c 12:04:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:33 ---> Running in a4b7869f32a9 12:04:34 Removing intermediate container a4b7869f32a9 12:04:34 ---> d3648e04aafb 12:04:34 Step 10/26 : COPY . . 12:04:34 ---> a461492ccf6f 12:04:34 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:04:34 ---> Running in 754f483aa213 12:04:34 Removing intermediate container 754f483aa213 12:04:34 ---> 8a0c4e36d0e7 12:04:34 Step 12/26 : RUN $MAKE 12:04:34 ---> Running in b3f94931da2c 12:04:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:04:53 Removing intermediate container b3f94931da2c 12:04:53 ---> 3c8d9f7c4bc2 12:04:53 Step 13/26 : FROM alpine:3.16 12:04:53 3.16: Pulling from library/alpine 12:04:53 ca7dd9ec2225: Pulling fs layer 12:04:53 ca7dd9ec2225: Verifying Checksum 12:04:53 ca7dd9ec2225: Download complete 12:04:53 ca7dd9ec2225: Pull complete 12:04:53 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 12:04:53 Status: Downloaded newer image for alpine:3.16 12:04:53 ---> bfe296a52501 12:04:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:04:53 ---> Running in a349be091bba 12:04:53 Removing intermediate container a349be091bba 12:04:53 ---> 9cda38a24242 12:04:53 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:04:53 ---> Running in f7ed9753955b 12:04:53 Removing intermediate container f7ed9753955b 12:04:53 ---> 7956ea993da4 12:04:53 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:04:53 ---> Running in 043a77046fb2 12:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:04:53 (1/2) Installing ca-certificates (20220614-r0) 12:04:53 (2/2) Installing dumb-init (1.2.5-r1) 12:04:53 Executing busybox-1.35.0-r17.trigger 12:04:53 Executing ca-certificates-20220614-r0.trigger 12:04:54 OK: 6 MiB in 16 packages 12:04:54 Removing intermediate container 043a77046fb2 12:04:54 ---> b5bf11cafb17 12:04:54 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:04:54 ---> a3f77bc800fe 12:04:54 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:04:54 ---> f585a9b62ca7 12:04:54 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:04:54 ---> e7e4a04e2741 12:04:54 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:04:55 ---> 5cd6d896ca4c 12:04:55 Step 21/26 : EXPOSE 48095 12:04:55 ---> Running in 0c68fa894663 12:04:55 Removing intermediate container 0c68fa894663 12:04:55 ---> a0a2cf0e9dd0 12:04:55 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:04:55 ---> Running in 4354cfd25908 12:04:55 Removing intermediate container 4354cfd25908 12:04:55 ---> 43924eae7ad1 12:04:55 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:04:55 ---> Running in ab763d7ec283 12:04:55 Removing intermediate container ab763d7ec283 12:04:55 ---> f9fb32775712 12:04:55 Step 24/26 : LABEL arch=amd64 12:04:55 ---> Running in f9e70688c94c 12:04:55 Removing intermediate container f9e70688c94c 12:04:55 ---> 7f21938c2d48 12:04:55 Step 25/26 : LABEL git_sha=bb1d263d4419ca4cf785bb464f73f0f11639233b 12:04:56 ---> Running in 90a36c5fc493 12:04:56 Removing intermediate container 90a36c5fc493 12:04:56 ---> edafe233be4c 12:04:56 Step 26/26 : LABEL version=0.0.0 12:04:56 ---> Running in 5514ea590119 12:04:56 Removing intermediate container 5514ea590119 12:04:56 ---> 3e0dbc517450 12:04:56 [Warning] One or more build-args [ARCH] were not consumed 12:04:56 Successfully built 3e0dbc517450 12:04:56 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] } 12:04:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2925 in /w/workspace/_app-service-configurable_PR-503 [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] ws 12:04:56 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:04:56 Selected Git installation does not exist. Using Default 12:04:56 The recommended git tool is: NONE Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:57 12:04:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:57 latest: Pulling from edgex-lftools-log-publisher 12:04:57 5eb5b503b376: Pulling fs layer 12:04:57 5c69ac0246d0: Pulling fs layer 12:04:57 ec43610c2a17: Pulling fs layer 12:04:57 3a2ae6a8a46f: Pulling fs layer 12:04:57 33b1e0a273af: Pulling fs layer 12:04:57 5d3b04190fa2: Pulling fs layer 12:04:57 2f39f015ded8: Pulling fs layer 12:04:57 33b1e0a273af: Waiting 12:04:57 3a2ae6a8a46f: Waiting 12:04:57 5d3b04190fa2: Waiting 12:04:57 2f39f015ded8: Waiting 12:04:57 5c69ac0246d0: Verifying Checksum 12:04:57 5c69ac0246d0: Download complete 12:04:57 3a2ae6a8a46f: Download complete 12:04:57 33b1e0a273af: Verifying Checksum 12:04:57 33b1e0a273af: Download complete 12:04:57 5d3b04190fa2: Download complete 12:04:57 ec43610c2a17: Verifying Checksum 12:04:57 ec43610c2a17: Download complete 12:04:58 5eb5b503b376: Verifying Checksum 12:04:58 5eb5b503b376: Download complete 12:04:58 2f39f015ded8: Download complete 12:04:59 5eb5b503b376: Pull complete 12:04:59 5c69ac0246d0: Pull complete 12:04:59 ec43610c2a17: Pull complete 12:04:59 3a2ae6a8a46f: Pull complete 12:04:59 33b1e0a273af: Pull complete 12:04:59 5d3b04190fa2: Pull complete 12:05:01 using credential edgex-jenkins-ssh 12:05:01 Cloning the remote Git repository 12:05:01 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:05:01 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:05:01 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:05:01 > git --version # timeout=10 12:05:01 > git --version # 'git version 2.25.1' 12:05:01 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:05:03 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:05:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:05:04 2f39f015ded8: Pull complete 12:05:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:05:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:04 prd-ubuntu20.04-docker-8c-8g-2923 does not seem to be running inside a container 12:05:04 $ 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-503 -v /w/workspace/_app-service-configurable_PR-503:/w/workspace/_app-service-configurable_PR-503:rw,z -v /w/workspace/_app-service-configurable_PR-503@tmp:/w/workspace/_app-service-configurable_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:05:04 Merging remotes/origin/main commit 98ba4b579a71d8df1e8645a2b00f90d0d7fafb5d into PR head commit bb1d263d4419ca4cf785bb464f73f0f11639233b 12:05:05 Merge succeeded, producing bb1d263d4419ca4cf785bb464f73f0f11639233b 12:05:05 Checking out Revision bb1d263d4419ca4cf785bb464f73f0f11639233b (PR-503) 12:05:04 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:05:04 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:05:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:05:04 > git config core.sparsecheckout # timeout=10 12:05:04 > git checkout -f bb1d263d4419ca4cf785bb464f73f0f11639233b # timeout=10 12:05:04 > git remote # timeout=10 12:05:04 > git config --get remote.origin.url # timeout=10 12:05:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:04 > git merge 98ba4b579a71d8df1e8645a2b00f90d0d7fafb5d # timeout=10 12:05:05 > git rev-parse HEAD^{commit} # timeout=10 12:05:05 > git config core.sparsecheckout # timeout=10 12:05:05 > git checkout -f bb1d263d4419ca4cf785bb464f73f0f11639233b # timeout=10 12:05:05 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:05:05 > git --version # timeout=10 12:05:05 > git --version # 'git version 2.25.1' 12:05:05 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:05:06 12:05:06 GitHub has been notified of this commit’s build result 12:05:06 12:05:06 $ docker top 59596d362e4a9ce60c10089261382bd17e556a34589f4d744c3a7d935deead06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:05:06 ---> job-cost.sh 12:05:06 lf-activate-venv: SKIPPING 12:05:06 INFO: No Stack... 12:05:07 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:05:07 % Total % Received % Xferd Average Speed Time Time Time Current 12:05:07 Dload Upload Total Spent Left Speed 12:05:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74133 12:05:07 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 12:05:07 + cat /w/workspace/_app-service-configurable_PR-503/archives/cost.csv 12:05:07 + cut -d, -f6 [Pipeline] lock 12:05:07 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-503-1-stack-cost] 12:05:07 Resource [jenkins-edgexfoundry-app-service-configurable-PR-503-1-stack-cost] did not exist. Created. 12:05:07 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-503-1-stack-cost] [Pipeline] { [Pipeline] unstash 12:05:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh 12:05:08 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 12:05:08 tee /etc/docker/daemon.new 12:05:08 { 12:05:08 "registry-mirrors": [ 12:05:08 "https://nexus3.edgexfoundry.org:10001" 12:05:08 ], 12:05:08 "bip": "10.250.0.254/24", 12:05:08 "hosts": [ 12:05:08 "tcp://0.0.0.0:5555", 12:05:08 "unix:///var/run/docker.sock" 12:05:08 ], 12:05:08 "mtu": 1458, 12:05:08 "selinux-enabled": true, 12:05:08 "seccomp-profile": "/etc/docker/seccomp.json" 12:05:08 } 12:05:08 + echo total: 0.2199999988079071 [Pipeline] sh [Pipeline] stash 12:05:08 Stashed 1 file(s) [Pipeline] } 12:05:08 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-503-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:08 $ docker stop --time=1 59596d362e4a9ce60c10089261382bd17e556a34589f4d744c3a7d935deead06 12:05:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 12:05:09 $ docker rm -f --volumes 59596d362e4a9ce60c10089261382bd17e556a34589f4d744c3a7d935deead06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 12:05:10 + sudo service docker restart [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:28 provisioning config files... 12:05:28 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config16571453402537018901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:28 ---> docker-login.sh 12:05:28 nexus3.edgexfoundry.org:10001 12:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:29 Configure a credential helper to remove this warning. See 12:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:29 12:05:29 Login Succeeded 12:05:29 nexus3.edgexfoundry.org:10002 12:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:29 Configure a credential helper to remove this warning. See 12:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:29 12:05:29 Login Succeeded 12:05:29 nexus3.edgexfoundry.org:10003 12:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:30 Configure a credential helper to remove this warning. See 12:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:30 12:05:30 Login Succeeded 12:05:30 nexus3.edgexfoundry.org:10004 12:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:30 Configure a credential helper to remove this warning. See 12:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:30 12:05:30 Login Succeeded 12:05:30 docker.io 12:05:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:30 Configure a credential helper to remove this warning. See 12:05:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:30 12:05:30 Login Succeeded 12:05:30 ---> docker-login.sh ends [Pipeline] } 12:05:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:05:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:31 ========================================================= 12:05:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:05:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:31 + 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 . 12:05:31 Sending build context to Docker daemon 206.3kB 12:05:32 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:05:32 Step 2/12 : FROM ${BASE} AS builder 12:05:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:05:33 9b18e9b68314: Pulling fs layer 12:05:33 35d82f9e3411: Pulling fs layer 12:05:33 e16973657156: Pulling fs layer 12:05:33 fc693d55d65f: Pulling fs layer 12:05:33 7e9fc2657dce: Pulling fs layer 12:05:33 dda99020689f: Pulling fs layer 12:05:33 db1c61fa0a46: Pulling fs layer 12:05:33 891c053d2c06: Pulling fs layer 12:05:33 dda99020689f: Waiting 12:05:33 fc693d55d65f: Waiting 12:05:33 db1c61fa0a46: Waiting 12:05:33 7e9fc2657dce: Waiting 12:05:33 891c053d2c06: Waiting 12:05:33 e16973657156: Verifying Checksum 12:05:33 e16973657156: Download complete 12:05:33 35d82f9e3411: Download complete 12:05:33 7e9fc2657dce: Verifying Checksum 12:05:33 7e9fc2657dce: Download complete 12:05:33 dda99020689f: Download complete 12:05:33 9b18e9b68314: Verifying Checksum 12:05:34 9b18e9b68314: Pull complete 12:05:34 891c053d2c06: Verifying Checksum 12:05:34 891c053d2c06: Download complete 12:05:35 35d82f9e3411: Pull complete 12:05:35 e16973657156: Pull complete 12:05:36 db1c61fa0a46: Verifying Checksum 12:05:36 db1c61fa0a46: Download complete 12:05:36 fc693d55d65f: Verifying Checksum 12:05:36 fc693d55d65f: Download complete 12:05:48 fc693d55d65f: Pull complete 12:05:48 7e9fc2657dce: Pull complete 12:05:48 dda99020689f: Pull complete 12:05:55 db1c61fa0a46: Pull complete 12:05:57 891c053d2c06: Pull complete 12:05:57 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 12:05:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:05:57 ---> f96f9c87975a 12:05:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:05:59 ---> Running in 280dcf6ba422 12:05:59 Removing intermediate container 280dcf6ba422 12:05:59 ---> 20b15c46ef2a 12:05:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:05:59 ---> Running in 23fabf387f63 12:05:59 Removing intermediate container 23fabf387f63 12:05:59 ---> 46e4f1273caa 12:05:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:05:59 ---> Running in 88cc8634fdba 12:05:59 Removing intermediate container 88cc8634fdba 12:05:59 ---> 13c3cfe67edd 12:05:59 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:06:00 ---> Running in 96b4715c6e07 12:06:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:06:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:06:02 OK: 221 MiB in 51 packages 12:06:03 Removing intermediate container 96b4715c6e07 12:06:03 ---> a732952989e1 12:06:03 Step 7/12 : WORKDIR /app 12:06:03 ---> Running in a3de58beb4d8 12:06:03 Removing intermediate container a3de58beb4d8 12:06:03 ---> 62ab5c6dfda4 12:06:03 Step 8/12 : COPY go.mod vendor* ./ 12:06:04 ---> f41600746d29 12:06:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:06:04 ---> Running in 80b5e77a2a4f 12:07:12 Removing intermediate container 80b5e77a2a4f 12:07:12 ---> a93cab3cebc8 12:07:12 Step 10/12 : COPY . . 12:07:12 ---> 35abbda82fab 12:07:12 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:07:12 ---> Running in 179dbcbaded5 12:07:12 Removing intermediate container 179dbcbaded5 12:07:12 ---> f7bf3b333a97 12:07:12 Step 12/12 : RUN $MAKE 12:07:12 ---> Running in fbb16eb302d4 12:07:12 noop 12:07:12 Removing intermediate container fbb16eb302d4 12:07:12 ---> 05d9211a3925 12:07:12 Successfully built 05d9211a3925 12:07:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:12 + docker inspect -f . ci-base-image-arm64 12:07:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:07:12 prd-ubuntu20.04-docker-arm64-4c-16g-2925 does not seem to be running inside a container 12:07:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:07:14 $ docker top cf419e72d8245ff3a70a06681d1535f70478a861e4a45a98dde071ccd6ddc35a -eo pid,comm [Pipeline] { [Pipeline] sh 12:07:15 + go version 12:07:15 go version go1.18.7 linux/arm64 [Pipeline] } 12:07:15 $ docker stop --time=1 cf419e72d8245ff3a70a06681d1535f70478a861e4a45a98dde071ccd6ddc35a 12:07:17 $ docker rm -f --volumes cf419e72d8245ff3a70a06681d1535f70478a861e4a45a98dde071ccd6ddc35a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:18 + docker inspect -f . ci-base-image-arm64 12:07:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:07:18 prd-ubuntu20.04-docker-arm64-4c-16g-2925 does not seem to be running inside a container 12:07:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:07:19 $ docker top 1a88422bb427431a7090a76f8870476cbe31c25eb1f1512f7720639d54e1c119 -eo pid,comm [Pipeline] { [Pipeline] sh 12:07:19 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:07:20 + make test 12:07:20 go test -race -coverprofile=coverage.out ./... 12:09:27 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:09:27 go vet ./... 12:11:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:11:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:11:03 ./bin/test-attribution-txt.sh 12:11:03 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 12:11:03 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 12:11:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:11:03 $ docker stop --time=1 1a88422bb427431a7090a76f8870476cbe31c25eb1f1512f7720639d54e1c119 12:11:05 $ docker rm -f --volumes 1a88422bb427431a7090a76f8870476cbe31c25eb1f1512f7720639d54e1c119 [Pipeline] // withDockerContainer [Pipeline] sh 12:11:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:11:07 Warning: overwriting stash ‘coverage-report’ 12:11:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:11:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:11:08 + ls -al . 12:11:08 total 172 12:11:08 drwxrwxr-x 7 jenkins jenkins 4096 Jan 18 12:07 . 12:11:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 12:05 .. 12:11:08 -rw-rw-r-- 1 jenkins jenkins 119 Jan 18 12:05 .dockerignore 12:11:08 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 12:05 .git 12:11:08 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 12:05 .github 12:11:08 -rw-rw-r-- 1 jenkins jenkins 171 Jan 18 12:05 .gitignore 12:11:08 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 18 12:05 Attribution.txt 12:11:08 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 18 12:05 CHANGELOG.md 12:11:08 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 18 12:05 Dockerfile 12:11:08 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 12:05 GOVERNANCE.md 12:11:08 -rw-rw-r-- 1 jenkins jenkins 688 Jan 18 12:05 Jenkinsfile 12:11:08 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 18 12:05 LICENSE 12:11:08 -rw-rw-r-- 1 jenkins jenkins 618 Jan 18 12:05 OWNERS.md 12:11:08 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 18 12:05 README.md 12:11:08 -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 12:02 VERSION 12:11:08 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 12:05 bin 12:11:08 -rw-r--r-- 1 jenkins jenkins 13 Jan 18 12:07 coverage.out 12:11:08 -rw-rw-r-- 1 jenkins jenkins 3362 Jan 18 12:05 go.mod 12:11:08 -rw-rw-r-- 1 jenkins jenkins 33983 Jan 18 12:05 go.sum 12:11:08 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 18 12:05 main.go 12:11:08 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 18 12:05 makefile 12:11:08 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 12:05 res 12:11:08 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 12:05 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:08 + 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=bb1d263d4419ca4cf785bb464f73f0f11639233b --label arch=arm64 --label version=0.0.0 . 12:11:08 Sending build context to Docker daemon 207.4kB 12:11:09 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:11:09 Step 2/26 : FROM ${BASE} AS builder 12:11:09 ---> 05d9211a3925 12:11:09 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:11:09 ---> Running in 12ade1674553 12:11:09 Removing intermediate container 12ade1674553 12:11:09 ---> 14f8336ba1d5 12:11:09 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:11:09 ---> Running in b082320e9d0d 12:11:09 Removing intermediate container b082320e9d0d 12:11:09 ---> b6ca28976cd7 12:11:09 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:11:09 ---> Running in c832d4d647a6 12:11:10 Removing intermediate container c832d4d647a6 12:11:10 ---> 484dcbfe87ed 12:11:10 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:11:10 ---> Running in be1bafc8cc1f 12:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:11:12 OK: 221 MiB in 51 packages 12:11:13 Removing intermediate container be1bafc8cc1f 12:11:13 ---> 1b110cb959cc 12:11:13 Step 7/26 : WORKDIR /app 12:11:13 ---> Running in 9ec44740d808 12:11:13 Removing intermediate container 9ec44740d808 12:11:13 ---> a2b06443e6c0 12:11:13 Step 8/26 : COPY go.mod vendor* ./ 12:11:14 ---> 833b1495ce7f 12:11:14 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:11:14 ---> Running in 0e7c7a5dd922 12:11:16 Removing intermediate container 0e7c7a5dd922 12:11:16 ---> b54b1b0b84c1 12:11:16 Step 10/26 : COPY . . 12:11:17 ---> 318b311d7a0e 12:11:17 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:11:17 ---> Running in 98f08fea26fc 12:11:17 Removing intermediate container 98f08fea26fc 12:11:17 ---> 6e67d2a865a2 12:11:17 Step 12/26 : RUN $MAKE 12:11:17 ---> Running in ef843831020e 12:11:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:13:25 Removing intermediate container ef843831020e 12:13:25 ---> 3549151698ed 12:13:25 Step 13/26 : FROM alpine:3.16 12:13:25 3.16: Pulling from library/alpine 12:13:25 6875df1f5354: Pulling fs layer 12:13:25 6875df1f5354: Verifying Checksum 12:13:25 6875df1f5354: Download complete 12:13:25 6875df1f5354: Pull complete 12:13:25 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 12:13:25 Status: Downloaded newer image for alpine:3.16 12:13:25 ---> 2b4661558fb8 12:13:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:13:25 ---> Running in f044f210cc95 12:13:25 Removing intermediate container f044f210cc95 12:13:25 ---> 24441c255ce0 12:13:25 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:13:25 ---> Running in 26d6ec98d712 12:13:25 Removing intermediate container 26d6ec98d712 12:13:25 ---> 694c2f77f0a5 12:13:25 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:13:25 ---> Running in 0577e1a68ce1 12:13:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:13:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:13:25 (1/2) Installing ca-certificates (20220614-r0) 12:13:25 (2/2) Installing dumb-init (1.2.5-r1) 12:13:25 Executing busybox-1.35.0-r17.trigger 12:13:25 Executing ca-certificates-20220614-r0.trigger 12:13:25 OK: 6 MiB in 16 packages 12:13:25 Removing intermediate container 0577e1a68ce1 12:13:25 ---> a1635b403e6f 12:13:25 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:13:25 ---> 02bbf8675431 12:13:25 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:13:25 ---> f9f7dcd72527 12:13:25 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:13:25 ---> 38697df0a5a3 12:13:25 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:13:25 ---> d627e8c4de08 12:13:25 Step 21/26 : EXPOSE 48095 12:13:25 ---> Running in 7b71d6c9f1a6 12:13:25 Removing intermediate container 7b71d6c9f1a6 12:13:25 ---> d4989be073bb 12:13:25 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:13:25 ---> Running in c73a883c8b88 12:13:25 Removing intermediate container c73a883c8b88 12:13:25 ---> a5bdff7cc9e2 12:13:25 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:13:25 ---> Running in 35d3ae4490d2 12:13:25 Removing intermediate container 35d3ae4490d2 12:13:25 ---> 75a2af2f2066 12:13:25 Step 24/26 : LABEL arch=arm64 12:13:25 ---> Running in e150dffffa54 12:13:25 Removing intermediate container e150dffffa54 12:13:25 ---> c75a4d548b8f 12:13:25 Step 25/26 : LABEL git_sha=bb1d263d4419ca4cf785bb464f73f0f11639233b 12:13:25 ---> Running in 16aa031d3827 12:13:25 Removing intermediate container 16aa031d3827 12:13:25 ---> cece3923ce07 12:13:25 Step 26/26 : LABEL version=0.0.0 12:13:25 ---> Running in b1d4ecc394f0 12:13:25 Removing intermediate container b1d4ecc394f0 12:13:25 ---> b31cefb77630 12:13:25 [Warning] One or more build-args [ARCH] were not consumed 12:13:25 Successfully built b31cefb77630 12:13:25 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:26 12:13:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:27 arm64: Pulling from edgex-lftools-log-publisher 12:13:27 8998bd30e6a1: Pulling fs layer 12:13:27 04944245beec: Pulling fs layer 12:13:27 699f458cf7ca: Pulling fs layer 12:13:27 765212b225bb: Pulling fs layer 12:13:27 f23df028b6ca: Pulling fs layer 12:13:27 d65c8cfc05b1: Pulling fs layer 12:13:27 2437ff75d9bd: Pulling fs layer 12:13:27 f23df028b6ca: Waiting 12:13:27 d65c8cfc05b1: Waiting 12:13:27 2437ff75d9bd: Waiting 12:13:27 765212b225bb: Waiting 12:13:27 04944245beec: Verifying Checksum 12:13:27 04944245beec: Download complete 12:13:27 765212b225bb: Verifying Checksum 12:13:27 765212b225bb: Download complete 12:13:27 f23df028b6ca: Verifying Checksum 12:13:27 f23df028b6ca: Download complete 12:13:27 d65c8cfc05b1: Verifying Checksum 12:13:27 d65c8cfc05b1: Download complete 12:13:27 699f458cf7ca: Verifying Checksum 12:13:27 699f458cf7ca: Download complete 12:13:27 8998bd30e6a1: Verifying Checksum 12:13:27 8998bd30e6a1: Download complete 12:13:29 2437ff75d9bd: Download complete 12:13:31 8998bd30e6a1: Pull complete 12:13:31 04944245beec: Pull complete 12:13:33 699f458cf7ca: Pull complete 12:13:33 765212b225bb: Pull complete 12:13:34 f23df028b6ca: Pull complete 12:13:34 d65c8cfc05b1: Pull complete 12:13:49 2437ff75d9bd: Pull complete 12:13:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:13:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:13:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:49 prd-ubuntu20.04-docker-arm64-4c-16g-2925 does not seem to be running inside a container 12:13:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:13:52 $ docker top 62815a176c5b77d4c56258a84bb5fbad3d655afaafa656504a01529a1ea7c06b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:53 ---> job-cost.sh 12:13:53 lf-activate-venv: SKIPPING 12:13:53 INFO: No Stack... 12:13:53 INFO: Retrieving Pricing Info for: v3-standard-4 12:13:54 INFO: Archiving Costs [Pipeline] sh 12:13:54 + + cut -d, -f6 12:13:54 cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:13:54 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-503-1-stack-cost] 12:13:54 Resource [jenkins-edgexfoundry-app-service-configurable-PR-503-1-stack-cost] did not exist. Created. 12:13:54 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-503-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:13:55 /w/workspace/app-service-configurable/1@tmp/durable-c14a73b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:13:56 + echo total: 0.10999999940395355 [Pipeline] stash 12:13:56 Warning: overwriting stash ‘stack-cost’ 12:13:56 Stashed 1 file(s) [Pipeline] } 12:13:56 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-503-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:13:56 $ docker stop --time=1 62815a176c5b77d4c56258a84bb5fbad3d655afaafa656504a01529a1ea7c06b 12:13:57 $ docker rm -f --volumes 62815a176c5b77d4c56258a84bb5fbad3d655afaafa656504a01529a1ea7c06b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:13:58 provisioning config files... 12:13:58 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-503@tmp/config12505429002358402875tmp [Pipeline] { [Pipeline] sh 12:13:59 + set +x 12:13:59 + curl -s https://codecov.io/bash 12:13:59 + bash -s -- 12:13:59 12:13:59 _____ _ 12:13:59 / ____| | | 12:13:59 | | ___ __| | ___ ___ _____ __ 12:13:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:13:59 | |___| (_) | (_| | __/ (_| (_) \ V / 12:13:59 \_____\___/ \__,_|\___|\___\___/ \_/ 12:13:59 Bash-1.0.6 12:13:59 12:13:59 12:13:59 ==> git version 2.25.1 found 12:13:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:13:59 Release-Date: 2020-01-08 12:13:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:13:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:13:59 ==> Jenkins CI detected. 12:13:59 current dir:  /w/workspace/_app-service-configurable_PR-503 12:13:59 project root: . 12:13:59 --> token set from env 12:13:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:13:59 ==> Running gcov in . (disable via -X gcov) 12:13:59 ==> Python coveragepy not found 12:13:59 ==> Searching for coverage reports in: 12:13:59 + . 12:13:59 -> Found 1 reports 12:13:59 ==> Detecting git/mercurial file structure 12:13:59 ==> Reading reports 12:13:59 + ./coverage.out bytes=13 12:13:59 ==> Appending adjustments 12:13:59 https://docs.codecov.io/docs/fixing-reports 12:13:59 + Found adjustments 12:13:59 ==> Gzipping contents 12:13:59 4.0K /tmp/codecov.O9cFGV.gz 12:13:59 ==> Uploading reports 12:13:59 url: https://codecov.io 12:13:59 query: branch=PR-503&commit=bb1d263d4419ca4cf785bb464f73f0f11639233b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-503%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=503&job=&cmd_args= 12:13:59 -> Pinging Codecov 12:13:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-503&commit=bb1d263d4419ca4cf785bb464f73f0f11639233b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-503%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=503&job=&cmd_args= 12:13:59 -> Uploading to 12:13:59 https://storage.googleapis.com/codecov/v4/raw/2023-01-18/A97CA9966030D2A3747ED39772930CCE/bb1d263d4419ca4cf785bb464f73f0f11639233b/2bacc9cc-308b-450e-b098-be3efb9c7e07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230118T121359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ce5b9a79300c08caa0b477a3e2dd49a17bc3ce8e132280abc18c6a60611489c 12:13:59 % Total % Received % Xferd Average Speed Time Time Time Current 12:13:59 Dload Upload Total Spent Left Speed 12:13:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 530 0 0 100 530 0 2255 --:--:-- --:--:-- --:--:-- 2255 12:13:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/bb1d263d4419ca4cf785bb464f73f0f11639233b [Pipeline] } 12:13:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:14:02 + [ -d /w/workspace/_app-service-configurable_PR-503/archives ] 12:14:02 + ls -al /w/workspace/_app-service-configurable_PR-503/archives 12:14:02 total 16 12:14:02 drwxr-xr-x 3 root root 4096 Jan 18 12:05 . 12:14:02 drwxrwxr-x 9 jenkins jenkins 4096 Jan 18 12:05 .. 12:14:02 drwxr-xr-x 2 root root 4096 Jan 18 12:05 cost 12:14:02 -rw-r--r-- 1 root root 96 Jan 18 12:05 cost.csv 12:14:02 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-503/archives 12:14:02 + ls -al /w/workspace/_app-service-configurable_PR-503/archives 12:14:02 total 16 12:14:02 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 12:05 . 12:14:02 drwxrwxr-x 9 jenkins jenkins 4096 Jan 18 12:05 .. 12:14:02 drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 12:05 cost 12:14:02 -rw-r--r-- 1 jenkins jenkins 96 Jan 18 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:14:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:14:03 ---> package-listing.sh 12:14:03 ++ facter osfamily 12:14:03 ++ tr '[:upper:]' '[:lower:]' 12:14:03 + OS_FAMILY=debian 12:14:03 + workspace=/w/workspace/_app-service-configurable_PR-503 12:14:03 + START_PACKAGES=/tmp/packages_start.txt 12:14:03 + END_PACKAGES=/tmp/packages_end.txt 12:14:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:14:03 + PACKAGES=/tmp/packages_start.txt 12:14:03 + '[' /w/workspace/_app-service-configurable_PR-503 ']' 12:14:03 + PACKAGES=/tmp/packages_end.txt 12:14:03 + case "${OS_FAMILY}" in 12:14:03 + dpkg -l 12:14:03 + grep '^ii' 12:14:03 + '[' -f /tmp/packages_start.txt ']' 12:14:03 + '[' -f /tmp/packages_end.txt ']' 12:14:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:14:03 + '[' /w/workspace/_app-service-configurable_PR-503 ']' 12:14:03 + mkdir -p /w/workspace/_app-service-configurable_PR-503/archives/ 12:14:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-503/archives/ [Pipeline] echo 12:14:03 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-503/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:14:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:14:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:04 prd-ubuntu20.04-docker-8c-8g-2923 does not seem to be running inside a container 12:14:04 $ 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-503/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-503 -v /w/workspace/_app-service-configurable_PR-503:/w/workspace/_app-service-configurable_PR-503:rw,z -v /w/workspace/_app-service-configurable_PR-503@tmp:/w/workspace/_app-service-configurable_PR-503@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:14:04 $ docker top 7d8ca6c8366f373a467e1faca17297cdd02ad57b614caa0e41931b6d313c0470 -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:05 + touch /tmp/pre-build-complete [Pipeline] sh 12:14:05 + mkdir -p /var/log/sysstat [Pipeline] sh 12:14:05 + ls /var/log/sa-host 12:14:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:14:06 provisioning config files... 12:14:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-503@tmp/config12836667992605468508tmp [Pipeline] { [Pipeline] echo 12:14:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:14:06 ---> create-netrc.sh [Pipeline] } 12:14:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:14:06 ---> python-tools-install.sh [Pipeline] echo 12:14:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:14:07 ---> sudo-logs.sh 12:14:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:14:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:14:07 ---> job-cost.sh 12:14:07 lf-activate-venv: SKIPPING 12:14:07 DEBUG: total: 0.2199999988079071 12:14:07 INFO: Retrieving Stack Cost... 12:14:08 INFO: Retrieving Pricing Info for: v3-standard-8 12:14:08 INFO: Archiving Costs [Pipeline] echo 12:14:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:14:09 ---> logs-deploy.sh 12:14:09 lf-activate-venv: SKIPPING 12:14:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-503/1 12:14:09 INFO: archiving workspace using pattern(s): 12:14:10 Archives upload complete. 12:14:10 INFO: archiving logs to Nexus