Pull request #533 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7+11af183f2194c3fd12bdcc9d8b6be264b57aff6c (d63a18afbc5093597bd7911e0b5d215e4dde625b) 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-ssh7825498201059778658.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-ssh10317925643761381664.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-533/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-533/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh56939515867899220.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-ssh9708187228179351518.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-533/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-533/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8857078236718772966.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-5439 in /w/workspace/_app-service-configurable_PR-533 [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-533 # 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/533/head:refs/remotes/origin/PR-533 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 Merge succeeded, producing 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 Checking out Revision 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 (PR-533) > git config core.sparsecheckout # timeout=10 > git checkout -f 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 # 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 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 # timeout=10 Commit message: "fix(snap): Revert `SERVICE` change, update `ENV_FILE`" > git rev-list --no-walk 921bca587619a78f6fea4c66396e382ebda801d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:20:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:20:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:20:09 ========================================================= 10:20:09 EdgeX Global Pipelines Version Info 10:20:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:20:09 ------------------- 10:20:09 stable info: 10:20:09 ------------------- 10:20:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:20:09 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 10:20:09 Message: update stable to v1.0.245 10:20:10 ------------------- 10:20:10 experimental info: 10:20:10 ------------------- 10:20:10 Commited By: **** collab-it+edgex@linuxfoundation.org 10:20:10 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 10:20:10 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:20:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:20:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:20:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:20:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-533 [Pipeline] echo 10:20:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-533 [Pipeline] echo 10:20:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-533 [Pipeline] echo 10:20:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 [Pipeline] echo 10:20:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 69865c9 [Pipeline] echo 10:20:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:11 provisioning config files... 10:20:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-533@tmp/config6793171281623842556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:11 ---> docker-login.sh 10:20:11 nexus3.edgexfoundry.org:10001 10:20:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:11 Configure a credential helper to remove this warning. See 10:20:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:11 10:20:11 Login Succeeded 10:20:11 nexus3.edgexfoundry.org:10002 10:20:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:12 Configure a credential helper to remove this warning. See 10:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:12 10:20:12 Login Succeeded 10:20:12 nexus3.edgexfoundry.org:10003 10:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:12 Configure a credential helper to remove this warning. See 10:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:12 10:20:12 Login Succeeded 10:20:12 nexus3.edgexfoundry.org:10004 10:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:12 Configure a credential helper to remove this warning. See 10:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:12 10:20:12 Login Succeeded 10:20:12 docker.io 10:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:12 Configure a credential helper to remove this warning. See 10:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:12 10:20:12 Login Succeeded 10:20:12 ---> docker-login.sh ends [Pipeline] } 10:20:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:20:12 + git rev-list -1 --merges 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7~1..69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 [Pipeline] echo 10:20:13 -----------> git rev-list -1 --merges 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7~1..69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 [false] [Pipeline] sh 10:20:13 + git log --format=format:%s -1 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 [Pipeline] echo 10:20:13 ========================================================= 10:20:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:20:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:20:13 + git log --format=format:%s -1 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 [Pipeline] echo 10:20:13 [semverPrep] GIT_COMMIT: 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7, Commit Message: fix(snap): Revert `SERVICE` change, update `ENV_FILE` [Pipeline] echo 10:20:13 [semverPrep] This is not a build commit. [Pipeline] sh 10:20:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:14 + grep -v github /etc/ssh/ssh_known_hosts 10:20:14 + [ -e /tmp/ssh_known_hosts ] 10:20:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:20:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 10:20:14 sudo tee -a /etc/ssh/ssh_known_hosts 10:20:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:14 10:20:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:14 0.1.4: Pulling from edgex-devops/py-git-semver 10:20:14 b85a868b505f: Pulling fs layer 10:20:14 e2be974225ed: Pulling fs layer 10:20:14 339a4e72a1f5: Pulling fs layer 10:20:14 988bab9f4d93: Pulling fs layer 10:20:14 1469e6f7b9e6: Pulling fs layer 10:20:14 eaf3925da568: Pulling fs layer 10:20:14 bab4dde63d76: Pulling fs layer 10:20:14 bde34c3a00c8: Pulling fs layer 10:20:14 b352a97aabf1: Pulling fs layer 10:20:14 4872d77fe225: Pulling fs layer 10:20:14 5851b861e8e6: Pulling fs layer 10:20:14 988bab9f4d93: Waiting 10:20:14 1469e6f7b9e6: Waiting 10:20:14 eaf3925da568: Waiting 10:20:14 4872d77fe225: Waiting 10:20:14 bab4dde63d76: Waiting 10:20:14 5851b861e8e6: Waiting 10:20:14 b352a97aabf1: Waiting 10:20:14 bde34c3a00c8: Waiting 10:20:14 e2be974225ed: Download complete 10:20:14 988bab9f4d93: Verifying Checksum 10:20:14 988bab9f4d93: Download complete 10:20:15 339a4e72a1f5: Verifying Checksum 10:20:15 339a4e72a1f5: Download complete 10:20:15 1469e6f7b9e6: Download complete 10:20:15 eaf3925da568: Download complete 10:20:15 bde34c3a00c8: Verifying Checksum 10:20:15 bde34c3a00c8: Download complete 10:20:15 b352a97aabf1: Verifying Checksum 10:20:15 b352a97aabf1: Download complete 10:20:15 4872d77fe225: Verifying Checksum 10:20:15 4872d77fe225: Download complete 10:20:15 b85a868b505f: Verifying Checksum 10:20:15 b85a868b505f: Download complete 10:20:15 5851b861e8e6: Verifying Checksum 10:20:15 5851b861e8e6: Download complete 10:20:15 bab4dde63d76: Verifying Checksum 10:20:15 bab4dde63d76: Download complete 10:20:16 b85a868b505f: Pull complete 10:20:16 e2be974225ed: Pull complete 10:20:17 339a4e72a1f5: Pull complete 10:20:17 988bab9f4d93: Pull complete 10:20:17 1469e6f7b9e6: Pull complete 10:20:17 eaf3925da568: Pull complete 10:20:19 bab4dde63d76: Pull complete 10:20:19 bde34c3a00c8: Pull complete 10:20:19 b352a97aabf1: Pull complete 10:20:19 4872d77fe225: Pull complete 10:20:19 5851b861e8e6: Pull complete 10:20:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:20:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:19 prd-ubuntu20.04-docker-8c-8g-5439 does not seem to be running inside a container 10:20:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-533 -v /w/workspace/_app-service-configurable_PR-533:/w/workspace/_app-service-configurable_PR-533:rw,z -v /w/workspace/_app-service-configurable_PR-533@tmp:/w/workspace/_app-service-configurable_PR-533@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:23 $ docker top 2b627a96dad468724b92d5b9bec5f16f9956024ba62993cc6f9bc96c60d0f095 -eo pid,comm 10:20:23 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). 10:20:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:23 [ssh-agent] Looking for ssh-agent implementation... 10:20:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:23 $ docker exec 2b627a96dad468724b92d5b9bec5f16f9956024ba62993cc6f9bc96c60d0f095 ssh-agent 10:20:23 SSH_AUTH_SOCK=/tmp/ssh-VrI3U2fjECIc/agent.31 10:20:23 SSH_AGENT_PID=37 10:20:23 Running ssh-add (command line suppressed) 10:20:24 Identity added: /w/workspace/_app-service-configurable_PR-533@tmp/private_key_4052697525594703363.key (/w/workspace/_app-service-configurable_PR-533@tmp/private_key_4052697525594703363.key) 10:20:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:24 + git tag --points-at HEAD [Pipeline] } 10:20:24 $ docker exec --env ******** --env ******** 2b627a96dad468724b92d5b9bec5f16f9956024ba62993cc6f9bc96c60d0f095 ssh-agent -k 10:20:24 unset SSH_AUTH_SOCK; 10:20:24 unset SSH_AGENT_PID; 10:20:24 echo Agent pid 37 killed; 10:20:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:20:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:24 [ssh-agent] Looking for ssh-agent implementation... 10:20:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:24 $ docker exec 2b627a96dad468724b92d5b9bec5f16f9956024ba62993cc6f9bc96c60d0f095 ssh-agent 10:20:24 SSH_AUTH_SOCK=/tmp/ssh-mCuPUXjeHhZv/agent.69 10:20:24 SSH_AGENT_PID=75 10:20:24 Running ssh-add (command line suppressed) 10:20:24 Identity added: /w/workspace/_app-service-configurable_PR-533@tmp/private_key_1360033832570046643.key (/w/workspace/_app-service-configurable_PR-533@tmp/private_key_1360033832570046643.key) 10:20:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:25 + git semver init 10:20:25 2023-03-23 10:20:25,341 [run_init] DEBUG init version:0.0.0 force:False 10:20:25 2023-03-23 10:20:25,342 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-533/.semver 10:20:25 2023-03-23 10:20:25,342 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-533/.semver 10:20:25 2023-03-23 10:20:25,342 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-533/.semver'], cwd=/w/workspace/_app-service-configurable_PR-533, universal_newlines=False, shell=None, istream=None) 10:20:27 2023-03-23 10:20:27,281 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-533/.git/info/exclude 10:20:27 2023-03-23 10:20:27,281 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-533/.semver/PR-533 with force:False 10:20:27 2023-03-23 10:20:27,281 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-533/.semver/PR-533 10:20:27 2023-03-23 10:20:27,284 [execute] INFO git cat-file --batch-check 10:20:27 2023-03-23 10:20:27,285 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-533/.semver, universal_newlines=False, shell=None, istream=) 10:20:27 2023-03-23 10:20:27,292 [execute] INFO git cat-file --batch 10:20:27 2023-03-23 10:20:27,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-533/.semver, universal_newlines=False, shell=None, istream=) 10:20:27 2023-03-23 10:20:27,299 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-533/.semver/PR-533 10:20:27 0.0.0 [Pipeline] } 10:20:27 $ docker exec --env ******** --env ******** 2b627a96dad468724b92d5b9bec5f16f9956024ba62993cc6f9bc96c60d0f095 ssh-agent -k 10:20:27 unset SSH_AUTH_SOCK; 10:20:27 unset SSH_AGENT_PID; 10:20:27 echo Agent pid 75 killed; 10:20:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:27 + git semver [Pipeline] } 10:20:28 $ docker stop --time=1 2b627a96dad468724b92d5b9bec5f16f9956024ba62993cc6f9bc96c60d0f095 10:20:29 $ docker rm -f --volumes 2b627a96dad468724b92d5b9bec5f16f9956024ba62993cc6f9bc96c60d0f095 [Pipeline] // withDockerContainer [Pipeline] sh 10:20:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:20:30 Stashed 1 file(s) [Pipeline] echo 10:20:30 [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 10:20:30 provisioning config files... 10:20:30 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-533@tmp/config11346371278835537644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:30 ---> docker-login.sh 10:20:30 nexus3.edgexfoundry.org:10001 10:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:30 Configure a credential helper to remove this warning. See 10:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:30 10:20:30 Login Succeeded 10:20:30 nexus3.edgexfoundry.org:10002 10:20:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:30 Configure a credential helper to remove this warning. See 10:20:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:30 10:20:30 Login Succeeded 10:20:30 nexus3.edgexfoundry.org:10003 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 nexus3.edgexfoundry.org:10004 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 docker.io 10:20:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:31 Configure a credential helper to remove this warning. See 10:20:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:31 10:20:31 Login Succeeded 10:20:31 ---> docker-login.sh ends [Pipeline] } 10:20:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:20:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:20:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:20:31 ========================================================= 10:20:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:20:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:31 + 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 . 10:20:31 Sending build context to Docker daemon 3.244MB 10:20:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:20:31 Step 2/12 : FROM ${BASE} AS builder 10:20:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:20:31 63b65145d645: Pulling fs layer 10:20:31 a2d21d5440eb: Pulling fs layer 10:20:31 935e6c44a52c: Pulling fs layer 10:20:31 94cc34f8dd06: Pulling fs layer 10:20:31 30dea6a524f1: Pulling fs layer 10:20:31 a2aff8979fd8: Pulling fs layer 10:20:31 6808be2612f2: Pulling fs layer 10:20:31 f25807f1079a: Pulling fs layer 10:20:31 94cc34f8dd06: Waiting 10:20:31 6808be2612f2: Waiting 10:20:31 30dea6a524f1: Waiting 10:20:31 a2aff8979fd8: Waiting 10:20:31 f25807f1079a: Waiting 10:20:31 a2d21d5440eb: Verifying Checksum 10:20:31 a2d21d5440eb: Download complete 10:20:32 94cc34f8dd06: Download complete 10:20:32 30dea6a524f1: Verifying Checksum 10:20:32 30dea6a524f1: Download complete 10:20:32 63b65145d645: Download complete 10:20:32 a2aff8979fd8: Verifying Checksum 10:20:32 a2aff8979fd8: Download complete 10:20:32 63b65145d645: Pull complete 10:20:32 a2d21d5440eb: Pull complete 10:20:32 f25807f1079a: Verifying Checksum 10:20:32 f25807f1079a: Download complete 10:20:32 935e6c44a52c: Verifying Checksum 10:20:32 935e6c44a52c: Download complete 10:20:33 6808be2612f2: Verifying Checksum 10:20:33 6808be2612f2: Download complete 10:20:36 935e6c44a52c: Pull complete 10:20:36 94cc34f8dd06: Pull complete 10:20:36 30dea6a524f1: Pull complete 10:20:36 a2aff8979fd8: Pull complete 10:20:38 6808be2612f2: Pull complete 10:20:39 f25807f1079a: Pull complete 10:20:39 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 10:20:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:20:39 ---> 3b553350e43f 10:20:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 10:20:45 Still waiting to schedule task 10:20:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:20:51 ---> Running in 68a5c5d81332 10:20:51 Removing intermediate container 68a5c5d81332 10:20:51 ---> 9e25e9e13819 10:20:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:20:51 ---> Running in 965baa40baa9 10:20:51 Removing intermediate container 965baa40baa9 10:20:51 ---> 2ec507816fab 10:20:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:20:51 ---> Running in f4b98d4c6242 10:20:51 Removing intermediate container f4b98d4c6242 10:20:51 ---> a2a44af7e06d 10:20:51 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:20:51 ---> Running in df1ed9f00422 10:20:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:20:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:20:51 OK: 265 MiB in 53 packages 10:20:52 Removing intermediate container df1ed9f00422 10:20:52 ---> 108605e62e8d 10:20:52 Step 7/12 : WORKDIR /app 10:20:52 ---> Running in 57a27aa5b7df 10:20:52 Removing intermediate container 57a27aa5b7df 10:20:52 ---> 3bd1d9054916 10:20:52 Step 8/12 : COPY go.mod vendor* ./ 10:20:52 ---> 958c27c7433a 10:20:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:20:52 ---> Running in 3c4502f6f36b 10:21:48 Removing intermediate container 3c4502f6f36b 10:21:48 ---> 38c9857f16c8 10:21:48 Step 10/12 : COPY . . 10:21:48 ---> bed824ad7e33 10:21:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:21:48 ---> Running in 70a1db793041 10:21:48 Removing intermediate container 70a1db793041 10:21:48 ---> 5c985d25be0a 10:21:48 Step 12/12 : RUN $MAKE 10:21:48 ---> Running in 246787d2b946 10:21:48 noop 10:21:48 Removing intermediate container 246787d2b946 10:21:48 ---> 1133339195b6 10:21:48 Successfully built 1133339195b6 10:21:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:49 + docker inspect -f . ci-base-image-x86_64 10:21:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:49 prd-ubuntu20.04-docker-8c-8g-5439 does not seem to be running inside a container 10:21:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-533 -v /w/workspace/_app-service-configurable_PR-533:/w/workspace/_app-service-configurable_PR-533:rw,z -v /w/workspace/_app-service-configurable_PR-533@tmp:/w/workspace/_app-service-configurable_PR-533@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-x86_64 cat 10:21:49 $ docker top 9564bfb091a81e0a6d37b6db6db01c3ec8212959c4421a7137729b1a0d7ac28b -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:49 + go version 10:21:49 go version go1.20.2 linux/amd64 [Pipeline] } 10:21:49 $ docker stop --time=1 9564bfb091a81e0a6d37b6db6db01c3ec8212959c4421a7137729b1a0d7ac28b 10:21:51 $ docker rm -f --volumes 9564bfb091a81e0a6d37b6db6db01c3ec8212959c4421a7137729b1a0d7ac28b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:51 + docker inspect -f . ci-base-image-x86_64 10:21:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:51 prd-ubuntu20.04-docker-8c-8g-5439 does not seem to be running inside a container 10:21:51 $ 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-533 -v /w/workspace/_app-service-configurable_PR-533:/w/workspace/_app-service-configurable_PR-533:rw,z -v /w/workspace/_app-service-configurable_PR-533@tmp:/w/workspace/_app-service-configurable_PR-533@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-x86_64 cat 10:21:51 $ docker top a4afcefa696d3b49c34d127648595514cdfea4b12e89de4830d3c80c73a3f2a5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:52 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-533 [Pipeline] fileExists [Pipeline] sh 10:21:52 + make test 10:21:52 go test -race -coverprofile=coverage.out ./... 10:22:10 ? github.com/edgexfoundry/app-service-configurable [no test files] 10:22:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5440 in /w/workspace/_app-service-configurable_PR-533 [Pipeline] { [Pipeline] ws 10:22:31 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 10:22:31 Selected Git installation does not exist. Using Default 10:22:31 The recommended git tool is: NONE 10:22:32 go vet ./... 10:22:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:22:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:22:33 ./bin/test-attribution-txt.sh [Pipeline] echo 10:22:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:22:33 $ docker stop --time=1 a4afcefa696d3b49c34d127648595514cdfea4b12e89de4830d3c80c73a3f2a5 10:22:39 $ docker rm -f --volumes a4afcefa696d3b49c34d127648595514cdfea4b12e89de4830d3c80c73a3f2a5 [Pipeline] // withDockerContainer [Pipeline] sh 10:22:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:22:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:22:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:22:40 + ls -al . 10:22:40 total 176 10:22:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 10:21 . 10:22:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 10:20 .. 10:22:40 -rw-rw-r-- 1 jenkins jenkins 119 Mar 23 10:20 .dockerignore 10:22:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 10:20 .git 10:22:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 10:20 .github 10:22:40 -rw-rw-r-- 1 jenkins jenkins 171 Mar 23 10:20 .gitignore 10:22:40 -rw-rw-r-- 1 jenkins jenkins 41 Mar 23 10:20 .golangci.yml 10:22:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 10:20 .semver 10:22:40 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 23 10:20 Attribution.txt 10:22:40 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 23 10:20 CHANGELOG.md 10:22:40 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 23 10:20 Dockerfile 10:22:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 10:20 GOVERNANCE.md 10:22:40 -rw-rw-r-- 1 jenkins jenkins 688 Mar 23 10:20 Jenkinsfile 10:22:40 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 23 10:20 LICENSE 10:22:40 -rw-rw-r-- 1 jenkins jenkins 618 Mar 23 10:20 OWNERS.md 10:22:40 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 23 10:20 README.md 10:22:40 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 10:20 VERSION 10:22:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 10:20 bin 10:22:40 -rw-r--r-- 1 jenkins jenkins 13 Mar 23 10:21 coverage.out 10:22:40 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 23 10:20 go.mod 10:22:40 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 23 10:20 go.sum 10:22:40 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 23 10:20 main.go 10:22:40 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 23 10:20 makefile 10:22:40 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 10:20 res 10:22:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 10:20 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:22:41 + 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=69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 --label arch=amd64 --label version=0.0.0 . 10:22:41 Sending build context to Docker daemon 3.245MB 10:22:41 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:22:41 Step 2/26 : FROM ${BASE} AS builder 10:22:41 ---> 1133339195b6 10:22:41 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 10:22:41 ---> Running in 820d59d47cd5 10:22:41 Removing intermediate container 820d59d47cd5 10:22:41 ---> 8f7125937742 10:22:41 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:22:41 ---> Running in f259c3e6e66d 10:22:41 Removing intermediate container f259c3e6e66d 10:22:41 ---> 9cea84768f54 10:22:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 10:22:41 ---> Running in 9a6811e58582 10:22:41 Removing intermediate container 9a6811e58582 10:22:41 ---> 2f8761fe2e50 10:22:41 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:22:41 ---> Running in 565ea055c841 10:22:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:22:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:22:42 OK: 265 MiB in 53 packages 10:22:42 using credential edgex-jenkins-ssh 10:22:42 Cloning the remote Git repository 10:22:43 Removing intermediate container 565ea055c841 10:22:43 ---> dabbc7de4ef3 10:22:43 Step 7/26 : WORKDIR /app 10:22:43 ---> Running in 89bd14160848 10:22:43 Removing intermediate container 89bd14160848 10:22:43 ---> 40462035833d 10:22:43 Step 8/26 : COPY go.mod vendor* ./ 10:22:42 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 10:22:42 > git init /w/workspace/app-service-configurable/2 # timeout=10 10:22:43 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 10:22:43 > git --version # timeout=10 10:22:43 > git --version # 'git version 2.25.1' 10:22:43 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:22:43 ---> 0940256c49b9 10:22:43 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:22:43 ---> Running in 9b478d85b095 10:22:44 Removing intermediate container 9b478d85b095 10:22:44 ---> 11e43eb0b611 10:22:44 Step 10/26 : COPY . . 10:22:44 ---> d94896ebdd7d 10:22:44 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:22:44 ---> Running in ccc2aaff93f3 10:22:45 Removing intermediate container ccc2aaff93f3 10:22:45 ---> 03d8abbe0274 10:22:45 Step 12/26 : RUN $MAKE 10:22:45 ---> Running in be28b9952f0e 10:22:44 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 10:22:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:22:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 10:22:46 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 10:22:46 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 10:22:46 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 10:22:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/533/head:refs/remotes/origin/PR-533 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:22:46 > git config core.sparsecheckout # timeout=10 10:22:47 > git checkout -f 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 # timeout=10 10:22:47 Merge succeeded, producing 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 10:22:47 Checking out Revision 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 (PR-533) 10:22:47 > git remote # timeout=10 10:22:47 > git config --get remote.origin.url # timeout=10 10:22:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:22:47 > git merge 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 10:22:47 > git rev-parse HEAD^{commit} # timeout=10 10:22:47 > git config core.sparsecheckout # timeout=10 10:22:47 > git checkout -f 69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 # timeout=10 10:22:50 Commit message: "fix(snap): Revert `SERVICE` change, update `ENV_FILE`" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:22:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:22:51 % Total % Received % Xferd Average Speed Time Time Time Current 10:22:51 Dload Upload Total Spent Left Speed 10:22:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh 10:22:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:22:53 + + sudo tee /etc/docker/daemon.new 10:22:53 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:22:53 { 10:22:53 "registry-mirrors": [ 10:22:53 "https://nexus3.edgexfoundry.org:10001" 10:22:53 ], 10:22:53 "bip": "10.250.0.254/24", 10:22:53 "hosts": [ 10:22:53 "tcp://0.0.0.0:5555", 10:22:53 "unix:///var/run/docker.sock" 10:22:53 ], 10:22:53 "mtu": 1458, 10:22:53 "selinux-enabled": true, 10:22:53 "seccomp-profile": "/etc/docker/seccomp.json" 10:22:53 } [Pipeline] sh 10:22:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:22:53 + sudo service docker restart 10:23:07 Removing intermediate container be28b9952f0e 10:23:07 ---> 0bf358e433b1 10:23:07 Step 13/26 : FROM alpine:3.17 10:23:07 3.17: Pulling from library/alpine 10:23:07 63b65145d645: Already exists 10:23:07 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 10:23:07 Status: Downloaded newer image for alpine:3.17 10:23:07 ---> b2aa39c304c2 10:23:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:23:07 ---> Running in e73e8ab1fd82 10:23:07 Removing intermediate container e73e8ab1fd82 10:23:07 ---> 2f326bfc8319 10:23:07 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 10:23:07 ---> Running in cc28387483c9 10:23:07 Removing intermediate container cc28387483c9 10:23:07 ---> 29b842e86fa8 10:23:07 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 10:23:07 ---> Running in 33b27ba01885 10:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:23:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:23:07 (1/2) Installing ca-certificates (20220614-r4) 10:23:07 (2/2) Installing dumb-init (1.2.5-r2) 10:23:07 Executing busybox-1.35.0-r29.trigger 10:23:07 Executing ca-certificates-20220614-r4.trigger 10:23:07 OK: 8 MiB in 17 packages 10:23:07 Removing intermediate container 33b27ba01885 10:23:07 ---> 0de017bdaf1c 10:23:07 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 10:23:07 ---> 73722c639858 10:23:07 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 10:23:07 ---> 67b793b2a340 10:23:07 Step 19/26 : COPY --from=builder /app/res/ /res/ 10:23:07 ---> 35c4651c5d1b 10:23:07 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 10:23:08 ---> 54b0b13f69fe 10:23:08 Step 21/26 : EXPOSE 48095 10:23:08 ---> Running in 8ead1bc95630 10:23:08 Removing intermediate container 8ead1bc95630 10:23:08 ---> 4898314b524a 10:23:08 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 10:23:08 ---> Running in 3df815f5297a 10:23:08 Removing intermediate container 3df815f5297a 10:23:08 ---> 726ddd28cb49 10:23:08 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:23:08 ---> Running in a74ba7d3761f 10:23:08 Removing intermediate container a74ba7d3761f 10:23:08 ---> 473f43fdc03d 10:23:08 Step 24/26 : LABEL arch=amd64 10:23:08 ---> Running in 259bcbbe78b2 10:23:08 Removing intermediate container 259bcbbe78b2 10:23:08 ---> 08b7d359226c 10:23:08 Step 25/26 : LABEL git_sha=69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 10:23:08 ---> Running in a498a617cd89 10:23:08 Removing intermediate container a498a617cd89 10:23:08 ---> e1e4a55edd23 10:23:08 Step 26/26 : LABEL version=0.0.0 10:23:08 ---> Running in fcbefec5dad1 10:23:08 Removing intermediate container fcbefec5dad1 10:23:08 ---> b647fa23766f 10:23:08 [Warning] One or more build-args [ARCH] were not consumed 10:23:08 Successfully built b647fa23766f 10:23:08 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 10:23:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:08 10:23:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:09 latest: Pulling from edgex-lftools-log-publisher 10:23:09 5eb5b503b376: Pulling fs layer 10:23:09 5c69ac0246d0: Pulling fs layer 10:23:09 ec43610c2a17: Pulling fs layer 10:23:09 3a2ae6a8a46f: Pulling fs layer 10:23:09 33b1e0a273af: Pulling fs layer 10:23:09 5d3b04190fa2: Pulling fs layer 10:23:09 2f39f015ded8: Pulling fs layer 10:23:09 5d3b04190fa2: Waiting 10:23:09 33b1e0a273af: Waiting 10:23:09 2f39f015ded8: Waiting 10:23:09 3a2ae6a8a46f: Waiting 10:23:09 5c69ac0246d0: Verifying Checksum 10:23:09 5c69ac0246d0: Download complete 10:23:09 3a2ae6a8a46f: Verifying Checksum 10:23:09 3a2ae6a8a46f: Download complete 10:23:09 ec43610c2a17: Verifying Checksum 10:23:09 ec43610c2a17: Download complete 10:23:09 5d3b04190fa2: Verifying Checksum 10:23:09 5d3b04190fa2: Download complete 10:23:09 33b1e0a273af: Verifying Checksum 10:23:09 33b1e0a273af: Download complete 10:23:09 5eb5b503b376: Verifying Checksum 10:23:09 5eb5b503b376: Download complete 10:23:10 2f39f015ded8: Download complete 10:23:10 5eb5b503b376: Pull complete 10:23:10 5c69ac0246d0: Pull complete 10:23:11 ec43610c2a17: Pull complete 10:23:11 3a2ae6a8a46f: Pull complete 10:23:11 33b1e0a273af: Pull complete 10:23:11 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:23:11 provisioning config files... 10:23:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config5242433683280230089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:12 ---> docker-login.sh 10:23:12 nexus3.edgexfoundry.org:10001 10:23:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:12 Configure a credential helper to remove this warning. See 10:23:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:12 10:23:12 Login Succeeded 10:23:12 nexus3.edgexfoundry.org:10002 10:23:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:13 Configure a credential helper to remove this warning. See 10:23:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:13 10:23:13 Login Succeeded 10:23:13 nexus3.edgexfoundry.org:10003 10:23:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:13 Configure a credential helper to remove this warning. See 10:23:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:13 10:23:13 Login Succeeded 10:23:13 nexus3.edgexfoundry.org:10004 10:23:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:13 Configure a credential helper to remove this warning. See 10:23:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:13 10:23:13 Login Succeeded 10:23:13 docker.io 10:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:23:14 Configure a credential helper to remove this warning. See 10:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:23:14 10:23:14 Login Succeeded 10:23:14 ---> docker-login.sh ends [Pipeline] } 10:23:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:23:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:23:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:23:14 ========================================================= 10:23:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:23:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:15 + 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 . 10:23:15 Sending build context to Docker daemon 173.1kB 10:23:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:23:15 Step 2/12 : FROM ${BASE} AS builder 10:23:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:23:15 af6eaf76a39c: Pulling fs layer 10:23:15 55522c791124: Pulling fs layer 10:23:15 ce5c4a1c91eb: Pulling fs layer 10:23:15 169dfbe0d373: Pulling fs layer 10:23:15 e1ff8fa3b103: Pulling fs layer 10:23:15 52ebb69f0ebf: Pulling fs layer 10:23:15 5abe8eddf0d5: Pulling fs layer 10:23:15 169dfbe0d373: Waiting 10:23:15 e1ff8fa3b103: Waiting 10:23:15 52ebb69f0ebf: Waiting 10:23:15 5abe8eddf0d5: Waiting 10:23:15 55522c791124: Verifying Checksum 10:23:15 55522c791124: Download complete 10:23:15 169dfbe0d373: Verifying Checksum 10:23:15 169dfbe0d373: Download complete 10:23:15 e1ff8fa3b103: Verifying Checksum 10:23:15 e1ff8fa3b103: Download complete 10:23:15 af6eaf76a39c: Download complete 10:23:15 2f39f015ded8: Pull complete 10:23:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:23:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:23:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:23:15 prd-ubuntu20.04-docker-8c-8g-5439 does not seem to be running inside a container 10:23:15 $ 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-533 -v /w/workspace/_app-service-configurable_PR-533:/w/workspace/_app-service-configurable_PR-533:rw,z -v /w/workspace/_app-service-configurable_PR-533@tmp:/w/workspace/_app-service-configurable_PR-533@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 10:23:16 af6eaf76a39c: Pull complete 10:23:16 5abe8eddf0d5: Verifying Checksum 10:23:16 5abe8eddf0d5: Download complete 10:23:16 55522c791124: Pull complete 10:23:17 ce5c4a1c91eb: Download complete 10:23:17 52ebb69f0ebf: Verifying Checksum 10:23:17 52ebb69f0ebf: Download complete 10:23:20 $ docker top 7713facdd7b49b4b16871428d2f19e547cafce8543d510d0d160cbc69eaf1700 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:23:20 ---> job-cost.sh 10:23:20 lf-activate-venv: SKIPPING 10:23:20 INFO: No Stack... 10:23:20 INFO: Retrieving Pricing Info for: v3-standard-8 10:23:21 INFO: Archiving Costs [Pipeline] sh 10:23:21 + cat /w/workspace/_app-service-configurable_PR-533/archives/cost.csv 10:23:21 + cut -d, -f6 [Pipeline] lock 10:23:21 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-533-2-stack-cost] 10:23:21 Resource [jenkins-edgexfoundry-app-service-configurable-PR-533-2-stack-cost] did not exist. Created. 10:23:21 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-533-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:23:21 + echo total: 0.2199999988079071 [Pipeline] stash 10:23:21 Stashed 1 file(s) [Pipeline] } 10:23:21 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-533-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:23:21 $ docker stop --time=1 7713facdd7b49b4b16871428d2f19e547cafce8543d510d0d160cbc69eaf1700 10:23:22 $ docker rm -f --volumes 7713facdd7b49b4b16871428d2f19e547cafce8543d510d0d160cbc69eaf1700 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:23:27 ce5c4a1c91eb: Pull complete 10:23:27 169dfbe0d373: Pull complete 10:23:27 e1ff8fa3b103: Pull complete 10:23:33 52ebb69f0ebf: Pull complete 10:23:34 5abe8eddf0d5: Pull complete 10:23:34 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 10:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:23:34 ---> 6cb57ee374ae 10:23:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 10:23:36 ---> Running in 784d88721adc 10:23:36 Removing intermediate container 784d88721adc 10:23:36 ---> a1a2aff70682 10:23:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:23:36 ---> Running in 8c0ee1c5638f 10:23:37 Removing intermediate container 8c0ee1c5638f 10:23:37 ---> f86c10aa4dba 10:23:37 Step 5/12 : ARG ADD_BUILD_TAGS="" 10:23:37 ---> Running in 47dc122890ce 10:23:37 Removing intermediate container 47dc122890ce 10:23:37 ---> b7e55f281311 10:23:37 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:23:37 ---> Running in 3655cadb9ffd 10:23:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:23:40 OK: 263 MiB in 53 packages 10:23:40 Removing intermediate container 3655cadb9ffd 10:23:40 ---> d09e1cbfa385 10:23:40 Step 7/12 : WORKDIR /app 10:23:40 ---> Running in 028ab4a26074 10:23:41 Removing intermediate container 028ab4a26074 10:23:41 ---> b6b965931c08 10:23:41 Step 8/12 : COPY go.mod vendor* ./ 10:23:41 ---> 28b807adb386 10:23:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:23:41 ---> Running in e07867877fca 10:24:49 Removing intermediate container e07867877fca 10:24:49 ---> fe5a6eee48a1 10:24:49 Step 10/12 : COPY . . 10:24:49 ---> 5a29262a9813 10:24:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:24:49 ---> Running in b03562d450f2 10:24:49 Removing intermediate container b03562d450f2 10:24:49 ---> cbfaa96c739a 10:24:49 Step 12/12 : RUN $MAKE 10:24:49 ---> Running in a77d1f5cf668 10:24:49 noop 10:24:49 Removing intermediate container a77d1f5cf668 10:24:49 ---> 152693707bef 10:24:49 Successfully built 152693707bef 10:24:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:50 + docker inspect -f . ci-base-image-arm64 10:24:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:24:50 prd-ubuntu20.04-docker-arm64-4c-16g-5440 does not seem to be running inside a container 10:24:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:24:53 $ docker top ae01a3c74abb84c392ea19ef31023e816e4d0e95e179c26973fbe5954b7a8707 -eo pid,comm [Pipeline] { [Pipeline] sh 10:24:53 + go version 10:24:53 go version go1.20.2 linux/arm64 [Pipeline] } 10:24:53 $ docker stop --time=1 ae01a3c74abb84c392ea19ef31023e816e4d0e95e179c26973fbe5954b7a8707 10:24:55 $ docker rm -f --volumes ae01a3c74abb84c392ea19ef31023e816e4d0e95e179c26973fbe5954b7a8707 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:24:56 + docker inspect -f . ci-base-image-arm64 10:24:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:24:56 prd-ubuntu20.04-docker-arm64-4c-16g-5440 does not seem to be running inside a container 10:24:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:24:57 $ docker top 70fbaaf3f100ec2a84ae0abdb757742d54be58bbe8a197dd193d1ca5cc391687 -eo pid,comm [Pipeline] { [Pipeline] sh 10:24:58 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 10:24:58 + make test 10:24:58 go test -race -coverprofile=coverage.out ./... 10:27:20 ? github.com/edgexfoundry/app-service-configurable [no test files] 10:27:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:27:20 go vet ./... 10:29:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:29:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:29:27 ./bin/test-attribution-txt.sh [Pipeline] echo 10:29:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:29:27 $ docker stop --time=1 70fbaaf3f100ec2a84ae0abdb757742d54be58bbe8a197dd193d1ca5cc391687 10:29:28 $ docker rm -f --volumes 70fbaaf3f100ec2a84ae0abdb757742d54be58bbe8a197dd193d1ca5cc391687 [Pipeline] // withDockerContainer [Pipeline] sh 10:29:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:29:30 Warning: overwriting stash ‘coverage-report’ 10:29:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:29:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:29:31 + ls -al . 10:29:31 total 172 10:29:31 drwxrwxr-x 7 jenkins jenkins 4096 Mar 23 10:25 . 10:29:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 10:22 .. 10:29:31 -rw-rw-r-- 1 jenkins jenkins 119 Mar 23 10:22 .dockerignore 10:29:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 10:22 .git 10:29:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 10:22 .github 10:29:31 -rw-rw-r-- 1 jenkins jenkins 171 Mar 23 10:22 .gitignore 10:29:31 -rw-rw-r-- 1 jenkins jenkins 41 Mar 23 10:22 .golangci.yml 10:29:31 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 23 10:22 Attribution.txt 10:29:31 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 23 10:22 CHANGELOG.md 10:29:31 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 23 10:22 Dockerfile 10:29:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 10:22 GOVERNANCE.md 10:29:31 -rw-rw-r-- 1 jenkins jenkins 688 Mar 23 10:22 Jenkinsfile 10:29:31 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 23 10:22 LICENSE 10:29:31 -rw-rw-r-- 1 jenkins jenkins 618 Mar 23 10:22 OWNERS.md 10:29:31 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 23 10:22 README.md 10:29:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 10:20 VERSION 10:29:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 10:22 bin 10:29:31 -rw-r--r-- 1 jenkins jenkins 13 Mar 23 10:25 coverage.out 10:29:31 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 23 10:22 go.mod 10:29:31 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 23 10:22 go.sum 10:29:31 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 23 10:22 main.go 10:29:31 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 23 10:22 makefile 10:29:31 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 10:22 res 10:29:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 10:22 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:31 + 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=69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 --label arch=arm64 --label version=0.0.0 . 10:29:31 Sending build context to Docker daemon 174.1kB 10:29:32 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 10:29:32 Step 2/26 : FROM ${BASE} AS builder 10:29:32 ---> 152693707bef 10:29:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 10:29:32 ---> Running in b809067e31c0 10:29:32 Removing intermediate container b809067e31c0 10:29:32 ---> 2aeecbfe16c4 10:29:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:29:32 ---> Running in 614c90b8c31f 10:29:32 Removing intermediate container 614c90b8c31f 10:29:32 ---> e3186021549d 10:29:32 Step 5/26 : ARG ADD_BUILD_TAGS="" 10:29:32 ---> Running in de6d271b0355 10:29:33 Removing intermediate container de6d271b0355 10:29:33 ---> e7ee08f89618 10:29:33 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:29:33 ---> Running in 13c505be22d4 10:29:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:29:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:29:35 OK: 263 MiB in 53 packages 10:29:36 Removing intermediate container 13c505be22d4 10:29:36 ---> 72005ce9d3f1 10:29:36 Step 7/26 : WORKDIR /app 10:29:36 ---> Running in eee8be9721c1 10:29:36 Removing intermediate container eee8be9721c1 10:29:36 ---> e05d13791362 10:29:36 Step 8/26 : COPY go.mod vendor* ./ 10:29:38 ---> dcca883c44ea 10:29:38 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:29:38 ---> Running in fbece037e84d 10:29:41 Removing intermediate container fbece037e84d 10:29:41 ---> fd80b07f1b63 10:29:41 Step 10/26 : COPY . . 10:29:41 ---> bbefa5a6856e 10:29:41 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:29:41 ---> Running in 4239aed65724 10:29:42 Removing intermediate container 4239aed65724 10:29:42 ---> 61dc98b84ad8 10:29:42 Step 12/26 : RUN $MAKE 10:29:42 ---> Running in 0360977e9e85 10:29:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 10:31:50 Removing intermediate container 0360977e9e85 10:31:50 ---> 904fc96745a5 10:31:50 Step 13/26 : FROM alpine:3.17 10:31:50 3.17: Pulling from library/alpine 10:31:50 af6eaf76a39c: Already exists 10:31:50 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 10:31:50 Status: Downloaded newer image for alpine:3.17 10:31:50 ---> d74e625d9115 10:31:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:31:50 ---> Running in 5bf7cbf09f2c 10:31:50 Removing intermediate container 5bf7cbf09f2c 10:31:50 ---> 39499436f7bb 10:31:50 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 10:31:50 ---> Running in 6c55222889f8 10:31:50 Removing intermediate container 6c55222889f8 10:31:50 ---> 8cf9b20cf517 10:31:50 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 10:31:50 ---> Running in f038a8ea6d91 10:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:31:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:31:50 (1/2) Installing ca-certificates (20220614-r4) 10:31:50 (2/2) Installing dumb-init (1.2.5-r2) 10:31:50 Executing busybox-1.35.0-r29.trigger 10:31:50 Executing ca-certificates-20220614-r4.trigger 10:31:50 OK: 8 MiB in 17 packages 10:31:52 Removing intermediate container f038a8ea6d91 10:31:52 ---> e36aaef4761a 10:31:52 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 10:31:52 ---> 07c62d57c80a 10:31:52 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 10:31:53 ---> c5dc944b850b 10:31:53 Step 19/26 : COPY --from=builder /app/res/ /res/ 10:31:53 ---> dabf6c7fd703 10:31:53 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 10:31:55 ---> 248f60f8d68d 10:31:55 Step 21/26 : EXPOSE 48095 10:31:55 ---> Running in 88d63779d8b1 10:31:55 Removing intermediate container 88d63779d8b1 10:31:55 ---> d938470a9400 10:31:55 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 10:31:55 ---> Running in c033aae88c03 10:31:55 Removing intermediate container c033aae88c03 10:31:55 ---> 0c1d6784ecd6 10:31:55 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:31:55 ---> Running in 4aba013cc9df 10:31:56 Removing intermediate container 4aba013cc9df 10:31:56 ---> 862202ee30c2 10:31:56 Step 24/26 : LABEL arch=arm64 10:31:56 ---> Running in 5cb455463d31 10:31:56 Removing intermediate container 5cb455463d31 10:31:56 ---> c0d595987e90 10:31:56 Step 25/26 : LABEL git_sha=69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 10:31:56 ---> Running in 314542bd7283 10:31:56 Removing intermediate container 314542bd7283 10:31:56 ---> 4f5d9f3b2067 10:31:56 Step 26/26 : LABEL version=0.0.0 10:31:56 ---> Running in 3eca20b31bba 10:31:57 Removing intermediate container 3eca20b31bba 10:31:57 ---> c4ef64f5475b 10:31:57 [Warning] One or more build-args [ARCH] were not consumed 10:31:57 Successfully built c4ef64f5475b 10:31:57 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 10:31:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:31:57 10:31:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:31:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:31:57 arm64: Pulling from edgex-lftools-log-publisher 10:31:57 8998bd30e6a1: Pulling fs layer 10:31:57 04944245beec: Pulling fs layer 10:31:57 699f458cf7ca: Pulling fs layer 10:31:57 765212b225bb: Pulling fs layer 10:31:57 f23df028b6ca: Pulling fs layer 10:31:57 d65c8cfc05b1: Pulling fs layer 10:31:57 2437ff75d9bd: Pulling fs layer 10:31:57 765212b225bb: Waiting 10:31:57 2437ff75d9bd: Waiting 10:31:57 f23df028b6ca: Waiting 10:31:57 d65c8cfc05b1: Waiting 10:31:58 04944245beec: Verifying Checksum 10:31:58 04944245beec: Download complete 10:31:58 765212b225bb: Verifying Checksum 10:31:58 765212b225bb: Download complete 10:31:58 f23df028b6ca: Verifying Checksum 10:31:58 f23df028b6ca: Download complete 10:31:58 d65c8cfc05b1: Download complete 10:31:58 699f458cf7ca: Verifying Checksum 10:31:58 699f458cf7ca: Download complete 10:31:58 8998bd30e6a1: Verifying Checksum 10:31:58 8998bd30e6a1: Download complete 10:32:00 2437ff75d9bd: Verifying Checksum 10:32:00 2437ff75d9bd: Download complete 10:32:02 8998bd30e6a1: Pull complete 10:32:02 04944245beec: Pull complete 10:32:04 699f458cf7ca: Pull complete 10:32:04 765212b225bb: Pull complete 10:32:06 f23df028b6ca: Pull complete 10:32:06 d65c8cfc05b1: Pull complete 10:32:21 2437ff75d9bd: Pull complete 10:32:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:32:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:32:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:32:21 prd-ubuntu20.04-docker-arm64-4c-16g-5440 does not seem to be running inside a container 10:32:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:32:24 $ docker top 11d377c02bf6ce87c0e17f876b649f5d2d840d081817b802ac61dfa340c3125c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:32:25 ---> job-cost.sh 10:32:25 lf-activate-venv: SKIPPING 10:32:25 INFO: No Stack... 10:32:25 INFO: Retrieving Pricing Info for: v3-standard-4 10:32:26 INFO: Archiving Costs [Pipeline] sh 10:32:26 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 10:32:26 + cut -d, -f6 [Pipeline] lock 10:32:26 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-533-2-stack-cost] 10:32:26 Resource [jenkins-edgexfoundry-app-service-configurable-PR-533-2-stack-cost] did not exist. Created. 10:32:26 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-533-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:32:27 /w/workspace/app-service-configurable/2@tmp/durable-48adc5f1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:32:27 + echo total: 0.10999999940395355 [Pipeline] stash 10:32:27 Warning: overwriting stash ‘stack-cost’ 10:32:27 Stashed 1 file(s) [Pipeline] } 10:32:27 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-533-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:32:27 $ docker stop --time=1 11d377c02bf6ce87c0e17f876b649f5d2d840d081817b802ac61dfa340c3125c 10:32:29 $ docker rm -f --volumes 11d377c02bf6ce87c0e17f876b649f5d2d840d081817b802ac61dfa340c3125c [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 10:32:29 provisioning config files... 10:32:29 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-533@tmp/config6417492383979825407tmp [Pipeline] { [Pipeline] sh 10:32:29 + set +x 10:32:29 + curl -s https://codecov.io/bash 10:32:29 + bash -s -- 10:32:29 10:32:29 _____ _ 10:32:29 / ____| | | 10:32:29 | | ___ __| | ___ ___ _____ __ 10:32:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:32:29 | |___| (_) | (_| | __/ (_| (_) \ V / 10:32:29 \_____\___/ \__,_|\___|\___\___/ \_/ 10:32:29 Bash-1.0.6 10:32:29 10:32:29 10:32:29 ==> git version 2.25.1 found 10:32:29 ==> 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 10:32:29 Release-Date: 2020-01-08 10:32:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:32:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:32:29 ==> Jenkins CI detected. 10:32:29 current dir:  /w/workspace/_app-service-configurable_PR-533 10:32:29 project root: . 10:32:29 --> token set from env 10:32:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:32:29 ==> Running gcov in . (disable via -X gcov) 10:32:29 ==> Python coveragepy not found 10:32:29 ==> Searching for coverage reports in: 10:32:29 + . 10:32:29 -> Found 1 reports 10:32:29 ==> Detecting git/mercurial file structure 10:32:29 ==> Reading reports 10:32:30 + ./coverage.out bytes=13 10:32:30 ==> Appending adjustments 10:32:30 https://docs.codecov.io/docs/fixing-reports 10:32:30 + Found adjustments 10:32:30 ==> Gzipping contents 10:32:30 4.0K /tmp/codecov.hiUZpX.gz 10:32:30 ==> Uploading reports 10:32:30 url: https://codecov.io 10:32:30 query: branch=PR-533&commit=69865c968175e5fa5d0bd4c9c8b79625cd8e86b7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-533%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=533&job=&cmd_args= 10:32:30 -> Pinging Codecov 10:32:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-533&commit=69865c968175e5fa5d0bd4c9c8b79625cd8e86b7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-533%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=533&job=&cmd_args= 10:32:30 -> Uploading to 10:32:30 https://storage.googleapis.com/codecov/v4/raw/2023-03-23/A97CA9966030D2A3747ED39772930CCE/69865c968175e5fa5d0bd4c9c8b79625cd8e86b7/cea150b9-e504-4556-9d9a-3909f450b0dc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230323T103230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f96ea9c78a175fec315615c480ba9245bb262c4f19fe5a436fe4854fe81e5014 10:32:30 % Total % Received % Xferd Average Speed Time Time Time Current 10:32:30 Dload Upload Total Spent Left Speed 10:32:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 511 0 0 100 511 0 2120 --:--:-- --:--:-- --:--:-- 2129 10:32:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/69865c968175e5fa5d0bd4c9c8b79625cd8e86b7 [Pipeline] } 10:32:30 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 10:32:31 + [ -d /w/workspace/_app-service-configurable_PR-533/archives ] 10:32:31 + ls -al /w/workspace/_app-service-configurable_PR-533/archives 10:32:31 total 16 10:32:31 drwxr-xr-x 3 root root 4096 Mar 23 10:23 . 10:32:31 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 10:23 .. 10:32:31 drwxr-xr-x 2 root root 4096 Mar 23 10:23 cost 10:32:31 -rw-r--r-- 1 root root 96 Mar 23 10:23 cost.csv 10:32:31 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-533/archives 10:32:31 + ls -al /w/workspace/_app-service-configurable_PR-533/archives 10:32:31 total 16 10:32:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 10:23 . 10:32:31 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 10:23 .. 10:32:31 drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 10:23 cost 10:32:31 -rw-r--r-- 1 jenkins jenkins 96 Mar 23 10:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:32:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:32:32 ---> package-listing.sh 10:32:32 ++ facter osfamily 10:32:32 ++ tr '[:upper:]' '[:lower:]' 10:32:32 + OS_FAMILY=debian 10:32:32 + workspace=/w/workspace/_app-service-configurable_PR-533 10:32:32 + START_PACKAGES=/tmp/packages_start.txt 10:32:32 + END_PACKAGES=/tmp/packages_end.txt 10:32:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:32:32 + PACKAGES=/tmp/packages_start.txt 10:32:32 + '[' /w/workspace/_app-service-configurable_PR-533 ']' 10:32:32 + PACKAGES=/tmp/packages_end.txt 10:32:32 + case "${OS_FAMILY}" in 10:32:32 + dpkg -l 10:32:32 + grep '^ii' 10:32:32 + '[' -f /tmp/packages_start.txt ']' 10:32:32 + '[' -f /tmp/packages_end.txt ']' 10:32:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:32:32 + '[' /w/workspace/_app-service-configurable_PR-533 ']' 10:32:32 + mkdir -p /w/workspace/_app-service-configurable_PR-533/archives/ 10:32:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-533/archives/ [Pipeline] echo 10:32:32 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-533/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:32:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:32:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:32:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:32:33 prd-ubuntu20.04-docker-8c-8g-5439 does not seem to be running inside a container 10:32:33 $ 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-533/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-533 -v /w/workspace/_app-service-configurable_PR-533:/w/workspace/_app-service-configurable_PR-533:rw,z -v /w/workspace/_app-service-configurable_PR-533@tmp:/w/workspace/_app-service-configurable_PR-533@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:32:33 $ docker top f9131badd0f286d8f0e492679f1d8afecf6f55b19f4ca1e054d97422a679f2d5 -eo pid,comm [Pipeline] { [Pipeline] sh 10:32:34 + touch /tmp/pre-build-complete [Pipeline] sh 10:32:34 + mkdir -p /var/log/sysstat [Pipeline] sh 10:32:34 + ls /var/log/sa-host 10:32:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:32:34 provisioning config files... 10:32:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-533@tmp/config2805371160231093555tmp [Pipeline] { [Pipeline] echo 10:32:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:32:35 ---> create-netrc.sh [Pipeline] } 10:32:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:32:35 ---> python-tools-install.sh [Pipeline] echo 10:32:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:32:35 ---> sudo-logs.sh 10:32:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:32:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:32:36 ---> job-cost.sh 10:32:36 lf-activate-venv: SKIPPING 10:32:36 DEBUG: total: 0.2199999988079071 10:32:36 INFO: Retrieving Stack Cost... 10:32:36 INFO: Retrieving Pricing Info for: v3-standard-8 10:32:37 INFO: Archiving Costs [Pipeline] echo 10:32:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:32:37 ---> logs-deploy.sh 10:32:37 lf-activate-venv: SKIPPING 10:32:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-533/2 10:32:37 INFO: archiving workspace using pattern(s): 10:32:38 Archives upload complete. 10:32:38 INFO: archiving logs to Nexus