Pull request #573 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ceef16283cbac6905d8b02dba0d23a33295441a5+458aadecb4486dfbbf1060360ea4d12c7efd2521 (ff5f8ca30bbd8784fb655c0852e22c74e0849f8c) 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-ssh11482497676145543623.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh15438697110318312059.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-573/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-573/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1895268465969377567.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-573/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12602365489705626215.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3982299007011303197.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-573/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-573/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15356090113775963679.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1319 in /w/workspace/_app-service-configurable_PR-573 [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-573 # 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 Merging remotes/origin/main commit 458aadecb4486dfbbf1060360ea4d12c7efd2521 into PR head commit ceef16283cbac6905d8b02dba0d23a33295441a5 > 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/573/head:refs/remotes/origin/PR-573 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing ceef16283cbac6905d8b02dba0d23a33295441a5 Checking out Revision ceef16283cbac6905d8b02dba0d23a33295441a5 (PR-573) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:35:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:35:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:35:18 ========================================================= 12:35:18 EdgeX Global Pipelines Version Info 12:35:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ceef16283cbac6905d8b02dba0d23a33295441a5 # 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 458aadecb4486dfbbf1060360ea4d12c7efd2521 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ceef16283cbac6905d8b02dba0d23a33295441a5 # timeout=10 12:35:19 ------------------- 12:35:19 stable info: 12:35:19 ------------------- 12:35:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:35:19 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:35:19 Message: update stable to v1.0.250 12:35:20 ------------------- 12:35:20 experimental info: 12:35:20 ------------------- 12:35:20 Commited By: **** collab-it+edgex@linuxfoundation.org 12:35:20 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:35:20 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:35:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:35:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:35:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:35:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:35:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:35:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:35:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:35:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-573 [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-573 [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-573 [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ceef16283cbac6905d8b02dba0d23a33295441a5 [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ceef162 [Pipeline] echo 12:35:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:35:22 provisioning config files... 12:35:22 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-573@tmp/config11851927194962271510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:35:22 ---> docker-login.sh 12:35:22 nexus3.edgexfoundry.org:10001 12:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:22 Configure a credential helper to remove this warning. See 12:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:22 12:35:22 Login Succeeded 12:35:22 nexus3.edgexfoundry.org:10002 12:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:22 Configure a credential helper to remove this warning. See 12:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:22 12:35:22 Login Succeeded 12:35:22 nexus3.edgexfoundry.org:10003 12:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:22 Configure a credential helper to remove this warning. See 12:35:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:22 12:35:22 Login Succeeded 12:35:22 nexus3.edgexfoundry.org:10004 12:35:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:23 Configure a credential helper to remove this warning. See 12:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:23 12:35:23 Login Succeeded 12:35:23 docker.io 12:35:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:23 Configure a credential helper to remove this warning. See 12:35:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:23 12:35:23 Login Succeeded 12:35:23 ---> docker-login.sh ends [Pipeline] } 12:35:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:35:24 + git rev-list -1 --merges ceef16283cbac6905d8b02dba0d23a33295441a5~1..ceef16283cbac6905d8b02dba0d23a33295441a5 [Pipeline] echo 12:35:24 -----------> git rev-list -1 --merges ceef16283cbac6905d8b02dba0d23a33295441a5~1..ceef16283cbac6905d8b02dba0d23a33295441a5 ceef16283cbac6905d8b02dba0d23a33295441a5 [false] [Pipeline] sh 12:35:24 + git log --format=format:%s -1 ceef16283cbac6905d8b02dba0d23a33295441a5 [Pipeline] echo 12:35:24 ========================================================= 12:35:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:35:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:35:24 + git log --format=format:%s -1 ceef16283cbac6905d8b02dba0d23a33295441a5 [Pipeline] echo 12:35:25 [semverPrep] GIT_COMMIT: ceef16283cbac6905d8b02dba0d23a33295441a5, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:35:25 [semverPrep] This is not a build commit. [Pipeline] sh 12:35:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:35:25 + grep -v github /etc/ssh/ssh_known_hosts 12:35:25 + [ -e /tmp/ssh_known_hosts ] 12:35:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:35:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 12:35:25 sudo tee -a /etc/ssh/ssh_known_hosts 12:35:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:35:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:35:25 12:35:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:35:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:35:26 0.1.4: Pulling from edgex-devops/py-git-semver 12:35:26 b85a868b505f: Pulling fs layer 12:35:26 e2be974225ed: Pulling fs layer 12:35:26 339a4e72a1f5: Pulling fs layer 12:35:26 988bab9f4d93: Pulling fs layer 12:35:26 1469e6f7b9e6: Pulling fs layer 12:35:26 eaf3925da568: Pulling fs layer 12:35:26 bab4dde63d76: Pulling fs layer 12:35:26 bde34c3a00c8: Pulling fs layer 12:35:26 b352a97aabf1: Pulling fs layer 12:35:26 4872d77fe225: Pulling fs layer 12:35:26 5851b861e8e6: Pulling fs layer 12:35:26 eaf3925da568: Waiting 12:35:26 bab4dde63d76: Waiting 12:35:26 bde34c3a00c8: Waiting 12:35:26 4872d77fe225: Waiting 12:35:26 b352a97aabf1: Waiting 12:35:26 988bab9f4d93: Waiting 12:35:26 1469e6f7b9e6: Waiting 12:35:26 5851b861e8e6: Waiting 12:35:26 e2be974225ed: Download complete 12:35:26 988bab9f4d93: Verifying Checksum 12:35:26 988bab9f4d93: Download complete 12:35:26 1469e6f7b9e6: Verifying Checksum 12:35:26 1469e6f7b9e6: Download complete 12:35:26 339a4e72a1f5: Verifying Checksum 12:35:26 339a4e72a1f5: Download complete 12:35:26 eaf3925da568: Download complete 12:35:26 bde34c3a00c8: Verifying Checksum 12:35:26 bde34c3a00c8: Download complete 12:35:26 b352a97aabf1: Download complete 12:35:26 b85a868b505f: Verifying Checksum 12:35:26 b85a868b505f: Download complete 12:35:26 bab4dde63d76: Verifying Checksum 12:35:26 bab4dde63d76: Download complete 12:35:27 b85a868b505f: Pull complete 12:35:27 e2be974225ed: Pull complete 12:35:28 339a4e72a1f5: Pull complete 12:35:28 988bab9f4d93: Pull complete 12:35:28 1469e6f7b9e6: Pull complete 12:35:28 eaf3925da568: Pull complete 12:35:30 bab4dde63d76: Pull complete 12:35:30 bde34c3a00c8: Pull complete 12:35:30 b352a97aabf1: Pull complete 12:35:30 4872d77fe225: Pull complete 12:35:30 5851b861e8e6: Pull complete 12:35:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:35:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:35:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:35:31 prd-ubuntu20.04-docker-8c-8g-1319 does not seem to be running inside a container 12:35:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-573 -v /w/workspace/_app-service-configurable_PR-573:/w/workspace/_app-service-configurable_PR-573:rw,z -v /w/workspace/_app-service-configurable_PR-573@tmp:/w/workspace/_app-service-configurable_PR-573@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:35:33 $ docker top 99d21e6295acad1b139a348c553efcae836017ce483b75c01da1b8da5ff8ef77 -eo pid,comm 12:35:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:35:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:35:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:35:33 [ssh-agent] Looking for ssh-agent implementation... 12:35:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:35:34 $ docker exec 99d21e6295acad1b139a348c553efcae836017ce483b75c01da1b8da5ff8ef77 ssh-agent 12:35:34 SSH_AUTH_SOCK=/tmp/ssh-jT1QcMTdBoaN/agent.33 12:35:34 SSH_AGENT_PID=39 12:35:34 Running ssh-add (command line suppressed) 12:35:34 Identity added: /w/workspace/_app-service-configurable_PR-573@tmp/private_key_10038098713439730163.key (/w/workspace/_app-service-configurable_PR-573@tmp/private_key_10038098713439730163.key) 12:35:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:35:34 + git tag --points-at HEAD [Pipeline] } 12:35:34 $ docker exec --env ******** --env ******** 99d21e6295acad1b139a348c553efcae836017ce483b75c01da1b8da5ff8ef77 ssh-agent -k 12:35:34 unset SSH_AUTH_SOCK; 12:35:34 unset SSH_AGENT_PID; 12:35:34 echo Agent pid 39 killed; 12:35:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:35:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:35:34 [ssh-agent] Looking for ssh-agent implementation... 12:35:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:35:34 $ docker exec 99d21e6295acad1b139a348c553efcae836017ce483b75c01da1b8da5ff8ef77 ssh-agent 12:35:35 SSH_AUTH_SOCK=/tmp/ssh-T55QtsUX7ERD/agent.71 12:35:35 SSH_AGENT_PID=77 12:35:35 Running ssh-add (command line suppressed) 12:35:35 Identity added: /w/workspace/_app-service-configurable_PR-573@tmp/private_key_817368915176738729.key (/w/workspace/_app-service-configurable_PR-573@tmp/private_key_817368915176738729.key) 12:35:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:35:35 + git semver init 12:35:35 2023-07-17 12:35:35,623 [run_init] DEBUG init version:0.0.0 force:False 12:35:35 2023-07-17 12:35:35,624 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-573/.semver 12:35:35 2023-07-17 12:35:35,625 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-573/.semver 12:35:35 2023-07-17 12:35:35,625 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-573/.semver'], cwd=/w/workspace/_app-service-configurable_PR-573, universal_newlines=False, shell=None, istream=None) 12:35:36 2023-07-17 12:35:36,435 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-573/.git/info/exclude 12:35:36 2023-07-17 12:35:36,436 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-573/.semver/PR-573 with force:False 12:35:36 2023-07-17 12:35:36,436 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-573/.semver/PR-573 12:35:36 2023-07-17 12:35:36,441 [execute] INFO git cat-file --batch-check 12:35:36 2023-07-17 12:35:36,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-573/.semver, universal_newlines=False, shell=None, istream=) 12:35:36 2023-07-17 12:35:36,447 [execute] INFO git cat-file --batch 12:35:36 2023-07-17 12:35:36,447 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-573/.semver, universal_newlines=False, shell=None, istream=) 12:35:36 2023-07-17 12:35:36,450 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-573/.semver/PR-573 12:35:36 0.0.0 [Pipeline] } 12:35:36 $ docker exec --env ******** --env ******** 99d21e6295acad1b139a348c553efcae836017ce483b75c01da1b8da5ff8ef77 ssh-agent -k 12:35:36 unset SSH_AUTH_SOCK; 12:35:36 unset SSH_AGENT_PID; 12:35:36 echo Agent pid 77 killed; 12:35:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:35:37 + git semver [Pipeline] } 12:35:37 $ docker stop --time=1 99d21e6295acad1b139a348c553efcae836017ce483b75c01da1b8da5ff8ef77 12:35:38 $ docker rm -f --volumes 99d21e6295acad1b139a348c553efcae836017ce483b75c01da1b8da5ff8ef77 [Pipeline] // withDockerContainer [Pipeline] sh 12:35:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:35:39 Stashed 1 file(s) [Pipeline] echo 12:35:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:35:40 provisioning config files... 12:35:40 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-573@tmp/config8059176114423553766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:35:40 ---> docker-login.sh 12:35:40 nexus3.edgexfoundry.org:10001 12:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:40 Configure a credential helper to remove this warning. See 12:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:40 12:35:40 Login Succeeded 12:35:40 nexus3.edgexfoundry.org:10002 12:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:40 Configure a credential helper to remove this warning. See 12:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:40 12:35:40 Login Succeeded 12:35:40 nexus3.edgexfoundry.org:10003 12:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:40 Configure a credential helper to remove this warning. See 12:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:40 12:35:40 Login Succeeded 12:35:40 nexus3.edgexfoundry.org:10004 12:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:40 Configure a credential helper to remove this warning. See 12:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:40 12:35:40 Login Succeeded 12:35:40 docker.io 12:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:41 Configure a credential helper to remove this warning. See 12:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:41 12:35:41 Login Succeeded 12:35:41 ---> docker-login.sh ends [Pipeline] } 12:35:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:35:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:35:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:35:41 ========================================================= 12:35:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:35:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:35:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:35:41 Sending build context to Docker daemon 3.302MB 12:35:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:35:41 Step 2/12 : FROM ${BASE} AS builder 12:35:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:35:41 4db1b89c0bd1: Pulling fs layer 12:35:41 6911f1a30b25: Pulling fs layer 12:35:41 e194b8c5c2a9: Pulling fs layer 12:35:41 6863d3e3a2b1: Pulling fs layer 12:35:41 ec0bb842ea78: Pulling fs layer 12:35:41 40a00589a448: Pulling fs layer 12:35:41 6c08303d61cc: Pulling fs layer 12:35:41 798269fcf238: Pulling fs layer 12:35:41 ec0bb842ea78: Waiting 12:35:41 40a00589a448: Waiting 12:35:41 6c08303d61cc: Waiting 12:35:41 798269fcf238: Waiting 12:35:41 6863d3e3a2b1: Waiting 12:35:41 6911f1a30b25: Verifying Checksum 12:35:41 6911f1a30b25: Download complete 12:35:41 6863d3e3a2b1: Download complete 12:35:42 ec0bb842ea78: Verifying Checksum 12:35:42 ec0bb842ea78: Download complete 12:35:42 4db1b89c0bd1: Verifying Checksum 12:35:42 4db1b89c0bd1: Download complete 12:35:42 40a00589a448: Verifying Checksum 12:35:42 40a00589a448: Download complete 12:35:42 4db1b89c0bd1: Pull complete 12:35:42 6911f1a30b25: Pull complete 12:35:42 798269fcf238: Verifying Checksum 12:35:42 798269fcf238: Download complete 12:35:42 e194b8c5c2a9: Verifying Checksum 12:35:42 e194b8c5c2a9: Download complete 12:35:42 6c08303d61cc: Verifying Checksum 12:35:42 6c08303d61cc: Download complete 12:35:46 e194b8c5c2a9: Pull complete 12:35:46 6863d3e3a2b1: Pull complete 12:35:46 ec0bb842ea78: Pull complete 12:35:46 40a00589a448: Pull complete 12:35:48 6c08303d61cc: Pull complete 12:35:49 798269fcf238: Pull complete 12:35:49 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:35:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:35:49 ---> ec979cd7f677 12:35:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:35:54 ---> Running in 09ee837c9828 12:35:54 Removing intermediate container 09ee837c9828 12:35:54 ---> 033ce955d790 12:35:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:35:54 ---> Running in c44d42e4537f 12:35:54 Removing intermediate container c44d42e4537f 12:35:54 ---> 00a20e2bf6de 12:35:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:35:54 ---> Running in 32af7226f212 12:35:54 Removing intermediate container 32af7226f212 12:35:54 ---> fb97d1e32e47 12:35:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:35:54 ---> Running in 850ac0b4b470 12:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:35:54 Still waiting to schedule task 12:35:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:35:55 OK: 265 MiB in 53 packages 12:35:55 Removing intermediate container 850ac0b4b470 12:35:55 ---> 8c98d710e720 12:35:55 Step 7/12 : WORKDIR /app 12:35:55 ---> Running in 77eaa3880ee8 12:35:55 Removing intermediate container 77eaa3880ee8 12:35:55 ---> 3f5479828b96 12:35:55 Step 8/12 : COPY go.mod vendor* ./ 12:35:55 ---> 148971011e07 12:35:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:35:55 ---> Running in b75675193fe0 12:37:03 Removing intermediate container b75675193fe0 12:37:03 ---> 57b69faeca71 12:37:03 Step 10/12 : COPY . . 12:37:03 ---> 0ea40eae38f4 12:37:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:37:03 ---> Running in 2a0ce1344de0 12:37:03 Removing intermediate container 2a0ce1344de0 12:37:03 ---> 229b8c59473b 12:37:03 Step 12/12 : RUN $MAKE 12:37:03 ---> Running in 190c0d7b2e6e 12:37:03 noop 12:37:03 Removing intermediate container 190c0d7b2e6e 12:37:03 ---> a697853a434e 12:37:03 Successfully built a697853a434e 12:37:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:03 + docker inspect -f . ci-base-image-x86_64 12:37:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:37:04 prd-ubuntu20.04-docker-8c-8g-1319 does not seem to be running inside a container 12:37:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-573 -v /w/workspace/_app-service-configurable_PR-573:/w/workspace/_app-service-configurable_PR-573:rw,z -v /w/workspace/_app-service-configurable_PR-573@tmp:/w/workspace/_app-service-configurable_PR-573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:37:04 $ docker top 8971b5144528820591719f5f8a9006afccc5fa62c17164a9dcaeac908d2c3974 -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:05 + go version 12:37:05 go version go1.20.6 linux/amd64 [Pipeline] } 12:37:05 $ docker stop --time=1 8971b5144528820591719f5f8a9006afccc5fa62c17164a9dcaeac908d2c3974 12:37:06 $ docker rm -f --volumes 8971b5144528820591719f5f8a9006afccc5fa62c17164a9dcaeac908d2c3974 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:07 + docker inspect -f . ci-base-image-x86_64 12:37:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:37:07 prd-ubuntu20.04-docker-8c-8g-1319 does not seem to be running inside a container 12:37:07 $ 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-573 -v /w/workspace/_app-service-configurable_PR-573:/w/workspace/_app-service-configurable_PR-573:rw,z -v /w/workspace/_app-service-configurable_PR-573@tmp:/w/workspace/_app-service-configurable_PR-573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:37:07 $ docker top ca2c23c09ac343aaccc6a5b397d99ac38ac15debbdb218ffec37fcd8487f3e3b -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:07 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-573 [Pipeline] fileExists [Pipeline] sh 12:37:08 + make test 12:37:08 go test -race -coverprofile=coverage.out ./... 12:37:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1320 in /w/workspace/_app-service-configurable_PR-573 [Pipeline] { [Pipeline] ws 12:37:24 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:37:24 Selected Git installation does not exist. Using Default 12:37:24 The recommended git tool is: NONE 12:37:29 using credential edgex-jenkins-ssh 12:37:29 Cloning the remote Git repository 12:37:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:37:29 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:37:29 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:37:30 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:37:30 > git --version # timeout=10 12:37:30 > git --version # 'git version 2.25.1' 12:37:30 using GIT_SSH to set credentials SSH Credentials for GitHub 12:37:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:37:31 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:37:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:37:32 Merging remotes/origin/main commit 458aadecb4486dfbbf1060360ea4d12c7efd2521 into PR head commit ceef16283cbac6905d8b02dba0d23a33295441a5 12:37:32 Merge succeeded, producing ceef16283cbac6905d8b02dba0d23a33295441a5 12:37:32 Checking out Revision ceef16283cbac6905d8b02dba0d23a33295441a5 (PR-573) 12:37:33 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:37:32 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:37:32 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:37:32 using GIT_SSH to set credentials SSH Credentials for GitHub 12:37:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/573/head:refs/remotes/origin/PR-573 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:37:32 > git config core.sparsecheckout # timeout=10 12:37:32 > git checkout -f ceef16283cbac6905d8b02dba0d23a33295441a5 # timeout=10 12:37:32 > git remote # timeout=10 12:37:32 > git config --get remote.origin.url # timeout=10 12:37:32 using GIT_SSH to set credentials SSH Credentials for GitHub 12:37:32 > git merge 458aadecb4486dfbbf1060360ea4d12c7efd2521 # timeout=10 12:37:32 > git rev-parse HEAD^{commit} # timeout=10 12:37:32 > git config core.sparsecheckout # timeout=10 12:37:32 > git checkout -f ceef16283cbac6905d8b02dba0d23a33295441a5 # timeout=10 12:37:33 > git --version # timeout=10 12:37:33 > git --version # 'git version 2.25.1' 12:37:33 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:37:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:37:34 % Total % Received % Xferd Average Speed Time Time Time Current 12:37:34 Dload Upload Total Spent Left Speed 12:37:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 94451 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 12:37:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:37:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:37:35 + sudo tee /etc/docker/daemon.new 12:37:35 { 12:37:35 "registry-mirrors": [ 12:37:35 "https://nexus3.edgexfoundry.org:10001" 12:37:35 ], 12:37:35 "bip": "10.250.0.254/24", 12:37:35 "hosts": [ 12:37:35 "tcp://0.0.0.0:5555", 12:37:35 "unix:///var/run/docker.sock" 12:37:35 ], 12:37:35 "mtu": 1458, 12:37:35 "selinux-enabled": true, 12:37:35 "seccomp-profile": "/etc/docker/seccomp.json" 12:37:35 } [Pipeline] sh 12:37:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:37:36 + sudo service docker restart 12:37:48 go vet ./... 12:37:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:37:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:37:51 ./bin/test-attribution-txt.sh [Pipeline] echo 12:37:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:37:51 $ docker stop --time=1 ca2c23c09ac343aaccc6a5b397d99ac38ac15debbdb218ffec37fcd8487f3e3b 12:37:54 $ docker rm -f --volumes ca2c23c09ac343aaccc6a5b397d99ac38ac15debbdb218ffec37fcd8487f3e3b [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:37:55 provisioning config files... 12:37:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config13303745507813145545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:37:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:37:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 12:37:55 ---> docker-login.sh 12:37:55 nexus3.edgexfoundry.org:10001 [Pipeline] sh 12:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:56 + sudo chown -R jenkins:jenkins . 12:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:56 Configure a credential helper to remove this warning. See 12:37:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:56 12:37:56 Login Succeeded 12:37:56 nexus3.edgexfoundry.org:10002 [Pipeline] sh 12:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:56 Configure a credential helper to remove this warning. See 12:37:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:56 12:37:56 Login Succeeded 12:37:56 nexus3.edgexfoundry.org:10003 12:37:56 + ls -al . 12:37:56 total 180 12:37:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 12:37 . 12:37:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 12:35 .. 12:37:56 -rw-rw-r-- 1 jenkins jenkins 119 Jul 17 12:35 .dockerignore 12:37:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 12:35 .git 12:37:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 12:35 .github 12:37:56 -rw-rw-r-- 1 jenkins jenkins 171 Jul 17 12:35 .gitignore 12:37:56 -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 12:35 .golangci.yml 12:37:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 12:35 .semver 12:37:56 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 17 12:35 Attribution.txt 12:37:56 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 17 12:35 CHANGELOG.md 12:37:56 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 17 12:35 Dockerfile 12:37:56 -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 12:35 GOVERNANCE.md 12:37:56 -rw-rw-r-- 1 jenkins jenkins 688 Jul 17 12:35 Jenkinsfile 12:37:56 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 17 12:35 LICENSE 12:37:56 -rw-rw-r-- 1 jenkins jenkins 618 Jul 17 12:35 OWNERS.md 12:37:56 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 17 12:35 README.md 12:37:56 -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 12:35 VERSION 12:37:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 12:35 bin 12:37:56 -rw-r--r-- 1 jenkins jenkins 13 Jul 17 12:37 coverage.out 12:37:56 -rw-rw-r-- 1 jenkins jenkins 3468 Jul 17 12:35 go.mod 12:37:56 -rw-rw-r-- 1 jenkins jenkins 32450 Jul 17 12:35 go.sum 12:37:56 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 17 12:35 main.go 12:37:56 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 17 12:35 makefile 12:37:56 drwxrwxr-x 9 jenkins jenkins 4096 Jul 17 12:35 res 12:37:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 12:35 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:56 + 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=ceef16283cbac6905d8b02dba0d23a33295441a5 --label arch=amd64 --label version=0.0.0 . 12:37:56 Sending build context to Docker daemon 3.303MB 12:37:56 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:37:56 Step 2/26 : FROM ${BASE} AS builder 12:37:56 ---> a697853a434e 12:37:56 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:37:56 ---> Running in d029a51bab7e 12:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:57 Configure a credential helper to remove this warning. See 12:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:57 12:37:57 Login Succeeded 12:37:57 nexus3.edgexfoundry.org:10004 12:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:57 Removing intermediate container d029a51bab7e 12:37:57 ---> 159c45512b7d 12:37:57 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:37:57 ---> Running in ea85ae500929 12:37:57 Removing intermediate container ea85ae500929 12:37:57 ---> ac8fa2a9f7d1 12:37:57 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:37:57 ---> Running in ae3d07d6b467 12:37:57 Removing intermediate container ae3d07d6b467 12:37:57 ---> 63f75832a566 12:37:57 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:37:57 ---> Running in 82409121baf2 12:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:57 Configure a credential helper to remove this warning. See 12:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:57 12:37:57 Login Succeeded 12:37:57 docker.io 12:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:57 Configure a credential helper to remove this warning. See 12:37:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:57 12:37:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:37:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:37:57 Login Succeeded 12:37:57 ---> docker-login.sh ends [Pipeline] } 12:37:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 12:37:58 OK: 265 MiB in 53 packages [Pipeline] echo 12:37:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:37:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 12:37:58 Removing intermediate container 82409121baf2 12:37:58 ---> fc1d6c14f746 12:37:58 Step 7/26 : WORKDIR /app 12:37:58 ---> Running in 6cb242f1d171 12:37:58 Removing intermediate container 6cb242f1d171 12:37:58 ---> b7d0c2c14c97 12:37:58 Step 8/26 : COPY go.mod vendor* ./ [Pipeline] echo 12:37:58 ========================================================= 12:37:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:37:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:58 ---> 13b87a8462fb 12:37:58 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:37:58 ---> Running in 8d39b437e8ed 12:37:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:37:58 Sending build context to Docker daemon 176.1kB 12:37:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:37:59 Step 2/12 : FROM ${BASE} AS builder 12:37:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:37:59 edb6bdbacee9: Pulling fs layer 12:37:59 5f9638ab2659: Pulling fs layer 12:37:59 8d51d6327a98: Pulling fs layer 12:37:59 8b374f2dd631: Pulling fs layer 12:37:59 ec14aa9079de: Pulling fs layer 12:37:59 2f466654f4bb: Pulling fs layer 12:37:59 554e91adad29: Pulling fs layer 12:37:59 ec14aa9079de: Waiting 12:37:59 2f466654f4bb: Waiting 12:37:59 554e91adad29: Waiting 12:37:59 8b374f2dd631: Waiting 12:37:59 5f9638ab2659: Verifying Checksum 12:37:59 5f9638ab2659: Download complete 12:37:59 8b374f2dd631: Verifying Checksum 12:37:59 8b374f2dd631: Download complete 12:37:59 ec14aa9079de: Verifying Checksum 12:37:59 ec14aa9079de: Download complete 12:37:59 edb6bdbacee9: Verifying Checksum 12:37:59 Removing intermediate container 8d39b437e8ed 12:37:59 ---> d865b0bd9ddf 12:37:59 Step 10/26 : COPY . . 12:37:59 ---> c3e2bb3c3ecb 12:37:59 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:37:59 ---> Running in 525f2d3e34f6 12:37:59 Removing intermediate container 525f2d3e34f6 12:37:59 ---> 7b16c052168b 12:37:59 Step 12/26 : RUN $MAKE 12:37:59 ---> Running in b1cfdf7952b1 12:38:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.7 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:38:00 554e91adad29: Verifying Checksum 12:38:00 554e91adad29: Download complete 12:38:01 8d51d6327a98: Verifying Checksum 12:38:01 8d51d6327a98: Download complete 12:38:01 edb6bdbacee9: Pull complete 12:38:01 2f466654f4bb: Verifying Checksum 12:38:01 2f466654f4bb: Download complete 12:38:02 5f9638ab2659: Pull complete 12:38:14 8d51d6327a98: Pull complete 12:38:14 8b374f2dd631: Pull complete 12:38:15 ec14aa9079de: Pull complete 12:38:21 2f466654f4bb: Pull complete 12:38:21 Removing intermediate container b1cfdf7952b1 12:38:21 ---> 4b4e8df2d798 12:38:21 Step 13/26 : FROM alpine:3.17 12:38:21 3.17: Pulling from library/alpine 12:38:21 4db1b89c0bd1: Already exists 12:38:21 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:38:21 Status: Downloaded newer image for alpine:3.17 12:38:21 ---> 1f73a9d63274 12:38:21 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:38:21 ---> Running in 917feda44175 12:38:21 Removing intermediate container 917feda44175 12:38:21 ---> 31eef11d871d 12:38:21 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:38:21 ---> Running in c9c8ddb7d415 12:38:21 Removing intermediate container c9c8ddb7d415 12:38:21 ---> 8ed9ff47b201 12:38:21 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:38:21 ---> Running in fb57f8caf092 12:38:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:38:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:38:21 (1/2) Installing ca-certificates (20230506-r0) 12:38:21 (2/2) Installing dumb-init (1.2.5-r2) 12:38:21 Executing busybox-1.35.0-r29.trigger 12:38:21 Executing ca-certificates-20230506-r0.trigger 12:38:21 OK: 8 MiB in 17 packages 12:38:21 Removing intermediate container fb57f8caf092 12:38:21 ---> fbf45d529698 12:38:21 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:38:21 ---> 7580c3059c3b 12:38:21 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:38:21 ---> 0ce9a9f1565a 12:38:21 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:38:21 ---> d442b5bb5a92 12:38:21 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:38:22 ---> 9f51cee73463 12:38:22 Step 21/26 : EXPOSE 48095 12:38:22 ---> Running in ecc7b5cc0c00 12:38:22 Removing intermediate container ecc7b5cc0c00 12:38:22 ---> 2f63f74e3674 12:38:22 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:38:22 ---> Running in a165cf2e7758 12:38:22 Removing intermediate container a165cf2e7758 12:38:22 ---> 7b464b6a1e5e 12:38:22 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:38:22 ---> Running in bee6533e24e1 12:38:23 Removing intermediate container bee6533e24e1 12:38:23 ---> 5de12effc1e6 12:38:23 Step 24/26 : LABEL arch=amd64 12:38:23 ---> Running in 105c737b0bdd 12:38:23 Removing intermediate container 105c737b0bdd 12:38:23 ---> 55284dfffd84 12:38:23 Step 25/26 : LABEL git_sha=ceef16283cbac6905d8b02dba0d23a33295441a5 12:38:23 ---> Running in 0d7e90f7382d 12:38:23 Removing intermediate container 0d7e90f7382d 12:38:23 ---> 8b1800cead53 12:38:23 Step 26/26 : LABEL version=0.0.0 12:38:23 ---> Running in b6408dff328c 12:38:23 Removing intermediate container b6408dff328c 12:38:23 ---> af97fe29a01f 12:38:23 [Warning] One or more build-args [ARCH] were not consumed 12:38:23 Successfully built af97fe29a01f 12:38:23 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:24 554e91adad29: Pull complete 12:38:24 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:38:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:38:24 ---> 1e15ea492957 12:38:24 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:38:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:24 12:38:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:24 latest: Pulling from edgex-lftools-log-publisher 12:38:24 5eb5b503b376: Pulling fs layer 12:38:24 5c69ac0246d0: Pulling fs layer 12:38:24 ec43610c2a17: Pulling fs layer 12:38:24 3a2ae6a8a46f: Pulling fs layer 12:38:24 33b1e0a273af: Pulling fs layer 12:38:24 5d3b04190fa2: Pulling fs layer 12:38:24 2f39f015ded8: Pulling fs layer 12:38:24 3a2ae6a8a46f: Waiting 12:38:24 33b1e0a273af: Waiting 12:38:24 5d3b04190fa2: Waiting 12:38:24 2f39f015ded8: Waiting 12:38:24 5c69ac0246d0: Download complete 12:38:24 3a2ae6a8a46f: Verifying Checksum 12:38:24 3a2ae6a8a46f: Download complete 12:38:24 33b1e0a273af: Verifying Checksum 12:38:24 33b1e0a273af: Download complete 12:38:24 5d3b04190fa2: Verifying Checksum 12:38:24 5d3b04190fa2: Download complete 12:38:24 ec43610c2a17: Verifying Checksum 12:38:24 ec43610c2a17: Download complete 12:38:25 5eb5b503b376: Verifying Checksum 12:38:25 5eb5b503b376: Download complete 12:38:25 2f39f015ded8: Download complete 12:38:26 ---> Running in 1b472cc52816 12:38:26 Removing intermediate container 1b472cc52816 12:38:26 ---> c89e2c0ac4d2 12:38:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:38:26 5eb5b503b376: Pull complete 12:38:26 ---> Running in ddae0658ae68 12:38:26 5c69ac0246d0: Pull complete 12:38:26 Removing intermediate container ddae0658ae68 12:38:26 ---> 2d84ecb6f306 12:38:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:38:26 ---> Running in e25b349725d8 12:38:27 Removing intermediate container e25b349725d8 12:38:27 ---> 6ce41e36f447 12:38:27 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:38:27 ---> Running in a6bc7c0910ef 12:38:27 ec43610c2a17: Pull complete 12:38:27 3a2ae6a8a46f: Pull complete 12:38:27 33b1e0a273af: Pull complete 12:38:27 5d3b04190fa2: Pull complete 12:38:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:38:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:38:29 OK: 263 MiB in 53 packages 12:38:30 Removing intermediate container a6bc7c0910ef 12:38:30 ---> 867ba9be0c8b 12:38:30 Step 7/12 : WORKDIR /app 12:38:30 ---> Running in 85a0a126ce73 12:38:30 Removing intermediate container 85a0a126ce73 12:38:30 ---> a9444c44c6c0 12:38:30 Step 8/12 : COPY go.mod vendor* ./ 12:38:31 ---> 86569856a1c6 12:38:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:38:31 ---> Running in 054873a3804a 12:38:31 2f39f015ded8: Pull complete 12:38:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:38:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:38:31 prd-ubuntu20.04-docker-8c-8g-1319 does not seem to be running inside a container 12:38:31 $ 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-573 -v /w/workspace/_app-service-configurable_PR-573:/w/workspace/_app-service-configurable_PR-573:rw,z -v /w/workspace/_app-service-configurable_PR-573@tmp:/w/workspace/_app-service-configurable_PR-573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:38:35 $ docker top 34b0040949e9747b6cf2561e0db5246d4dd58512a2669de00cffac5f57cc6cb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:38:35 ---> job-cost.sh 12:38:35 lf-activate-venv: SKIPPING 12:38:35 INFO: No Stack... 12:38:35 INFO: Retrieving Pricing Info for: v3-standard-8 12:38:36 INFO: Archiving Costs [Pipeline] sh 12:38:36 + cat /w/workspace/_app-service-configurable_PR-573/archives/cost.csv 12:38:36 + cut -d, -f6 [Pipeline] lock 12:38:36 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-573-1-stack-cost] 12:38:36 Resource [jenkins-edgexfoundry-app-service-configurable-PR-573-1-stack-cost] did not exist. Created. 12:38:36 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-573-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:38:36 + echo total: 0.2199999988079071 [Pipeline] stash 12:38:36 Stashed 1 file(s) [Pipeline] } 12:38:36 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-573-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:38:37 $ docker stop --time=1 34b0040949e9747b6cf2561e0db5246d4dd58512a2669de00cffac5f57cc6cb6 12:38:38 $ docker rm -f --volumes 34b0040949e9747b6cf2561e0db5246d4dd58512a2669de00cffac5f57cc6cb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:39:39 Removing intermediate container 054873a3804a 12:39:39 ---> ec4d3276d89a 12:39:39 Step 10/12 : COPY . . 12:39:39 ---> c1ff351c6276 12:39:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:39:39 ---> Running in d626da0ccb03 12:39:39 Removing intermediate container d626da0ccb03 12:39:39 ---> 70d03f219794 12:39:39 Step 12/12 : RUN $MAKE 12:39:39 ---> Running in 9323f3c0d8a3 12:39:39 noop 12:39:39 Removing intermediate container 9323f3c0d8a3 12:39:39 ---> edc682789f6d 12:39:39 Successfully built edc682789f6d 12:39:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:39 + docker inspect -f . ci-base-image-arm64 12:39:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:39:40 prd-ubuntu20.04-docker-arm64-4c-16g-1320 does not seem to be running inside a container 12:39:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:39:41 $ docker top 5bf1bcb3b767de7348c849a5f7bc572eaf47844eb647554bb607783a45156b6d -eo pid,comm [Pipeline] { [Pipeline] sh 12:39:42 + go version 12:39:42 go version go1.20.6 linux/arm64 [Pipeline] } 12:39:42 $ docker stop --time=1 5bf1bcb3b767de7348c849a5f7bc572eaf47844eb647554bb607783a45156b6d 12:39:43 $ docker rm -f --volumes 5bf1bcb3b767de7348c849a5f7bc572eaf47844eb647554bb607783a45156b6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:44 + docker inspect -f . ci-base-image-arm64 12:39:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:39:44 prd-ubuntu20.04-docker-arm64-4c-16g-1320 does not seem to be running inside a container 12:39:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:39:46 $ docker top 1bb04640a9d0526fba5226581aaaf9e643c7d214e5004a960cb7d57695d3a523 -eo pid,comm [Pipeline] { [Pipeline] sh 12:39:46 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:39:46 + make test 12:39:46 go test -race -coverprofile=coverage.out ./... 12:42:23 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:42:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:42:23 go vet ./... 12:44:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:44:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:44:45 ./bin/test-attribution-txt.sh [Pipeline] echo 12:44:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:44:45 $ docker stop --time=1 1bb04640a9d0526fba5226581aaaf9e643c7d214e5004a960cb7d57695d3a523 12:44:47 $ docker rm -f --volumes 1bb04640a9d0526fba5226581aaaf9e643c7d214e5004a960cb7d57695d3a523 [Pipeline] // withDockerContainer [Pipeline] sh 12:44:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:44:48 Warning: overwriting stash ‘coverage-report’ 12:44:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:44:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:44:50 + ls -al . 12:44:50 total 176 12:44:50 drwxrwxr-x 7 jenkins jenkins 4096 Jul 17 12:39 . 12:44:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 12:37 .. 12:44:50 -rw-rw-r-- 1 jenkins jenkins 119 Jul 17 12:37 .dockerignore 12:44:50 drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 12:37 .git 12:44:50 drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 12:37 .github 12:44:50 -rw-rw-r-- 1 jenkins jenkins 171 Jul 17 12:37 .gitignore 12:44:50 -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 12:37 .golangci.yml 12:44:50 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 17 12:37 Attribution.txt 12:44:50 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 17 12:37 CHANGELOG.md 12:44:50 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 17 12:37 Dockerfile 12:44:50 -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 12:37 GOVERNANCE.md 12:44:50 -rw-rw-r-- 1 jenkins jenkins 688 Jul 17 12:37 Jenkinsfile 12:44:50 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 17 12:37 LICENSE 12:44:50 -rw-rw-r-- 1 jenkins jenkins 618 Jul 17 12:37 OWNERS.md 12:44:50 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 17 12:37 README.md 12:44:50 -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 12:35 VERSION 12:44:50 drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 12:37 bin 12:44:50 -rw-r--r-- 1 jenkins jenkins 13 Jul 17 12:39 coverage.out 12:44:50 -rw-rw-r-- 1 jenkins jenkins 3468 Jul 17 12:37 go.mod 12:44:50 -rw-rw-r-- 1 jenkins jenkins 32450 Jul 17 12:37 go.sum 12:44:50 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 17 12:37 main.go 12:44:50 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 17 12:37 makefile 12:44:50 drwxrwxr-x 9 jenkins jenkins 4096 Jul 17 12:37 res 12:44:50 drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 12:37 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:44:50 + 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=ceef16283cbac6905d8b02dba0d23a33295441a5 --label arch=arm64 --label version=0.0.0 . 12:44:50 Sending build context to Docker daemon 177.2kB 12:44:50 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:44:50 Step 2/26 : FROM ${BASE} AS builder 12:44:50 ---> edc682789f6d 12:44:50 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:44:50 ---> Running in 0395be1ad82f 12:44:51 Removing intermediate container 0395be1ad82f 12:44:51 ---> 799c56eed1eb 12:44:51 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:44:51 ---> Running in e7e3a104c9cd 12:44:51 Removing intermediate container e7e3a104c9cd 12:44:51 ---> 8621557e1f42 12:44:51 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:44:51 ---> Running in dd4975b1f638 12:44:51 Removing intermediate container dd4975b1f638 12:44:51 ---> 0cb7ad6588c8 12:44:51 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:44:51 ---> Running in 1a24f6f5c890 12:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:44:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:44:54 OK: 263 MiB in 53 packages 12:44:56 Removing intermediate container 1a24f6f5c890 12:44:56 ---> 734797a17a8f 12:44:56 Step 7/26 : WORKDIR /app 12:44:56 ---> Running in a0d305ef4571 12:44:56 Removing intermediate container a0d305ef4571 12:44:56 ---> f47eb7f40c61 12:44:56 Step 8/26 : COPY go.mod vendor* ./ 12:44:57 ---> 255bd43b05f8 12:44:57 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:44:57 ---> Running in 5abe37e9eea2 12:45:00 Removing intermediate container 5abe37e9eea2 12:45:00 ---> 688423fcf4c1 12:45:00 Step 10/26 : COPY . . 12:45:00 ---> 2cdd0473da62 12:45:00 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:45:00 ---> Running in ec9262a62646 12:45:00 Removing intermediate container ec9262a62646 12:45:00 ---> c81ef57db9c7 12:45:00 Step 12/26 : RUN $MAKE 12:45:00 ---> Running in 5956c3ed7e0d 12:45:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.7 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:47:10 Removing intermediate container 5956c3ed7e0d 12:47:10 ---> 93bdb51e3ab1 12:47:10 Step 13/26 : FROM alpine:3.17 12:47:10 3.17: Pulling from library/alpine 12:47:10 edb6bdbacee9: Already exists 12:47:10 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:47:10 Status: Downloaded newer image for alpine:3.17 12:47:10 ---> 779605e5fbc0 12:47:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:47:10 ---> Running in 1696b3d6113c 12:47:10 Removing intermediate container 1696b3d6113c 12:47:10 ---> 101a2a46eabd 12:47:10 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:47:10 ---> Running in 6e78ea3a95f3 12:47:10 Removing intermediate container 6e78ea3a95f3 12:47:10 ---> 438b45d6fd19 12:47:10 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:47:10 ---> Running in 1184b982fec2 12:47:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:47:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:47:10 (1/2) Installing ca-certificates (20230506-r0) 12:47:10 (2/2) Installing dumb-init (1.2.5-r2) 12:47:10 Executing busybox-1.35.0-r29.trigger 12:47:10 Executing ca-certificates-20230506-r0.trigger 12:47:10 OK: 8 MiB in 17 packages 12:47:10 Removing intermediate container 1184b982fec2 12:47:10 ---> b0e312847558 12:47:10 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:47:10 ---> f5498fe99fb9 12:47:10 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:47:11 ---> 51dc4e930261 12:47:11 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:47:11 ---> 42849243f66b 12:47:11 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:47:13 ---> d1dd7269e3f1 12:47:13 Step 21/26 : EXPOSE 48095 12:47:13 ---> Running in 25da3896b2b4 12:47:13 Removing intermediate container 25da3896b2b4 12:47:13 ---> 5db89b874576 12:47:13 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:47:13 ---> Running in 63569f95b689 12:47:13 Removing intermediate container 63569f95b689 12:47:13 ---> d7a6017c0225 12:47:13 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:47:13 ---> Running in 6416f4c2213f 12:47:13 Removing intermediate container 6416f4c2213f 12:47:13 ---> 881f7c94c5b1 12:47:13 Step 24/26 : LABEL arch=arm64 12:47:13 ---> Running in 4a829e9d3b4e 12:47:14 Removing intermediate container 4a829e9d3b4e 12:47:14 ---> e709650417e5 12:47:14 Step 25/26 : LABEL git_sha=ceef16283cbac6905d8b02dba0d23a33295441a5 12:47:14 ---> Running in 66334d8d02df 12:47:14 Removing intermediate container 66334d8d02df 12:47:14 ---> f1f294cc7577 12:47:14 Step 26/26 : LABEL version=0.0.0 12:47:14 ---> Running in 36fa5d72faef 12:47:14 Removing intermediate container 36fa5d72faef 12:47:14 ---> 31918f23325c 12:47:14 [Warning] One or more build-args [ARCH] were not consumed 12:47:14 Successfully built 31918f23325c 12:47:14 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:47:15 12:47:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:47:16 arm64: Pulling from edgex-lftools-log-publisher 12:47:16 8998bd30e6a1: Pulling fs layer 12:47:16 04944245beec: Pulling fs layer 12:47:16 699f458cf7ca: Pulling fs layer 12:47:16 765212b225bb: Pulling fs layer 12:47:16 f23df028b6ca: Pulling fs layer 12:47:16 d65c8cfc05b1: Pulling fs layer 12:47:16 2437ff75d9bd: Pulling fs layer 12:47:16 765212b225bb: Waiting 12:47:16 f23df028b6ca: Waiting 12:47:16 d65c8cfc05b1: Waiting 12:47:16 2437ff75d9bd: Waiting 12:47:16 04944245beec: Verifying Checksum 12:47:16 04944245beec: Download complete 12:47:16 765212b225bb: Verifying Checksum 12:47:16 765212b225bb: Download complete 12:47:16 f23df028b6ca: Verifying Checksum 12:47:16 f23df028b6ca: Download complete 12:47:16 d65c8cfc05b1: Download complete 12:47:16 699f458cf7ca: Verifying Checksum 12:47:16 699f458cf7ca: Download complete 12:47:17 8998bd30e6a1: Verifying Checksum 12:47:17 8998bd30e6a1: Download complete 12:47:18 2437ff75d9bd: Verifying Checksum 12:47:18 2437ff75d9bd: Download complete 12:47:22 8998bd30e6a1: Pull complete 12:47:22 04944245beec: Pull complete 12:47:23 699f458cf7ca: Pull complete 12:47:24 765212b225bb: Pull complete 12:47:24 f23df028b6ca: Pull complete 12:47:25 d65c8cfc05b1: Pull complete 12:47:40 2437ff75d9bd: Pull complete 12:47:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:47:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:47:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:47:40 prd-ubuntu20.04-docker-arm64-4c-16g-1320 does not seem to be running inside a container 12:47:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:47:42 $ docker top a9fbb4407e0027a14456ca59cfc71ba48e269166449f4375f90655ba2d8c7b66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:47:43 ---> job-cost.sh 12:47:43 lf-activate-venv: SKIPPING 12:47:43 INFO: No Stack... 12:47:44 INFO: Retrieving Pricing Info for: v3-standard-4 12:47:44 INFO: Archiving Costs [Pipeline] sh 12:47:45 + cut -d, -f6 12:47:45 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 12:47:45 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-573-1-stack-cost] 12:47:45 Resource [jenkins-edgexfoundry-app-service-configurable-PR-573-1-stack-cost] did not exist. Created. 12:47:45 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-573-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:47:45 /w/workspace/app-service-configurable/1@tmp/durable-8f731a67/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:47:46 + echo total: 0.10999999940395355 [Pipeline] stash 12:47:46 Warning: overwriting stash ‘stack-cost’ 12:47:46 Stashed 1 file(s) [Pipeline] } 12:47:46 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-573-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:47:46 $ docker stop --time=1 a9fbb4407e0027a14456ca59cfc71ba48e269166449f4375f90655ba2d8c7b66 12:47:47 $ docker rm -f --volumes a9fbb4407e0027a14456ca59cfc71ba48e269166449f4375f90655ba2d8c7b66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:47:48 provisioning config files... 12:47:48 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-573@tmp/config15583203880108019994tmp [Pipeline] { [Pipeline] sh 12:47:49 + set +x 12:47:49 + bash -s -- 12:47:49 + curl -s https://codecov.io/bash 12:47:49 12:47:49 _____ _ 12:47:49 / ____| | | 12:47:49 | | ___ __| | ___ ___ _____ __ 12:47:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:47:49 | |___| (_) | (_| | __/ (_| (_) \ V / 12:47:49 \_____\___/ \__,_|\___|\___\___/ \_/ 12:47:49 Bash-1.0.6 12:47:49 12:47:49 12:47:49 ==> git version 2.25.1 found 12:47:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:47:49 Release-Date: 2020-01-08 12:47:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:47:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:47:49 ==> Jenkins CI detected. 12:47:49 current dir:  /w/workspace/_app-service-configurable_PR-573 12:47:49 project root: . 12:47:49 --> token set from env 12:47:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:47:49 ==> Running gcov in . (disable via -X gcov) 12:47:49 ==> Python coveragepy not found 12:47:49 ==> Searching for coverage reports in: 12:47:49 + . 12:47:49 -> Found 1 reports 12:47:49 ==> Detecting git/mercurial file structure 12:47:49 ==> Reading reports 12:47:49 + ./coverage.out bytes=13 12:47:49 ==> Appending adjustments 12:47:49 https://docs.codecov.io/docs/fixing-reports 12:47:49 + Found adjustments 12:47:49 ==> Gzipping contents 12:47:49 4.0K /tmp/codecov.o4LHPj.gz 12:47:49 ==> Uploading reports 12:47:49 url: https://codecov.io 12:47:49 query: branch=PR-573&commit=ceef16283cbac6905d8b02dba0d23a33295441a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-573%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=573&job=&cmd_args= 12:47:49 -> Pinging Codecov 12:47:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-573&commit=ceef16283cbac6905d8b02dba0d23a33295441a5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-573%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=573&job=&cmd_args= 12:47:49 -> Uploading to 12:47:49 https://storage.googleapis.com/codecov/v4/raw/2023-07-17/A97CA9966030D2A3747ED39772930CCE/ceef16283cbac6905d8b02dba0d23a33295441a5/8d204dcd-af14-4b13-9f52-2a1924b23fef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230717%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230717T124749Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6cfdd4c914fe71f6fb99c43aca6ae9f559d3ed878ede1ebdc2cb330fe05f7ef6 12:47:49 % Total % Received % Xferd Average Speed Time Time Time Current 12:47:49 Dload Upload Total Spent Left Speed 12:47:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2033 --:--:-- --:--:-- --:--:-- 2023 100 429 0 0 100 429 0 2023 --:--:-- --:--:-- --:--:-- 2014 12:47:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/ceef16283cbac6905d8b02dba0d23a33295441a5 [Pipeline] } 12:47:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:47:51 + [ -d /w/workspace/_app-service-configurable_PR-573/archives ] 12:47:51 + ls -al /w/workspace/_app-service-configurable_PR-573/archives 12:47:51 total 16 12:47:51 drwxr-xr-x 3 root root 4096 Jul 17 12:38 . 12:47:51 drwxrwxr-x 9 jenkins jenkins 4096 Jul 17 12:38 .. 12:47:51 drwxr-xr-x 2 root root 4096 Jul 17 12:38 cost 12:47:51 -rw-r--r-- 1 root root 96 Jul 17 12:38 cost.csv 12:47:51 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-573/archives 12:47:51 + ls -al /w/workspace/_app-service-configurable_PR-573/archives 12:47:51 total 16 12:47:51 drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 12:38 . 12:47:51 drwxrwxr-x 9 jenkins jenkins 4096 Jul 17 12:38 .. 12:47:51 drwxr-xr-x 2 jenkins jenkins 4096 Jul 17 12:38 cost 12:47:51 -rw-r--r-- 1 jenkins jenkins 96 Jul 17 12:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:47:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:47:52 ---> package-listing.sh 12:47:52 ++ facter osfamily 12:47:52 ++ tr '[:upper:]' '[:lower:]' 12:47:52 + OS_FAMILY=debian 12:47:52 + workspace=/w/workspace/_app-service-configurable_PR-573 12:47:52 + START_PACKAGES=/tmp/packages_start.txt 12:47:52 + END_PACKAGES=/tmp/packages_end.txt 12:47:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:47:52 + PACKAGES=/tmp/packages_start.txt 12:47:52 + '[' /w/workspace/_app-service-configurable_PR-573 ']' 12:47:52 + PACKAGES=/tmp/packages_end.txt 12:47:52 + case "${OS_FAMILY}" in 12:47:52 + dpkg -l 12:47:52 + grep '^ii' 12:47:52 + '[' -f /tmp/packages_start.txt ']' 12:47:52 + '[' -f /tmp/packages_end.txt ']' 12:47:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:47:52 + '[' /w/workspace/_app-service-configurable_PR-573 ']' 12:47:52 + mkdir -p /w/workspace/_app-service-configurable_PR-573/archives/ 12:47:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-573/archives/ [Pipeline] echo 12:47:53 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-573/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:47:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:47:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:47:54 prd-ubuntu20.04-docker-8c-8g-1319 does not seem to be running inside a container 12:47:54 $ 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-573/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-573 -v /w/workspace/_app-service-configurable_PR-573:/w/workspace/_app-service-configurable_PR-573:rw,z -v /w/workspace/_app-service-configurable_PR-573@tmp:/w/workspace/_app-service-configurable_PR-573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:47:54 $ docker top a1d8202ff61ccdc18dc0c53c3967685108b12f1f72c79fedda64739b2b313292 -eo pid,comm [Pipeline] { [Pipeline] sh 12:47:54 + touch /tmp/pre-build-complete [Pipeline] sh 12:47:55 + mkdir -p /var/log/sysstat [Pipeline] sh 12:47:55 + ls /var/log/sa-host 12:47:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:47:55 provisioning config files... 12:47:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-573@tmp/config17238241706391546721tmp [Pipeline] { [Pipeline] echo 12:47:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:47:55 ---> create-netrc.sh [Pipeline] } 12:47:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:47:56 ---> python-tools-install.sh [Pipeline] echo 12:47:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:47:56 ---> sudo-logs.sh 12:47:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:47:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:47:57 ---> job-cost.sh 12:47:57 lf-activate-venv: SKIPPING 12:47:57 DEBUG: total: 0.2199999988079071 12:47:57 INFO: Retrieving Stack Cost... 12:47:57 INFO: Retrieving Pricing Info for: v3-standard-8 12:47:57 INFO: Archiving Costs [Pipeline] echo 12:47:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:47:58 ---> logs-deploy.sh 12:47:58 lf-activate-venv: SKIPPING 12:47:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-573/1 12:47:58 INFO: archiving workspace using pattern(s): 12:47:59 Archives upload complete. 12:47:59 INFO: archiving logs to Nexus