Pull request #524 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1+38d2ea53745de48730f2be4fd311f21cab61737a (22ba2d3848f51b95083cc853c7a3a885e13a4a71) 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-ssh10128954947152931227.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-ssh12187455180515037316.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-524/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-524/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1859903067972723325.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-524/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2625800338541288158.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-ssh10672100636140715283.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-524/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-524/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8782924833333648043.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-7357 in /w/workspace/_app-service-configurable_PR-524 [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-524 # 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/524/head:refs/remotes/origin/PR-524 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 38d2ea53745de48730f2be4fd311f21cab61737a into PR head commit 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 Merge succeeded, producing 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 Checking out Revision 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 (PR-524) 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:13:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage > git config core.sparsecheckout # timeout=10 > git checkout -f 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 # 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 38d2ea53745de48730f2be4fd311f21cab61737a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 # timeout=10 [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:13:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:13:40 ========================================================= 12:13:40 EdgeX Global Pipelines Version Info 12:13:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:13:41 ------------------- 12:13:41 stable info: 12:13:41 ------------------- 12:13:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:13:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:13:41 Message: update stable to v1.0.244 12:13:41 ------------------- 12:13:41 experimental info: 12:13:41 ------------------- 12:13:41 Commited By: **** collab-it+edgex@linuxfoundation.org 12:13:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:13:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:13:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:13:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:13:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-524 [Pipeline] echo 12:13:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-524 [Pipeline] echo 12:13:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-524 [Pipeline] echo 12:13:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 [Pipeline] echo 12:13:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0654cee [Pipeline] echo 12:13:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:13:43 provisioning config files... 12:13:43 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-524@tmp/config15119327884174762540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:13:43 ---> docker-login.sh 12:13:43 nexus3.edgexfoundry.org:10001 12:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:44 Configure a credential helper to remove this warning. See 12:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:44 12:13:44 Login Succeeded 12:13:44 nexus3.edgexfoundry.org:10002 12:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:44 Configure a credential helper to remove this warning. See 12:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:44 12:13:44 Login Succeeded 12:13:44 nexus3.edgexfoundry.org:10003 12:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:44 Configure a credential helper to remove this warning. See 12:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:44 12:13:44 Login Succeeded 12:13:44 nexus3.edgexfoundry.org:10004 12:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:44 Configure a credential helper to remove this warning. See 12:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:44 12:13:44 Login Succeeded 12:13:44 docker.io 12:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:13:45 Configure a credential helper to remove this warning. See 12:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:13:45 12:13:45 Login Succeeded 12:13:45 ---> docker-login.sh ends [Pipeline] } 12:13:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:13:45 + git rev-list -1 --merges 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1~1..0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 [Pipeline] echo 12:13:45 -----------> git rev-list -1 --merges 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1~1..0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 [false] [Pipeline] sh 12:13:46 + git log --format=format:%s -1 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 [Pipeline] echo 12:13:46 ========================================================= 12:13:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:13:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:13:46 + git log --format=format:%s -1 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 [Pipeline] echo 12:13:46 [semverPrep] GIT_COMMIT: 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:13:46 [semverPrep] This is not a build commit. [Pipeline] sh 12:13:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:13:46 + grep -v github /etc/ssh/ssh_known_hosts 12:13:46 + [ -e /tmp/ssh_known_hosts ] 12:13:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:13:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:13:46 + sudo tee -a /etc/ssh/ssh_known_hosts 12:13:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:13:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:13:47 12:13: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:13:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:13:47 0.1.4: Pulling from edgex-devops/py-git-semver 12:13:47 b85a868b505f: Pulling fs layer 12:13:47 e2be974225ed: Pulling fs layer 12:13:47 339a4e72a1f5: Pulling fs layer 12:13:47 988bab9f4d93: Pulling fs layer 12:13:47 1469e6f7b9e6: Pulling fs layer 12:13:47 eaf3925da568: Pulling fs layer 12:13:47 bab4dde63d76: Pulling fs layer 12:13:47 bde34c3a00c8: Pulling fs layer 12:13:47 b352a97aabf1: Pulling fs layer 12:13:47 4872d77fe225: Pulling fs layer 12:13:47 5851b861e8e6: Pulling fs layer 12:13:47 bde34c3a00c8: Waiting 12:13:47 988bab9f4d93: Waiting 12:13:47 1469e6f7b9e6: Waiting 12:13:47 eaf3925da568: Waiting 12:13:47 b352a97aabf1: Waiting 12:13:47 bab4dde63d76: Waiting 12:13:47 5851b861e8e6: Waiting 12:13:47 4872d77fe225: Waiting 12:13:47 e2be974225ed: Download complete 12:13:47 988bab9f4d93: Verifying Checksum 12:13:47 988bab9f4d93: Download complete 12:13:48 1469e6f7b9e6: Verifying Checksum 12:13:48 1469e6f7b9e6: Download complete 12:13:48 339a4e72a1f5: Verifying Checksum 12:13:48 339a4e72a1f5: Download complete 12:13:48 eaf3925da568: Verifying Checksum 12:13:48 eaf3925da568: Download complete 12:13:48 bde34c3a00c8: Verifying Checksum 12:13:48 bde34c3a00c8: Download complete 12:13:48 b352a97aabf1: Verifying Checksum 12:13:48 b352a97aabf1: Download complete 12:13:48 4872d77fe225: Verifying Checksum 12:13:48 4872d77fe225: Download complete 12:13:48 b85a868b505f: Verifying Checksum 12:13:48 b85a868b505f: Download complete 12:13:48 bab4dde63d76: Verifying Checksum 12:13:48 bab4dde63d76: Download complete 12:13:49 b85a868b505f: Pull complete 12:13:49 e2be974225ed: Pull complete 12:13:49 339a4e72a1f5: Pull complete 12:13:50 988bab9f4d93: Pull complete 12:13:50 1469e6f7b9e6: Pull complete 12:13:50 eaf3925da568: Pull complete 12:13:52 bab4dde63d76: Pull complete 12:13:52 bde34c3a00c8: Pull complete 12:13:52 b352a97aabf1: Pull complete 12:13:52 4872d77fe225: Pull complete 12:13:52 5851b861e8e6: Pull complete 12:13:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:13:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:13:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:13:52 prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container 12:13:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-524 -v /w/workspace/_app-service-configurable_PR-524:/w/workspace/_app-service-configurable_PR-524:rw,z -v /w/workspace/_app-service-configurable_PR-524@tmp:/w/workspace/_app-service-configurable_PR-524@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:13:55 $ docker top 59cf7ee2cdb59b1ff93812a88ee118dbc090c96da4e30d7c776e1c10e8cbdc74 -eo pid,comm 12:13:55 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:13:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:13:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:13:55 [ssh-agent] Looking for ssh-agent implementation... 12:13:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:13:55 $ docker exec 59cf7ee2cdb59b1ff93812a88ee118dbc090c96da4e30d7c776e1c10e8cbdc74 ssh-agent 12:13:55 SSH_AUTH_SOCK=/tmp/ssh-RYlWuv5h65yI/agent.31 12:13:55 SSH_AGENT_PID=38 12:13:55 Running ssh-add (command line suppressed) 12:13:55 Identity added: /w/workspace/_app-service-configurable_PR-524@tmp/private_key_11366944956095406683.key (/w/workspace/_app-service-configurable_PR-524@tmp/private_key_11366944956095406683.key) 12:13:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:13:56 + git tag --points-at HEAD [Pipeline] } 12:13:56 $ docker exec --env ******** --env ******** 59cf7ee2cdb59b1ff93812a88ee118dbc090c96da4e30d7c776e1c10e8cbdc74 ssh-agent -k 12:13:56 unset SSH_AUTH_SOCK; 12:13:56 unset SSH_AGENT_PID; 12:13:56 echo Agent pid 38 killed; 12:13:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:13:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:13:56 [ssh-agent] Looking for ssh-agent implementation... 12:13:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:13:56 $ docker exec 59cf7ee2cdb59b1ff93812a88ee118dbc090c96da4e30d7c776e1c10e8cbdc74 ssh-agent 12:13:56 SSH_AUTH_SOCK=/tmp/ssh-PmnyQJj4rK2q/agent.71 12:13:56 SSH_AGENT_PID=77 12:13:56 Running ssh-add (command line suppressed) 12:13:56 Identity added: /w/workspace/_app-service-configurable_PR-524@tmp/private_key_16152272064320376206.key (/w/workspace/_app-service-configurable_PR-524@tmp/private_key_16152272064320376206.key) 12:13:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:13:57 + git semver init 12:13:57 2023-02-24 12:13:57,326 [run_init] DEBUG init version:0.0.0 force:False 12:13:57 2023-02-24 12:13:57,327 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-524/.semver 12:13:57 2023-02-24 12:13:57,327 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-524/.semver 12:13:57 2023-02-24 12:13:57,327 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-524/.semver'], cwd=/w/workspace/_app-service-configurable_PR-524, universal_newlines=False, shell=None, istream=None) 12:13:58 2023-02-24 12:13:58,290 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-524/.git/info/exclude 12:13:58 2023-02-24 12:13:58,291 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-524/.semver/PR-524 with force:False 12:13:58 2023-02-24 12:13:58,291 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-524/.semver/PR-524 12:13:58 2023-02-24 12:13:58,295 [execute] INFO git cat-file --batch-check 12:13:58 2023-02-24 12:13:58,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-524/.semver, universal_newlines=False, shell=None, istream=) 12:13:58 2023-02-24 12:13:58,302 [execute] INFO git cat-file --batch 12:13:58 2023-02-24 12:13:58,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-524/.semver, universal_newlines=False, shell=None, istream=) 12:13:58 2023-02-24 12:13:58,309 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-524/.semver/PR-524 12:13:58 0.0.0 [Pipeline] } 12:13:58 $ docker exec --env ******** --env ******** 59cf7ee2cdb59b1ff93812a88ee118dbc090c96da4e30d7c776e1c10e8cbdc74 ssh-agent -k 12:13:58 unset SSH_AUTH_SOCK; 12:13:58 unset SSH_AGENT_PID; 12:13:58 echo Agent pid 77 killed; 12:13:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:13:58 + git semver [Pipeline] } 12:13:59 $ docker stop --time=1 59cf7ee2cdb59b1ff93812a88ee118dbc090c96da4e30d7c776e1c10e8cbdc74 12:14:00 $ docker rm -f --volumes 59cf7ee2cdb59b1ff93812a88ee118dbc090c96da4e30d7c776e1c10e8cbdc74 [Pipeline] // withDockerContainer [Pipeline] sh 12:14:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:14:01 Stashed 1 file(s) [Pipeline] echo 12:14:01 [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:14:01 provisioning config files... 12:14:01 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-524@tmp/config8401174549728174618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:02 ---> docker-login.sh 12:14:02 nexus3.edgexfoundry.org:10001 12:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:02 Configure a credential helper to remove this warning. See 12:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:02 12:14:02 Login Succeeded 12:14:02 nexus3.edgexfoundry.org:10002 12:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:02 Configure a credential helper to remove this warning. See 12:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:02 12:14:02 Login Succeeded 12:14:02 nexus3.edgexfoundry.org:10003 12:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:02 Configure a credential helper to remove this warning. See 12:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:02 12:14:02 Login Succeeded 12:14:02 nexus3.edgexfoundry.org:10004 12:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:02 Configure a credential helper to remove this warning. See 12:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:02 12:14:02 Login Succeeded 12:14:02 docker.io 12:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:14:02 Configure a credential helper to remove this warning. See 12:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:14:02 12:14:02 Login Succeeded 12:14:02 ---> docker-login.sh ends [Pipeline] } 12:14:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:14:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:14:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:14:02 ========================================================= 12:14:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:14:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:03 + 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:14:03 Sending build context to Docker daemon 3.227MB 12:14:03 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:14:03 Step 2/12 : FROM ${BASE} AS builder 12:14:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:14:03 213ec9aee27d: Pulling fs layer 12:14:03 4583459ba037: Pulling fs layer 12:14:03 93c1e223e6f2: Pulling fs layer 12:14:03 53926ce57604: Pulling fs layer 12:14:03 21b2b0c7a3f4: Pulling fs layer 12:14:03 22ff95d597cd: Pulling fs layer 12:14:03 12d6caf4c0d1: Pulling fs layer 12:14:03 96b7cbca73a9: Pulling fs layer 12:14:03 a7acece74701: Pulling fs layer 12:14:03 22ff95d597cd: Waiting 12:14:03 12d6caf4c0d1: Waiting 12:14:03 21b2b0c7a3f4: Waiting 12:14:03 53926ce57604: Waiting 12:14:03 a7acece74701: Waiting 12:14:03 96b7cbca73a9: Waiting 12:14:03 93c1e223e6f2: Verifying Checksum 12:14:03 93c1e223e6f2: Download complete 12:14:03 4583459ba037: Verifying Checksum 12:14:03 4583459ba037: Download complete 12:14:03 21b2b0c7a3f4: Download complete 12:14:03 22ff95d597cd: Verifying Checksum 12:14:03 22ff95d597cd: Download complete 12:14:03 213ec9aee27d: Verifying Checksum 12:14:03 213ec9aee27d: Download complete 12:14:03 12d6caf4c0d1: Verifying Checksum 12:14:03 12d6caf4c0d1: Download complete 12:14:03 213ec9aee27d: Pull complete 12:14:03 4583459ba037: Pull complete 12:14:03 93c1e223e6f2: Pull complete 12:14:04 a7acece74701: Verifying Checksum 12:14:04 a7acece74701: Download complete 12:14:04 96b7cbca73a9: Verifying Checksum 12:14:04 96b7cbca73a9: Download complete 12:14:04 53926ce57604: Verifying Checksum 12:14:04 53926ce57604: Download complete 12:14:07 53926ce57604: Pull complete 12:14:07 21b2b0c7a3f4: Pull complete 12:14:08 22ff95d597cd: Pull complete 12:14:08 12d6caf4c0d1: Pull complete 12:14:09 96b7cbca73a9: Pull complete 12:14:10 a7acece74701: Pull complete 12:14:10 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 12:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:14:10 ---> db6d94c90886 12:14:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:14:15 ---> Running in eda38c7e4980 12:14:15 Removing intermediate container eda38c7e4980 12:14:15 ---> 63be2f2a0fa9 12:14:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:14:15 ---> Running in f2ae6198ce98 12:14:15 Removing intermediate container f2ae6198ce98 12:14:15 ---> 30052049fd1e 12:14:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:14:15 ---> Running in 3d61f3c216fc 12:14:15 Removing intermediate container 3d61f3c216fc 12:14:15 ---> 53443f20b75b 12:14:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:14:15 ---> Running in 06b95174152a 12:14:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:14:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:14:16 OK: 211 MiB in 51 packages 12:14:16 Removing intermediate container 06b95174152a 12:14:16 ---> c4b098b09f43 12:14:16 Step 7/12 : WORKDIR /app 12:14:16 ---> Running in b75301407bf4 12:14:16 Removing intermediate container b75301407bf4 12:14:16 ---> 5e26093993ac 12:14:16 Step 8/12 : COPY go.mod vendor* ./ 12:14:16 Still waiting to schedule task 12:14:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:14:16 ---> e6777c78c1fd 12:14:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:14:16 ---> Running in f8d75694ee64 12:14:55 Removing intermediate container f8d75694ee64 12:14:55 ---> 112af366683e 12:14:55 Step 10/12 : COPY . . 12:14:55 ---> e38f1e7772b6 12:14:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:14:55 ---> Running in 64f2e507f459 12:14:55 Removing intermediate container 64f2e507f459 12:14:55 ---> e49608707cde 12:14:55 Step 12/12 : RUN $MAKE 12:14:55 ---> Running in 7aae6dcf7a91 12:14:55 noop 12:14:55 Removing intermediate container 7aae6dcf7a91 12:14:55 ---> f49dac7755c1 12:14:55 Successfully built f49dac7755c1 12:14:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:55 + docker inspect -f . ci-base-image-x86_64 12:14:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:55 prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container 12:14:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-524 -v /w/workspace/_app-service-configurable_PR-524:/w/workspace/_app-service-configurable_PR-524:rw,z -v /w/workspace/_app-service-configurable_PR-524@tmp:/w/workspace/_app-service-configurable_PR-524@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:14:56 $ docker top bf9e072b43ff4ba4ce0e5929099fb4c4c882c35ee89612121bd78475ddffd4d1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:56 + go version 12:14:56 go version go1.18.7 linux/amd64 [Pipeline] } 12:14:56 $ docker stop --time=1 bf9e072b43ff4ba4ce0e5929099fb4c4c882c35ee89612121bd78475ddffd4d1 12:14:58 $ docker rm -f --volumes bf9e072b43ff4ba4ce0e5929099fb4c4c882c35ee89612121bd78475ddffd4d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:58 + docker inspect -f . ci-base-image-x86_64 12:14:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:58 prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container 12:14: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-524 -v /w/workspace/_app-service-configurable_PR-524:/w/workspace/_app-service-configurable_PR-524:rw,z -v /w/workspace/_app-service-configurable_PR-524@tmp:/w/workspace/_app-service-configurable_PR-524@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:14:59 $ docker top 7b4204fdd90a375f07ed08edb06fde9ca3085e253137e5ed240719fc794924c7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:59 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-524 [Pipeline] fileExists [Pipeline] sh 12:14:59 + make test 12:14:59 go test -race -coverprofile=coverage.out ./... 12:15:18 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:15:18 go vet ./... 12:15:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:15:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:15:26 ./bin/test-attribution-txt.sh [Pipeline] echo 12:15:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:15:26 $ docker stop --time=1 7b4204fdd90a375f07ed08edb06fde9ca3085e253137e5ed240719fc794924c7 12:15:29 $ docker rm -f --volumes 7b4204fdd90a375f07ed08edb06fde9ca3085e253137e5ed240719fc794924c7 [Pipeline] // withDockerContainer [Pipeline] sh 12:15:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:15:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:15:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:15:31 + ls -al . 12:15:31 total 172 12:15:31 drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 12:14 . 12:15:31 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 12:13 .. 12:15:31 -rw-rw-r-- 1 jenkins jenkins 119 Feb 24 12:13 .dockerignore 12:15:31 drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 12:13 .git 12:15:31 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 12:13 .github 12:15:31 -rw-rw-r-- 1 jenkins jenkins 171 Feb 24 12:13 .gitignore 12:15:31 drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 12:13 .semver 12:15:31 -rw-rw-r-- 1 jenkins jenkins 9320 Feb 24 12:13 Attribution.txt 12:15:31 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 24 12:13 CHANGELOG.md 12:15:31 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 24 12:13 Dockerfile 12:15:31 -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 12:13 GOVERNANCE.md 12:15:31 -rw-rw-r-- 1 jenkins jenkins 688 Feb 24 12:13 Jenkinsfile 12:15:31 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 24 12:13 LICENSE 12:15:31 -rw-rw-r-- 1 jenkins jenkins 618 Feb 24 12:13 OWNERS.md 12:15:31 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 24 12:13 README.md 12:15:31 -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 12:14 VERSION 12:15:31 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 12:13 bin 12:15:31 -rw-r--r-- 1 jenkins jenkins 13 Feb 24 12:14 coverage.out 12:15:31 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 24 12:13 go.mod 12:15:31 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 24 12:13 go.sum 12:15:31 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 24 12:13 main.go 12:15:31 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 24 12:13 makefile 12:15:31 drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 12:13 res 12:15:31 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 12:13 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15: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=0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 --label arch=amd64 --label version=0.0.0 . 12:15:31 Sending build context to Docker daemon 3.228MB 12:15:31 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:15:31 Step 2/26 : FROM ${BASE} AS builder 12:15:31 ---> f49dac7755c1 12:15:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:15:31 ---> Running in b392ee02cb93 12:15:32 Removing intermediate container b392ee02cb93 12:15:32 ---> 1de8e74b6ea4 12:15:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:15:32 ---> Running in c52b3b19f044 12:15:32 Removing intermediate container c52b3b19f044 12:15:32 ---> d18c1df9e99e 12:15:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:15:32 ---> Running in 63c105a43b00 12:15:32 Removing intermediate container 63c105a43b00 12:15:32 ---> 45d978817d6d 12:15:32 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:15:32 ---> Running in 35e6956da21b 12:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:15:32 OK: 211 MiB in 51 packages 12:15:33 Removing intermediate container 35e6956da21b 12:15:33 ---> 4036ae3be566 12:15:33 Step 7/26 : WORKDIR /app 12:15:33 ---> Running in 66b2080656fe 12:15:33 Removing intermediate container 66b2080656fe 12:15:33 ---> 6097b14ec23b 12:15:33 Step 8/26 : COPY go.mod vendor* ./ 12:15:33 ---> 71b1ef71896b 12:15:33 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:15:33 ---> Running in 84b7a8130d14 12:15:34 Removing intermediate container 84b7a8130d14 12:15:34 ---> c5ffff6ca720 12:15:34 Step 10/26 : COPY . . 12:15:34 ---> 32ea2e1183c5 12:15:34 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:15:34 ---> Running in 7779795314ba 12:15:34 Removing intermediate container 7779795314ba 12:15:34 ---> dfda93f2fc0f 12:15:34 Step 12/26 : RUN $MAKE 12:15:34 ---> Running in c3998293763b 12:15:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.35 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:15:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7358 in /w/workspace/_app-service-configurable_PR-524 [Pipeline] { [Pipeline] ws 12:15:52 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:15:52 Selected Git installation does not exist. Using Default 12:15:52 The recommended git tool is: NONE 12:15:56 Removing intermediate container c3998293763b 12:15:56 ---> 12170f07ae5c 12:15:56 Step 13/26 : FROM alpine:3.16 12:15:56 3.16: Pulling from library/alpine 12:15:56 ef5531b6e74e: Pulling fs layer 12:15:56 ef5531b6e74e: Verifying Checksum 12:15:56 ef5531b6e74e: Download complete 12:15:56 ef5531b6e74e: Pull complete 12:15:56 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 12:15:56 Status: Downloaded newer image for alpine:3.16 12:15:56 ---> dfd21b5a31f5 12:15:56 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:15:56 ---> Running in 514bccd02633 12:15:56 Removing intermediate container 514bccd02633 12:15:56 ---> d42c1f2b9cc9 12:15:56 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:15:56 ---> Running in 9e60015a02ec 12:15:56 Removing intermediate container 9e60015a02ec 12:15:56 ---> a0b6c2462358 12:15:56 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:15:56 ---> Running in e982c2ef93ea 12:15:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:15:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:15:56 (1/2) Installing ca-certificates (20220614-r0) 12:15:56 (2/2) Installing dumb-init (1.2.5-r1) 12:15:56 Executing busybox-1.35.0-r17.trigger 12:15:56 Executing ca-certificates-20220614-r0.trigger 12:15:56 OK: 6 MiB in 16 packages 12:15:56 Removing intermediate container e982c2ef93ea 12:15:56 ---> e7033fa11093 12:15:56 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:15:56 ---> a321f52a354a 12:15:56 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:15:56 ---> 8a276dec2f50 12:15:56 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:15:56 ---> 8e94e5568dee 12:15:56 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:15:56 ---> 5c71811c6f1c 12:15:56 Step 21/26 : EXPOSE 48095 12:15:56 ---> Running in 6e53455fb4c4 12:15:56 Removing intermediate container 6e53455fb4c4 12:15:56 ---> d6ada6fbdfd4 12:15:56 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:15:56 ---> Running in d03eb154f62c 12:15:57 Removing intermediate container d03eb154f62c 12:15:57 ---> 1eb1dd137672 12:15:57 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:15:57 ---> Running in 9a2eb2ca7df2 12:15:57 Removing intermediate container 9a2eb2ca7df2 12:15:57 ---> 32d9f04541d5 12:15:57 Step 24/26 : LABEL arch=amd64 12:15:57 ---> Running in 4712f8155f36 12:15:57 Removing intermediate container 4712f8155f36 12:15:57 ---> b8fba4678e64 12:15:57 Step 25/26 : LABEL git_sha=0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 12:15:57 ---> Running in 226e0fb6dd0e 12:15:57 using credential edgex-jenkins-ssh 12:15:57 Cloning the remote Git repository 12:15:57 Removing intermediate container 226e0fb6dd0e 12:15:57 ---> c61916b28b33 12:15:57 Step 26/26 : LABEL version=0.0.0 12:15:57 ---> Running in 97f8dd524be3 12:15:57 Removing intermediate container 97f8dd524be3 12:15:57 ---> d866cad1fb61 12:15:57 [Warning] One or more build-args [ARCH] were not consumed 12:15:57 Successfully built d866cad1fb61 12:15:57 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:15:58 12:15:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix 12:15:57 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:15:57 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:15:57 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:15:57 > git --version # timeout=10 12:15:57 > git --version # 'git version 2.25.1' 12:15:57 using GIT_SSH to set credentials SSH Credentials for GitHub 12:15:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:15:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:15:58 latest: Pulling from edgex-lftools-log-publisher 12:15:58 5eb5b503b376: Pulling fs layer 12:15:58 5c69ac0246d0: Pulling fs layer 12:15:58 ec43610c2a17: Pulling fs layer 12:15:58 3a2ae6a8a46f: Pulling fs layer 12:15:58 33b1e0a273af: Pulling fs layer 12:15:58 5d3b04190fa2: Pulling fs layer 12:15:58 2f39f015ded8: Pulling fs layer 12:15:58 33b1e0a273af: Waiting 12:15:58 5d3b04190fa2: Waiting 12:15:58 2f39f015ded8: Waiting 12:15:58 3a2ae6a8a46f: Waiting 12:15:58 5c69ac0246d0: Download complete 12:15:58 3a2ae6a8a46f: Verifying Checksum 12:15:58 3a2ae6a8a46f: Download complete 12:15:58 33b1e0a273af: Verifying Checksum 12:15:58 33b1e0a273af: Download complete 12:15:58 ec43610c2a17: Verifying Checksum 12:15:58 ec43610c2a17: Download complete 12:15:58 5d3b04190fa2: Download complete 12:15:58 5eb5b503b376: Verifying Checksum 12:15:58 5eb5b503b376: Download complete 12:15:59 2f39f015ded8: Verifying Checksum 12:15:59 2f39f015ded8: Download complete 12:15:58 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:15:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:15:59 5eb5b503b376: Pull complete 12:16:00 Merging remotes/origin/main commit 38d2ea53745de48730f2be4fd311f21cab61737a into PR head commit 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 12:16:00 5c69ac0246d0: Pull complete 12:16:00 Merge succeeded, producing 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 12:16:00 Checking out Revision 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 (PR-524) 12:16:00 ec43610c2a17: Pull complete 12:16:00 3a2ae6a8a46f: Pull complete 12:16:00 33b1e0a273af: Pull complete 12:16:00 5d3b04190fa2: Pull complete 12:15:59 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:15:59 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:15:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:15:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/524/head:refs/remotes/origin/PR-524 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:16:00 > git config core.sparsecheckout # timeout=10 12:16:00 > git checkout -f 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 # timeout=10 12:16:00 > git remote # timeout=10 12:16:00 > git config --get remote.origin.url # timeout=10 12:16:00 using GIT_SSH to set credentials SSH Credentials for GitHub 12:16:00 > git merge 38d2ea53745de48730f2be4fd311f21cab61737a # timeout=10 12:16:00 > git rev-parse HEAD^{commit} # timeout=10 12:16:00 > git config core.sparsecheckout # timeout=10 12:16:00 > git checkout -f 0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 # timeout=10 12:16:00 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:16:00 > git --version # timeout=10 12:16:00 > git --version # 'git version 2.25.1' 12:16:00 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:16:01 12:16:01 GitHub has been notified of this commit’s build result 12:16:01 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:16:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:16:02 % Total % Received % Xferd Average Speed Time Time Time Current 12:16:02 Dload Upload Total Spent Left Speed 12:16:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] sh 12:16:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:16:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:16:03 + sudo tee /etc/docker/daemon.new 12:16:03 { 12:16:03 "registry-mirrors": [ 12:16:03 "https://nexus3.edgexfoundry.org:10001" 12:16:03 ], 12:16:03 "bip": "10.250.0.254/24", 12:16:03 "hosts": [ 12:16:03 "tcp://0.0.0.0:5555", 12:16:03 "unix:///var/run/docker.sock" 12:16:03 ], 12:16:03 "mtu": 1458, 12:16:03 "selinux-enabled": true, 12:16:03 "seccomp-profile": "/etc/docker/seccomp.json" 12:16:03 } [Pipeline] sh 12:16:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:16:03 + sudo service docker restart 12:16:04 2f39f015ded8: Pull complete 12:16:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:16:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:05 prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container 12:16:05 $ 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-524 -v /w/workspace/_app-service-configurable_PR-524:/w/workspace/_app-service-configurable_PR-524:rw,z -v /w/workspace/_app-service-configurable_PR-524@tmp:/w/workspace/_app-service-configurable_PR-524@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:16:08 $ docker top e49a6c4ab804daf0e845d1ddaed87534e4dafc2e360f4c07c970c97a702f3c4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:16:08 ---> job-cost.sh 12:16:08 lf-activate-venv: SKIPPING 12:16:08 INFO: No Stack... 12:16:08 INFO: Retrieving Pricing Info for: v3-standard-8 12:16:09 INFO: Archiving Costs [Pipeline] sh 12:16:09 + cat /w/workspace/_app-service-configurable_PR-524/archives/cost.csv 12:16:09 + cut -d, -f6 [Pipeline] lock 12:16:09 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-524-1-stack-cost] 12:16:09 Resource [jenkins-edgexfoundry-app-service-configurable-PR-524-1-stack-cost] did not exist. Created. 12:16:09 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-524-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:16:09 + echo total: 0.2199999988079071 [Pipeline] stash 12:16:09 Stashed 1 file(s) [Pipeline] } 12:16:10 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-524-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:16:10 $ docker stop --time=1 e49a6c4ab804daf0e845d1ddaed87534e4dafc2e360f4c07c970c97a702f3c4c 12:16:11 $ docker rm -f --volumes e49a6c4ab804daf0e845d1ddaed87534e4dafc2e360f4c07c970c97a702f3c4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:16:22 provisioning config files... 12:16:22 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config15753963286318077477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:16:22 ---> docker-login.sh 12:16:22 nexus3.edgexfoundry.org:10001 12:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:23 Configure a credential helper to remove this warning. See 12:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:23 12:16:23 Login Succeeded 12:16:23 nexus3.edgexfoundry.org:10002 12:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:23 Configure a credential helper to remove this warning. See 12:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:23 12:16:23 Login Succeeded 12:16:23 nexus3.edgexfoundry.org:10003 12:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:24 Configure a credential helper to remove this warning. See 12:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:24 12:16:24 Login Succeeded 12:16:24 nexus3.edgexfoundry.org:10004 12:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:24 Configure a credential helper to remove this warning. See 12:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:24 12:16:24 Login Succeeded 12:16:24 docker.io 12:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:24 Configure a credential helper to remove this warning. See 12:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:24 12:16:24 Login Succeeded 12:16:24 ---> docker-login.sh ends [Pipeline] } 12:16:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:16:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:16:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:16:25 ========================================================= 12:16:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:16:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:25 + 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:16:25 Sending build context to Docker daemon 178.7kB 12:16:26 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:16:26 Step 2/12 : FROM ${BASE} AS builder 12:16:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:16:26 9b18e9b68314: Pulling fs layer 12:16:26 35d82f9e3411: Pulling fs layer 12:16:26 e16973657156: Pulling fs layer 12:16:26 fc693d55d65f: Pulling fs layer 12:16:26 7e9fc2657dce: Pulling fs layer 12:16:26 dda99020689f: Pulling fs layer 12:16:26 db1c61fa0a46: Pulling fs layer 12:16:26 891c053d2c06: Pulling fs layer 12:16:26 fc693d55d65f: Waiting 12:16:26 7e9fc2657dce: Waiting 12:16:26 dda99020689f: Waiting 12:16:26 db1c61fa0a46: Waiting 12:16:26 891c053d2c06: Waiting 12:16:26 e16973657156: Verifying Checksum 12:16:26 e16973657156: Download complete 12:16:26 35d82f9e3411: Verifying Checksum 12:16:26 35d82f9e3411: Download complete 12:16:26 7e9fc2657dce: Verifying Checksum 12:16:26 7e9fc2657dce: Download complete 12:16:26 dda99020689f: Verifying Checksum 12:16:26 dda99020689f: Download complete 12:16:26 9b18e9b68314: Verifying Checksum 12:16:27 9b18e9b68314: Pull complete 12:16:27 891c053d2c06: Verifying Checksum 12:16:27 891c053d2c06: Download complete 12:16:27 35d82f9e3411: Pull complete 12:16:28 e16973657156: Pull complete 12:16:28 db1c61fa0a46: Verifying Checksum 12:16:28 db1c61fa0a46: Download complete 12:16:29 fc693d55d65f: Verifying Checksum 12:16:29 fc693d55d65f: Download complete 12:16:41 fc693d55d65f: Pull complete 12:16:41 7e9fc2657dce: Pull complete 12:16:41 dda99020689f: Pull complete 12:16:46 db1c61fa0a46: Pull complete 12:16:48 891c053d2c06: Pull complete 12:16:48 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 12:16:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:16:48 ---> f96f9c87975a 12:16:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:16:50 ---> Running in f7584c332920 12:16:50 Removing intermediate container f7584c332920 12:16:50 ---> a6557b9437c3 12:16:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:16:51 ---> Running in d64f3f5976f3 12:16:51 Removing intermediate container d64f3f5976f3 12:16:51 ---> f1295b428bc9 12:16:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:16:51 ---> Running in 8a2ff387fe37 12:16:51 Removing intermediate container 8a2ff387fe37 12:16:51 ---> 2f36f086d048 12:16:51 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:16:51 ---> Running in a59d47d1e418 12:16:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:16:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:16:53 OK: 221 MiB in 51 packages 12:16:54 Removing intermediate container a59d47d1e418 12:16:54 ---> 232be2449549 12:16:54 Step 7/12 : WORKDIR /app 12:16:54 ---> Running in f10311a68563 12:16:55 Removing intermediate container f10311a68563 12:16:55 ---> 049d6093e20b 12:16:55 Step 8/12 : COPY go.mod vendor* ./ 12:16:56 ---> ea4a8eafdb19 12:16:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:16:56 ---> Running in 3e49516b0b52 12:18:04 Removing intermediate container 3e49516b0b52 12:18:04 ---> 56af6fddc6d6 12:18:04 Step 10/12 : COPY . . 12:18:04 ---> 7efb98f23347 12:18:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:18:04 ---> Running in 3ff39ea3f6b3 12:18:04 Removing intermediate container 3ff39ea3f6b3 12:18:04 ---> 856d8856c68a 12:18:04 Step 12/12 : RUN $MAKE 12:18:04 ---> Running in 8ec4c7f579bc 12:18:04 noop 12:18:04 Removing intermediate container 8ec4c7f579bc 12:18:04 ---> f0909bde2441 12:18:04 Successfully built f0909bde2441 12:18:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:04 + docker inspect -f . ci-base-image-arm64 12:18:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:18:05 prd-ubuntu20.04-docker-arm64-4c-16g-7358 does not seem to be running inside a container 12:18:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:18:06 $ docker top a57e91e67e90f861f0c08efc72e002c5f799460d198d385f2ae2a4a3802dae1c -eo pid,comm [Pipeline] { [Pipeline] sh 12:18:07 + go version 12:18:07 go version go1.18.7 linux/arm64 [Pipeline] } 12:18:07 $ docker stop --time=1 a57e91e67e90f861f0c08efc72e002c5f799460d198d385f2ae2a4a3802dae1c 12:18:08 $ docker rm -f --volumes a57e91e67e90f861f0c08efc72e002c5f799460d198d385f2ae2a4a3802dae1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:09 + docker inspect -f . ci-base-image-arm64 12:18:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:18:10 prd-ubuntu20.04-docker-arm64-4c-16g-7358 does not seem to be running inside a container 12:18:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:18:11 $ docker top 369cf78c1454ec05ca0d231cb0860790dd79a31c79cb091af86c02bed6e781fe -eo pid,comm [Pipeline] { [Pipeline] sh 12:18:12 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:18:12 + make test 12:18:12 go test -race -coverprofile=coverage.out ./... 12:20:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:20:19 go vet ./... 12:21:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:21:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:21:55 ./bin/test-attribution-txt.sh [Pipeline] echo 12:21:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:21:56 $ docker stop --time=1 369cf78c1454ec05ca0d231cb0860790dd79a31c79cb091af86c02bed6e781fe 12:21:57 $ docker rm -f --volumes 369cf78c1454ec05ca0d231cb0860790dd79a31c79cb091af86c02bed6e781fe [Pipeline] // withDockerContainer [Pipeline] sh 12:21:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:21:58 Warning: overwriting stash ‘coverage-report’ 12:21:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:22:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:22:00 + ls -al . 12:22:00 total 168 12:22:00 drwxrwxr-x 7 jenkins jenkins 4096 Feb 24 12:18 . 12:22:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 12:15 .. 12:22:00 -rw-rw-r-- 1 jenkins jenkins 119 Feb 24 12:16 .dockerignore 12:22:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 12:16 .git 12:22:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 12:16 .github 12:22:00 -rw-rw-r-- 1 jenkins jenkins 171 Feb 24 12:16 .gitignore 12:22:00 -rw-rw-r-- 1 jenkins jenkins 9320 Feb 24 12:16 Attribution.txt 12:22:00 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 24 12:16 CHANGELOG.md 12:22:00 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 24 12:16 Dockerfile 12:22:00 -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 12:16 GOVERNANCE.md 12:22:00 -rw-rw-r-- 1 jenkins jenkins 688 Feb 24 12:16 Jenkinsfile 12:22:00 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 24 12:16 LICENSE 12:22:00 -rw-rw-r-- 1 jenkins jenkins 618 Feb 24 12:16 OWNERS.md 12:22:00 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 24 12:16 README.md 12:22:00 -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 12:14 VERSION 12:22:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 12:16 bin 12:22:00 -rw-r--r-- 1 jenkins jenkins 13 Feb 24 12:18 coverage.out 12:22:00 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 24 12:16 go.mod 12:22:00 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 24 12:16 go.sum 12:22:00 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 24 12:16 main.go 12:22:00 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 24 12:16 makefile 12:22:00 drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 12:16 res 12:22:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 12:16 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:00 + 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=0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 --label arch=arm64 --label version=0.0.0 . 12:22:00 Sending build context to Docker daemon 179.7kB 12:22:01 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:22:01 Step 2/26 : FROM ${BASE} AS builder 12:22:01 ---> f0909bde2441 12:22:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:22:01 ---> Running in 812c47890642 12:22:01 Removing intermediate container 812c47890642 12:22:01 ---> 984e2f4843d9 12:22:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:22:01 ---> Running in db9534c63375 12:22:01 Removing intermediate container db9534c63375 12:22:01 ---> 3f87372d77a9 12:22:01 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:22:01 ---> Running in 2c180d8c6038 12:22:02 Removing intermediate container 2c180d8c6038 12:22:02 ---> 01677998fd9a 12:22:02 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:22:02 ---> Running in be2ece83beda 12:22:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:22:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:22:04 OK: 221 MiB in 51 packages 12:22:06 Removing intermediate container be2ece83beda 12:22:06 ---> 8c0ee34681ea 12:22:06 Step 7/26 : WORKDIR /app 12:22:06 ---> Running in 62e7f77ceeb5 12:22:06 Removing intermediate container 62e7f77ceeb5 12:22:06 ---> ec4be8985530 12:22:06 Step 8/26 : COPY go.mod vendor* ./ 12:22:06 ---> 92466b362c93 12:22:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:22:06 ---> Running in 7053f929be5b 12:22:09 Removing intermediate container 7053f929be5b 12:22:09 ---> cbd257e0608f 12:22:09 Step 10/26 : COPY . . 12:22:09 ---> 63295351793a 12:22:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:22:09 ---> Running in 803d4ce738ac 12:22:09 Removing intermediate container 803d4ce738ac 12:22:09 ---> 20717dedf1bd 12:22:09 Step 12/26 : RUN $MAKE 12:22:10 ---> Running in c2a6133f3026 12:22:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.35 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:24:17 Removing intermediate container c2a6133f3026 12:24:17 ---> 92fa4899d17c 12:24:17 Step 13/26 : FROM alpine:3.16 12:24:17 3.16: Pulling from library/alpine 12:24:17 3760b48202b3: Pulling fs layer 12:24:17 3760b48202b3: Verifying Checksum 12:24:17 3760b48202b3: Download complete 12:24:17 3760b48202b3: Pull complete 12:24:17 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 12:24:17 Status: Downloaded newer image for alpine:3.16 12:24:17 ---> 4c81e5bf8899 12:24:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:24:17 ---> Running in 912f3e77790d 12:24:17 Removing intermediate container 912f3e77790d 12:24:17 ---> dd76e0db469f 12:24:17 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:24:17 ---> Running in 2455bb6d4a35 12:24:17 Removing intermediate container 2455bb6d4a35 12:24:17 ---> 31a59ea6e8b1 12:24:17 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:24:17 ---> Running in 63ff530c8e9d 12:24:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:24:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:24:17 (1/2) Installing ca-certificates (20220614-r0) 12:24:17 (2/2) Installing dumb-init (1.2.5-r1) 12:24:17 Executing busybox-1.35.0-r17.trigger 12:24:17 Executing ca-certificates-20220614-r0.trigger 12:24:17 OK: 6 MiB in 16 packages 12:24:17 Removing intermediate container 63ff530c8e9d 12:24:17 ---> 22b202aa2e2b 12:24:17 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:24:17 ---> 20a68adc97e4 12:24:17 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:24:17 ---> c4061d48e536 12:24:17 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:24:17 ---> bf22b20536fd 12:24:17 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:24:17 ---> 0b355989ff8d 12:24:17 Step 21/26 : EXPOSE 48095 12:24:17 ---> Running in 0e1332779c80 12:24:17 Removing intermediate container 0e1332779c80 12:24:17 ---> 821d1a6eb978 12:24:17 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:24:17 ---> Running in ad04f1b38175 12:24:17 Removing intermediate container ad04f1b38175 12:24:17 ---> 899009ca8590 12:24:17 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:24:17 ---> Running in fac96370ba2c 12:24:17 Removing intermediate container fac96370ba2c 12:24:17 ---> debe912bd348 12:24:17 Step 24/26 : LABEL arch=arm64 12:24:17 ---> Running in 4bbf92b4aec1 12:24:17 Removing intermediate container 4bbf92b4aec1 12:24:17 ---> 81c040ad20e7 12:24:17 Step 25/26 : LABEL git_sha=0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 12:24:17 ---> Running in 87059af0b104 12:24:17 Removing intermediate container 87059af0b104 12:24:17 ---> 0b56d4d4f91f 12:24:17 Step 26/26 : LABEL version=0.0.0 12:24:17 ---> Running in beb2771e9e00 12:24:17 Removing intermediate container beb2771e9e00 12:24:17 ---> fe4b80d60396 12:24:17 [Warning] One or more build-args [ARCH] were not consumed 12:24:17 Successfully built fe4b80d60396 12:24:17 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:24:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:24:18 12:24:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:24:19 arm64: Pulling from edgex-lftools-log-publisher 12:24:19 8998bd30e6a1: Pulling fs layer 12:24:19 04944245beec: Pulling fs layer 12:24:19 699f458cf7ca: Pulling fs layer 12:24:19 765212b225bb: Pulling fs layer 12:24:19 f23df028b6ca: Pulling fs layer 12:24:19 d65c8cfc05b1: Pulling fs layer 12:24:19 2437ff75d9bd: Pulling fs layer 12:24:19 765212b225bb: Waiting 12:24:19 f23df028b6ca: Waiting 12:24:19 d65c8cfc05b1: Waiting 12:24:19 2437ff75d9bd: Waiting 12:24:19 04944245beec: Verifying Checksum 12:24:19 04944245beec: Download complete 12:24:19 765212b225bb: Verifying Checksum 12:24:19 765212b225bb: Download complete 12:24:19 f23df028b6ca: Verifying Checksum 12:24:19 f23df028b6ca: Download complete 12:24:19 d65c8cfc05b1: Verifying Checksum 12:24:19 d65c8cfc05b1: Download complete 12:24:19 699f458cf7ca: Verifying Checksum 12:24:19 699f458cf7ca: Download complete 12:24:19 8998bd30e6a1: Verifying Checksum 12:24:19 8998bd30e6a1: Download complete 12:24:22 2437ff75d9bd: Verifying Checksum 12:24:22 2437ff75d9bd: Download complete 12:24:23 8998bd30e6a1: Pull complete 12:24:24 04944245beec: Pull complete 12:24:25 699f458cf7ca: Pull complete 12:24:25 765212b225bb: Pull complete 12:24:26 f23df028b6ca: Pull complete 12:24:26 d65c8cfc05b1: Pull complete 12:24:41 2437ff75d9bd: Pull complete 12:24:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:24:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:24:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:42 prd-ubuntu20.04-docker-arm64-4c-16g-7358 does not seem to be running inside a container 12:24:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:24:44 $ docker top d580560415682106c791fa8327026ce356f9a45604ec58a862337939d8a98bbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:24:45 ---> job-cost.sh 12:24:45 lf-activate-venv: SKIPPING 12:24:45 INFO: No Stack... 12:24:45 INFO: Retrieving Pricing Info for: v3-standard-4 12:24:46 INFO: Archiving Costs [Pipeline] sh 12:24:47 + cut -d, -f6 12:24:47 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:24:47 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-524-1-stack-cost] 12:24:47 Resource [jenkins-edgexfoundry-app-service-configurable-PR-524-1-stack-cost] did not exist. Created. 12:24:47 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-524-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:24:47 /w/workspace/app-service-configurable/1@tmp/durable-a9c4f37e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:24:48 + echo total: 0.10999999940395355 [Pipeline] stash 12:24:48 Warning: overwriting stash ‘stack-cost’ 12:24:48 Stashed 1 file(s) [Pipeline] } 12:24:48 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-524-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:24:48 $ docker stop --time=1 d580560415682106c791fa8327026ce356f9a45604ec58a862337939d8a98bbd 12:24:50 $ docker rm -f --volumes d580560415682106c791fa8327026ce356f9a45604ec58a862337939d8a98bbd [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:24:50 provisioning config files... 12:24:51 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-524@tmp/config5541191177605205456tmp [Pipeline] { [Pipeline] sh 12:24:51 + set +x 12:24:51 + bash -s -- 12:24:51 + curl -s https://codecov.io/bash 12:24:51 12:24:51 _____ _ 12:24:51 / ____| | | 12:24:51 | | ___ __| | ___ ___ _____ __ 12:24:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:24:51 | |___| (_) | (_| | __/ (_| (_) \ V / 12:24:51 \_____\___/ \__,_|\___|\___\___/ \_/ 12:24:51 Bash-1.0.6 12:24:51 12:24:51 12:24:51 ==> git version 2.25.1 found 12:24:51 ==> 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:24:51 Release-Date: 2020-01-08 12:24:51 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:24:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:24:51 ==> Jenkins CI detected. 12:24:51 current dir:  /w/workspace/_app-service-configurable_PR-524 12:24:51 project root: . 12:24:51 --> token set from env 12:24:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:24:51 ==> Running gcov in . (disable via -X gcov) 12:24:51 ==> Python coveragepy not found 12:24:51 ==> Searching for coverage reports in: 12:24:51 + . 12:24:51 -> Found 1 reports 12:24:51 ==> Detecting git/mercurial file structure 12:24:51 ==> Reading reports 12:24:51 + ./coverage.out bytes=13 12:24:51 ==> Appending adjustments 12:24:51 https://docs.codecov.io/docs/fixing-reports 12:24:51 + Found adjustments 12:24:51 ==> Gzipping contents 12:24:51 4.0K /tmp/codecov.r1WBZG.gz 12:24:51 ==> Uploading reports 12:24:51 url: https://codecov.io 12:24:51 query: branch=PR-524&commit=0654cee87b0c9b8c7e01d811f1174f81ab33b6b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-524%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=524&job=&cmd_args= 12:24:51 -> Pinging Codecov 12:24:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-524&commit=0654cee87b0c9b8c7e01d811f1174f81ab33b6b1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-524%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=524&job=&cmd_args= 12:24:51 -> Uploading to 12:24:51 https://storage.googleapis.com/codecov/v4/raw/2023-02-24/A97CA9966030D2A3747ED39772930CCE/0654cee87b0c9b8c7e01d811f1174f81ab33b6b1/b5f5d762-dadd-432d-b62a-1cc9add5d0af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230224T122451Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fbcdf0753030b36dd776e0395e3afb194724ec14f08842c3da1a6e9a1ffa653b 12:24:51 % Total % Received % Xferd Average Speed Time Time Time Current 12:24:51 Dload Upload Total Spent Left Speed 12:24:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 1744 --:--:-- --:--:-- --:--:-- 1744 12:24:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/0654cee87b0c9b8c7e01d811f1174f81ab33b6b1 [Pipeline] } 12:24:51 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:24:53 + [ -d /w/workspace/_app-service-configurable_PR-524/archives ] 12:24:53 + ls -al /w/workspace/_app-service-configurable_PR-524/archives 12:24:53 total 16 12:24:53 drwxr-xr-x 3 root root 4096 Feb 24 12:16 . 12:24:53 drwxrwxr-x 9 jenkins jenkins 4096 Feb 24 12:16 .. 12:24:53 drwxr-xr-x 2 root root 4096 Feb 24 12:16 cost 12:24:53 -rw-r--r-- 1 root root 96 Feb 24 12:16 cost.csv 12:24:53 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-524/archives 12:24:53 + ls -al /w/workspace/_app-service-configurable_PR-524/archives 12:24:53 total 16 12:24:53 drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 12:16 . 12:24:53 drwxrwxr-x 9 jenkins jenkins 4096 Feb 24 12:16 .. 12:24:53 drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 12:16 cost 12:24:53 -rw-r--r-- 1 jenkins jenkins 96 Feb 24 12:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:24:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:24:54 ---> package-listing.sh 12:24:54 ++ facter osfamily 12:24:54 ++ tr '[:upper:]' '[:lower:]' 12:24:55 + OS_FAMILY=debian 12:24:55 + workspace=/w/workspace/_app-service-configurable_PR-524 12:24:55 + START_PACKAGES=/tmp/packages_start.txt 12:24:55 + END_PACKAGES=/tmp/packages_end.txt 12:24:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:24:55 + PACKAGES=/tmp/packages_start.txt 12:24:55 + '[' /w/workspace/_app-service-configurable_PR-524 ']' 12:24:55 + PACKAGES=/tmp/packages_end.txt 12:24:55 + case "${OS_FAMILY}" in 12:24:55 + dpkg -l 12:24:55 + grep '^ii' 12:24:55 + '[' -f /tmp/packages_start.txt ']' 12:24:55 + '[' -f /tmp/packages_end.txt ']' 12:24:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:24:55 + '[' /w/workspace/_app-service-configurable_PR-524 ']' 12:24:55 + mkdir -p /w/workspace/_app-service-configurable_PR-524/archives/ 12:24:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-524/archives/ [Pipeline] echo 12:24:55 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-524/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:24:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:24:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:56 prd-ubuntu20.04-docker-8c-8g-7357 does not seem to be running inside a container 12:24:56 $ 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-524/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-524 -v /w/workspace/_app-service-configurable_PR-524:/w/workspace/_app-service-configurable_PR-524:rw,z -v /w/workspace/_app-service-configurable_PR-524@tmp:/w/workspace/_app-service-configurable_PR-524@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:24:56 $ docker top 84f26da0efe134a75e1c98865dcfe644cca5b9ce2eea9ce38e57de4ff56cd426 -eo pid,comm [Pipeline] { [Pipeline] sh 12:24:56 + touch /tmp/pre-build-complete [Pipeline] sh 12:24:57 + mkdir -p /var/log/sysstat [Pipeline] sh 12:24:57 + ls /var/log/sa-host 12:24:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:24:57 provisioning config files... 12:24:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-524@tmp/config13077551641339713115tmp [Pipeline] { [Pipeline] echo 12:24:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:24:58 ---> create-netrc.sh [Pipeline] } 12:24:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:24:58 ---> python-tools-install.sh [Pipeline] echo 12:24:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:24:58 ---> sudo-logs.sh 12:24:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:24:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:24:59 ---> job-cost.sh 12:24:59 lf-activate-venv: SKIPPING 12:24:59 DEBUG: total: 0.2199999988079071 12:24:59 INFO: Retrieving Stack Cost... 12:24:59 INFO: Retrieving Pricing Info for: v3-standard-8 12:25:00 INFO: Archiving Costs [Pipeline] echo 12:25:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:25:00 ---> logs-deploy.sh 12:25:00 lf-activate-venv: SKIPPING 12:25:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-524/1 12:25:00 INFO: archiving workspace using pattern(s): 12:25:01 Archives upload complete. 12:25:01 INFO: archiving logs to Nexus