Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at dd1354e29c7435bb79278fb9ff8e460793054574 rather than 78dc8175e49f032a2275215ceef5725bce8cddb0 Obtained Jenkinsfile from dd1354e29c7435bb79278fb9ff8e460793054574 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-ssh17120181746010415608.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6932526671364978144.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11247283102500475362.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16200961173089669245.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2328979214036568236.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5659 in /w/workspace/_app-service-configurable_PR-535 [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-535 # 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/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dd1354e29c7435bb79278fb9ff8e460793054574 into PR head commit 78dc8175e49f032a2275215ceef5725bce8cddb0 Merge succeeded, producing e8632d53bfc449bc5592803ef7d9ba1633ce031d Checking out Revision e8632d53bfc449bc5592803ef7d9ba1633ce031d (PR-535) > git config core.sparsecheckout # timeout=10 > git checkout -f 78dc8175e49f032a2275215ceef5725bce8cddb0 # 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 dd1354e29c7435bb79278fb9ff8e460793054574 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8632d53bfc449bc5592803ef7d9ba1633ce031d # timeout=10 Commit message: "Merge commit 'dd1354e29c7435bb79278fb9ff8e460793054574' into HEAD" > git rev-list --no-walk 78dc8175e49f032a2275215ceef5725bce8cddb0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:52:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:52:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:52:25 ========================================================= 04:52:25 EdgeX Global Pipelines Version Info 04:52:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:52:25 ------------------- 04:52:25 stable info: 04:52:25 ------------------- 04:52:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:52:25 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 04:52:25 Message: update stable to v1.0.245 04:52:26 ------------------- 04:52:26 experimental info: 04:52:26 ------------------- 04:52:26 Commited By: **** collab-it+edgex@linuxfoundation.org 04:52:26 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 04:52:26 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8632d53bfc449bc5592803ef7d9ba1633ce031d [Pipeline] echo 04:52:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8632d5 [Pipeline] echo 04:52:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:27 provisioning config files... 04:52:27 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config12999291242377822579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:27 ---> docker-login.sh 04:52:27 nexus3.edgexfoundry.org:10001 04:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:27 Configure a credential helper to remove this warning. See 04:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:27 04:52:27 Login Succeeded 04:52:27 nexus3.edgexfoundry.org:10002 04:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:27 Configure a credential helper to remove this warning. See 04:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:27 04:52:27 Login Succeeded 04:52:27 nexus3.edgexfoundry.org:10003 04:52:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:27 Configure a credential helper to remove this warning. See 04:52:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:27 04:52:27 Login Succeeded 04:52:27 nexus3.edgexfoundry.org:10004 04:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:28 Configure a credential helper to remove this warning. See 04:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:28 04:52:28 Login Succeeded 04:52:28 docker.io 04:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:28 Configure a credential helper to remove this warning. See 04:52:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:28 04:52:28 Login Succeeded 04:52:28 ---> docker-login.sh ends [Pipeline] } 04:52:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:52:28 + git rev-list -1 --merges e8632d53bfc449bc5592803ef7d9ba1633ce031d~1..e8632d53bfc449bc5592803ef7d9ba1633ce031d [Pipeline] echo 04:52:28 -----------> git rev-list -1 --merges e8632d53bfc449bc5592803ef7d9ba1633ce031d~1..e8632d53bfc449bc5592803ef7d9ba1633ce031d e8632d53bfc449bc5592803ef7d9ba1633ce031d 04:52:28 e8632d53bfc449bc5592803ef7d9ba1633ce031d [false] [Pipeline] sh 04:52:29 + git log --format=format:%s -1 e8632d53bfc449bc5592803ef7d9ba1633ce031d [Pipeline] echo 04:52:29 ========================================================= 04:52:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:52:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:52:29 + git log --format=format:%s -1 e8632d53bfc449bc5592803ef7d9ba1633ce031d [Pipeline] echo 04:52:29 [semverPrep] GIT_COMMIT: e8632d53bfc449bc5592803ef7d9ba1633ce031d, Commit Message: Merge commit 'dd1354e29c7435bb79278fb9ff8e460793054574' into HEAD [Pipeline] echo 04:52:29 [semverPrep] This is not a build commit. [Pipeline] sh 04:52:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:29 + grep -v github /etc/ssh/ssh_known_hosts 04:52:29 + [ -e /tmp/ssh_known_hosts ] 04:52:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:52:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:52:29 + sudo tee -a /etc/ssh/ssh_known_hosts 04:52:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:30 04:52:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:30 0.1.4: Pulling from edgex-devops/py-git-semver 04:52:30 b85a868b505f: Pulling fs layer 04:52:30 e2be974225ed: Pulling fs layer 04:52:30 339a4e72a1f5: Pulling fs layer 04:52:30 988bab9f4d93: Pulling fs layer 04:52:30 1469e6f7b9e6: Pulling fs layer 04:52:30 eaf3925da568: Pulling fs layer 04:52:30 bab4dde63d76: Pulling fs layer 04:52:30 bde34c3a00c8: Pulling fs layer 04:52:30 b352a97aabf1: Pulling fs layer 04:52:30 4872d77fe225: Pulling fs layer 04:52:30 5851b861e8e6: Pulling fs layer 04:52:30 bde34c3a00c8: Waiting 04:52:30 b352a97aabf1: Waiting 04:52:30 1469e6f7b9e6: Waiting 04:52:30 bab4dde63d76: Waiting 04:52:30 eaf3925da568: Waiting 04:52:30 988bab9f4d93: Waiting 04:52:30 5851b861e8e6: Waiting 04:52:30 e2be974225ed: Verifying Checksum 04:52:30 e2be974225ed: Download complete 04:52:30 988bab9f4d93: Verifying Checksum 04:52:30 988bab9f4d93: Download complete 04:52:30 1469e6f7b9e6: Verifying Checksum 04:52:30 1469e6f7b9e6: Download complete 04:52:30 eaf3925da568: Verifying Checksum 04:52:30 eaf3925da568: Download complete 04:52:30 339a4e72a1f5: Verifying Checksum 04:52:30 339a4e72a1f5: Download complete 04:52:30 bde34c3a00c8: Download complete 04:52:30 b352a97aabf1: Download complete 04:52:30 4872d77fe225: Verifying Checksum 04:52:30 4872d77fe225: Download complete 04:52:30 5851b861e8e6: Verifying Checksum 04:52:30 5851b861e8e6: Download complete 04:52:30 b85a868b505f: Download complete 04:52:31 bab4dde63d76: Verifying Checksum 04:52:31 bab4dde63d76: Download complete 04:52:32 b85a868b505f: Pull complete 04:52:32 e2be974225ed: Pull complete 04:52:32 339a4e72a1f5: Pull complete 04:52:32 988bab9f4d93: Pull complete 04:52:32 1469e6f7b9e6: Pull complete 04:52:32 eaf3925da568: Pull complete 04:52:34 bab4dde63d76: Pull complete 04:52:34 bde34c3a00c8: Pull complete 04:52:34 b352a97aabf1: Pull complete 04:52:34 4872d77fe225: Pull complete 04:52:34 5851b861e8e6: Pull complete 04:52:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:52:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:52:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:34 prd-ubuntu20.04-docker-8c-8g-5659 does not seem to be running inside a container 04:52:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:52:36 $ docker top 5493079c1488d19e26282f3b80a525894f2f1a573f791a9560c66f7b4c7fffdb -eo pid,comm 04:52:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:52:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:36 [ssh-agent] Looking for ssh-agent implementation... 04:52:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:36 $ docker exec 5493079c1488d19e26282f3b80a525894f2f1a573f791a9560c66f7b4c7fffdb ssh-agent 04:52:36 SSH_AUTH_SOCK=/tmp/ssh-A3GLvUtoA9X7/agent.32 04:52:36 SSH_AGENT_PID=38 04:52:36 Running ssh-add (command line suppressed) 04:52:36 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_13502112474320536019.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_13502112474320536019.key) 04:52:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:36 + git tag --points-at HEAD [Pipeline] } 04:52:36 $ docker exec --env ******** --env ******** 5493079c1488d19e26282f3b80a525894f2f1a573f791a9560c66f7b4c7fffdb ssh-agent -k 04:52:37 unset SSH_AUTH_SOCK; 04:52:37 unset SSH_AGENT_PID; 04:52:37 echo Agent pid 38 killed; 04:52:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:52:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:37 [ssh-agent] Looking for ssh-agent implementation... 04:52:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:37 $ docker exec 5493079c1488d19e26282f3b80a525894f2f1a573f791a9560c66f7b4c7fffdb ssh-agent 04:52:37 SSH_AUTH_SOCK=/tmp/ssh-dlYe52nxXBjz/agent.70 04:52:37 SSH_AGENT_PID=76 04:52:37 Running ssh-add (command line suppressed) 04:52:37 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_14249182475557169789.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_14249182475557169789.key) 04:52:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:37 + git semver init 04:52:37 2023-03-24 04:52:37,908 [run_init] DEBUG init version:0.0.0 force:False 04:52:37 2023-03-24 04:52:37,909 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-535/.semver 04:52:37 2023-03-24 04:52:37,909 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-535/.semver 04:52:37 2023-03-24 04:52:37,910 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-535/.semver'], cwd=/w/workspace/_app-service-configurable_PR-535, universal_newlines=False, shell=None, istream=None) 04:52:38 2023-03-24 04:52:38,636 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-535/.git/info/exclude 04:52:38 2023-03-24 04:52:38,637 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 with force:False 04:52:38 2023-03-24 04:52:38,637 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 04:52:38 2023-03-24 04:52:38,641 [execute] INFO git cat-file --batch-check 04:52:38 2023-03-24 04:52:38,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 04:52:38 2023-03-24 04:52:38,647 [execute] INFO git cat-file --batch 04:52:38 2023-03-24 04:52:38,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 04:52:38 2023-03-24 04:52:38,652 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-535/.semver/PR-535 04:52:38 0.0.0 [Pipeline] } 04:52:38 $ docker exec --env ******** --env ******** 5493079c1488d19e26282f3b80a525894f2f1a573f791a9560c66f7b4c7fffdb ssh-agent -k 04:52:39 unset SSH_AUTH_SOCK; 04:52:39 unset SSH_AGENT_PID; 04:52:39 echo Agent pid 76 killed; 04:52:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:39 + git semver [Pipeline] } 04:52:39 $ docker stop --time=1 5493079c1488d19e26282f3b80a525894f2f1a573f791a9560c66f7b4c7fffdb 04:52:40 $ docker rm -f --volumes 5493079c1488d19e26282f3b80a525894f2f1a573f791a9560c66f7b4c7fffdb [Pipeline] // withDockerContainer [Pipeline] sh 04:52:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:52:41 Stashed 1 file(s) [Pipeline] echo 04:52:41 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:41 provisioning config files... 04:52:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config13467466443339416951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:41 ---> docker-login.sh 04:52:41 nexus3.edgexfoundry.org:10001 04:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:41 Configure a credential helper to remove this warning. See 04:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:41 04:52:41 Login Succeeded 04:52:41 nexus3.edgexfoundry.org:10002 04:52:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:41 Configure a credential helper to remove this warning. See 04:52:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:41 04:52:41 Login Succeeded 04:52:41 nexus3.edgexfoundry.org:10003 04:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 nexus3.edgexfoundry.org:10004 04:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 docker.io 04:52:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:42 Configure a credential helper to remove this warning. See 04:52:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:42 04:52:42 Login Succeeded 04:52:42 ---> docker-login.sh ends [Pipeline] } 04:52:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:52:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:42 ========================================================= 04:52:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:52:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:52:43 Sending build context to Docker daemon 3.247MB 04:52:43 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:52:43 Step 2/12 : FROM ${BASE} AS builder 04:52:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:52:43 63b65145d645: Pulling fs layer 04:52:43 a2d21d5440eb: Pulling fs layer 04:52:43 935e6c44a52c: Pulling fs layer 04:52:43 94cc34f8dd06: Pulling fs layer 04:52:43 30dea6a524f1: Pulling fs layer 04:52:43 a2aff8979fd8: Pulling fs layer 04:52:43 6808be2612f2: Pulling fs layer 04:52:43 f25807f1079a: Pulling fs layer 04:52:43 94cc34f8dd06: Waiting 04:52:43 a2aff8979fd8: Waiting 04:52:43 30dea6a524f1: Waiting 04:52:43 f25807f1079a: Waiting 04:52:43 a2d21d5440eb: Verifying Checksum 04:52:43 a2d21d5440eb: Download complete 04:52:43 94cc34f8dd06: Download complete 04:52:43 30dea6a524f1: Verifying Checksum 04:52:43 30dea6a524f1: Download complete 04:52:43 63b65145d645: Verifying Checksum 04:52:43 63b65145d645: Download complete 04:52:43 a2aff8979fd8: Verifying Checksum 04:52:43 a2aff8979fd8: Download complete 04:52:43 63b65145d645: Pull complete 04:52:43 a2d21d5440eb: Pull complete 04:52:43 f25807f1079a: Verifying Checksum 04:52:43 f25807f1079a: Download complete 04:52:43 935e6c44a52c: Verifying Checksum 04:52:43 935e6c44a52c: Download complete 04:52:44 6808be2612f2: Verifying Checksum 04:52:44 6808be2612f2: Download complete 04:52:47 935e6c44a52c: Pull complete 04:52:47 94cc34f8dd06: Pull complete 04:52:47 30dea6a524f1: Pull complete 04:52:47 a2aff8979fd8: Pull complete 04:52:49 6808be2612f2: Pull complete 04:52:49 f25807f1079a: Pull complete 04:52:49 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:52:49 ---> 3b553350e43f 04:52:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:52:51 ---> Running in e6b04d1efbcb 04:52:51 Removing intermediate container e6b04d1efbcb 04:52:51 ---> 3ac7e9990844 04:52:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:52:51 ---> Running in 1d485b3d3ae5 04:52:52 Removing intermediate container 1d485b3d3ae5 04:52:52 ---> 1aa5c8603c55 04:52:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:52:52 ---> Running in 9464f8a953ed 04:52:52 Removing intermediate container 9464f8a953ed 04:52:52 ---> 7ef9a6478362 04:52:52 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:52:52 ---> Running in 46557e1aa14e 04:52:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:52:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:52:52 OK: 265 MiB in 53 packages 04:52:53 Removing intermediate container 46557e1aa14e 04:52:53 ---> eb1b8d573e50 04:52:53 Step 7/12 : WORKDIR /app 04:52:53 ---> Running in de52e67a9218 04:52:53 Removing intermediate container de52e67a9218 04:52:53 ---> 00426d08fe16 04:52:53 Step 8/12 : COPY go.mod vendor* ./ 04:52:53 ---> 1b03523cec7e 04:52:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:53 ---> Running in d1f2c8be00ae 04:52:56 Still waiting to schedule task 04:52:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:53:25 Removing intermediate container d1f2c8be00ae 04:53:25 ---> 4cb4ad47b076 04:53:25 Step 10/12 : COPY . . 04:53:25 ---> 4e7a126baa96 04:53:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:53:25 ---> Running in 345acb04fd17 04:53:25 Removing intermediate container 345acb04fd17 04:53:25 ---> 2b9f3656a0ba 04:53:25 Step 12/12 : RUN $MAKE 04:53:25 ---> Running in 42a9c3a6e135 04:53:25 noop 04:53:25 Removing intermediate container 42a9c3a6e135 04:53:25 ---> 0e6a844e6f71 04:53:25 Successfully built 0e6a844e6f71 04:53:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:25 + docker inspect -f . ci-base-image-x86_64 04:53:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:25 prd-ubuntu20.04-docker-8c-8g-5659 does not seem to be running inside a container 04:53:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:53:26 $ docker top 13721e41be7cc0cbd223ed3ccc8053d3c24b02148bce0b3d40087fb70aea817d -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:26 + go version 04:53:26 go version go1.20.2 linux/amd64 [Pipeline] } 04:53:26 $ docker stop --time=1 13721e41be7cc0cbd223ed3ccc8053d3c24b02148bce0b3d40087fb70aea817d 04:53:27 $ docker rm -f --volumes 13721e41be7cc0cbd223ed3ccc8053d3c24b02148bce0b3d40087fb70aea817d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:28 + docker inspect -f . ci-base-image-x86_64 04:53:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:28 prd-ubuntu20.04-docker-8c-8g-5659 does not seem to be running inside a container 04:53:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:53:28 $ docker top 2ff6539cbb70c0c97e550e4c58853e91bd753d52ebdfbe413a52c2beaa754cd9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:28 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-535 [Pipeline] fileExists [Pipeline] sh 04:53:29 + make test 04:53:29 go test -race -coverprofile=coverage.out ./... 04:53:47 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:54:05 go vet ./... 04:54:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:06 ./bin/test-attribution-txt.sh 04:54:06 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 04:54:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:54:06 $ docker stop --time=1 2ff6539cbb70c0c97e550e4c58853e91bd753d52ebdfbe413a52c2beaa754cd9 04:54:09 $ docker rm -f --volumes 2ff6539cbb70c0c97e550e4c58853e91bd753d52ebdfbe413a52c2beaa754cd9 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:54:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:11 + ls -al . 04:54:11 total 176 04:54:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 04:53 . 04:54:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:52 .. 04:54:11 -rw-rw-r-- 1 jenkins jenkins 119 Mar 24 04:52 .dockerignore 04:54:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 04:52 .git 04:54:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 04:52 .github 04:54:11 -rw-rw-r-- 1 jenkins jenkins 171 Mar 24 04:52 .gitignore 04:54:11 -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 04:52 .golangci.yml 04:54:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 04:52 .semver 04:54:11 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 24 04:52 Attribution.txt 04:54:11 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 24 04:52 CHANGELOG.md 04:54:11 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 24 04:52 Dockerfile 04:54:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 04:52 GOVERNANCE.md 04:54:11 -rw-rw-r-- 1 jenkins jenkins 688 Mar 24 04:52 Jenkinsfile 04:54:11 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 24 04:52 LICENSE 04:54:11 -rw-rw-r-- 1 jenkins jenkins 618 Mar 24 04:52 OWNERS.md 04:54:11 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 24 04:52 README.md 04:54:11 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 04:52 VERSION 04:54:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 04:52 bin 04:54:11 -rw-r--r-- 1 jenkins jenkins 13 Mar 24 04:53 coverage.out 04:54:11 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 24 04:52 go.mod 04:54:11 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 24 04:52 go.sum 04:54:11 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 24 04:52 main.go 04:54:11 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 24 04:52 makefile 04:54:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 04:52 res 04:54:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:52 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:11 + 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=e8632d53bfc449bc5592803ef7d9ba1633ce031d --label arch=amd64 --label version=0.0.0 . 04:54:11 Sending build context to Docker daemon 3.248MB 04:54:11 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:54:11 Step 2/26 : FROM ${BASE} AS builder 04:54:11 ---> 0e6a844e6f71 04:54:11 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:54:11 ---> Running in 1788719d5b8c 04:54:11 Removing intermediate container 1788719d5b8c 04:54:11 ---> d83be0929746 04:54:11 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:54:11 ---> Running in 745bf0f4d4ab 04:54:11 Removing intermediate container 745bf0f4d4ab 04:54:11 ---> 36266b4cfbd4 04:54:11 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:54:11 ---> Running in 9bd7732125e5 04:54:11 Removing intermediate container 9bd7732125e5 04:54:11 ---> 303cb685a2da 04:54:11 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:11 ---> Running in 654e13ad9120 04:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:54:12 OK: 265 MiB in 53 packages 04:54:12 Removing intermediate container 654e13ad9120 04:54:12 ---> 8dcf57087532 04:54:12 Step 7/26 : WORKDIR /app 04:54:12 ---> Running in 917bf9f86f8f 04:54:12 Removing intermediate container 917bf9f86f8f 04:54:12 ---> c57c8175bb63 04:54:12 Step 8/26 : COPY go.mod vendor* ./ 04:54:13 ---> 71d03a7be045 04:54:13 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:13 ---> Running in c8d382027ab0 04:54:13 Removing intermediate container c8d382027ab0 04:54:13 ---> 0a90f78b7e7b 04:54:13 Step 10/26 : COPY . . 04:54:13 ---> 13cbad55641a 04:54:13 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:54:13 ---> Running in 389cdb23465d 04:54:13 Removing intermediate container 389cdb23465d 04:54:13 ---> 40225985e087 04:54:13 Step 12/26 : RUN $MAKE 04:54:14 ---> Running in b9244b97884c 04:54:14 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 04:54:32 Removing intermediate container b9244b97884c 04:54:32 ---> 47e7ca4d89bd 04:54:32 Step 13/26 : FROM alpine:3.17 04:54:32 3.17: Pulling from library/alpine 04:54:32 63b65145d645: Already exists 04:54:32 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 04:54:32 Status: Downloaded newer image for alpine:3.17 04:54:32 ---> b2aa39c304c2 04:54:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:54:32 ---> Running in 82d6bccb0be9 04:54:32 Removing intermediate container 82d6bccb0be9 04:54:32 ---> ed3a855234d1 04:54:32 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 04:54:32 ---> Running in 75fd274ece36 04:54:32 Removing intermediate container 75fd274ece36 04:54:32 ---> a7cf53f2af9f 04:54:32 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:54:32 ---> Running in 8d1065af7bdd 04:54:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:54:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:54:32 (1/2) Installing ca-certificates (20220614-r4) 04:54:32 (2/2) Installing dumb-init (1.2.5-r2) 04:54:32 Executing busybox-1.35.0-r29.trigger 04:54:32 Executing ca-certificates-20220614-r4.trigger 04:54:32 OK: 8 MiB in 17 packages 04:54:32 Removing intermediate container 8d1065af7bdd 04:54:32 ---> 5407092ee262 04:54:32 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:54:32 ---> b766ad581d64 04:54:32 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:54:32 ---> eadf1e219718 04:54:32 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:54:32 ---> 5e1ab372d048 04:54:32 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:54:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5660 in /w/workspace/_app-service-configurable_PR-535 [Pipeline] { [Pipeline] ws 04:54:32 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 04:54:33 Selected Git installation does not exist. Using Default 04:54:33 The recommended git tool is: NONE 04:54:33 ---> 30b56f77fd2b 04:54:33 Step 21/26 : EXPOSE 48095 04:54:33 ---> Running in 2b47a671781a 04:54:33 Removing intermediate container 2b47a671781a 04:54:33 ---> ace4f2d062d9 04:54:33 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 04:54:33 ---> Running in e8789037645e 04:54:33 Removing intermediate container e8789037645e 04:54:33 ---> cc0e3876b306 04:54:33 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:54:33 ---> Running in 63403b431c4d 04:54:33 Removing intermediate container 63403b431c4d 04:54:33 ---> 740698252b2d 04:54:33 Step 24/26 : LABEL arch=amd64 04:54:33 ---> Running in 2f3ca7ccaf31 04:54:33 Removing intermediate container 2f3ca7ccaf31 04:54:33 ---> 5e81320b97a3 04:54:33 Step 25/26 : LABEL git_sha=e8632d53bfc449bc5592803ef7d9ba1633ce031d 04:54:33 ---> Running in 93c05fb6b5ce 04:54:33 Removing intermediate container 93c05fb6b5ce 04:54:33 ---> 141cb54d9f6b 04:54:33 Step 26/26 : LABEL version=0.0.0 04:54:33 ---> Running in b42efd42471d 04:54:33 Removing intermediate container b42efd42471d 04:54:33 ---> 5774eae4d2f3 04:54:33 [Warning] One or more build-args [ARCH] were not consumed 04:54:33 Successfully built 5774eae4d2f3 04:54:33 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:34 04:54:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:34 latest: Pulling from edgex-lftools-log-publisher 04:54:34 5eb5b503b376: Pulling fs layer 04:54:34 5c69ac0246d0: Pulling fs layer 04:54:34 ec43610c2a17: Pulling fs layer 04:54:34 3a2ae6a8a46f: Pulling fs layer 04:54:34 33b1e0a273af: Pulling fs layer 04:54:34 5d3b04190fa2: Pulling fs layer 04:54:34 2f39f015ded8: Pulling fs layer 04:54:34 5d3b04190fa2: Waiting 04:54:34 3a2ae6a8a46f: Waiting 04:54:34 2f39f015ded8: Waiting 04:54:34 33b1e0a273af: Waiting 04:54:34 5c69ac0246d0: Verifying Checksum 04:54:34 5c69ac0246d0: Download complete 04:54:34 3a2ae6a8a46f: Verifying Checksum 04:54:34 3a2ae6a8a46f: Download complete 04:54:34 33b1e0a273af: Verifying Checksum 04:54:34 33b1e0a273af: Download complete 04:54:34 5d3b04190fa2: Verifying Checksum 04:54:34 5d3b04190fa2: Download complete 04:54:34 ec43610c2a17: Verifying Checksum 04:54:34 ec43610c2a17: Download complete 04:54:34 5eb5b503b376: Verifying Checksum 04:54:34 5eb5b503b376: Download complete 04:54:35 2f39f015ded8: Download complete 04:54:36 5eb5b503b376: Pull complete 04:54:36 5c69ac0246d0: Pull complete 04:54:36 ec43610c2a17: Pull complete 04:54:36 3a2ae6a8a46f: Pull complete 04:54:36 33b1e0a273af: Pull complete 04:54:36 5d3b04190fa2: Pull complete 04:54:38 using credential edgex-jenkins-ssh 04:54:38 Cloning the remote Git repository 04:54:38 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:54:38 > git init /w/workspace/app-service-configurable/4 # timeout=10 04:54:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:38 > git --version # timeout=10 04:54:38 > git --version # 'git version 2.25.1' 04:54:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:40 2f39f015ded8: Pull complete 04:54:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:54:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:54:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:41 prd-ubuntu20.04-docker-8c-8g-5659 does not seem to be running inside a container 04:54:41 $ 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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:54:40 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:54:41 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:54:41 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:54:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:54:42 Merging remotes/origin/main commit dd1354e29c7435bb79278fb9ff8e460793054574 into PR head commit 78dc8175e49f032a2275215ceef5725bce8cddb0 04:54:42 Merge succeeded, producing 3136b2cf61159941a98e1df7c4ce05ca81a56ca4 04:54:42 Checking out Revision 3136b2cf61159941a98e1df7c4ce05ca81a56ca4 (PR-535) 04:54:43 $ docker top a0da44e2389c4b9851e8f5ec0f4ce4bfbea53c5b4be4872d2666361c61ebc75c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:42 > git config core.sparsecheckout # timeout=10 04:54:42 > git checkout -f 78dc8175e49f032a2275215ceef5725bce8cddb0 # timeout=10 04:54:42 > git remote # timeout=10 04:54:42 > git config --get remote.origin.url # timeout=10 04:54:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:54:42 > git merge dd1354e29c7435bb79278fb9ff8e460793054574 # timeout=10 04:54:42 > git rev-parse HEAD^{commit} # timeout=10 04:54:42 > git config core.sparsecheckout # timeout=10 04:54:42 > git checkout -f 3136b2cf61159941a98e1df7c4ce05ca81a56ca4 # timeout=10 04:54:43 ---> job-cost.sh 04:54:43 lf-activate-venv: SKIPPING 04:54:43 INFO: No Stack... 04:54:43 INFO: Retrieving Pricing Info for: v3-standard-8 04:54:44 INFO: Archiving Costs [Pipeline] sh 04:54:44 + cat /w/workspace/_app-service-configurable_PR-535/archives/cost.csv 04:54:44 + cut -d, -f6 [Pipeline] lock 04:54:44 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-4-stack-cost] 04:54:44 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-4-stack-cost] did not exist. Created. 04:54:44 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:54:44 + echo total: 0.2199999988079071 [Pipeline] stash 04:54:44 Stashed 1 file(s) [Pipeline] } 04:54:44 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-4-stack-cost] [Pipeline] // lock [Pipeline] } 04:54:44 $ docker stop --time=1 a0da44e2389c4b9851e8f5ec0f4ce4bfbea53c5b4be4872d2666361c61ebc75c 04:54:46 $ docker rm -f --volumes a0da44e2389c4b9851e8f5ec0f4ce4bfbea53c5b4be4872d2666361c61ebc75c 04:54:46 Commit message: "Merge commit 'dd1354e29c7435bb79278fb9ff8e460793054574' into HEAD" [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 04:54:46 > git rev-list --no-walk 78dc8175e49f032a2275215ceef5725bce8cddb0 # timeout=10 [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:54:47 % Total % Received % Xferd Average Speed Time Time Time Current 04:54:47 Dload Upload Total Spent Left Speed 04:54:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10501 0 0 91313 0 --:--:-- --:--:-- --:--:-- 90525 100 12751 100 12751 0 0 107k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 04:54:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:54:48 + sudo tee /etc/docker/daemon.new 04:54:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:54:48 { 04:54:48 "registry-mirrors": [ 04:54:48 "https://nexus3.edgexfoundry.org:10001" 04:54:48 ], 04:54:48 "bip": "10.250.0.254/24", 04:54:48 "hosts": [ 04:54:48 "tcp://0.0.0.0:5555", 04:54:48 "unix:///var/run/docker.sock" 04:54:48 ], 04:54:48 "mtu": 1458, 04:54:48 "selinux-enabled": true, 04:54:48 "seccomp-profile": "/etc/docker/seccomp.json" 04:54:48 } [Pipeline] sh 04:54:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:54:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:55:07 provisioning config files... 04:55:07 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/4@tmp/config3288359116922002588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:55:07 ---> docker-login.sh 04:55:07 nexus3.edgexfoundry.org:10001 04:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:08 Configure a credential helper to remove this warning. See 04:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:08 04:55:08 Login Succeeded 04:55:08 nexus3.edgexfoundry.org:10002 04:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:08 Configure a credential helper to remove this warning. See 04:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:08 04:55:08 Login Succeeded 04:55:08 nexus3.edgexfoundry.org:10003 04:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:08 Configure a credential helper to remove this warning. See 04:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:08 04:55:08 Login Succeeded 04:55:08 nexus3.edgexfoundry.org:10004 04:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:09 Configure a credential helper to remove this warning. See 04:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:09 04:55:09 Login Succeeded 04:55:09 docker.io 04:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:55:09 Configure a credential helper to remove this warning. See 04:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:55:09 04:55:09 Login Succeeded 04:55:09 ---> docker-login.sh ends [Pipeline] } 04:55:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:55:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:55:10 ========================================================= 04:55:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:55:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:55:10 Sending build context to Docker daemon 170.5kB 04:55:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:55:10 Step 2/12 : FROM ${BASE} AS builder 04:55:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:55:10 af6eaf76a39c: Pulling fs layer 04:55:10 55522c791124: Pulling fs layer 04:55:10 ce5c4a1c91eb: Pulling fs layer 04:55:10 169dfbe0d373: Pulling fs layer 04:55:10 e1ff8fa3b103: Pulling fs layer 04:55:10 52ebb69f0ebf: Pulling fs layer 04:55:10 5abe8eddf0d5: Pulling fs layer 04:55:10 169dfbe0d373: Waiting 04:55:10 e1ff8fa3b103: Waiting 04:55:10 52ebb69f0ebf: Waiting 04:55:10 55522c791124: Verifying Checksum 04:55:10 55522c791124: Download complete 04:55:10 169dfbe0d373: Verifying Checksum 04:55:10 169dfbe0d373: Download complete 04:55:10 e1ff8fa3b103: Verifying Checksum 04:55:10 e1ff8fa3b103: Download complete 04:55:10 af6eaf76a39c: Verifying Checksum 04:55:10 af6eaf76a39c: Download complete 04:55:11 af6eaf76a39c: Pull complete 04:55:12 5abe8eddf0d5: Verifying Checksum 04:55:12 5abe8eddf0d5: Download complete 04:55:12 55522c791124: Pull complete 04:55:13 ce5c4a1c91eb: Verifying Checksum 04:55:13 ce5c4a1c91eb: Download complete 04:55:13 52ebb69f0ebf: Verifying Checksum 04:55:13 52ebb69f0ebf: Download complete 04:55:25 ce5c4a1c91eb: Pull complete 04:55:25 169dfbe0d373: Pull complete 04:55:25 e1ff8fa3b103: Pull complete 04:55:31 52ebb69f0ebf: Pull complete 04:55:33 5abe8eddf0d5: Pull complete 04:55:33 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:55:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:55:33 ---> 6cb57ee374ae 04:55:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:55:34 ---> Running in 4e1975cef010 04:55:34 Removing intermediate container 4e1975cef010 04:55:34 ---> 7dbf176e6620 04:55:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:55:34 ---> Running in 15b776fbe623 04:55:35 Removing intermediate container 15b776fbe623 04:55:35 ---> 5d556f3a63a5 04:55:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:55:35 ---> Running in 0769a44ee5d1 04:55:35 Removing intermediate container 0769a44ee5d1 04:55:35 ---> 807ec90c8532 04:55:35 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:35 ---> Running in 88bf87d66ae4 04:55:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:55:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:55:38 OK: 263 MiB in 53 packages 04:55:39 Removing intermediate container 88bf87d66ae4 04:55:39 ---> 91caebee3d6c 04:55:39 Step 7/12 : WORKDIR /app 04:55:39 ---> Running in c4f7337a52b1 04:55:39 Removing intermediate container c4f7337a52b1 04:55:39 ---> 924efd5c6212 04:55:39 Step 8/12 : COPY go.mod vendor* ./ 04:55:40 ---> 9c8cecf21790 04:55:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:40 ---> Running in 6827ccd952ad 04:56:47 Removing intermediate container 6827ccd952ad 04:56:47 ---> 4768054178f4 04:56:47 Step 10/12 : COPY . . 04:56:47 ---> 4011cbc04893 04:56:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:56:47 ---> Running in e991ac046b87 04:56:47 Removing intermediate container e991ac046b87 04:56:47 ---> 77682d9d0eaa 04:56:47 Step 12/12 : RUN $MAKE 04:56:47 ---> Running in 10678f984755 04:56:47 noop 04:56:47 Removing intermediate container 10678f984755 04:56:47 ---> ebc6565102a0 04:56:47 Successfully built ebc6565102a0 04:56:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:48 + docker inspect -f . ci-base-image-arm64 04:56:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:48 prd-ubuntu20.04-docker-arm64-4c-16g-5660 does not seem to be running inside a container 04:56:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:56:49 $ docker top 958230a21a8d3d1f6c95b6cb8d99641c9750d7e703a540c37c8f3e56893b151a -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:50 + go version 04:56:50 go version go1.20.2 linux/arm64 [Pipeline] } 04:56:50 $ docker stop --time=1 958230a21a8d3d1f6c95b6cb8d99641c9750d7e703a540c37c8f3e56893b151a 04:56:52 $ docker rm -f --volumes 958230a21a8d3d1f6c95b6cb8d99641c9750d7e703a540c37c8f3e56893b151a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:52 + docker inspect -f . ci-base-image-arm64 04:56:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:52 prd-ubuntu20.04-docker-arm64-4c-16g-5660 does not seem to be running inside a container 04:56:53 $ 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/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:56:54 $ docker top a5cc4ba6fb465969086f8ec88a6c708ff639ff03bc1588450f2df0edf1d46b27 -eo pid,comm [Pipeline] { [Pipeline] sh 04:56:54 + git config --global --add safe.directory /w/workspace/app-service-configurable/4 [Pipeline] fileExists [Pipeline] sh 04:56:55 + make test 04:56:55 go test -race -coverprofile=coverage.out ./... 04:59:32 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:59:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:59:32 go vet ./... 05:01:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:01:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:01:53 ./bin/test-attribution-txt.sh 05:01:53 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 05:01:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:01:53 $ docker stop --time=1 a5cc4ba6fb465969086f8ec88a6c708ff639ff03bc1588450f2df0edf1d46b27 05:01:55 $ docker rm -f --volumes a5cc4ba6fb465969086f8ec88a6c708ff639ff03bc1588450f2df0edf1d46b27 [Pipeline] // withDockerContainer [Pipeline] sh 05:01:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:01:57 Warning: overwriting stash ‘coverage-report’ 05:01:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:01:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:01:58 + ls -al . 05:01:58 total 172 05:01:58 drwxrwxr-x 7 jenkins jenkins 4096 Mar 24 04:56 . 05:01:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:54 .. 05:01:58 -rw-rw-r-- 1 jenkins jenkins 119 Mar 24 04:54 .dockerignore 05:01:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 04:54 .git 05:01:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 04:54 .github 05:01:58 -rw-rw-r-- 1 jenkins jenkins 171 Mar 24 04:54 .gitignore 05:01:58 -rw-rw-r-- 1 jenkins jenkins 41 Mar 24 04:54 .golangci.yml 05:01:58 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 24 04:54 Attribution.txt 05:01:58 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 24 04:54 CHANGELOG.md 05:01:58 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 24 04:54 Dockerfile 05:01:58 -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 04:54 GOVERNANCE.md 05:01:58 -rw-rw-r-- 1 jenkins jenkins 688 Mar 24 04:54 Jenkinsfile 05:01:58 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 24 04:54 LICENSE 05:01:58 -rw-rw-r-- 1 jenkins jenkins 618 Mar 24 04:54 OWNERS.md 05:01:58 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 24 04:54 README.md 05:01:58 -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 04:52 VERSION 05:01:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 04:54 bin 05:01:58 -rw-r--r-- 1 jenkins jenkins 13 Mar 24 04:56 coverage.out 05:01:58 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 24 04:54 go.mod 05:01:58 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 24 04:54 go.sum 05:01:58 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 24 04:54 main.go 05:01:58 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 24 04:54 makefile 05:01:58 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 04:54 res 05:01:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 04:54 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:58 + 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=3136b2cf61159941a98e1df7c4ce05ca81a56ca4 --label arch=arm64 --label version=0.0.0 . 05:01:58 Sending build context to Docker daemon 171.5kB 05:01:59 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 05:01:59 Step 2/26 : FROM ${BASE} AS builder 05:01:59 ---> ebc6565102a0 05:01:59 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 05:01:59 ---> Running in d7b7c5d15ffd 05:01:59 Removing intermediate container d7b7c5d15ffd 05:01:59 ---> 580ee0269987 05:01:59 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:01:59 ---> Running in 0a519356e214 05:01:59 Removing intermediate container 0a519356e214 05:01:59 ---> 17593f579640 05:01:59 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:01:59 ---> Running in 9a1ee1558438 05:02:00 Removing intermediate container 9a1ee1558438 05:02:00 ---> 24fee992140b 05:02:00 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:02:00 ---> Running in f13b4ab76a44 05:02:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:02:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:02:02 OK: 263 MiB in 53 packages 05:02:03 Removing intermediate container f13b4ab76a44 05:02:03 ---> 114cb4a82bd6 05:02:03 Step 7/26 : WORKDIR /app 05:02:03 ---> Running in ca03d1e27da9 05:02:03 Removing intermediate container ca03d1e27da9 05:02:03 ---> 6a65b5f42567 05:02:03 Step 8/26 : COPY go.mod vendor* ./ 05:02:04 ---> e2c3f6c51db8 05:02:04 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:04 ---> Running in 2f544cdb9368 05:02:06 Removing intermediate container 2f544cdb9368 05:02:06 ---> 95e18467595f 05:02:06 Step 10/26 : COPY . . 05:02:06 ---> 7cd3b1883fba 05:02:06 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:02:07 ---> Running in da43f3280aad 05:02:07 Removing intermediate container da43f3280aad 05:02:07 ---> 1151b9de781a 05:02:07 Step 12/26 : RUN $MAKE 05:02:07 ---> Running in 8f86a1bb862f 05:02:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:04:15 Removing intermediate container 8f86a1bb862f 05:04:15 ---> 21d08f6d7bab 05:04:15 Step 13/26 : FROM alpine:3.17 05:04:15 3.17: Pulling from library/alpine 05:04:15 af6eaf76a39c: Already exists 05:04:15 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 05:04:15 Status: Downloaded newer image for alpine:3.17 05:04:15 ---> d74e625d9115 05:04:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:04:15 ---> Running in c5a2fde95d53 05:04:15 Removing intermediate container c5a2fde95d53 05:04:15 ---> 313b37ee0aeb 05:04:15 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 05:04:15 ---> Running in 768811101d41 05:04:15 Removing intermediate container 768811101d41 05:04:15 ---> 53622bb43f2d 05:04:15 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 05:04:15 ---> Running in e6bdd1efed1e 05:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:04:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:04:17 (1/2) Installing ca-certificates (20220614-r4) 05:04:17 (2/2) Installing dumb-init (1.2.5-r2) 05:04:17 Executing busybox-1.35.0-r29.trigger 05:04:17 Executing ca-certificates-20220614-r4.trigger 05:04:17 OK: 8 MiB in 17 packages 05:04:19 Removing intermediate container e6bdd1efed1e 05:04:19 ---> 2cba3c7aedcd 05:04:19 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:04:19 ---> 4d794dd426a2 05:04:19 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 05:04:20 ---> 73eced435b77 05:04:20 Step 19/26 : COPY --from=builder /app/res/ /res/ 05:04:20 ---> 3d699300c312 05:04:20 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:04:22 ---> addba551453a 05:04:22 Step 21/26 : EXPOSE 48095 05:04:22 ---> Running in 140e8b59bafa 05:04:22 Removing intermediate container 140e8b59bafa 05:04:22 ---> 2ef8918ec433 05:04:22 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 05:04:22 ---> Running in 1158c7822ee5 05:04:22 Removing intermediate container 1158c7822ee5 05:04:22 ---> d06db70380e2 05:04:22 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:04:23 ---> Running in f4ff3604e08d 05:04:23 Removing intermediate container f4ff3604e08d 05:04:23 ---> 8c9730178f1f 05:04:23 Step 24/26 : LABEL arch=arm64 05:04:23 ---> Running in de4929d57150 05:04:23 Removing intermediate container de4929d57150 05:04:23 ---> 54ffc331e302 05:04:23 Step 25/26 : LABEL git_sha=3136b2cf61159941a98e1df7c4ce05ca81a56ca4 05:04:23 ---> Running in 0be987677514 05:04:24 Removing intermediate container 0be987677514 05:04:24 ---> 9f8b89a43ae9 05:04:24 Step 26/26 : LABEL version=0.0.0 05:04:24 ---> Running in 768a839c6bac 05:04:24 Removing intermediate container 768a839c6bac 05:04:24 ---> 0b032b978788 05:04:24 [Warning] One or more build-args [ARCH] were not consumed 05:04:24 Successfully built 0b032b978788 05:04:24 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:24 05:04:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:25 arm64: Pulling from edgex-lftools-log-publisher 05:04:25 8998bd30e6a1: Pulling fs layer 05:04:25 04944245beec: Pulling fs layer 05:04:25 699f458cf7ca: Pulling fs layer 05:04:25 765212b225bb: Pulling fs layer 05:04:25 f23df028b6ca: Pulling fs layer 05:04:25 d65c8cfc05b1: Pulling fs layer 05:04:25 2437ff75d9bd: Pulling fs layer 05:04:25 f23df028b6ca: Waiting 05:04:25 d65c8cfc05b1: Waiting 05:04:25 2437ff75d9bd: Waiting 05:04:25 765212b225bb: Waiting 05:04:25 04944245beec: Verifying Checksum 05:04:25 04944245beec: Download complete 05:04:25 765212b225bb: Download complete 05:04:25 f23df028b6ca: Verifying Checksum 05:04:25 f23df028b6ca: Download complete 05:04:25 d65c8cfc05b1: Verifying Checksum 05:04:25 d65c8cfc05b1: Download complete 05:04:25 699f458cf7ca: Verifying Checksum 05:04:25 699f458cf7ca: Download complete 05:04:26 8998bd30e6a1: Verifying Checksum 05:04:26 8998bd30e6a1: Download complete 05:04:28 2437ff75d9bd: Verifying Checksum 05:04:28 2437ff75d9bd: Download complete 05:04:30 8998bd30e6a1: Pull complete 05:04:30 04944245beec: Pull complete 05:04:32 699f458cf7ca: Pull complete 05:04:32 765212b225bb: Pull complete 05:04:33 f23df028b6ca: Pull complete 05:04:33 d65c8cfc05b1: Pull complete 05:04:48 2437ff75d9bd: Pull complete 05:04:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:04:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:48 prd-ubuntu20.04-docker-arm64-4c-16g-5660 does not seem to be running inside a container 05:04:48 $ 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/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:04:51 $ docker top abd48425728c2113ff4071a3a112a5c64279a86fd308faf49aace22df70d9d29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:51 ---> job-cost.sh 05:04:51 lf-activate-venv: SKIPPING 05:04:51 INFO: No Stack... 05:04:52 INFO: Retrieving Pricing Info for: v3-standard-4 05:04:52 INFO: Archiving Costs [Pipeline] sh 05:04:53 + + catcut /w/workspace/app-service-configurable/4/archives/cost.csv -d, 05:04:53 -f6 [Pipeline] lock 05:04:53 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-4-stack-cost] 05:04:53 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-4-stack-cost] did not exist. Created. 05:04:53 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:53 /w/workspace/app-service-configurable/4@tmp/durable-5a0eae9a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:04:54 + echo total: 0.10999999940395355 [Pipeline] stash 05:04:54 Warning: overwriting stash ‘stack-cost’ 05:04:54 Stashed 1 file(s) [Pipeline] } 05:04:54 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:54 $ docker stop --time=1 abd48425728c2113ff4071a3a112a5c64279a86fd308faf49aace22df70d9d29 05:04:55 $ docker rm -f --volumes abd48425728c2113ff4071a3a112a5c64279a86fd308faf49aace22df70d9d29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:04:56 provisioning config files... 05:04:56 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config7887175295800354518tmp [Pipeline] { [Pipeline] sh 05:04:56 + set +x 05:04:56 + curl -s https://codecov.io/bash 05:04:56 + bash -s -- 05:04:56 05:04:56 _____ _ 05:04:56 / ____| | | 05:04:56 | | ___ __| | ___ ___ _____ __ 05:04:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:04:56 | |___| (_) | (_| | __/ (_| (_) \ V / 05:04:56 \_____\___/ \__,_|\___|\___\___/ \_/ 05:04:56 Bash-1.0.6 05:04:56 05:04:56 05:04:56 ==> git version 2.25.1 found 05:04:56 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:04:56 Release-Date: 2020-01-08 05:04:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:04:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:04:56 ==> Jenkins CI detected. 05:04:56 current dir:  /w/workspace/_app-service-configurable_PR-535 05:04:56 project root: . 05:04:56 --> token set from env 05:04:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:04:56 ==> Running gcov in . (disable via -X gcov) 05:04:56 ==> Python coveragepy not found 05:04:56 ==> Searching for coverage reports in: 05:04:56 + . 05:04:56 -> Found 1 reports 05:04:56 ==> Detecting git/mercurial file structure 05:04:56 ==> Reading reports 05:04:56 + ./coverage.out bytes=13 05:04:56 ==> Appending adjustments 05:04:56 https://docs.codecov.io/docs/fixing-reports 05:04:56 + Found adjustments 05:04:56 ==> Gzipping contents 05:04:56 4.0K /tmp/codecov.Af0JL9.gz 05:04:56 ==> Uploading reports 05:04:56 url: https://codecov.io 05:04:56 query: branch=PR-535&commit=e8632d53bfc449bc5592803ef7d9ba1633ce031d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 05:04:56 -> Pinging Codecov 05:04:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-535&commit=e8632d53bfc449bc5592803ef7d9ba1633ce031d&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 05:04:56 -> Uploading to 05:04:56 https://storage.googleapis.com/codecov/v4/raw/2023-03-24/A97CA9966030D2A3747ED39772930CCE/e8632d53bfc449bc5592803ef7d9ba1633ce031d/1798921e-7ab3-4e89-b40e-afb0420a8ada.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T050456Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f57c5241c461b1ff6754398d79c1a064d6af228181d4ce4f8a4d4e4428aaeb0 05:04:56 % Total % Received % Xferd Average Speed Time Time Time Current 05:04:56 Dload Upload Total Spent Left Speed 05:04:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1780 --:--:-- --:--:-- --:--:-- 1780 05:04:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/e8632d53bfc449bc5592803ef7d9ba1633ce031d [Pipeline] } 05:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:04:57 + [ -d /w/workspace/_app-service-configurable_PR-535/archives ] 05:04:57 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 05:04:57 total 16 05:04:57 drwxr-xr-x 3 root root 4096 Mar 24 04:54 . 05:04:57 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 04:54 .. 05:04:57 drwxr-xr-x 2 root root 4096 Mar 24 04:54 cost 05:04:57 -rw-r--r-- 1 root root 96 Mar 24 04:54 cost.csv 05:04:57 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-535/archives 05:04:57 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 05:04:57 total 16 05:04:57 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 04:54 . 05:04:57 drwxrwxr-x 9 jenkins jenkins 4096 Mar 24 04:54 .. 05:04:57 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 04:54 cost 05:04:57 -rw-r--r-- 1 jenkins jenkins 96 Mar 24 04:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:04:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:04:58 ---> package-listing.sh 05:04:58 ++ tr '[:upper:]' '[:lower:]' 05:04:58 ++ facter osfamily 05:04:59 + OS_FAMILY=debian 05:04:59 + workspace=/w/workspace/_app-service-configurable_PR-535 05:04:59 + START_PACKAGES=/tmp/packages_start.txt 05:04:59 + END_PACKAGES=/tmp/packages_end.txt 05:04:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:04:59 + PACKAGES=/tmp/packages_start.txt 05:04:59 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 05:04:59 + PACKAGES=/tmp/packages_end.txt 05:04:59 + case "${OS_FAMILY}" in 05:04:59 + dpkg -l 05:04:59 + grep '^ii' 05:04:59 + '[' -f /tmp/packages_start.txt ']' 05:04:59 + '[' -f /tmp/packages_end.txt ']' 05:04:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:04:59 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 05:04:59 + mkdir -p /w/workspace/_app-service-configurable_PR-535/archives/ 05:04:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-535/archives/ [Pipeline] echo 05:04:59 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-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:04:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:05:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:05:00 prd-ubuntu20.04-docker-8c-8g-5659 does not seem to be running inside a container 05:05:00 $ 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-535/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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:05:00 $ docker top 88e7e01c95868c953b1e4ad0e1af9977bc92bda534efbcacec0ada4116552571 -eo pid,comm [Pipeline] { [Pipeline] sh 05:05:00 + touch /tmp/pre-build-complete [Pipeline] sh 05:05:00 + mkdir -p /var/log/sysstat [Pipeline] sh 05:05:01 + ls /var/log/sa-host 05:05:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:05:01 provisioning config files... 05:05:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config11869343427231589480tmp [Pipeline] { [Pipeline] echo 05:05:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:05:01 ---> create-netrc.sh [Pipeline] } 05:05:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:05:02 ---> python-tools-install.sh [Pipeline] echo 05:05:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:05:02 ---> sudo-logs.sh 05:05:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:05:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:05:02 ---> job-cost.sh 05:05:02 lf-activate-venv: SKIPPING 05:05:02 DEBUG: total: 0.2199999988079071 05:05:02 INFO: Retrieving Stack Cost... 05:05:03 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:03 INFO: Archiving Costs [Pipeline] echo 05:05:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:05:04 ---> logs-deploy.sh 05:05:04 lf-activate-venv: SKIPPING 05:05:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-535/4 05:05:04 INFO: archiving workspace using pattern(s): 05:05:05 Archives upload complete. 05:05:05 INFO: archiving logs to Nexus