Pull request #494 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 lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from 28452247065c5f6f70d0a6a728c127657551899b+4955b72e7e2333f21a3dea3e923d2a5036ff361a (bc3b16b6b00655fa092a54e34940955b17ee0510) 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-ssh3239617951793022192.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16979674040906582342.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-494/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-494/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17968918931846042684.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh10030279074872117200.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-494/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-494/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2532576815745869005.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1106’ Running on prd-ubuntu20.04-docker-8c-8g-1108 in /w/workspace/_app-service-configurable_PR-494 [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-494 # 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/494/head:refs/remotes/origin/PR-494 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4955b72e7e2333f21a3dea3e923d2a5036ff361a into PR head commit 28452247065c5f6f70d0a6a728c127657551899b Merge succeeded, producing 28452247065c5f6f70d0a6a728c127657551899b Checking out Revision 28452247065c5f6f70d0a6a728c127657551899b (PR-494) > git config core.sparsecheckout # timeout=10 > git checkout -f 28452247065c5f6f70d0a6a728c127657551899b # 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 4955b72e7e2333f21a3dea3e923d2a5036ff361a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 28452247065c5f6f70d0a6a728c127657551899b # timeout=10 Commit message: "build: Disable CGO for all docker builds so always work" First time build. Skipping changelog. > git rev-list --no-walk 9a1344e94c0b71b78ab19b4307347d2938ad1366 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:15:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:15:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:15:38 ========================================================= 16:15:38 EdgeX Global Pipelines Version Info 16:15:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:15:38 ------------------- 16:15:38 stable info: 16:15:38 ------------------- 16:15:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:15:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:15:38 Message: update stable to v1.0.244 16:15:39 ------------------- 16:15:39 experimental info: 16:15:39 ------------------- 16:15:39 Commited By: **** collab-it+edgex@linuxfoundation.org 16:15:39 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:15:39 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-494 [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-494 [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-494 [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 28452247065c5f6f70d0a6a728c127657551899b [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2845224 [Pipeline] echo 16:15:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:15:40 provisioning config files... 16:15:40 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-494@tmp/config17352581862709542188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:40 ---> docker-login.sh 16:15:40 nexus3.edgexfoundry.org:10001 16:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:40 Configure a credential helper to remove this warning. See 16:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:40 16:15:40 Login Succeeded 16:15:40 nexus3.edgexfoundry.org:10002 16:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:40 Configure a credential helper to remove this warning. See 16:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:40 16:15:40 Login Succeeded 16:15:40 nexus3.edgexfoundry.org:10003 16:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:41 Configure a credential helper to remove this warning. See 16:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:41 16:15:41 Login Succeeded 16:15:41 nexus3.edgexfoundry.org:10004 16:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:41 Configure a credential helper to remove this warning. See 16:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:41 16:15:41 Login Succeeded 16:15:41 docker.io 16:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:41 Configure a credential helper to remove this warning. See 16:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:41 16:15:41 Login Succeeded 16:15:41 ---> docker-login.sh ends [Pipeline] } 16:15:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:15:41 + git rev-list -1 --merges 28452247065c5f6f70d0a6a728c127657551899b~1..28452247065c5f6f70d0a6a728c127657551899b [Pipeline] echo 16:15:41 -----------> git rev-list -1 --merges 28452247065c5f6f70d0a6a728c127657551899b~1..28452247065c5f6f70d0a6a728c127657551899b 28452247065c5f6f70d0a6a728c127657551899b [false] [Pipeline] sh 16:15:42 + git log --format=format:%s -1 28452247065c5f6f70d0a6a728c127657551899b [Pipeline] echo 16:15:42 ========================================================= 16:15:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:15:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:15:42 + git log --format=format:%s -1 28452247065c5f6f70d0a6a728c127657551899b [Pipeline] echo 16:15:42 [semverPrep] GIT_COMMIT: 28452247065c5f6f70d0a6a728c127657551899b, Commit Message: build: Disable CGO for all docker builds so always work [Pipeline] echo 16:15:42 [semverPrep] This is not a build commit. [Pipeline] sh 16:15:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:15:42 + grep -v github /etc/ssh/ssh_known_hosts 16:15:42 + [ -e /tmp/ssh_known_hosts ] 16:15:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:15:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:15:42 + sudo tee -a /etc/ssh/ssh_known_hosts 16:15:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:15:43 16:15:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:15:43 0.1.4: Pulling from edgex-devops/py-git-semver 16:15:43 b85a868b505f: Pulling fs layer 16:15:43 e2be974225ed: Pulling fs layer 16:15:43 339a4e72a1f5: Pulling fs layer 16:15:43 988bab9f4d93: Pulling fs layer 16:15:43 1469e6f7b9e6: Pulling fs layer 16:15:43 eaf3925da568: Pulling fs layer 16:15:43 bab4dde63d76: Pulling fs layer 16:15:43 bde34c3a00c8: Pulling fs layer 16:15:43 b352a97aabf1: Pulling fs layer 16:15:43 4872d77fe225: Pulling fs layer 16:15:43 5851b861e8e6: Pulling fs layer 16:15:43 988bab9f4d93: Waiting 16:15:43 1469e6f7b9e6: Waiting 16:15:43 eaf3925da568: Waiting 16:15:43 bab4dde63d76: Waiting 16:15:43 4872d77fe225: Waiting 16:15:43 5851b861e8e6: Waiting 16:15:43 b352a97aabf1: Waiting 16:15:43 bde34c3a00c8: Waiting 16:15:43 e2be974225ed: Verifying Checksum 16:15:43 e2be974225ed: Download complete 16:15:43 988bab9f4d93: Verifying Checksum 16:15:43 988bab9f4d93: Download complete 16:15:43 1469e6f7b9e6: Verifying Checksum 16:15:43 1469e6f7b9e6: Download complete 16:15:43 eaf3925da568: Download complete 16:15:43 339a4e72a1f5: Verifying Checksum 16:15:43 339a4e72a1f5: Download complete 16:15:43 bde34c3a00c8: Download complete 16:15:43 b352a97aabf1: Download complete 16:15:43 4872d77fe225: Download complete 16:15:43 5851b861e8e6: Verifying Checksum 16:15:43 5851b861e8e6: Download complete 16:15:43 b85a868b505f: Verifying Checksum 16:15:43 b85a868b505f: Download complete 16:15:44 bab4dde63d76: Verifying Checksum 16:15:44 bab4dde63d76: Download complete 16:15:45 b85a868b505f: Pull complete 16:15:45 e2be974225ed: Pull complete 16:15:45 339a4e72a1f5: Pull complete 16:15:45 988bab9f4d93: Pull complete 16:15:45 1469e6f7b9e6: Pull complete 16:15:45 eaf3925da568: Pull complete 16:15:47 bab4dde63d76: Pull complete 16:15:47 bde34c3a00c8: Pull complete 16:15:47 b352a97aabf1: Pull complete 16:15:47 4872d77fe225: Pull complete 16:15:47 5851b861e8e6: Pull complete 16:15:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:15:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:15:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:47 prd-ubuntu20.04-docker-8c-8g-1108 does not seem to be running inside a container 16:15:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-494 -v /w/workspace/_app-service-configurable_PR-494:/w/workspace/_app-service-configurable_PR-494:rw,z -v /w/workspace/_app-service-configurable_PR-494@tmp:/w/workspace/_app-service-configurable_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:15:50 $ docker top 52719e93092029fa6abcdfeef596ea800bbbd5c07448d66f89e4e22d4382f2ec -eo pid,comm 16:15:50 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). 16:15:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:15:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:15:50 [ssh-agent] Looking for ssh-agent implementation... 16:15:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:15:50 $ docker exec 52719e93092029fa6abcdfeef596ea800bbbd5c07448d66f89e4e22d4382f2ec ssh-agent 16:15:50 SSH_AUTH_SOCK=/tmp/ssh-SQeGLU0pnSoZ/agent.32 16:15:50 SSH_AGENT_PID=38 16:15:50 Running ssh-add (command line suppressed) 16:15:50 Identity added: /w/workspace/_app-service-configurable_PR-494@tmp/private_key_12211324263664012741.key (/w/workspace/_app-service-configurable_PR-494@tmp/private_key_12211324263664012741.key) 16:15:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:15:50 + git tag --points-at HEAD [Pipeline] } 16:15:50 $ docker exec --env ******** --env ******** 52719e93092029fa6abcdfeef596ea800bbbd5c07448d66f89e4e22d4382f2ec ssh-agent -k 16:15:51 unset SSH_AUTH_SOCK; 16:15:51 unset SSH_AGENT_PID; 16:15:51 echo Agent pid 38 killed; 16:15:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:15:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:15:51 [ssh-agent] Looking for ssh-agent implementation... 16:15:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:15:51 $ docker exec 52719e93092029fa6abcdfeef596ea800bbbd5c07448d66f89e4e22d4382f2ec ssh-agent 16:15:51 SSH_AUTH_SOCK=/tmp/ssh-AKl3hKs3s8Jg/agent.70 16:15:51 SSH_AGENT_PID=76 16:15:51 Running ssh-add (command line suppressed) 16:15:51 Identity added: /w/workspace/_app-service-configurable_PR-494@tmp/private_key_14873351729199930122.key (/w/workspace/_app-service-configurable_PR-494@tmp/private_key_14873351729199930122.key) 16:15:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:15:51 + git semver init 16:15:51 2023-01-04 16:15:51,868 [run_init] DEBUG init version:0.0.0 force:False 16:15:51 2023-01-04 16:15:51,869 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-494/.semver 16:15:51 2023-01-04 16:15:51,870 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-494/.semver 16:15:51 2023-01-04 16:15:51,870 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-494/.semver'], cwd=/w/workspace/_app-service-configurable_PR-494, universal_newlines=False, shell=None, istream=None) 16:15:52 2023-01-04 16:15:52,707 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-494/.git/info/exclude 16:15:52 2023-01-04 16:15:52,708 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-494/.semver/PR-494 with force:False 16:15:52 2023-01-04 16:15:52,708 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-494/.semver/PR-494 16:15:52 2023-01-04 16:15:52,712 [execute] INFO git cat-file --batch-check 16:15:52 2023-01-04 16:15:52,712 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-494/.semver, universal_newlines=False, shell=None, istream=) 16:15:52 2023-01-04 16:15:52,718 [execute] INFO git cat-file --batch 16:15:52 2023-01-04 16:15:52,718 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-494/.semver, universal_newlines=False, shell=None, istream=) 16:15:52 2023-01-04 16:15:52,722 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-494/.semver/PR-494 16:15:52 0.0.0 [Pipeline] } 16:15:52 $ docker exec --env ******** --env ******** 52719e93092029fa6abcdfeef596ea800bbbd5c07448d66f89e4e22d4382f2ec ssh-agent -k 16:15:52 unset SSH_AUTH_SOCK; 16:15:52 unset SSH_AGENT_PID; 16:15:52 echo Agent pid 76 killed; 16:15:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:15:53 + git semver [Pipeline] } 16:15:53 $ docker stop --time=1 52719e93092029fa6abcdfeef596ea800bbbd5c07448d66f89e4e22d4382f2ec 16:15:54 $ docker rm -f --volumes 52719e93092029fa6abcdfeef596ea800bbbd5c07448d66f89e4e22d4382f2ec [Pipeline] // withDockerContainer [Pipeline] sh 16:15:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:15:55 Stashed 1 file(s) [Pipeline] echo 16:15:55 [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 16:15:55 provisioning config files... 16:15:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-494@tmp/config7101086116624454802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:55 ---> docker-login.sh 16:15:55 nexus3.edgexfoundry.org:10001 16:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:55 Configure a credential helper to remove this warning. See 16:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:55 16:15:55 Login Succeeded 16:15:55 nexus3.edgexfoundry.org:10002 16:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:56 Configure a credential helper to remove this warning. See 16:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:56 16:15:56 Login Succeeded 16:15:56 nexus3.edgexfoundry.org:10003 16:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:56 Configure a credential helper to remove this warning. See 16:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:56 16:15:56 Login Succeeded 16:15:56 nexus3.edgexfoundry.org:10004 16:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:56 Configure a credential helper to remove this warning. See 16:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:56 16:15:56 Login Succeeded 16:15:56 docker.io 16:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:15:56 Configure a credential helper to remove this warning. See 16:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:15:56 16:15:56 Login Succeeded 16:15:56 ---> docker-login.sh ends [Pipeline] } 16:15:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:15:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:15:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:15:56 ========================================================= 16:15:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:15:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:15:57 Sending build context to Docker daemon 3.207MB 16:15:57 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:15:57 Step 2/12 : FROM ${BASE} AS builder 16:15:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:15:57 213ec9aee27d: Pulling fs layer 16:15:57 4583459ba037: Pulling fs layer 16:15:57 93c1e223e6f2: Pulling fs layer 16:15:57 53926ce57604: Pulling fs layer 16:15:57 21b2b0c7a3f4: Pulling fs layer 16:15:57 22ff95d597cd: Pulling fs layer 16:15:57 12d6caf4c0d1: Pulling fs layer 16:15:57 96b7cbca73a9: Pulling fs layer 16:15:57 a7acece74701: Pulling fs layer 16:15:57 21b2b0c7a3f4: Waiting 16:15:57 53926ce57604: Waiting 16:15:57 22ff95d597cd: Waiting 16:15:57 12d6caf4c0d1: Waiting 16:15:57 96b7cbca73a9: Waiting 16:15:57 a7acece74701: Waiting 16:15:57 93c1e223e6f2: Verifying Checksum 16:15:57 93c1e223e6f2: Download complete 16:15:57 4583459ba037: Verifying Checksum 16:15:57 4583459ba037: Download complete 16:15:57 21b2b0c7a3f4: Download complete 16:15:57 22ff95d597cd: Verifying Checksum 16:15:57 22ff95d597cd: Download complete 16:15:57 213ec9aee27d: Verifying Checksum 16:15:57 12d6caf4c0d1: Download complete 16:15:57 213ec9aee27d: Pull complete 16:15:57 4583459ba037: Pull complete 16:15:57 93c1e223e6f2: Pull complete 16:15:57 a7acece74701: Verifying Checksum 16:15:57 a7acece74701: Download complete 16:15:58 96b7cbca73a9: Verifying Checksum 16:15:58 96b7cbca73a9: Download complete 16:15:58 53926ce57604: Download complete 16:16:01 53926ce57604: Pull complete 16:16:01 21b2b0c7a3f4: Pull complete 16:16:01 22ff95d597cd: Pull complete 16:16:02 12d6caf4c0d1: Pull complete 16:16:04 96b7cbca73a9: Pull complete 16:16:05 a7acece74701: Pull complete 16:16:05 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:16:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:16:05 ---> db6d94c90886 16:16:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:16:10 Still waiting to schedule task 16:16:10 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1107’ 16:16:10 ---> Running in 60705c1b3d85 16:16:10 Removing intermediate container 60705c1b3d85 16:16:10 ---> 3e0a61e97c0f 16:16:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:16:10 ---> Running in 39a565aaf66d 16:16:10 Removing intermediate container 39a565aaf66d 16:16:10 ---> 91e3cf9d9eea 16:16:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:16:10 ---> Running in f0addd4a24bf 16:16:10 Removing intermediate container f0addd4a24bf 16:16:10 ---> 9252f6a96a88 16:16:10 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:16:10 ---> Running in 137fbbbf3eb8 16:16:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:16:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:16:10 OK: 211 MiB in 51 packages 16:16:11 Removing intermediate container 137fbbbf3eb8 16:16:11 ---> 1aaa34fb5376 16:16:11 Step 7/12 : WORKDIR /app 16:16:11 ---> Running in 7da75d0124fd 16:16:11 Removing intermediate container 7da75d0124fd 16:16:11 ---> 5f065a77400e 16:16:11 Step 8/12 : COPY go.mod vendor* ./ 16:16:11 ---> ce4631011b5d 16:16:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:16:11 ---> Running in bc7a7feb290b 16:16:38 Removing intermediate container bc7a7feb290b 16:16:38 ---> 8ede28320e37 16:16:38 Step 10/12 : COPY . . 16:16:38 ---> b8128d1aa479 16:16:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:16:38 ---> Running in 98734e06fb7b 16:16:38 Removing intermediate container 98734e06fb7b 16:16:38 ---> ba9a2836dff2 16:16:38 Step 12/12 : RUN $MAKE 16:16:38 ---> Running in c6612cbc9ec7 16:16:38 noop 16:16:38 Removing intermediate container c6612cbc9ec7 16:16:38 ---> 6c6a6b59d974 16:16:38 Successfully built 6c6a6b59d974 16:16:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:38 + docker inspect -f . ci-base-image-x86_64 16:16:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:38 prd-ubuntu20.04-docker-8c-8g-1108 does not seem to be running inside a container 16:16:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-494 -v /w/workspace/_app-service-configurable_PR-494:/w/workspace/_app-service-configurable_PR-494:rw,z -v /w/workspace/_app-service-configurable_PR-494@tmp:/w/workspace/_app-service-configurable_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:16:39 $ docker top d6c531fba43e4df288da0173c4c9ab4c9523cfae40adf89ae3787829e57f7ed7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:39 + go version 16:16:39 go version go1.18.7 linux/amd64 [Pipeline] } 16:16:39 $ docker stop --time=1 d6c531fba43e4df288da0173c4c9ab4c9523cfae40adf89ae3787829e57f7ed7 16:16:40 $ docker rm -f --volumes d6c531fba43e4df288da0173c4c9ab4c9523cfae40adf89ae3787829e57f7ed7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:41 + docker inspect -f . ci-base-image-x86_64 16:16:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:16:41 prd-ubuntu20.04-docker-8c-8g-1108 does not seem to be running inside a container 16:16:41 $ 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-494 -v /w/workspace/_app-service-configurable_PR-494:/w/workspace/_app-service-configurable_PR-494:rw,z -v /w/workspace/_app-service-configurable_PR-494@tmp:/w/workspace/_app-service-configurable_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:16:41 $ docker top 43f1f93e3772e1e6440d9e7e7a07fb3935a620689594d50086716410bd880603 -eo pid,comm [Pipeline] { [Pipeline] sh 16:16:42 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-494 [Pipeline] fileExists [Pipeline] sh 16:16:42 + make test 16:16:42 go test -race -coverprofile=coverage.out ./... 16:17:04 ? github.com/edgexfoundry/app-service-configurable [no test files] 16:17:04 go vet ./... 16:17:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:17:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:17:10 ./bin/test-attribution-txt.sh [Pipeline] echo 16:17:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:17:10 $ docker stop --time=1 43f1f93e3772e1e6440d9e7e7a07fb3935a620689594d50086716410bd880603 16:17:15 $ docker rm -f --volumes 43f1f93e3772e1e6440d9e7e7a07fb3935a620689594d50086716410bd880603 [Pipeline] // withDockerContainer [Pipeline] sh 16:17:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:17:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:17:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:17:16 + ls -al . 16:17:16 total 184 16:17:16 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:16 . 16:17:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:15 .. 16:17:16 -rw-rw-r-- 1 jenkins jenkins 119 Jan 4 16:15 .dockerignore 16:17:16 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:15 .git 16:17:16 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:15 .github 16:17:16 -rw-rw-r-- 1 jenkins jenkins 171 Jan 4 16:15 .gitignore 16:17:16 drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 16:15 .semver 16:17:16 -rw-rw-r-- 1 jenkins jenkins 9207 Jan 4 16:15 Attribution.txt 16:17:16 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 4 16:15 CHANGELOG.md 16:17:16 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 4 16:15 Dockerfile 16:17:16 -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 16:15 GOVERNANCE.md 16:17:16 -rw-rw-r-- 1 jenkins jenkins 688 Jan 4 16:15 Jenkinsfile 16:17:16 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 4 16:15 LICENSE 16:17:16 -rw-rw-r-- 1 jenkins jenkins 618 Jan 4 16:15 OWNERS.md 16:17:16 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 4 16:15 README.md 16:17:16 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 16:15 VERSION 16:17:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:15 bin 16:17:16 -rw-r--r-- 1 jenkins jenkins 13 Jan 4 16:16 coverage.out 16:17:16 -rw-rw-r-- 1 jenkins jenkins 3396 Jan 4 16:15 go.mod 16:17:16 -rw-rw-r-- 1 jenkins jenkins 44230 Jan 4 16:15 go.sum 16:17:16 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 4 16:15 main.go 16:17:16 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 4 16:15 makefile 16:17:16 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 16:15 res 16:17:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:15 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:16 + 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=28452247065c5f6f70d0a6a728c127657551899b --label arch=amd64 --label version=0.0.0 . 16:17:16 Sending build context to Docker daemon 3.208MB 16:17:16 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:17:16 Step 2/26 : FROM ${BASE} AS builder 16:17:16 ---> 6c6a6b59d974 16:17:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 16:17:17 ---> Running in 417b17d56db1 16:17:17 Removing intermediate container 417b17d56db1 16:17:17 ---> a7c810fc682c 16:17:17 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:17:17 ---> Running in 8418248188a4 16:17:17 Removing intermediate container 8418248188a4 16:17:17 ---> ebc25d2299c3 16:17:17 Step 5/26 : ARG ADD_BUILD_TAGS="" 16:17:17 ---> Running in 5e895314b287 16:17:17 Removing intermediate container 5e895314b287 16:17:17 ---> 401cdc08d3d9 16:17:17 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:17 ---> Running in 58b9c19aa0e9 16:17:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:17:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:17:17 OK: 211 MiB in 51 packages 16:17:18 Removing intermediate container 58b9c19aa0e9 16:17:18 ---> 45babb6b8f53 16:17:18 Step 7/26 : WORKDIR /app 16:17:18 ---> Running in 83a3de0b0f74 16:17:18 Removing intermediate container 83a3de0b0f74 16:17:18 ---> 8b06f23f6bd4 16:17:18 Step 8/26 : COPY go.mod vendor* ./ 16:17:18 ---> 1dd21f8c3356 16:17:18 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:17:18 ---> Running in eac6b00aa56d 16:17:18 Removing intermediate container eac6b00aa56d 16:17:18 ---> 038d5d436268 16:17:18 Step 10/26 : COPY . . 16:17:19 ---> be6b360ef28e 16:17:19 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:17:19 ---> Running in 07f70313e348 16:17:19 Removing intermediate container 07f70313e348 16:17:19 ---> 8a5cbce50c19 16:17:19 Step 12/26 : RUN $MAKE 16:17:19 ---> Running in 2aaf2737f55d 16:17:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 16:17:41 Removing intermediate container 2aaf2737f55d 16:17:41 ---> fce740e5c2e2 16:17:41 Step 13/26 : FROM alpine:3.16 16:17:41 3.16: Pulling from library/alpine 16:17:41 ca7dd9ec2225: Pulling fs layer 16:17:41 ca7dd9ec2225: Download complete 16:17:41 ca7dd9ec2225: Pull complete 16:17:41 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:17:41 Status: Downloaded newer image for alpine:3.16 16:17:41 ---> bfe296a52501 16:17:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:17:42 ---> Running in 706311fa67e5 16:17:42 Removing intermediate container 706311fa67e5 16:17:42 ---> 5010b0678f09 16:17:42 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 16:17:42 ---> Running in 0a385ca3ec87 16:17:42 Removing intermediate container 0a385ca3ec87 16:17:42 ---> 039449744b3d 16:17:42 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 16:17:43 ---> Running in 676a8fc22182 16:17:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:17:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:17:43 (1/2) Installing ca-certificates (20220614-r0) 16:17:43 (2/2) Installing dumb-init (1.2.5-r1) 16:17:43 Executing busybox-1.35.0-r17.trigger 16:17:43 Executing ca-certificates-20220614-r0.trigger 16:17:43 OK: 6 MiB in 16 packages 16:17:44 Removing intermediate container 676a8fc22182 16:17:44 ---> cd201571577a 16:17:44 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:17:44 ---> 61bea76908e0 16:17:44 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 16:17:44 ---> ebfb8fab29a8 16:17:44 Step 19/26 : COPY --from=builder /app/res/ /res/ 16:17:44 ---> 7e3161793cc4 16:17:44 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 16:17:45 ---> 97cb94b65019 16:17:45 Step 21/26 : EXPOSE 48095 16:17:45 ---> Running in 6760414b4791 16:17:45 Removing intermediate container 6760414b4791 16:17:45 ---> 8a9e2aa6b490 16:17:45 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 16:17:45 ---> Running in 8721aebc36a4 16:17:45 Removing intermediate container 8721aebc36a4 16:17:45 ---> 0ff5eb2c2a7d 16:17:45 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:17:45 ---> Running in 94f6ea3a696a 16:17:45 Removing intermediate container 94f6ea3a696a 16:17:45 ---> cfd3a78598ca 16:17:45 Step 24/26 : LABEL arch=amd64 16:17:45 ---> Running in 985d26754ee5 16:17:45 Removing intermediate container 985d26754ee5 16:17:45 ---> d50fa5e0dae9 16:17:45 Step 25/26 : LABEL git_sha=28452247065c5f6f70d0a6a728c127657551899b 16:17:45 ---> Running in cb81290ec23d 16:17:45 Removing intermediate container cb81290ec23d 16:17:45 ---> 54e3554e27a8 16:17:45 Step 26/26 : LABEL version=0.0.0 16:17:45 ---> Running in b413d8920db4 16:17:45 Removing intermediate container b413d8920db4 16:17:45 ---> 6ae5b2dd536e 16:17:45 [Warning] One or more build-args [ARCH] were not consumed 16:17:45 Successfully built 6ae5b2dd536e 16:17:45 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 16:17:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:46 16:17:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:46 latest: Pulling from edgex-lftools-log-publisher 16:17:46 5eb5b503b376: Pulling fs layer 16:17:46 5c69ac0246d0: Pulling fs layer 16:17:46 ec43610c2a17: Pulling fs layer 16:17:46 3a2ae6a8a46f: Pulling fs layer 16:17:46 33b1e0a273af: Pulling fs layer 16:17:46 3a2ae6a8a46f: Waiting 16:17:46 5d3b04190fa2: Pulling fs layer 16:17:46 2f39f015ded8: Pulling fs layer 16:17:46 5d3b04190fa2: Waiting 16:17:46 5c69ac0246d0: Download complete 16:17:46 3a2ae6a8a46f: Verifying Checksum 16:17:46 3a2ae6a8a46f: Download complete 16:17:46 33b1e0a273af: Verifying Checksum 16:17:46 33b1e0a273af: Download complete 16:17:46 5d3b04190fa2: Download complete 16:17:46 ec43610c2a17: Verifying Checksum 16:17:46 ec43610c2a17: Download complete 16:17:46 5eb5b503b376: Verifying Checksum 16:17:46 5eb5b503b376: Download complete 16:17:48 5eb5b503b376: Pull complete 16:17:48 5c69ac0246d0: Pull complete 16:17:48 ec43610c2a17: Pull complete 16:17:48 3a2ae6a8a46f: Pull complete 16:17:48 33b1e0a273af: Pull complete 16:17:49 5d3b04190fa2: Pull complete 16:17:53 2f39f015ded8: Pull complete 16:17:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:17:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:17:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:17:53 prd-ubuntu20.04-docker-8c-8g-1108 does not seem to be running inside a container 16:17:53 $ 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-494 -v /w/workspace/_app-service-configurable_PR-494:/w/workspace/_app-service-configurable_PR-494:rw,z -v /w/workspace/_app-service-configurable_PR-494@tmp:/w/workspace/_app-service-configurable_PR-494@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:17:57 $ docker top 1cb1c66da6ac23d5590d3a7ede0aa0ee1c6233f8f1d8033fca92cea9f2c75b97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:57 ---> job-cost.sh 16:17:57 lf-activate-venv: SKIPPING 16:17:57 INFO: No Stack... 16:17:58 INFO: Retrieving Pricing Info for: v3-standard-8 16:17:58 INFO: Archiving Costs [Pipeline] sh 16:17:58 + cat /w/workspace/_app-service-configurable_PR-494/archives/cost.csv 16:17:58 + cut -d, -f6 [Pipeline] lock 16:17:58 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-494-2-stack-cost] 16:17:58 Resource [jenkins-edgexfoundry-app-service-configurable-PR-494-2-stack-cost] did not exist. Created. 16:17:58 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-494-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:17:59 + echo total: 0.2199999988079071 [Pipeline] stash 16:17:59 Stashed 1 file(s) [Pipeline] } 16:17:59 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-494-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:17:59 $ docker stop --time=1 1cb1c66da6ac23d5590d3a7ede0aa0ee1c6233f8f1d8033fca92cea9f2c75b97 16:18:00 $ docker rm -f --volumes 1cb1c66da6ac23d5590d3a7ede0aa0ee1c6233f8f1d8033fca92cea9f2c75b97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:19:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1109 in /w/workspace/_app-service-configurable_PR-494 [Pipeline] { [Pipeline] ws 16:19:30 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 16:19:30 Selected Git installation does not exist. Using Default 16:19:30 The recommended git tool is: NONE 16:19:35 using credential edgex-jenkins-ssh 16:19:35 Cloning the remote Git repository 16:19:35 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 16:19:35 > git init /w/workspace/app-service-configurable/2 # timeout=10 16:19:35 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 16:19:35 > git --version # timeout=10 16:19:35 > git --version # 'git version 2.25.1' 16:19:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:36 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 16:19:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:19:38 Merging remotes/origin/main commit 4955b72e7e2333f21a3dea3e923d2a5036ff361a into PR head commit 28452247065c5f6f70d0a6a728c127657551899b 16:19:38 Merge succeeded, producing 28452247065c5f6f70d0a6a728c127657551899b 16:19:38 Checking out Revision 28452247065c5f6f70d0a6a728c127657551899b (PR-494) 16:19:37 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 16:19:37 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 16:19:37 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/494/head:refs/remotes/origin/PR-494 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:19:38 > git config core.sparsecheckout # timeout=10 16:19:38 > git checkout -f 28452247065c5f6f70d0a6a728c127657551899b # timeout=10 16:19:38 > git remote # timeout=10 16:19:38 > git config --get remote.origin.url # timeout=10 16:19:38 using GIT_SSH to set credentials SSH Credentials for GitHub 16:19:38 > git merge 4955b72e7e2333f21a3dea3e923d2a5036ff361a # timeout=10 16:19:38 > git rev-parse HEAD^{commit} # timeout=10 16:19:38 > git config core.sparsecheckout # timeout=10 16:19:38 > git checkout -f 28452247065c5f6f70d0a6a728c127657551899b # timeout=10 16:19:42 Commit message: "build: Disable CGO for all docker builds so always work" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:19:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:19:43 % Total % Received % Xferd Average Speed Time Time Time Current 16:19:43 Dload Upload Total Spent Left Speed 16:19:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh 16:19:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:19:44 + sudo tee /etc/docker/daemon.new 16:19:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:19:44 { 16:19:44 "registry-mirrors": [ 16:19:44 "https://nexus3.edgexfoundry.org:10001" 16:19:44 ], 16:19:44 "bip": "10.250.0.254/24", 16:19:44 "hosts": [ 16:19:44 "tcp://0.0.0.0:5555", 16:19:44 "unix:///var/run/docker.sock" 16:19:44 ], 16:19:44 "mtu": 1458, 16:19:44 "selinux-enabled": true, 16:19:44 "seccomp-profile": "/etc/docker/seccomp.json" 16:19:44 } [Pipeline] sh 16:19:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:19:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:03 provisioning config files... 16:20:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config6454997154690473233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:03 ---> docker-login.sh 16:20:03 nexus3.edgexfoundry.org:10001 16:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:04 Configure a credential helper to remove this warning. See 16:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:04 16:20:04 Login Succeeded 16:20:04 nexus3.edgexfoundry.org:10002 16:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:04 Configure a credential helper to remove this warning. See 16:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:04 16:20:04 Login Succeeded 16:20:04 nexus3.edgexfoundry.org:10003 16:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:05 Configure a credential helper to remove this warning. See 16:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:05 16:20:05 Login Succeeded 16:20:05 nexus3.edgexfoundry.org:10004 16:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:05 Configure a credential helper to remove this warning. See 16:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:05 16:20:05 Login Succeeded 16:20:05 docker.io 16:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:05 Configure a credential helper to remove this warning. See 16:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:05 16:20:05 Login Succeeded 16:20:05 ---> docker-login.sh ends [Pipeline] } 16:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:20:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:06 ========================================================= 16:20:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:20:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:20:06 Sending build context to Docker daemon 217.1kB 16:20:06 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:20:06 Step 2/12 : FROM ${BASE} AS builder 16:20:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:20:06 9b18e9b68314: Pulling fs layer 16:20:06 35d82f9e3411: Pulling fs layer 16:20:06 e16973657156: Pulling fs layer 16:20:06 fc693d55d65f: Pulling fs layer 16:20:06 7e9fc2657dce: Pulling fs layer 16:20:06 dda99020689f: Pulling fs layer 16:20:06 db1c61fa0a46: Pulling fs layer 16:20:06 891c053d2c06: Pulling fs layer 16:20:06 fc693d55d65f: Waiting 16:20:06 dda99020689f: Waiting 16:20:06 db1c61fa0a46: Waiting 16:20:06 7e9fc2657dce: Waiting 16:20:06 891c053d2c06: Waiting 16:20:07 e16973657156: Verifying Checksum 16:20:07 35d82f9e3411: Verifying Checksum 16:20:07 35d82f9e3411: Download complete 16:20:07 7e9fc2657dce: Download complete 16:20:07 dda99020689f: Verifying Checksum 16:20:07 dda99020689f: Download complete 16:20:07 9b18e9b68314: Verifying Checksum 16:20:07 9b18e9b68314: Download complete 16:20:08 9b18e9b68314: Pull complete 16:20:08 891c053d2c06: Verifying Checksum 16:20:08 891c053d2c06: Download complete 16:20:09 db1c61fa0a46: Verifying Checksum 16:20:09 db1c61fa0a46: Download complete 16:20:10 fc693d55d65f: Verifying Checksum 16:20:10 fc693d55d65f: Download complete 16:20:10 35d82f9e3411: Pull complete 16:20:10 e16973657156: Pull complete 16:20:22 fc693d55d65f: Pull complete 16:20:22 7e9fc2657dce: Pull complete 16:20:23 dda99020689f: Pull complete 16:20:29 db1c61fa0a46: Pull complete 16:20:31 891c053d2c06: Pull complete 16:20:31 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:20:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:20:31 ---> f96f9c87975a 16:20:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 16:20:32 ---> Running in 9efff0d3e553 16:20:32 Removing intermediate container 9efff0d3e553 16:20:32 ---> fe0359f0a95a 16:20:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:20:32 ---> Running in ad51741e3409 16:20:32 Removing intermediate container ad51741e3409 16:20:32 ---> b3b9fa91c79f 16:20:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:20:33 ---> Running in a12edcfa075d 16:20:33 Removing intermediate container a12edcfa075d 16:20:33 ---> d487928f3740 16:20:33 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:33 ---> Running in 2025de65a5a3 16:20:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:20:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:20:36 OK: 221 MiB in 51 packages 16:20:37 Removing intermediate container 2025de65a5a3 16:20:37 ---> 7dde03b4e139 16:20:37 Step 7/12 : WORKDIR /app 16:20:37 ---> Running in eec8b33129cd 16:20:37 Removing intermediate container eec8b33129cd 16:20:37 ---> b8bceb5984f5 16:20:37 Step 8/12 : COPY go.mod vendor* ./ 16:20:38 ---> bdfaf11a060f 16:20:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:38 ---> Running in 21f3271441f5 16:21:34 Removing intermediate container 21f3271441f5 16:21:34 ---> 2e75b56339bb 16:21:34 Step 10/12 : COPY . . 16:21:34 ---> 769b3cbbc159 16:21:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:21:34 ---> Running in 68d002e4103f 16:21:34 Removing intermediate container 68d002e4103f 16:21:34 ---> 1a1a98710204 16:21:34 Step 12/12 : RUN $MAKE 16:21:34 ---> Running in a5fa7a89f9c9 16:21:34 noop 16:21:34 Removing intermediate container a5fa7a89f9c9 16:21:34 ---> 8f8b5e01ef63 16:21:34 Successfully built 8f8b5e01ef63 16:21:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:34 + docker inspect -f . ci-base-image-arm64 16:21:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:34 prd-ubuntu20.04-docker-arm64-4c-16g-1109 does not seem to be running inside a container 16:21:35 $ 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 16:21:36 $ docker top 3cce0b7f0ddf75d86df2d92bbca2987957a9042745caf592f176795e618df1ca -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:37 + go version 16:21:37 go version go1.18.7 linux/arm64 [Pipeline] } 16:21:37 $ docker stop --time=1 3cce0b7f0ddf75d86df2d92bbca2987957a9042745caf592f176795e618df1ca 16:21:38 $ docker rm -f --volumes 3cce0b7f0ddf75d86df2d92bbca2987957a9042745caf592f176795e618df1ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:39 + docker inspect -f . ci-base-image-arm64 16:21:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:39 prd-ubuntu20.04-docker-arm64-4c-16g-1109 does not seem to be running inside a container 16:21:39 $ 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 16:21:40 $ docker top 7ef21a4794619ff6798cc627b5370d205997823c33589b62eedebe5e9ef6426b -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:41 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 16:21:41 + make test 16:21:41 go test -race -coverprofile=coverage.out ./... 16:23:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 16:23:48 go vet ./... 16:25:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:25:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:25:24 ./bin/test-attribution-txt.sh [Pipeline] echo 16:25:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:25:25 $ docker stop --time=1 7ef21a4794619ff6798cc627b5370d205997823c33589b62eedebe5e9ef6426b 16:25:26 $ docker rm -f --volumes 7ef21a4794619ff6798cc627b5370d205997823c33589b62eedebe5e9ef6426b [Pipeline] // withDockerContainer [Pipeline] sh 16:25:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:25:28 Warning: overwriting stash ‘coverage-report’ 16:25:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:25:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:25:29 + ls -al . 16:25:29 total 180 16:25:29 drwxrwxr-x 7 jenkins jenkins 4096 Jan 4 16:21 . 16:25:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:19 .. 16:25:29 -rw-rw-r-- 1 jenkins jenkins 119 Jan 4 16:19 .dockerignore 16:25:29 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:19 .git 16:25:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:19 .github 16:25:29 -rw-rw-r-- 1 jenkins jenkins 171 Jan 4 16:19 .gitignore 16:25:29 -rw-rw-r-- 1 jenkins jenkins 9207 Jan 4 16:19 Attribution.txt 16:25:29 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 4 16:19 CHANGELOG.md 16:25:29 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 4 16:19 Dockerfile 16:25:29 -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 16:19 GOVERNANCE.md 16:25:29 -rw-rw-r-- 1 jenkins jenkins 688 Jan 4 16:19 Jenkinsfile 16:25:29 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 4 16:19 LICENSE 16:25:29 -rw-rw-r-- 1 jenkins jenkins 618 Jan 4 16:19 OWNERS.md 16:25:29 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 4 16:19 README.md 16:25:29 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 16:15 VERSION 16:25:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:19 bin 16:25:29 -rw-r--r-- 1 jenkins jenkins 13 Jan 4 16:21 coverage.out 16:25:29 -rw-rw-r-- 1 jenkins jenkins 3396 Jan 4 16:19 go.mod 16:25:29 -rw-rw-r-- 1 jenkins jenkins 44230 Jan 4 16:19 go.sum 16:25:29 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 4 16:19 main.go 16:25:29 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 4 16:19 makefile 16:25:29 drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 16:19 res 16:25:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:19 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:29 + 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=28452247065c5f6f70d0a6a728c127657551899b --label arch=arm64 --label version=0.0.0 . 16:25:29 Sending build context to Docker daemon 218.1kB 16:25:29 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 16:25:29 Step 2/26 : FROM ${BASE} AS builder 16:25:29 ---> 8f8b5e01ef63 16:25:29 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 16:25:29 ---> Running in 95f1a4f7d37a 16:25:30 Removing intermediate container 95f1a4f7d37a 16:25:30 ---> f9385196d63f 16:25:30 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 16:25:30 ---> Running in 1bee9dfbab20 16:25:30 Removing intermediate container 1bee9dfbab20 16:25:30 ---> a090469b989e 16:25:30 Step 5/26 : ARG ADD_BUILD_TAGS="" 16:25:30 ---> Running in 63ace6012f53 16:25:31 Removing intermediate container 63ace6012f53 16:25:31 ---> f4bd56f2c73f 16:25:31 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:31 ---> Running in 82d2cad96172 16:25:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:25:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:25:33 OK: 221 MiB in 51 packages 16:25:34 Removing intermediate container 82d2cad96172 16:25:34 ---> 6249c29cb9a5 16:25:34 Step 7/26 : WORKDIR /app 16:25:34 ---> Running in 0f1158349edc 16:25:34 Removing intermediate container 0f1158349edc 16:25:34 ---> 0d1ed3fb5f55 16:25:34 Step 8/26 : COPY go.mod vendor* ./ 16:25:34 ---> d22c3db4c255 16:25:34 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:35 ---> Running in 57b8e0c234ba 16:25:37 Removing intermediate container 57b8e0c234ba 16:25:37 ---> db718ad581fd 16:25:37 Step 10/26 : COPY . . 16:25:37 ---> 70424527bc90 16:25:37 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:25:39 ---> Running in f6697cf33d70 16:25:39 Removing intermediate container f6697cf33d70 16:25:39 ---> e9ca5e8e63c1 16:25:39 Step 12/26 : RUN $MAKE 16:25:39 ---> Running in 32832001cbb0 16:25:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.9 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 16:27:31 Removing intermediate container 32832001cbb0 16:27:31 ---> 14a18309b5f0 16:27:31 Step 13/26 : FROM alpine:3.16 16:27:32 3.16: Pulling from library/alpine 16:27:32 6875df1f5354: Pulling fs layer 16:27:33 6875df1f5354: Verifying Checksum 16:27:33 6875df1f5354: Download complete 16:27:33 6875df1f5354: Pull complete 16:27:33 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:27:33 Status: Downloaded newer image for alpine:3.16 16:27:33 ---> 2b4661558fb8 16:27:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:27:33 ---> Running in d15379386ba9 16:27:33 Removing intermediate container d15379386ba9 16:27:33 ---> 952965ded3e7 16:27:33 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 16:27:33 ---> Running in 03ca645c29fa 16:27:34 Removing intermediate container 03ca645c29fa 16:27:34 ---> fa967312ce3a 16:27:34 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 16:27:34 ---> Running in 05d55d74a68e 16:27:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:27:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:27:36 (1/2) Installing ca-certificates (20220614-r0) 16:27:36 (2/2) Installing dumb-init (1.2.5-r1) 16:27:36 Executing busybox-1.35.0-r17.trigger 16:27:36 Executing ca-certificates-20220614-r0.trigger 16:27:36 OK: 6 MiB in 16 packages 16:27:38 Removing intermediate container 05d55d74a68e 16:27:38 ---> 630eeea5853b 16:27:38 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 16:27:38 ---> c646e2c12e18 16:27:38 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 16:27:38 ---> a2555fc06bba 16:27:38 Step 19/26 : COPY --from=builder /app/res/ /res/ 16:27:39 ---> 050475bf46a7 16:27:39 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 16:27:40 ---> 8f911ab301bb 16:27:40 Step 21/26 : EXPOSE 48095 16:27:40 ---> Running in 57f9d7925487 16:27:41 Removing intermediate container 57f9d7925487 16:27:41 ---> c218c55044d7 16:27:41 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 16:27:41 ---> Running in d21b7e42675d 16:27:41 Removing intermediate container d21b7e42675d 16:27:41 ---> 42874f5aaed2 16:27:41 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:27:41 ---> Running in 44b1a188f719 16:27:42 Removing intermediate container 44b1a188f719 16:27:42 ---> c83e20c6661e 16:27:42 Step 24/26 : LABEL arch=arm64 16:27:42 ---> Running in 7bb35b0f7b6f 16:27:42 Removing intermediate container 7bb35b0f7b6f 16:27:42 ---> 858015128fad 16:27:42 Step 25/26 : LABEL git_sha=28452247065c5f6f70d0a6a728c127657551899b 16:27:42 ---> Running in aa827f4ce969 16:27:42 Removing intermediate container aa827f4ce969 16:27:42 ---> 14dd46853fd5 16:27:42 Step 26/26 : LABEL version=0.0.0 16:27:42 ---> Running in a7ba1e16e253 16:27:43 Removing intermediate container a7ba1e16e253 16:27:43 ---> e01f8d630633 16:27:43 [Warning] One or more build-args [ARCH] were not consumed 16:27:43 Successfully built e01f8d630633 16:27:43 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 16:27:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:27:43 16:27:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:27:45 arm64: Pulling from edgex-lftools-log-publisher 16:27:45 8998bd30e6a1: Pulling fs layer 16:27:45 04944245beec: Pulling fs layer 16:27:45 699f458cf7ca: Pulling fs layer 16:27:45 765212b225bb: Pulling fs layer 16:27:45 f23df028b6ca: Pulling fs layer 16:27:45 d65c8cfc05b1: Pulling fs layer 16:27:45 2437ff75d9bd: Pulling fs layer 16:27:45 f23df028b6ca: Waiting 16:27:45 d65c8cfc05b1: Waiting 16:27:45 2437ff75d9bd: Waiting 16:27:45 765212b225bb: Waiting 16:27:45 04944245beec: Verifying Checksum 16:27:45 04944245beec: Download complete 16:27:45 765212b225bb: Verifying Checksum 16:27:45 765212b225bb: Download complete 16:27:46 f23df028b6ca: Download complete 16:27:46 d65c8cfc05b1: Verifying Checksum 16:27:46 d65c8cfc05b1: Download complete 16:27:46 699f458cf7ca: Verifying Checksum 16:27:46 699f458cf7ca: Download complete 16:27:46 8998bd30e6a1: Verifying Checksum 16:27:46 8998bd30e6a1: Download complete 16:27:48 2437ff75d9bd: Verifying Checksum 16:27:49 2437ff75d9bd: Download complete 16:27:51 8998bd30e6a1: Pull complete 16:27:51 04944245beec: Pull complete 16:27:52 699f458cf7ca: Pull complete 16:27:52 765212b225bb: Pull complete 16:27:53 f23df028b6ca: Pull complete 16:27:53 d65c8cfc05b1: Pull complete 16:28:08 2437ff75d9bd: Pull complete 16:28:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:28:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:09 prd-ubuntu20.04-docker-arm64-4c-16g-1109 does not seem to be running inside a container 16:28:09 $ 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 16:28:11 $ docker top 06c973a0154151d3ed7fda3b8bd19b09971045aea5982e7505f0f8720ada487a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:12 ---> job-cost.sh 16:28:12 lf-activate-venv: SKIPPING 16:28:12 INFO: No Stack... 16:28:12 INFO: Retrieving Pricing Info for: v3-standard-4 16:28:13 INFO: Archiving Costs [Pipeline] sh 16:28:14 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 16:28:14 + cut -d, -f6 [Pipeline] lock 16:28:14 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-494-2-stack-cost] 16:28:14 Resource [jenkins-edgexfoundry-app-service-configurable-PR-494-2-stack-cost] did not exist. Created. 16:28:14 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-494-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:28:14 /w/workspace/app-service-configurable/2@tmp/durable-ee41f740/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:28:15 + echo total: 0.10999999940395355 [Pipeline] stash 16:28:15 Warning: overwriting stash ‘stack-cost’ 16:28:15 Stashed 1 file(s) [Pipeline] } 16:28:15 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-494-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:28:15 $ docker stop --time=1 06c973a0154151d3ed7fda3b8bd19b09971045aea5982e7505f0f8720ada487a 16:28:16 $ docker rm -f --volumes 06c973a0154151d3ed7fda3b8bd19b09971045aea5982e7505f0f8720ada487a [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 16:28:17 provisioning config files... 16:28:17 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-494@tmp/config15364246828837472078tmp [Pipeline] { [Pipeline] sh 16:28:17 + set +x 16:28:17 + bash -s -- 16:28:17 + curl -s https://codecov.io/bash 16:28:17 16:28:17 _____ _ 16:28:17 / ____| | | 16:28:17 | | ___ __| | ___ ___ _____ __ 16:28:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:28:17 | |___| (_) | (_| | __/ (_| (_) \ V / 16:28:17 \_____\___/ \__,_|\___|\___\___/ \_/ 16:28:17 Bash-1.0.6 16:28:17 16:28:17 16:28:17 ==> git version 2.25.1 found 16:28:17 ==> 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 16:28:17 Release-Date: 2020-01-08 16:28:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:28:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:28:17 ==> Jenkins CI detected. 16:28:17 current dir:  /w/workspace/_app-service-configurable_PR-494 16:28:17 project root: . 16:28:17 --> token set from env 16:28:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:28:17 ==> Running gcov in . (disable via -X gcov) 16:28:17 ==> Python coveragepy not found 16:28:17 ==> Searching for coverage reports in: 16:28:17 + . 16:28:17 -> Found 1 reports 16:28:17 ==> Detecting git/mercurial file structure 16:28:17 ==> Reading reports 16:28:17 + ./coverage.out bytes=13 16:28:17 ==> Appending adjustments 16:28:17 https://docs.codecov.io/docs/fixing-reports 16:28:17 + Found adjustments 16:28:17 ==> Gzipping contents 16:28:17 4.0K /tmp/codecov.mRec64.gz 16:28:17 ==> Uploading reports 16:28:17 url: https://codecov.io 16:28:17 query: branch=PR-494&commit=28452247065c5f6f70d0a6a728c127657551899b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-494%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=494&job=&cmd_args= 16:28:17 -> Pinging Codecov 16:28:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-494&commit=28452247065c5f6f70d0a6a728c127657551899b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-494%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=494&job=&cmd_args= 16:28:18 -> Uploading to 16:28:18 https://storage.googleapis.com/codecov/v4/raw/2023-01-04/A97CA9966030D2A3747ED39772930CCE/28452247065c5f6f70d0a6a728c127657551899b/be4bffc0-1640-44eb-aec2-ffa63c73e833.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230104T162818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=effc025ee7b0cfe2ef39c43fa4eb0a3a2634b58626c48dc4216d9cfa97870f27 16:28:18 % Total % Received % Xferd Average Speed Time Time Time Current 16:28:18 Dload Upload Total Spent Left Speed 16:28:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 530 0 0 100 530 0 2355 --:--:-- --:--:-- --:--:-- 2355 16:28:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/28452247065c5f6f70d0a6a728c127657551899b [Pipeline] } 16:28:18 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 16:28:19 + [ -d /w/workspace/_app-service-configurable_PR-494/archives ] 16:28:19 + ls -al /w/workspace/_app-service-configurable_PR-494/archives 16:28:19 total 16 16:28:19 drwxr-xr-x 3 root root 4096 Jan 4 16:17 . 16:28:19 drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 16:17 .. 16:28:19 drwxr-xr-x 2 root root 4096 Jan 4 16:17 cost 16:28:19 -rw-r--r-- 1 root root 96 Jan 4 16:17 cost.csv 16:28:19 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-494/archives 16:28:19 + ls -al /w/workspace/_app-service-configurable_PR-494/archives 16:28:19 total 16 16:28:19 drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 16:17 . 16:28:19 drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 16:17 .. 16:28:19 drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 16:17 cost 16:28:19 -rw-r--r-- 1 jenkins jenkins 96 Jan 4 16:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:28:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:28:20 ---> package-listing.sh 16:28:20 ++ facter osfamily 16:28:20 ++ tr '[:upper:]' '[:lower:]' 16:28:20 + OS_FAMILY=debian 16:28:20 + workspace=/w/workspace/_app-service-configurable_PR-494 16:28:20 + START_PACKAGES=/tmp/packages_start.txt 16:28:20 + END_PACKAGES=/tmp/packages_end.txt 16:28:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:28:20 + PACKAGES=/tmp/packages_start.txt 16:28:20 + '[' /w/workspace/_app-service-configurable_PR-494 ']' 16:28:20 + PACKAGES=/tmp/packages_end.txt 16:28:20 + case "${OS_FAMILY}" in 16:28:20 + dpkg -l 16:28:20 + grep '^ii' 16:28:20 + '[' -f /tmp/packages_start.txt ']' 16:28:20 + '[' -f /tmp/packages_end.txt ']' 16:28:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:28:20 + '[' /w/workspace/_app-service-configurable_PR-494 ']' 16:28:20 + mkdir -p /w/workspace/_app-service-configurable_PR-494/archives/ 16:28:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-494/archives/ [Pipeline] echo 16:28:20 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-494/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:28:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:28:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:21 prd-ubuntu20.04-docker-8c-8g-1108 does not seem to be running inside a container 16:28:21 $ 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-494/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-494 -v /w/workspace/_app-service-configurable_PR-494:/w/workspace/_app-service-configurable_PR-494:rw,z -v /w/workspace/_app-service-configurable_PR-494@tmp:/w/workspace/_app-service-configurable_PR-494@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 16:28:21 $ docker top 136627a06788fe82b7779cb130be842c696e15b1e469ac03d2a6fe9b6483d479 -eo pid,comm [Pipeline] { [Pipeline] sh 16:28:22 + touch /tmp/pre-build-complete [Pipeline] sh 16:28:22 + mkdir -p /var/log/sysstat [Pipeline] sh 16:28:22 + ls /var/log/sa-host 16:28:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:22 provisioning config files... 16:28:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-494@tmp/config10038823247539445812tmp [Pipeline] { [Pipeline] echo 16:28:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:28:23 ---> create-netrc.sh [Pipeline] } 16:28:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:28:23 ---> python-tools-install.sh [Pipeline] echo 16:28:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:28:23 ---> sudo-logs.sh 16:28:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:28:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:28:24 ---> job-cost.sh 16:28:24 lf-activate-venv: SKIPPING 16:28:24 DEBUG: total: 0.2199999988079071 16:28:24 INFO: Retrieving Stack Cost... 16:28:24 INFO: Retrieving Pricing Info for: v3-standard-8 16:28:25 INFO: Archiving Costs [Pipeline] echo 16:28:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:28:25 ---> logs-deploy.sh 16:28:25 lf-activate-venv: SKIPPING 16:28:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-494/2 16:28:25 INFO: archiving workspace using pattern(s): 16:28:26 Archives upload complete. 16:28:26 INFO: archiving logs to Nexus