Pull request #532 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 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b+ba455a914ebd0f0f38ab28289e95f192324cb412 (fa62c05c7a04c98076fd296419a994b5844320f3) 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-ssh13317773953763064860.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-ssh10082003480905544457.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-532/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-532/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8823093027000610984.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-ssh16566838898993925258.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-532/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-532/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16554763956921820384.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2430 in /w/workspace/_app-service-configurable_PR-532 [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-532 # 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/532/head:refs/remotes/origin/PR-532 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ba455a914ebd0f0f38ab28289e95f192324cb412 into PR head commit 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b Merge succeeded, producing 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b Checking out Revision 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b (PR-532) > git config core.sparsecheckout # timeout=10 > git checkout -f 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b # 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 ba455a914ebd0f0f38ab28289e95f192324cb412 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b # timeout=10 Commit message: "refactor(snap): Place `$PROFILE_OPT` in original position " > git rev-list --no-walk cb691107b755ecfda0d36ce91f97c339463f839b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:47:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:47:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:47:43 ========================================================= 13:47:43 EdgeX Global Pipelines Version Info 13:47:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:47:43 ------------------- 13:47:43 stable info: 13:47:43 ------------------- 13:47:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:47:43 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 13:47:43 Message: update stable to v1.0.245 13:47:44 ------------------- 13:47:44 experimental info: 13:47:44 ------------------- 13:47:44 Commited By: **** collab-it+edgex@linuxfoundation.org 13:47:44 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 13:47:44 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-532 [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-532 [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-532 [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b51d2f [Pipeline] echo 13:47:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:47:44 provisioning config files... 13:47:44 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-532@tmp/config8267918201492511625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:47:45 ---> docker-login.sh 13:47:45 nexus3.edgexfoundry.org:10001 13:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:47:45 Configure a credential helper to remove this warning. See 13:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:47:45 13:47:45 Login Succeeded 13:47:45 nexus3.edgexfoundry.org:10002 13:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:47:45 Configure a credential helper to remove this warning. See 13:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:47:45 13:47:45 Login Succeeded 13:47:45 nexus3.edgexfoundry.org:10003 13:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:47:45 Configure a credential helper to remove this warning. See 13:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:47:45 13:47:45 Login Succeeded 13:47:45 nexus3.edgexfoundry.org:10004 13:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:47:46 Configure a credential helper to remove this warning. See 13:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:47:46 13:47:46 Login Succeeded 13:47:46 docker.io 13:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:47:46 Configure a credential helper to remove this warning. See 13:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:47:46 13:47:46 Login Succeeded 13:47:46 ---> docker-login.sh ends [Pipeline] } 13:47:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:47:46 + git rev-list -1 --merges 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b~1..7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b [Pipeline] echo 13:47:46 -----------> git rev-list -1 --merges 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b~1..7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b [false] [Pipeline] sh 13:47:47 + git log --format=format:%s -1 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b [Pipeline] echo 13:47:47 ========================================================= 13:47:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:47:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:47:47 + git log --format=format:%s -1 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b [Pipeline] echo 13:47:47 [semverPrep] GIT_COMMIT: 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b, Commit Message: refactor(snap): Place `$PROFILE_OPT` in original position [Pipeline] echo 13:47:47 [semverPrep] This is not a build commit. [Pipeline] sh 13:47:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:47:47 + grep -v github /etc/ssh/ssh_known_hosts 13:47:47 + [ -e /tmp/ssh_known_hosts ] 13:47:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:47:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:47:47 + sudo tee -a /etc/ssh/ssh_known_hosts 13:47:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:47:48 13:47:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:47:48 0.1.4: Pulling from edgex-devops/py-git-semver 13:47:48 b85a868b505f: Pulling fs layer 13:47:48 e2be974225ed: Pulling fs layer 13:47:48 339a4e72a1f5: Pulling fs layer 13:47:48 988bab9f4d93: Pulling fs layer 13:47:48 1469e6f7b9e6: Pulling fs layer 13:47:48 988bab9f4d93: Waiting 13:47:48 eaf3925da568: Pulling fs layer 13:47:48 bab4dde63d76: Pulling fs layer 13:47:48 1469e6f7b9e6: Waiting 13:47:48 bde34c3a00c8: Pulling fs layer 13:47:48 bab4dde63d76: Waiting 13:47:48 eaf3925da568: Waiting 13:47:48 bde34c3a00c8: Waiting 13:47:48 b352a97aabf1: Pulling fs layer 13:47:48 4872d77fe225: Pulling fs layer 13:47:48 5851b861e8e6: Pulling fs layer 13:47:48 4872d77fe225: Waiting 13:47:48 b352a97aabf1: Waiting 13:47:48 5851b861e8e6: Waiting 13:47:48 e2be974225ed: Verifying Checksum 13:47:48 e2be974225ed: Download complete 13:47:48 988bab9f4d93: Verifying Checksum 13:47:48 988bab9f4d93: Download complete 13:47:48 339a4e72a1f5: Verifying Checksum 13:47:48 339a4e72a1f5: Download complete 13:47:48 1469e6f7b9e6: Verifying Checksum 13:47:48 1469e6f7b9e6: Download complete 13:47:48 eaf3925da568: Verifying Checksum 13:47:48 eaf3925da568: Download complete 13:47:48 bde34c3a00c8: Download complete 13:47:48 b352a97aabf1: Verifying Checksum 13:47:48 4872d77fe225: Download complete 13:47:48 5851b861e8e6: Download complete 13:47:48 b85a868b505f: Verifying Checksum 13:47:48 b85a868b505f: Download complete 13:47:48 bab4dde63d76: Verifying Checksum 13:47:50 b85a868b505f: Pull complete 13:47:50 e2be974225ed: Pull complete 13:47:50 339a4e72a1f5: Pull complete 13:47:50 988bab9f4d93: Pull complete 13:47:51 1469e6f7b9e6: Pull complete 13:47:51 eaf3925da568: Pull complete 13:47:53 bab4dde63d76: Pull complete 13:47:53 bde34c3a00c8: Pull complete 13:47:53 b352a97aabf1: Pull complete 13:47:53 4872d77fe225: Pull complete 13:47:53 5851b861e8e6: Pull complete 13:47:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:47:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:47:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:47:53 prd-ubuntu20.04-docker-8c-8g-2430 does not seem to be running inside a container 13:47:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-532 -v /w/workspace/_app-service-configurable_PR-532:/w/workspace/_app-service-configurable_PR-532:rw,z -v /w/workspace/_app-service-configurable_PR-532@tmp:/w/workspace/_app-service-configurable_PR-532@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 13:47:54 $ docker top 78787807ce9402b1e808b98ec29244f0995651aa71e7cdbd55b85e12859eaba4 -eo pid,comm 13:47:54 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). 13:47:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:47:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:47:54 [ssh-agent] Looking for ssh-agent implementation... 13:47:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:47:55 $ docker exec 78787807ce9402b1e808b98ec29244f0995651aa71e7cdbd55b85e12859eaba4 ssh-agent 13:47:55 SSH_AUTH_SOCK=/tmp/ssh-aqat0AWEu5cN/agent.33 13:47:55 SSH_AGENT_PID=39 13:47:55 Running ssh-add (command line suppressed) 13:47:55 Identity added: /w/workspace/_app-service-configurable_PR-532@tmp/private_key_13166671105143595989.key (/w/workspace/_app-service-configurable_PR-532@tmp/private_key_13166671105143595989.key) 13:47:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:47:55 + git tag --points-at HEAD [Pipeline] } 13:47:55 $ docker exec --env ******** --env ******** 78787807ce9402b1e808b98ec29244f0995651aa71e7cdbd55b85e12859eaba4 ssh-agent -k 13:47:55 unset SSH_AUTH_SOCK; 13:47:55 unset SSH_AGENT_PID; 13:47:55 echo Agent pid 39 killed; 13:47:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:47:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:47:55 [ssh-agent] Looking for ssh-agent implementation... 13:47:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:47:55 $ docker exec 78787807ce9402b1e808b98ec29244f0995651aa71e7cdbd55b85e12859eaba4 ssh-agent 13:47:55 SSH_AUTH_SOCK=/tmp/ssh-H4tt7sNBiwVc/agent.71 13:47:55 SSH_AGENT_PID=77 13:47:55 Running ssh-add (command line suppressed) 13:47:56 Identity added: /w/workspace/_app-service-configurable_PR-532@tmp/private_key_14048178013405824268.key (/w/workspace/_app-service-configurable_PR-532@tmp/private_key_14048178013405824268.key) 13:47:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:47:56 + git semver init 13:47:56 2023-03-16 13:47:56,492 [run_init] DEBUG init version:0.0.0 force:False 13:47:56 2023-03-16 13:47:56,492 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-532/.semver 13:47:56 2023-03-16 13:47:56,493 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-532/.semver 13:47:56 2023-03-16 13:47:56,493 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-532/.semver'], cwd=/w/workspace/_app-service-configurable_PR-532, universal_newlines=False, shell=None, istream=None) 13:47:57 2023-03-16 13:47:57,261 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-532/.git/info/exclude 13:47:57 2023-03-16 13:47:57,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-532/.semver/PR-532 with force:False 13:47:57 2023-03-16 13:47:57,262 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-532/.semver/PR-532 13:47:57 2023-03-16 13:47:57,266 [execute] INFO git cat-file --batch-check 13:47:57 2023-03-16 13:47:57,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-532/.semver, universal_newlines=False, shell=None, istream=) 13:47:57 2023-03-16 13:47:57,273 [execute] INFO git cat-file --batch 13:47:57 2023-03-16 13:47:57,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-532/.semver, universal_newlines=False, shell=None, istream=) 13:47:57 2023-03-16 13:47:57,278 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-532/.semver/PR-532 13:47:57 0.0.0 [Pipeline] } 13:47:57 $ docker exec --env ******** --env ******** 78787807ce9402b1e808b98ec29244f0995651aa71e7cdbd55b85e12859eaba4 ssh-agent -k 13:47:57 unset SSH_AUTH_SOCK; 13:47:57 unset SSH_AGENT_PID; 13:47:57 echo Agent pid 77 killed; 13:47:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:47:57 + git semver [Pipeline] } 13:47:58 $ docker stop --time=1 78787807ce9402b1e808b98ec29244f0995651aa71e7cdbd55b85e12859eaba4 13:47:59 $ docker rm -f --volumes 78787807ce9402b1e808b98ec29244f0995651aa71e7cdbd55b85e12859eaba4 [Pipeline] // withDockerContainer [Pipeline] sh 13:47:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:48:00 Stashed 1 file(s) [Pipeline] echo 13:48:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:48:00 provisioning config files... 13:48:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-532@tmp/config16284224704261009776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:48:00 ---> docker-login.sh 13:48:00 nexus3.edgexfoundry.org:10001 13:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:48:00 Configure a credential helper to remove this warning. See 13:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:48:00 13:48:00 Login Succeeded 13:48:00 nexus3.edgexfoundry.org:10002 13:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:48:00 Configure a credential helper to remove this warning. See 13:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:48:00 13:48:00 Login Succeeded 13:48:00 nexus3.edgexfoundry.org:10003 13:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:48:00 Configure a credential helper to remove this warning. See 13:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:48:00 13:48:00 Login Succeeded 13:48:00 nexus3.edgexfoundry.org:10004 13:48:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:48:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:48:00 Configure a credential helper to remove this warning. See 13:48:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:48:00 13:48:00 Login Succeeded 13:48:00 docker.io 13:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:48:01 Configure a credential helper to remove this warning. See 13:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:48:01 13:48:01 Login Succeeded 13:48:01 ---> docker-login.sh ends [Pipeline] } 13:48:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:48:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:48:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:48:01 ========================================================= 13:48:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:48:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:48:01 + 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 . 13:48:01 Sending build context to Docker daemon 3.238MB 13:48:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:48:01 Step 2/12 : FROM ${BASE} AS builder 13:48:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:48:01 63b65145d645: Pulling fs layer 13:48:01 a2d21d5440eb: Pulling fs layer 13:48:01 935e6c44a52c: Pulling fs layer 13:48:01 94cc34f8dd06: Pulling fs layer 13:48:01 30dea6a524f1: Pulling fs layer 13:48:01 a2aff8979fd8: Pulling fs layer 13:48:01 6808be2612f2: Pulling fs layer 13:48:01 f25807f1079a: Pulling fs layer 13:48:01 30dea6a524f1: Waiting 13:48:01 a2aff8979fd8: Waiting 13:48:01 6808be2612f2: Waiting 13:48:01 f25807f1079a: Waiting 13:48:01 94cc34f8dd06: Waiting 13:48:01 a2d21d5440eb: Verifying Checksum 13:48:01 a2d21d5440eb: Download complete 13:48:01 94cc34f8dd06: Verifying Checksum 13:48:01 94cc34f8dd06: Download complete 13:48:01 30dea6a524f1: Download complete 13:48:01 63b65145d645: Download complete 13:48:01 a2aff8979fd8: Verifying Checksum 13:48:01 a2aff8979fd8: Download complete 13:48:01 63b65145d645: Pull complete 13:48:01 a2d21d5440eb: Pull complete 13:48:02 f25807f1079a: Download complete 13:48:02 935e6c44a52c: Verifying Checksum 13:48:02 935e6c44a52c: Download complete 13:48:02 6808be2612f2: Verifying Checksum 13:48:02 6808be2612f2: Download complete 13:48:05 935e6c44a52c: Pull complete 13:48:05 94cc34f8dd06: Pull complete 13:48:05 30dea6a524f1: Pull complete 13:48:05 a2aff8979fd8: Pull complete 13:48:08 6808be2612f2: Pull complete 13:48:08 f25807f1079a: Pull complete 13:48:08 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 13:48:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:48:08 ---> 3b553350e43f 13:48:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:48:10 ---> Running in 17e6ba8b87c4 13:48:10 Removing intermediate container 17e6ba8b87c4 13:48:10 ---> 602b03035d83 13:48:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:48:10 ---> Running in b2ad3deb9135 13:48:10 Removing intermediate container b2ad3deb9135 13:48:10 ---> 449873514be8 13:48:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:48:10 ---> Running in 8196d9d285ab 13:48:10 Removing intermediate container 8196d9d285ab 13:48:10 ---> 4ab3bd842b56 13:48:10 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:48:10 ---> Running in 0acbbee707cd 13:48:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:48:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:48:11 OK: 265 MiB in 53 packages 13:48:12 Removing intermediate container 0acbbee707cd 13:48:12 ---> 424edce4aa45 13:48:12 Step 7/12 : WORKDIR /app 13:48:12 ---> Running in c0470a263e9b 13:48:12 Removing intermediate container c0470a263e9b 13:48:12 ---> 4cc81e170471 13:48:12 Step 8/12 : COPY go.mod vendor* ./ 13:48:12 ---> 71cb203e98d0 13:48:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:48:12 ---> Running in a9a81a888de4 13:48:15 Still waiting to schedule task 13:48:15 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 13:48:34 Removing intermediate container a9a81a888de4 13:48:34 ---> 7565a6195ff1 13:48:34 Step 10/12 : COPY . . 13:48:34 ---> 327673d55acd 13:48:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:48:34 ---> Running in fed3d8359df3 13:48:34 Removing intermediate container fed3d8359df3 13:48:34 ---> 8e2a82feb56b 13:48:34 Step 12/12 : RUN $MAKE 13:48:34 ---> Running in 3d6b5475df98 13:48:34 noop 13:48:34 Removing intermediate container 3d6b5475df98 13:48:34 ---> da4b18044e44 13:48:34 Successfully built da4b18044e44 13:48:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:48:34 + docker inspect -f . ci-base-image-x86_64 13:48:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:48:34 prd-ubuntu20.04-docker-8c-8g-2430 does not seem to be running inside a container 13:48:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-532 -v /w/workspace/_app-service-configurable_PR-532:/w/workspace/_app-service-configurable_PR-532:rw,z -v /w/workspace/_app-service-configurable_PR-532@tmp:/w/workspace/_app-service-configurable_PR-532@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 13:48:35 $ docker top 85468dc8997e4f27e3605b87a1869f542a286485389c0d914344a1247d1e05a9 -eo pid,comm [Pipeline] { [Pipeline] sh 13:48:35 + go version 13:48:35 go version go1.20.2 linux/amd64 [Pipeline] } 13:48:35 $ docker stop --time=1 85468dc8997e4f27e3605b87a1869f542a286485389c0d914344a1247d1e05a9 13:48:36 $ docker rm -f --volumes 85468dc8997e4f27e3605b87a1869f542a286485389c0d914344a1247d1e05a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:48:37 + docker inspect -f . ci-base-image-x86_64 13:48:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:48:37 prd-ubuntu20.04-docker-8c-8g-2430 does not seem to be running inside a container 13:48:37 $ 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-532 -v /w/workspace/_app-service-configurable_PR-532:/w/workspace/_app-service-configurable_PR-532:rw,z -v /w/workspace/_app-service-configurable_PR-532@tmp:/w/workspace/_app-service-configurable_PR-532@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 13:48:37 $ docker top aacde513cf769921b295bfbd6fec0fb719775066eb9c3ce2305c87eddcc5858b -eo pid,comm [Pipeline] { [Pipeline] sh 13:48:37 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-532 [Pipeline] fileExists [Pipeline] sh 13:48:38 + make test 13:48:38 go test -race -coverprofile=coverage.out ./... 13:49:00 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:49:18 go vet ./... 13:49:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:49:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:49:20 ./bin/test-attribution-txt.sh [Pipeline] echo 13:49:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:49:20 $ docker stop --time=1 aacde513cf769921b295bfbd6fec0fb719775066eb9c3ce2305c87eddcc5858b 13:49:23 $ docker rm -f --volumes aacde513cf769921b295bfbd6fec0fb719775066eb9c3ce2305c87eddcc5858b [Pipeline] // withDockerContainer [Pipeline] sh 13:49:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:49:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:49:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:49:24 + ls -al . 13:49:24 total 176 13:49:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:48 . 13:49:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:47 .. 13:49:24 -rw-rw-r-- 1 jenkins jenkins 119 Mar 16 13:47 .dockerignore 13:49:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:47 .git 13:49:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:47 .github 13:49:24 -rw-rw-r-- 1 jenkins jenkins 171 Mar 16 13:47 .gitignore 13:49:24 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 13:47 .golangci.yml 13:49:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 13:47 .semver 13:49:24 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 16 13:47 Attribution.txt 13:49:24 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 16 13:47 CHANGELOG.md 13:49:24 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 16 13:47 Dockerfile 13:49:24 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 13:47 GOVERNANCE.md 13:49:24 -rw-rw-r-- 1 jenkins jenkins 688 Mar 16 13:47 Jenkinsfile 13:49:24 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 16 13:47 LICENSE 13:49:24 -rw-rw-r-- 1 jenkins jenkins 618 Mar 16 13:47 OWNERS.md 13:49:24 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 16 13:47 README.md 13:49:24 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 13:47 VERSION 13:49:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:47 bin 13:49:24 -rw-r--r-- 1 jenkins jenkins 13 Mar 16 13:48 coverage.out 13:49:24 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 16 13:47 go.mod 13:49:24 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 16 13:47 go.sum 13:49:24 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 16 13:47 main.go 13:49:24 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 16 13:47 makefile 13:49:24 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 13:47 res 13:49:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:47 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:49:24 + 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=7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b --label arch=amd64 --label version=0.0.0 . 13:49:24 Sending build context to Docker daemon 3.239MB 13:49:24 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:49:24 Step 2/26 : FROM ${BASE} AS builder 13:49:24 ---> da4b18044e44 13:49:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:49:24 ---> Running in 6315ff7ed0d8 13:49:24 Removing intermediate container 6315ff7ed0d8 13:49:24 ---> ab69f5ab593c 13:49:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:49:24 ---> Running in 1f42406c6266 13:49:24 Removing intermediate container 1f42406c6266 13:49:24 ---> 7875fe1d0d0e 13:49:24 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:49:24 ---> Running in 90eff583cb64 13:49:24 Removing intermediate container 90eff583cb64 13:49:24 ---> afd269abd947 13:49:24 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:49:24 ---> Running in a01660854c7d 13:49:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:49:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:49:25 OK: 265 MiB in 53 packages 13:49:25 Removing intermediate container a01660854c7d 13:49:25 ---> 800157b5bf6a 13:49:25 Step 7/26 : WORKDIR /app 13:49:25 ---> Running in 84227053d524 13:49:25 Removing intermediate container 84227053d524 13:49:25 ---> 99631fc0be3b 13:49:25 Step 8/26 : COPY go.mod vendor* ./ 13:49:25 ---> 807676cecbcd 13:49:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:49:25 ---> Running in 231abb93a22d 13:49:26 Removing intermediate container 231abb93a22d 13:49:26 ---> fc4fc1e3b6e9 13:49:26 Step 10/26 : COPY . . 13:49:27 ---> d934a6c19991 13:49:27 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:49:27 ---> Running in a6dcd19e1a71 13:49:27 Removing intermediate container a6dcd19e1a71 13:49:27 ---> efb814eae965 13:49:27 Step 12/26 : RUN $MAKE 13:49:27 ---> Running in b25b3473ac7b 13:49:27 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 13:49:45 Removing intermediate container b25b3473ac7b 13:49:45 ---> 1f97c629b38c 13:49:45 Step 13/26 : FROM alpine:3.17 13:49:45 3.17: Pulling from library/alpine 13:49:45 63b65145d645: Already exists 13:49:45 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:49:45 Status: Downloaded newer image for alpine:3.17 13:49:45 ---> b2aa39c304c2 13:49:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:49:45 ---> Running in 093368d0db4d 13:49:45 Removing intermediate container 093368d0db4d 13:49:45 ---> 83fb37995c12 13:49:45 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:49:45 ---> Running in e0ccdcdb57e5 13:49:45 Removing intermediate container e0ccdcdb57e5 13:49:45 ---> c593927ab48a 13:49:45 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:49:45 ---> Running in f166a4d2517e 13:49:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:49:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:49:45 (1/2) Installing ca-certificates (20220614-r4) 13:49:45 (2/2) Installing dumb-init (1.2.5-r2) 13:49:45 Executing busybox-1.35.0-r29.trigger 13:49:45 Executing ca-certificates-20220614-r4.trigger 13:49:45 OK: 8 MiB in 17 packages 13:49:46 Removing intermediate container f166a4d2517e 13:49:46 ---> 7c976a031fa8 13:49:46 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:49:46 ---> f5d20257560d 13:49:46 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:49:46 ---> 59f0a397e03a 13:49:46 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:49:46 ---> 9ac4bbcb5d6e 13:49:46 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:49:47 ---> 82ad4a44ad2c 13:49:47 Step 21/26 : EXPOSE 48095 13:49:47 ---> Running in 1ad1fccaba05 13:49:47 Removing intermediate container 1ad1fccaba05 13:49:47 ---> a9ee18fe776d 13:49:47 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:49:47 ---> Running in 79841b79f951 13:49:47 Removing intermediate container 79841b79f951 13:49:47 ---> 3057ba967b74 13:49:47 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:49:47 ---> Running in f232e754799d 13:49:47 Removing intermediate container f232e754799d 13:49:47 ---> 6f2130e5da2a 13:49:47 Step 24/26 : LABEL arch=amd64 13:49:47 ---> Running in c091799f16f5 13:49:47 Removing intermediate container c091799f16f5 13:49:47 ---> 52cbb6ad0997 13:49:47 Step 25/26 : LABEL git_sha=7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b 13:49:47 ---> Running in 8eb56740e2b0 13:49:47 Removing intermediate container 8eb56740e2b0 13:49:47 ---> 30f40a90371c 13:49:47 Step 26/26 : LABEL version=0.0.0 13:49:47 ---> Running in b947a0ea5501 13:49:47 Removing intermediate container b947a0ea5501 13:49:47 ---> 6dbfc676d00d 13:49:47 [Warning] One or more build-args [ARCH] were not consumed 13:49:47 Successfully built 6dbfc676d00d 13:49:47 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 13:49:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:49:48 13:49:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:49:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:49:48 latest: Pulling from edgex-lftools-log-publisher 13:49:48 5eb5b503b376: Pulling fs layer 13:49:48 5c69ac0246d0: Pulling fs layer 13:49:48 ec43610c2a17: Pulling fs layer 13:49:48 3a2ae6a8a46f: Pulling fs layer 13:49:48 33b1e0a273af: Pulling fs layer 13:49:48 5d3b04190fa2: Pulling fs layer 13:49:48 2f39f015ded8: Pulling fs layer 13:49:48 33b1e0a273af: Waiting 13:49:48 5d3b04190fa2: Waiting 13:49:48 2f39f015ded8: Waiting 13:49:48 3a2ae6a8a46f: Waiting 13:49:48 5c69ac0246d0: Download complete 13:49:48 3a2ae6a8a46f: Download complete 13:49:48 33b1e0a273af: Verifying Checksum 13:49:48 33b1e0a273af: Download complete 13:49:48 5d3b04190fa2: Verifying Checksum 13:49:48 5d3b04190fa2: Download complete 13:49:48 ec43610c2a17: Verifying Checksum 13:49:48 ec43610c2a17: Download complete 13:49:48 5eb5b503b376: Verifying Checksum 13:49:48 5eb5b503b376: Download complete 13:49:49 2f39f015ded8: Download complete 13:49:50 5eb5b503b376: Pull complete 13:49:50 5c69ac0246d0: Pull complete 13:49:50 ec43610c2a17: Pull complete 13:49:50 3a2ae6a8a46f: Pull complete 13:49:50 33b1e0a273af: Pull complete 13:49:50 5d3b04190fa2: Pull complete 13:49:55 2f39f015ded8: Pull complete 13:49:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:49:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:49:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:49:55 prd-ubuntu20.04-docker-8c-8g-2430 does not seem to be running inside a container 13:49:55 $ 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-532 -v /w/workspace/_app-service-configurable_PR-532:/w/workspace/_app-service-configurable_PR-532:rw,z -v /w/workspace/_app-service-configurable_PR-532@tmp:/w/workspace/_app-service-configurable_PR-532@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 13:49:57 $ docker top 5e91f285f06c20df8e4d0304b9ad7ad829122c5168ff9e871f44cc8270a25cea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:49:58 ---> job-cost.sh 13:49:58 lf-activate-venv: SKIPPING 13:49:58 INFO: No Stack... 13:49:58 INFO: Retrieving Pricing Info for: v3-standard-8 13:49:58 INFO: Archiving Costs [Pipeline] sh 13:49:59 + cat /w/workspace/_app-service-configurable_PR-532/archives/cost.csv 13:49:59 + cut -d, -f6 [Pipeline] lock 13:49:59 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-532-2-stack-cost] 13:49:59 Resource [jenkins-edgexfoundry-app-service-configurable-PR-532-2-stack-cost] did not exist. Created. 13:49:59 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-532-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:49:59 + echo total: 0.2199999988079071 [Pipeline] stash 13:49:59 Stashed 1 file(s) [Pipeline] } 13:49:59 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-532-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:49:59 $ docker stop --time=1 5e91f285f06c20df8e4d0304b9ad7ad829122c5168ff9e871f44cc8270a25cea 13:50:00 $ docker rm -f --volumes 5e91f285f06c20df8e4d0304b9ad7ad829122c5168ff9e871f44cc8270a25cea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:52:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2431 in /w/workspace/_app-service-configurable_PR-532 [Pipeline] { [Pipeline] ws 13:52:10 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 13:52:10 Selected Git installation does not exist. Using Default 13:52:10 The recommended git tool is: NONE 13:52:16 using credential edgex-jenkins-ssh 13:52:16 Cloning the remote Git repository 13:52:16 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:52:16 > git init /w/workspace/app-service-configurable/2 # timeout=10 13:52:16 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:52:16 > git --version # timeout=10 13:52:16 > git --version # 'git version 2.25.1' 13:52:16 using GIT_SSH to set credentials SSH Credentials for GitHub 13:52:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:52:17 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:52:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:52:19 Merging remotes/origin/main commit ba455a914ebd0f0f38ab28289e95f192324cb412 into PR head commit 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b 13:52:19 Merge succeeded, producing 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b 13:52:19 Checking out Revision 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b (PR-532) 13:52:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:52:18 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:52:18 using GIT_SSH to set credentials SSH Credentials for GitHub 13:52:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/532/head:refs/remotes/origin/PR-532 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:52:19 > git config core.sparsecheckout # timeout=10 13:52:19 > git checkout -f 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b # timeout=10 13:52:19 > git remote # timeout=10 13:52:19 > git config --get remote.origin.url # timeout=10 13:52:19 using GIT_SSH to set credentials SSH Credentials for GitHub 13:52:19 > git merge ba455a914ebd0f0f38ab28289e95f192324cb412 # timeout=10 13:52:19 > git rev-parse HEAD^{commit} # timeout=10 13:52:19 > git config core.sparsecheckout # timeout=10 13:52:19 > git checkout -f 7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b # timeout=10 13:52:23 Commit message: "refactor(snap): Place `$PROFILE_OPT` in original position " [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:52:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:52:23 % Total % Received % Xferd Average Speed Time Time Time Current 13:52:23 Dload Upload Total Spent Left Speed 13:52:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh 13:52:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:52:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:52:25 + sudo tee /etc/docker/daemon.new 13:52:25 { 13:52:25 "registry-mirrors": [ 13:52:25 "https://nexus3.edgexfoundry.org:10001" 13:52:25 ], 13:52:25 "bip": "10.250.0.254/24", 13:52:25 "hosts": [ 13:52:25 "tcp://0.0.0.0:5555", 13:52:25 "unix:///var/run/docker.sock" 13:52:25 ], 13:52:25 "mtu": 1458, 13:52:25 "selinux-enabled": true, 13:52:25 "seccomp-profile": "/etc/docker/seccomp.json" 13:52:25 } [Pipeline] sh 13:52:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:52:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:52:44 provisioning config files... 13:52:44 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config12935505576553478674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:52:44 ---> docker-login.sh 13:52:44 nexus3.edgexfoundry.org:10001 13:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:45 Configure a credential helper to remove this warning. See 13:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:45 13:52:45 Login Succeeded 13:52:45 nexus3.edgexfoundry.org:10002 13:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:45 Configure a credential helper to remove this warning. See 13:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:45 13:52:45 Login Succeeded 13:52:45 nexus3.edgexfoundry.org:10003 13:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:46 Configure a credential helper to remove this warning. See 13:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:46 13:52:46 Login Succeeded 13:52:46 nexus3.edgexfoundry.org:10004 13:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:46 Configure a credential helper to remove this warning. See 13:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:46 13:52:46 Login Succeeded 13:52:46 docker.io 13:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:52:47 Configure a credential helper to remove this warning. See 13:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:52:47 13:52:47 Login Succeeded 13:52:47 ---> docker-login.sh ends [Pipeline] } 13:52:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:52:47 ========================================================= 13:52:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:52:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:52:47 + 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 . 13:52:47 Sending build context to Docker daemon 173.1kB 13:52:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:52:47 Step 2/12 : FROM ${BASE} AS builder 13:52:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:52:51 af6eaf76a39c: Pulling fs layer 13:52:51 55522c791124: Pulling fs layer 13:52:51 ce5c4a1c91eb: Pulling fs layer 13:52:51 169dfbe0d373: Pulling fs layer 13:52:51 e1ff8fa3b103: Pulling fs layer 13:52:51 52ebb69f0ebf: Pulling fs layer 13:52:51 5abe8eddf0d5: Pulling fs layer 13:52:51 52ebb69f0ebf: Waiting 13:52:51 169dfbe0d373: Waiting 13:52:51 5abe8eddf0d5: Waiting 13:52:51 55522c791124: Download complete 13:52:51 169dfbe0d373: Verifying Checksum 13:52:51 169dfbe0d373: Download complete 13:52:51 e1ff8fa3b103: Verifying Checksum 13:52:51 e1ff8fa3b103: Download complete 13:52:51 af6eaf76a39c: Verifying Checksum 13:52:51 af6eaf76a39c: Download complete 13:52:51 af6eaf76a39c: Pull complete 13:52:51 5abe8eddf0d5: Verifying Checksum 13:52:51 5abe8eddf0d5: Download complete 13:52:52 55522c791124: Pull complete 13:52:53 ce5c4a1c91eb: Verifying Checksum 13:52:53 ce5c4a1c91eb: Download complete 13:52:53 52ebb69f0ebf: Verifying Checksum 13:52:53 52ebb69f0ebf: Download complete 13:53:05 ce5c4a1c91eb: Pull complete 13:53:05 169dfbe0d373: Pull complete 13:53:05 e1ff8fa3b103: Pull complete 13:53:12 52ebb69f0ebf: Pull complete 13:53:14 5abe8eddf0d5: Pull complete 13:53:14 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:53:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:53:14 ---> 6cb57ee374ae 13:53:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:53:15 ---> Running in 96bd4087393b 13:53:15 Removing intermediate container 96bd4087393b 13:53:15 ---> 2124c3f580a8 13:53:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:53:15 ---> Running in 1ed42ad64db7 13:53:15 Removing intermediate container 1ed42ad64db7 13:53:15 ---> cd49c3536c7b 13:53:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:53:15 ---> Running in d3a96ed23ea9 13:53:16 Removing intermediate container d3a96ed23ea9 13:53:16 ---> 3887f8794a1b 13:53:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:53:16 ---> Running in 13688da1d02a 13:53:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:53:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:53:18 OK: 263 MiB in 53 packages 13:53:19 Removing intermediate container 13688da1d02a 13:53:19 ---> 2a18e5ea32bc 13:53:19 Step 7/12 : WORKDIR /app 13:53:19 ---> Running in 98a69fc95551 13:53:20 Removing intermediate container 98a69fc95551 13:53:20 ---> a1f27825bdac 13:53:20 Step 8/12 : COPY go.mod vendor* ./ 13:53:20 ---> e04f6480165f 13:53:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:53:20 ---> Running in 777317b6b718 13:54:28 Removing intermediate container 777317b6b718 13:54:28 ---> 90520c27aa33 13:54:28 Step 10/12 : COPY . . 13:54:28 ---> 0f4f9d1e2dec 13:54:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:54:28 ---> Running in 831d1fa24fbf 13:54:28 Removing intermediate container 831d1fa24fbf 13:54:28 ---> fa23b2b9012c 13:54:28 Step 12/12 : RUN $MAKE 13:54:28 ---> Running in b52eca7d4b1b 13:54:28 noop 13:54:28 Removing intermediate container b52eca7d4b1b 13:54:28 ---> 0c0938a01f83 13:54:28 Successfully built 0c0938a01f83 13:54:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:28 + docker inspect -f . ci-base-image-arm64 13:54:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:54:29 prd-ubuntu20.04-docker-arm64-4c-16g-2431 does not seem to be running inside a container 13:54:29 $ 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 13:54:30 $ docker top 38d252a31e194be92ef0ba562b3704d67a46164428cf6604a9a8fc41a3afe560 -eo pid,comm [Pipeline] { [Pipeline] sh 13:54:31 + go version 13:54:31 go version go1.20.2 linux/arm64 [Pipeline] } 13:54:31 $ docker stop --time=1 38d252a31e194be92ef0ba562b3704d67a46164428cf6604a9a8fc41a3afe560 13:54:33 $ docker rm -f --volumes 38d252a31e194be92ef0ba562b3704d67a46164428cf6604a9a8fc41a3afe560 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:34 + docker inspect -f . ci-base-image-arm64 13:54:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:54:34 prd-ubuntu20.04-docker-arm64-4c-16g-2431 does not seem to be running inside a container 13:54:34 $ 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 13:54:35 $ docker top 016a8b6d717df79884e1af9af328fcab19fab7806b4bcea59fb809c2cfdb2ea0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:54:36 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 13:54:36 + make test 13:54:36 go test -race -coverprofile=coverage.out ./... 13:57:13 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:57:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:57:13 go vet ./... 13:59:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:59:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:59:35 ./bin/test-attribution-txt.sh [Pipeline] echo 13:59:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:59:35 $ docker stop --time=1 016a8b6d717df79884e1af9af328fcab19fab7806b4bcea59fb809c2cfdb2ea0 13:59:37 $ docker rm -f --volumes 016a8b6d717df79884e1af9af328fcab19fab7806b4bcea59fb809c2cfdb2ea0 [Pipeline] // withDockerContainer [Pipeline] sh 13:59:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:59:38 Warning: overwriting stash ‘coverage-report’ 13:59:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:59:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:59:39 + ls -al . 13:59:39 total 172 13:59:39 drwxrwxr-x 7 jenkins jenkins 4096 Mar 16 13:54 . 13:59:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:52 .. 13:59:39 -rw-rw-r-- 1 jenkins jenkins 119 Mar 16 13:52 .dockerignore 13:59:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:52 .git 13:59:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:52 .github 13:59:39 -rw-rw-r-- 1 jenkins jenkins 171 Mar 16 13:52 .gitignore 13:59:39 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 13:52 .golangci.yml 13:59:39 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 16 13:52 Attribution.txt 13:59:39 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 16 13:52 CHANGELOG.md 13:59:39 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 16 13:52 Dockerfile 13:59:39 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 13:52 GOVERNANCE.md 13:59:39 -rw-rw-r-- 1 jenkins jenkins 688 Mar 16 13:52 Jenkinsfile 13:59:39 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 16 13:52 LICENSE 13:59:39 -rw-rw-r-- 1 jenkins jenkins 618 Mar 16 13:52 OWNERS.md 13:59:39 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 16 13:52 README.md 13:59:39 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 13:47 VERSION 13:59:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:52 bin 13:59:39 -rw-r--r-- 1 jenkins jenkins 13 Mar 16 13:54 coverage.out 13:59:39 -rw-rw-r-- 1 jenkins jenkins 3309 Mar 16 13:52 go.mod 13:59:39 -rw-rw-r-- 1 jenkins jenkins 30618 Mar 16 13:52 go.sum 13:59:39 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 16 13:52 main.go 13:59:39 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 16 13:52 makefile 13:59:39 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 13:52 res 13:59:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:52 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:59:40 + 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=7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b --label arch=arm64 --label version=0.0.0 . 13:59:40 Sending build context to Docker daemon 174.1kB 13:59:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:59:40 Step 2/26 : FROM ${BASE} AS builder 13:59:40 ---> 0c0938a01f83 13:59:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:59:40 ---> Running in 897a0ab06c45 13:59:40 Removing intermediate container 897a0ab06c45 13:59:40 ---> 34cdca02db1a 13:59:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:59:40 ---> Running in 7b77e88fde5b 13:59:41 Removing intermediate container 7b77e88fde5b 13:59:41 ---> ce7ca3147cef 13:59:41 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:59:41 ---> Running in 68f781c33493 13:59:41 Removing intermediate container 68f781c33493 13:59:41 ---> c0b48cb5d144 13:59:41 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:59:41 ---> Running in 2e3cb8409171 13:59:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:59:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:59:44 OK: 263 MiB in 53 packages 13:59:45 Removing intermediate container 2e3cb8409171 13:59:45 ---> 3cd5399352b4 13:59:45 Step 7/26 : WORKDIR /app 13:59:45 ---> Running in 1d4b20552a0c 13:59:45 Removing intermediate container 1d4b20552a0c 13:59:45 ---> 92c94fdc375c 13:59:45 Step 8/26 : COPY go.mod vendor* ./ 13:59:46 ---> ec9e0b1c6591 13:59:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:59:46 ---> Running in 8bac3bc15f41 13:59:48 Removing intermediate container 8bac3bc15f41 13:59:48 ---> ab71c576629e 13:59:48 Step 10/26 : COPY . . 13:59:49 ---> c0d82d9b95ae 13:59:49 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:59:49 ---> Running in e5ee5d4fe428 13:59:49 Removing intermediate container e5ee5d4fe428 13:59:49 ---> 16bded0620ef 13:59:49 Step 12/26 : RUN $MAKE 13:59:50 ---> Running in 54c068eb6071 13:59:51 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 14:02:12 Removing intermediate container 54c068eb6071 14:02:12 ---> 7777f7cb1ebc 14:02:12 Step 13/26 : FROM alpine:3.17 14:02:12 3.17: Pulling from library/alpine 14:02:12 af6eaf76a39c: Already exists 14:02:12 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 14:02:12 Status: Downloaded newer image for alpine:3.17 14:02:12 ---> d74e625d9115 14:02:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 14:02:12 ---> Running in 24b613565b17 14:02:12 Removing intermediate container 24b613565b17 14:02:12 ---> 2aa668a00515 14:02:12 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 14:02:12 ---> Running in 795ac60debbb 14:02:12 Removing intermediate container 795ac60debbb 14:02:12 ---> dac9c673c878 14:02:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 14:02:12 ---> Running in 1ffafa3b2f34 14:02:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:02:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:02:12 (1/2) Installing ca-certificates (20220614-r4) 14:02:12 (2/2) Installing dumb-init (1.2.5-r2) 14:02:12 Executing busybox-1.35.0-r29.trigger 14:02:12 Executing ca-certificates-20220614-r4.trigger 14:02:12 OK: 8 MiB in 17 packages 14:02:12 Removing intermediate container 1ffafa3b2f34 14:02:12 ---> edd6a48542b3 14:02:12 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 14:02:12 ---> 7499ed815426 14:02:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 14:02:12 ---> c7856004bbf1 14:02:12 Step 19/26 : COPY --from=builder /app/res/ /res/ 14:02:12 ---> 310aad2327cd 14:02:12 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 14:02:12 ---> 2b55d4032685 14:02:12 Step 21/26 : EXPOSE 48095 14:02:12 ---> Running in 337212a2e420 14:02:12 Removing intermediate container 337212a2e420 14:02:12 ---> 068997093339 14:02:12 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 14:02:12 ---> Running in 2c618b9bc7e7 14:02:12 Removing intermediate container 2c618b9bc7e7 14:02:12 ---> fe62a70e2e58 14:02:12 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 14:02:12 ---> Running in e809cf450f61 14:02:12 Removing intermediate container e809cf450f61 14:02:12 ---> 1f03558422ae 14:02:12 Step 24/26 : LABEL arch=arm64 14:02:12 ---> Running in 5f2615d2ae01 14:02:12 Removing intermediate container 5f2615d2ae01 14:02:12 ---> a7643093f2a8 14:02:12 Step 25/26 : LABEL git_sha=7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b 14:02:12 ---> Running in 493e418ebb66 14:02:12 Removing intermediate container 493e418ebb66 14:02:12 ---> 286d03e8b965 14:02:12 Step 26/26 : LABEL version=0.0.0 14:02:12 ---> Running in 4e08c5d7ac3d 14:02:13 Removing intermediate container 4e08c5d7ac3d 14:02:13 ---> 1bcf694f732e 14:02:13 [Warning] One or more build-args [ARCH] were not consumed 14:02:13 Successfully built 1bcf694f732e 14:02:13 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 14:02:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:02:13 14:02:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:02:13 arm64: Pulling from edgex-lftools-log-publisher 14:02:13 8998bd30e6a1: Pulling fs layer 14:02:13 04944245beec: Pulling fs layer 14:02:13 699f458cf7ca: Pulling fs layer 14:02:13 765212b225bb: Pulling fs layer 14:02:13 f23df028b6ca: Pulling fs layer 14:02:13 d65c8cfc05b1: Pulling fs layer 14:02:13 2437ff75d9bd: Pulling fs layer 14:02:13 f23df028b6ca: Waiting 14:02:13 765212b225bb: Waiting 14:02:13 d65c8cfc05b1: Waiting 14:02:13 2437ff75d9bd: Waiting 14:02:14 04944245beec: Verifying Checksum 14:02:14 04944245beec: Download complete 14:02:14 765212b225bb: Verifying Checksum 14:02:14 765212b225bb: Download complete 14:02:14 f23df028b6ca: Verifying Checksum 14:02:14 f23df028b6ca: Download complete 14:02:14 d65c8cfc05b1: Verifying Checksum 14:02:14 d65c8cfc05b1: Download complete 14:02:14 699f458cf7ca: Verifying Checksum 14:02:14 699f458cf7ca: Download complete 14:02:14 8998bd30e6a1: Verifying Checksum 14:02:14 8998bd30e6a1: Download complete 14:02:16 2437ff75d9bd: Verifying Checksum 14:02:16 2437ff75d9bd: Download complete 14:02:18 8998bd30e6a1: Pull complete 14:02:18 04944245beec: Pull complete 14:02:20 699f458cf7ca: Pull complete 14:02:20 765212b225bb: Pull complete 14:02:21 f23df028b6ca: Pull complete 14:02:21 d65c8cfc05b1: Pull complete 14:02:36 2437ff75d9bd: Pull complete 14:02:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:02:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:02:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:36 prd-ubuntu20.04-docker-arm64-4c-16g-2431 does not seem to be running inside a container 14:02:36 $ 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 14:02:39 $ docker top 0bc338e0fcb9ca40b3d2e228bc251f34db6766e0d9f1268098f407f710d80524 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:02:40 ---> job-cost.sh 14:02:40 lf-activate-venv: SKIPPING 14:02:40 INFO: No Stack... 14:02:40 INFO: Retrieving Pricing Info for: v3-standard-4 14:02:41 INFO: Archiving Costs [Pipeline] sh 14:02:42 + cut -d, -f6 14:02:42 + cat /w/workspace/app-service-configurable/2/archives/cost.csv [Pipeline] lock 14:02:42 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-532-2-stack-cost] 14:02:42 Resource [jenkins-edgexfoundry-app-service-configurable-PR-532-2-stack-cost] did not exist. Created. 14:02:42 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-532-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:02:42 /w/workspace/app-service-configurable/2@tmp/durable-de9dab74/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:02:43 + echo total: 0.10999999940395355 [Pipeline] stash 14:02:43 Warning: overwriting stash ‘stack-cost’ 14:02:43 Stashed 1 file(s) [Pipeline] } 14:02:43 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-532-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:02:43 $ docker stop --time=1 0bc338e0fcb9ca40b3d2e228bc251f34db6766e0d9f1268098f407f710d80524 14:02:45 $ docker rm -f --volumes 0bc338e0fcb9ca40b3d2e228bc251f34db6766e0d9f1268098f407f710d80524 [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 14:02:45 provisioning config files... 14:02:45 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-532@tmp/config10586478931584092798tmp [Pipeline] { [Pipeline] sh 14:02:45 + set +x 14:02:45 + curl -s https://codecov.io/bash 14:02:45 + bash -s -- 14:02:45 14:02:45 _____ _ 14:02:45 / ____| | | 14:02:45 | | ___ __| | ___ ___ _____ __ 14:02:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:02:45 | |___| (_) | (_| | __/ (_| (_) \ V / 14:02:45 \_____\___/ \__,_|\___|\___\___/ \_/ 14:02:45 Bash-1.0.6 14:02:45 14:02:45 14:02:45 ==> git version 2.25.1 found 14:02:45 ==> 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 14:02:45 Release-Date: 2020-01-08 14:02:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:02:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:02:45 ==> Jenkins CI detected. 14:02:45 current dir:  /w/workspace/_app-service-configurable_PR-532 14:02:45 project root: . 14:02:45 --> token set from env 14:02:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:02:45 ==> Running gcov in . (disable via -X gcov) 14:02:45 ==> Python coveragepy not found 14:02:45 ==> Searching for coverage reports in: 14:02:45 + . 14:02:45 -> Found 1 reports 14:02:45 ==> Detecting git/mercurial file structure 14:02:45 ==> Reading reports 14:02:45 + ./coverage.out bytes=13 14:02:45 ==> Appending adjustments 14:02:45 https://docs.codecov.io/docs/fixing-reports 14:02:45 + Found adjustments 14:02:45 ==> Gzipping contents 14:02:45 4.0K /tmp/codecov.9xUlF3.gz 14:02:45 ==> Uploading reports 14:02:45 url: https://codecov.io 14:02:45 query: branch=PR-532&commit=7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-532%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=532&job=&cmd_args= 14:02:45 -> Pinging Codecov 14:02:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-532&commit=7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-532%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=532&job=&cmd_args= 14:02:46 -> Uploading to 14:02:46 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/A97CA9966030D2A3747ED39772930CCE/7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b/f09ddadd-8b6c-435e-942b-d0bd512f96c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T140245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=903d747ab0bf6321f8708b8c964846e3b29a295d68ba42346fcd4b8f76e46128 14:02:46 % Total % Received % Xferd Average Speed Time Time Time Current 14:02:46 Dload Upload Total Spent Left Speed 14:02:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 509 0 0 100 509 0 2003 --:--:-- --:--:-- --:--:-- 2003 14:02:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/7b51d2fbf971a5aeed3a24d3cb652538f2fd6d6b [Pipeline] } 14:02:46 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 14:02:47 + [ -d /w/workspace/_app-service-configurable_PR-532/archives ] 14:02:47 + ls -al /w/workspace/_app-service-configurable_PR-532/archives 14:02:47 total 16 14:02:47 drwxr-xr-x 3 root root 4096 Mar 16 13:49 . 14:02:47 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 13:49 .. 14:02:47 drwxr-xr-x 2 root root 4096 Mar 16 13:49 cost 14:02:47 -rw-r--r-- 1 root root 96 Mar 16 13:49 cost.csv 14:02:47 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-532/archives 14:02:47 + ls -al /w/workspace/_app-service-configurable_PR-532/archives 14:02:47 total 16 14:02:47 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 13:49 . 14:02:47 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 13:49 .. 14:02:47 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 13:49 cost 14:02:47 -rw-r--r-- 1 jenkins jenkins 96 Mar 16 13:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:02:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:02:48 ---> package-listing.sh 14:02:48 ++ facter osfamily 14:02:48 ++ tr '[:upper:]' '[:lower:]' 14:02:48 + OS_FAMILY=debian 14:02:48 + workspace=/w/workspace/_app-service-configurable_PR-532 14:02:48 + START_PACKAGES=/tmp/packages_start.txt 14:02:48 + END_PACKAGES=/tmp/packages_end.txt 14:02:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:02:48 + PACKAGES=/tmp/packages_start.txt 14:02:48 + '[' /w/workspace/_app-service-configurable_PR-532 ']' 14:02:48 + PACKAGES=/tmp/packages_end.txt 14:02:48 + case "${OS_FAMILY}" in 14:02:48 + dpkg -l 14:02:48 + grep '^ii' 14:02:48 + '[' -f /tmp/packages_start.txt ']' 14:02:48 + '[' -f /tmp/packages_end.txt ']' 14:02:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:02:48 + '[' /w/workspace/_app-service-configurable_PR-532 ']' 14:02:48 + mkdir -p /w/workspace/_app-service-configurable_PR-532/archives/ 14:02:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-532/archives/ [Pipeline] echo 14:02:48 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-532/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:02:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:02:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:02:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:02:49 prd-ubuntu20.04-docker-8c-8g-2430 does not seem to be running inside a container 14:02:49 $ 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-532/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-532 -v /w/workspace/_app-service-configurable_PR-532:/w/workspace/_app-service-configurable_PR-532:rw,z -v /w/workspace/_app-service-configurable_PR-532@tmp:/w/workspace/_app-service-configurable_PR-532@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 14:02:49 $ docker top 3061b2fdbb2ea61815e675feeafee37a599dc1b120814d036f3cad4424f838f5 -eo pid,comm [Pipeline] { [Pipeline] sh 14:02:50 + touch /tmp/pre-build-complete [Pipeline] sh 14:02:50 + mkdir -p /var/log/sysstat [Pipeline] sh 14:02:50 + ls /var/log/sa-host 14:02:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:02:50 provisioning config files... 14:02:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-532@tmp/config11186521723437017783tmp [Pipeline] { [Pipeline] echo 14:02:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:02:51 ---> create-netrc.sh [Pipeline] } 14:02:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:02:51 ---> python-tools-install.sh [Pipeline] echo 14:02:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:02:51 ---> sudo-logs.sh 14:02:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:02:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:02:52 ---> job-cost.sh 14:02:52 lf-activate-venv: SKIPPING 14:02:52 DEBUG: total: 0.2199999988079071 14:02:52 INFO: Retrieving Stack Cost... 14:02:52 INFO: Retrieving Pricing Info for: v3-standard-8 14:02:52 INFO: Archiving Costs [Pipeline] echo 14:02:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:02:53 ---> logs-deploy.sh 14:02:53 lf-activate-venv: SKIPPING 14:02:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-532/2 14:02:53 INFO: archiving workspace using pattern(s): 14:02:54 Archives upload complete. 14:02:54 INFO: archiving logs to Nexus