Pull request #567 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4747ee83fa51c3734b2feec79c94f1bfe173f849+54f3f02236d78e8dac698cc92ad00962f8aead74 (47c103e538c35a9187b693fda3957e6a62756e6b) 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-ssh7837205811079186514.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1671247207204487443.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-567/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-567/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1849884859513814547.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-567/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4942482417847798529.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh13844706918309286218.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-567/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-567/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6645628324678789353.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-16701 in /w/workspace/_app-service-configurable_PR-567 [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-567 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 54f3f02236d78e8dac698cc92ad00962f8aead74 into PR head commit 4747ee83fa51c3734b2feec79c94f1bfe173f849 Merge succeeded, producing 4747ee83fa51c3734b2feec79c94f1bfe173f849 Checking out Revision 4747ee83fa51c3734b2feec79c94f1bfe173f849 (PR-567) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:58:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git config core.sparsecheckout # timeout=10 > git checkout -f 4747ee83fa51c3734b2feec79c94f1bfe173f849 # 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 54f3f02236d78e8dac698cc92ad00962f8aead74 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4747ee83fa51c3734b2feec79c94f1bfe173f849 # timeout=10 12:58:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:34 ========================================================= 12:58:34 EdgeX Global Pipelines Version Info 12:58:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:58:35 ------------------- 12:58:35 stable info: 12:58:35 ------------------- 12:58:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:58:35 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 12:58:35 Message: update stable to v1.0.249 12:58:35 ------------------- 12:58:35 experimental info: 12:58:35 ------------------- 12:58:35 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:35 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 12:58:35 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-567 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-567 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-567 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4747ee83fa51c3734b2feec79c94f1bfe173f849 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4747ee8 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:37 provisioning config files... 12:58:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-567@tmp/config13509969007234261966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:38 ---> docker-login.sh 12:58:38 nexus3.edgexfoundry.org:10001 12:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:38 Configure a credential helper to remove this warning. See 12:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:38 12:58:38 Login Succeeded 12:58:38 nexus3.edgexfoundry.org:10002 12:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:38 Configure a credential helper to remove this warning. See 12:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:38 12:58:38 Login Succeeded 12:58:38 nexus3.edgexfoundry.org:10003 12:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:38 Configure a credential helper to remove this warning. See 12:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:38 12:58:38 Login Succeeded 12:58:38 nexus3.edgexfoundry.org:10004 12:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:38 Configure a credential helper to remove this warning. See 12:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:38 12:58:38 Login Succeeded 12:58:38 docker.io 12:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:38 Configure a credential helper to remove this warning. See 12:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:38 12:58:38 Login Succeeded 12:58:38 ---> docker-login.sh ends [Pipeline] } 12:58:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:39 + git rev-list -1 --merges 4747ee83fa51c3734b2feec79c94f1bfe173f849~1..4747ee83fa51c3734b2feec79c94f1bfe173f849 [Pipeline] echo 12:58:39 -----------> git rev-list -1 --merges 4747ee83fa51c3734b2feec79c94f1bfe173f849~1..4747ee83fa51c3734b2feec79c94f1bfe173f849 4747ee83fa51c3734b2feec79c94f1bfe173f849 [false] [Pipeline] sh 12:58:39 + git log --format=format:%s -1 4747ee83fa51c3734b2feec79c94f1bfe173f849 [Pipeline] echo 12:58:39 ========================================================= 12:58:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:40 + git log --format=format:%s -1 4747ee83fa51c3734b2feec79c94f1bfe173f849 [Pipeline] echo 12:58:40 [semverPrep] GIT_COMMIT: 4747ee83fa51c3734b2feec79c94f1bfe173f849, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:58:40 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:40 + grep -v github /etc/ssh/ssh_known_hosts 12:58:40 + [ -e /tmp/ssh_known_hosts ] 12:58:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:40 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:41 12:58:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:41 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:41 b85a868b505f: Pulling fs layer 12:58:41 e2be974225ed: Pulling fs layer 12:58:41 339a4e72a1f5: Pulling fs layer 12:58:41 988bab9f4d93: Pulling fs layer 12:58:41 1469e6f7b9e6: Pulling fs layer 12:58:41 eaf3925da568: Pulling fs layer 12:58:41 bab4dde63d76: Pulling fs layer 12:58:41 bde34c3a00c8: Pulling fs layer 12:58:41 b352a97aabf1: Pulling fs layer 12:58:41 4872d77fe225: Pulling fs layer 12:58:41 5851b861e8e6: Pulling fs layer 12:58:41 bab4dde63d76: Waiting 12:58:41 bde34c3a00c8: Waiting 12:58:41 b352a97aabf1: Waiting 12:58:41 4872d77fe225: Waiting 12:58:41 5851b861e8e6: Waiting 12:58:41 988bab9f4d93: Waiting 12:58:41 1469e6f7b9e6: Waiting 12:58:41 eaf3925da568: Waiting 12:58:41 e2be974225ed: Download complete 12:58:41 988bab9f4d93: Verifying Checksum 12:58:41 988bab9f4d93: Download complete 12:58:41 1469e6f7b9e6: Verifying Checksum 12:58:41 1469e6f7b9e6: Download complete 12:58:41 339a4e72a1f5: Verifying Checksum 12:58:41 339a4e72a1f5: Download complete 12:58:41 eaf3925da568: Verifying Checksum 12:58:41 eaf3925da568: Download complete 12:58:41 bde34c3a00c8: Verifying Checksum 12:58:41 bde34c3a00c8: Download complete 12:58:41 b352a97aabf1: Download complete 12:58:41 4872d77fe225: Verifying Checksum 12:58:41 4872d77fe225: Download complete 12:58:41 5851b861e8e6: Verifying Checksum 12:58:41 5851b861e8e6: Download complete 12:58:41 b85a868b505f: Verifying Checksum 12:58:41 b85a868b505f: Download complete 12:58:42 bab4dde63d76: Verifying Checksum 12:58:42 bab4dde63d76: Download complete 12:58:43 b85a868b505f: Pull complete 12:58:43 e2be974225ed: Pull complete 12:58:43 339a4e72a1f5: Pull complete 12:58:43 988bab9f4d93: Pull complete 12:58:43 1469e6f7b9e6: Pull complete 12:58:43 eaf3925da568: Pull complete 12:58:45 bab4dde63d76: Pull complete 12:58:45 bde34c3a00c8: Pull complete 12:58:45 b352a97aabf1: Pull complete 12:58:45 4872d77fe225: Pull complete 12:58:45 5851b861e8e6: Pull complete 12:58:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:58:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:46 prd-ubuntu20.04-docker-8c-8g-16701 does not seem to be running inside a container 12:58:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-567 -v /w/workspace/_app-service-configurable_PR-567:/w/workspace/_app-service-configurable_PR-567:rw,z -v /w/workspace/_app-service-configurable_PR-567@tmp:/w/workspace/_app-service-configurable_PR-567@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:58:48 $ docker top 298b1abf133b2d48df4f392b38480bbb4fea96ae667ad75818254a7fbdb69c07 -eo pid,comm 12:58:48 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:58:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:49 [ssh-agent] Looking for ssh-agent implementation... 12:58:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:49 $ docker exec 298b1abf133b2d48df4f392b38480bbb4fea96ae667ad75818254a7fbdb69c07 ssh-agent 12:58:49 SSH_AUTH_SOCK=/tmp/ssh-YR5Rav4qIjTp/agent.33 12:58:49 SSH_AGENT_PID=39 12:58:49 Running ssh-add (command line suppressed) 12:58:49 Identity added: /w/workspace/_app-service-configurable_PR-567@tmp/private_key_16278923625761636101.key (/w/workspace/_app-service-configurable_PR-567@tmp/private_key_16278923625761636101.key) 12:58:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:49 + git tag --points-at HEAD [Pipeline] } 12:58:49 $ docker exec --env ******** --env ******** 298b1abf133b2d48df4f392b38480bbb4fea96ae667ad75818254a7fbdb69c07 ssh-agent -k 12:58:49 unset SSH_AUTH_SOCK; 12:58:49 unset SSH_AGENT_PID; 12:58:49 echo Agent pid 39 killed; 12:58:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:50 [ssh-agent] Looking for ssh-agent implementation... 12:58:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:50 $ docker exec 298b1abf133b2d48df4f392b38480bbb4fea96ae667ad75818254a7fbdb69c07 ssh-agent 12:58:50 SSH_AUTH_SOCK=/tmp/ssh-3wQDaRSrWtu1/agent.71 12:58:50 SSH_AGENT_PID=77 12:58:50 Running ssh-add (command line suppressed) 12:58:50 Identity added: /w/workspace/_app-service-configurable_PR-567@tmp/private_key_11291599432428071961.key (/w/workspace/_app-service-configurable_PR-567@tmp/private_key_11291599432428071961.key) 12:58:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:50 + git semver init 12:58:50 2023-05-24 12:58:50,898 [run_init] DEBUG init version:0.0.0 force:False 12:58:50 2023-05-24 12:58:50,899 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-567/.semver 12:58:50 2023-05-24 12:58:50,899 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-567/.semver 12:58:50 2023-05-24 12:58:50,899 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-567/.semver'], cwd=/w/workspace/_app-service-configurable_PR-567, universal_newlines=False, shell=None, istream=None) 12:58:51 2023-05-24 12:58:51,718 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-567/.git/info/exclude 12:58:51 2023-05-24 12:58:51,718 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-567/.semver/PR-567 with force:False 12:58:51 2023-05-24 12:58:51,718 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-567/.semver/PR-567 12:58:51 2023-05-24 12:58:51,723 [execute] INFO git cat-file --batch-check 12:58:51 2023-05-24 12:58:51,723 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-567/.semver, universal_newlines=False, shell=None, istream=) 12:58:51 2023-05-24 12:58:51,730 [execute] INFO git cat-file --batch 12:58:51 2023-05-24 12:58:51,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-567/.semver, universal_newlines=False, shell=None, istream=) 12:58:51 2023-05-24 12:58:51,736 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-567/.semver/PR-567 12:58:51 0.0.0 [Pipeline] } 12:58:51 $ docker exec --env ******** --env ******** 298b1abf133b2d48df4f392b38480bbb4fea96ae667ad75818254a7fbdb69c07 ssh-agent -k 12:58:52 unset SSH_AUTH_SOCK; 12:58:52 unset SSH_AGENT_PID; 12:58:52 echo Agent pid 77 killed; 12:58:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:52 + git semver [Pipeline] } 12:58:52 $ docker stop --time=1 298b1abf133b2d48df4f392b38480bbb4fea96ae667ad75818254a7fbdb69c07 12:58:54 $ docker rm -f --volumes 298b1abf133b2d48df4f392b38480bbb4fea96ae667ad75818254a7fbdb69c07 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:54 Stashed 1 file(s) [Pipeline] echo 12:58:54 [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:58:55 provisioning config files... 12:58:55 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-567@tmp/config11533018714145593185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:55 ---> docker-login.sh 12:58:55 nexus3.edgexfoundry.org:10001 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 nexus3.edgexfoundry.org:10002 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 nexus3.edgexfoundry.org:10003 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 nexus3.edgexfoundry.org:10004 12:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:55 Configure a credential helper to remove this warning. See 12:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:55 12:58:55 Login Succeeded 12:58:55 docker.io 12:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:56 Configure a credential helper to remove this warning. See 12:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:56 12:58:56 Login Succeeded 12:58:56 ---> docker-login.sh ends [Pipeline] } 12:58:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:56 ========================================================= 12:58:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:58:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:57 + 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:58:57 Sending build context to Docker daemon 3.357MB 12:58:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:58:57 Step 2/12 : FROM ${BASE} AS builder 12:58:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:58:57 f56be85fc22e: Pulling fs layer 12:58:57 85791d961cd3: Pulling fs layer 12:58:57 d694b5ae8c79: Pulling fs layer 12:58:57 9f32a84ed3da: Pulling fs layer 12:58:57 4d19c01a9841: Pulling fs layer 12:58:57 9325e15d5711: Pulling fs layer 12:58:57 556b6ee489ea: Pulling fs layer 12:58:57 c5a4b2cf53e6: Pulling fs layer 12:58:57 4d19c01a9841: Waiting 12:58:57 9325e15d5711: Waiting 12:58:57 9f32a84ed3da: Waiting 12:58:57 556b6ee489ea: Waiting 12:58:57 85791d961cd3: Verifying Checksum 12:58:57 85791d961cd3: Download complete 12:58:57 9f32a84ed3da: Download complete 12:58:57 4d19c01a9841: Download complete 12:58:57 f56be85fc22e: Download complete 12:58:57 9325e15d5711: Verifying Checksum 12:58:57 9325e15d5711: Download complete 12:58:57 f56be85fc22e: Pull complete 12:58:57 85791d961cd3: Pull complete 12:58:57 c5a4b2cf53e6: Verifying Checksum 12:58:57 c5a4b2cf53e6: Download complete 12:58:57 d694b5ae8c79: Verifying Checksum 12:58:57 d694b5ae8c79: Download complete 12:58:58 556b6ee489ea: Verifying Checksum 12:58:58 556b6ee489ea: Download complete 12:59:01 d694b5ae8c79: Pull complete 12:59:01 9f32a84ed3da: Pull complete 12:59:01 4d19c01a9841: Pull complete 12:59:01 9325e15d5711: Pull complete 12:59:03 556b6ee489ea: Pull complete 12:59:04 c5a4b2cf53e6: Pull complete 12:59:04 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 12:59:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:59:04 ---> c4be618373d6 12:59:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:59:09 ---> Running in c8e093b107eb 12:59:09 Removing intermediate container c8e093b107eb 12:59:09 ---> 85349f58fba7 12:59:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:09 ---> Running in ca14b31a94f2 12:59:09 Removing intermediate container ca14b31a94f2 12:59:09 ---> bb87b19fb8f1 12:59:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:09 ---> Running in 6a570f5c9676 12:59:09 Removing intermediate container 6a570f5c9676 12:59:09 ---> ddd313bff07f 12:59:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:09 ---> Running in 485a657f5276 12:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:59:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:59:09 OK: 265 MiB in 53 packages 12:59:10 Still waiting to schedule task 12:59:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:59:10 Removing intermediate container 485a657f5276 12:59:10 ---> 5f65e853e0f8 12:59:10 Step 7/12 : WORKDIR /app 12:59:10 ---> Running in 5141a43c14c3 12:59:10 Removing intermediate container 5141a43c14c3 12:59:10 ---> ae77177317e5 12:59:10 Step 8/12 : COPY go.mod vendor* ./ 12:59:10 ---> a7d68b990d42 12:59:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:10 ---> Running in e1e8d0e01589 12:59:42 Removing intermediate container e1e8d0e01589 12:59:42 ---> 85fcc082dbc7 12:59:42 Step 10/12 : COPY . . 12:59:42 ---> adaf735243e9 12:59:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:42 ---> Running in f4276d1ad290 12:59:42 Removing intermediate container f4276d1ad290 12:59:42 ---> 154a51dcb402 12:59:42 Step 12/12 : RUN $MAKE 12:59:42 ---> Running in 3c2d04091181 12:59:42 noop 12:59:42 Removing intermediate container 3c2d04091181 12:59:42 ---> e3af0401aa81 12:59:42 Successfully built e3af0401aa81 12:59:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:42 + docker inspect -f . ci-base-image-x86_64 12:59:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:43 prd-ubuntu20.04-docker-8c-8g-16701 does not seem to be running inside a container 12:59:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-567 -v /w/workspace/_app-service-configurable_PR-567:/w/workspace/_app-service-configurable_PR-567:rw,z -v /w/workspace/_app-service-configurable_PR-567@tmp:/w/workspace/_app-service-configurable_PR-567@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:59:43 $ docker top 883c6884655a2327e2458e8fd1b4154bc22c7f146b852800eeb0db67a13e06ef -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:43 + go version 12:59:43 go version go1.20.2 linux/amd64 [Pipeline] } 12:59:43 $ docker stop --time=1 883c6884655a2327e2458e8fd1b4154bc22c7f146b852800eeb0db67a13e06ef 12:59:45 $ docker rm -f --volumes 883c6884655a2327e2458e8fd1b4154bc22c7f146b852800eeb0db67a13e06ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:45 + docker inspect -f . ci-base-image-x86_64 12:59:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:46 prd-ubuntu20.04-docker-8c-8g-16701 does not seem to be running inside a container 12:59:46 $ 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-567 -v /w/workspace/_app-service-configurable_PR-567:/w/workspace/_app-service-configurable_PR-567:rw,z -v /w/workspace/_app-service-configurable_PR-567@tmp:/w/workspace/_app-service-configurable_PR-567@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:59:46 $ docker top ef0b61497fbe54f4f62310b3f58826cc6cc32bfa3306e81d67b85aa699bdba91 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:46 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-567 [Pipeline] fileExists [Pipeline] sh 12:59:47 + make test 12:59:47 go test -race -coverprofile=coverage.out ./... 13:00:05 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:25 go vet ./... 13:00:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:27 ./bin/test-attribution-txt.sh 13:00:27 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:00:27 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:00:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:27 $ docker stop --time=1 ef0b61497fbe54f4f62310b3f58826cc6cc32bfa3306e81d67b85aa699bdba91 13:00:31 $ docker rm -f --volumes ef0b61497fbe54f4f62310b3f58826cc6cc32bfa3306e81d67b85aa699bdba91 [Pipeline] // withDockerContainer [Pipeline] sh 13:00:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:33 + ls -al . 13:00:33 total 176 13:00:33 drwxrwxr-x 8 jenkins jenkins 4096 May 24 12:59 . 13:00:33 drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:58 .. 13:00:33 -rw-rw-r-- 1 jenkins jenkins 119 May 24 12:58 .dockerignore 13:00:33 drwxrwxr-x 8 jenkins jenkins 4096 May 24 12:58 .git 13:00:33 drwxrwxr-x 3 jenkins jenkins 4096 May 24 12:58 .github 13:00:33 -rw-rw-r-- 1 jenkins jenkins 171 May 24 12:58 .gitignore 13:00:33 -rw-rw-r-- 1 jenkins jenkins 41 May 24 12:58 .golangci.yml 13:00:33 drwxr-xr-x 3 jenkins jenkins 4096 May 24 12:58 .semver 13:00:33 -rw-rw-r-- 1 jenkins jenkins 9088 May 24 12:58 Attribution.txt 13:00:33 -rw-rw-r-- 1 jenkins jenkins 29118 May 24 12:58 CHANGELOG.md 13:00:33 -rw-rw-r-- 1 jenkins jenkins 1898 May 24 12:58 Dockerfile 13:00:33 -rw-rw-r-- 1 jenkins jenkins 677 May 24 12:58 GOVERNANCE.md 13:00:33 -rw-rw-r-- 1 jenkins jenkins 688 May 24 12:58 Jenkinsfile 13:00:33 -rw-rw-r-- 1 jenkins jenkins 10174 May 24 12:58 LICENSE 13:00:33 -rw-rw-r-- 1 jenkins jenkins 618 May 24 12:58 OWNERS.md 13:00:33 -rw-rw-r-- 1 jenkins jenkins 4885 May 24 12:58 README.md 13:00:33 -rw-rw-r-- 1 jenkins jenkins 5 May 24 12:58 VERSION 13:00:33 drwxrwxr-x 2 jenkins jenkins 4096 May 24 12:58 bin 13:00:33 -rw-r--r-- 1 jenkins jenkins 13 May 24 12:59 coverage.out 13:00:33 -rw-rw-r-- 1 jenkins jenkins 3261 May 24 12:58 go.mod 13:00:33 -rw-rw-r-- 1 jenkins jenkins 31339 May 24 12:58 go.sum 13:00:33 -rw-rw-r-- 1 jenkins jenkins 1937 May 24 12:58 main.go 13:00:33 -rw-rw-r-- 1 jenkins jenkins 2569 May 24 12:58 makefile 13:00:33 drwxrwxr-x 9 jenkins jenkins 4096 May 24 12:58 res 13:00:33 drwxrwxr-x 4 jenkins jenkins 4096 May 24 12:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:33 + 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=4747ee83fa51c3734b2feec79c94f1bfe173f849 --label arch=amd64 --label version=0.0.0 . 13:00:33 Sending build context to Docker daemon 3.358MB 13:00:33 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:00:33 Step 2/26 : FROM ${BASE} AS builder 13:00:33 ---> e3af0401aa81 13:00:33 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:33 ---> Running in 24cb67396a25 13:00:33 Removing intermediate container 24cb67396a25 13:00:33 ---> f454e228ffa7 13:00:33 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:33 ---> Running in c69fe39f16bd 13:00:33 Removing intermediate container c69fe39f16bd 13:00:33 ---> f9e4265365cd 13:00:33 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:33 ---> Running in 9402a87dcf3e 13:00:34 Removing intermediate container 9402a87dcf3e 13:00:34 ---> 6444fd1ebeca 13:00:34 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:34 ---> Running in 76fb6e2d37ef 13:00:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:34 OK: 265 MiB in 53 packages 13:00:35 Removing intermediate container 76fb6e2d37ef 13:00:35 ---> a44646ef7a3f 13:00:35 Step 7/26 : WORKDIR /app 13:00:35 ---> Running in 8e839d7f9bf1 13:00:35 Removing intermediate container 8e839d7f9bf1 13:00:35 ---> 18993efeaaf1 13:00:35 Step 8/26 : COPY go.mod vendor* ./ 13:00:35 ---> d5b74893d3a2 13:00:35 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:35 ---> Running in 220940b5a783 13:00:36 Removing intermediate container 220940b5a783 13:00:36 ---> 2a96f2f61872 13:00:36 Step 10/26 : COPY . . 13:00:36 ---> 974f4f547096 13:00:36 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:36 ---> Running in 9b2b149987cd 13:00:36 Removing intermediate container 9b2b149987cd 13:00:36 ---> 69bd1b4e3206 13:00:36 Step 12/26 : RUN $MAKE 13:00:36 ---> Running in ee08b8b28e4d 13:00:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.68 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:00:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16702 in /w/workspace/_app-service-configurable_PR-567 [Pipeline] { [Pipeline] ws 13:00:45 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:45 Selected Git installation does not exist. Using Default 13:00:45 The recommended git tool is: NONE 13:00:50 using credential edgex-jenkins-ssh 13:00:50 Cloning the remote Git repository 13:00:50 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:00:51 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:00:51 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:51 > git --version # timeout=10 13:00:51 > git --version # 'git version 2.25.1' 13:00:51 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:54 Merging remotes/origin/main commit 54f3f02236d78e8dac698cc92ad00962f8aead74 into PR head commit 4747ee83fa51c3734b2feec79c94f1bfe173f849 13:00:54 Merge succeeded, producing 4747ee83fa51c3734b2feec79c94f1bfe173f849 13:00:54 Checking out Revision 4747ee83fa51c3734b2feec79c94f1bfe173f849 (PR-567) 13:00:53 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:53 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:53 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/567/head:refs/remotes/origin/PR-567 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:54 > git config core.sparsecheckout # timeout=10 13:00:54 > git checkout -f 4747ee83fa51c3734b2feec79c94f1bfe173f849 # timeout=10 13:00:54 > git remote # timeout=10 13:00:54 > git config --get remote.origin.url # timeout=10 13:00:54 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:54 > git merge 54f3f02236d78e8dac698cc92ad00962f8aead74 # timeout=10 13:00:54 > git rev-parse HEAD^{commit} # timeout=10 13:00:54 > git config core.sparsecheckout # timeout=10 13:00:54 > git checkout -f 4747ee83fa51c3734b2feec79c94f1bfe173f849 # timeout=10 13:00:54 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:00:54 > git --version # timeout=10 13:00:54 > git --version # 'git version 2.25.1' 13:00:54 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:00:56 % Total % Received % Xferd Average Speed Time Time Time Current 13:00:56 Dload Upload Total Spent Left Speed 13:00:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72862 0 --:--:-- --:--:-- --:--:-- 72862 [Pipeline] sh 13:00:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:00:57 + sudo tee /etc/docker/daemon.new+ 13:00:57 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:00:57 { 13:00:57 "registry-mirrors": [ 13:00:57 "https://nexus3.edgexfoundry.org:10001" 13:00:57 ], 13:00:57 "bip": "10.250.0.254/24", 13:00:57 "hosts": [ 13:00:57 "tcp://0.0.0.0:5555", 13:00:57 "unix:///var/run/docker.sock" 13:00:57 ], 13:00:57 "mtu": 1458, 13:00:57 "selinux-enabled": true, 13:00:57 "seccomp-profile": "/etc/docker/seccomp.json" 13:00:57 } [Pipeline] sh 13:00:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:00:57 + sudo service docker restart 13:00:58 Removing intermediate container ee08b8b28e4d 13:00:58 ---> db6f140c94a6 13:00:58 Step 13/26 : FROM alpine:3.17 13:00:58 3.17: Pulling from library/alpine 13:00:58 f56be85fc22e: Already exists 13:00:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:00:58 Status: Downloaded newer image for alpine:3.17 13:00:58 ---> 9ed4aefc74f6 13:00:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:00:58 ---> Running in 0e31939b9b85 13:00:58 Removing intermediate container 0e31939b9b85 13:00:58 ---> 04ca344adffe 13:00:58 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:00:58 ---> Running in c19e60ce2352 13:00:58 Removing intermediate container c19e60ce2352 13:00:58 ---> 8df74f76f287 13:00:58 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:00:58 ---> Running in 9cb1e576b0fa 13:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:58 (1/2) Installing ca-certificates (20230506-r0) 13:00:58 (2/2) Installing dumb-init (1.2.5-r2) 13:00:58 Executing busybox-1.35.0-r29.trigger 13:00:58 Executing ca-certificates-20230506-r0.trigger 13:00:58 OK: 8 MiB in 17 packages 13:00:58 Removing intermediate container 9cb1e576b0fa 13:00:58 ---> b3dd91df49f8 13:00:58 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:00:58 ---> d6c820f8ce93 13:00:58 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:00:58 ---> bc88daee72e0 13:00:58 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:00:58 ---> e14b7b6b10ad 13:00:58 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:00:58 ---> 5d0fe52f59d6 13:00:58 Step 21/26 : EXPOSE 48095 13:00:58 ---> Running in 77e66b4171e6 13:00:58 Removing intermediate container 77e66b4171e6 13:00:58 ---> 5038e31abcea 13:00:58 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:00:58 ---> Running in e399151ef013 13:00:58 Removing intermediate container e399151ef013 13:00:58 ---> 9432efb6348b 13:00:58 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:00:58 ---> Running in e30226310735 13:00:58 Removing intermediate container e30226310735 13:00:58 ---> a39698c12312 13:00:58 Step 24/26 : LABEL arch=amd64 13:00:58 ---> Running in f7fb34422ca7 13:00:58 Removing intermediate container f7fb34422ca7 13:00:58 ---> 6e9c34c04496 13:00:58 Step 25/26 : LABEL git_sha=4747ee83fa51c3734b2feec79c94f1bfe173f849 13:00:58 ---> Running in 30385bb94e49 13:00:58 Removing intermediate container 30385bb94e49 13:00:58 ---> e903044c2ff9 13:00:58 Step 26/26 : LABEL version=0.0.0 13:00:59 ---> Running in 586fb2e816d1 13:00:59 Removing intermediate container 586fb2e816d1 13:00:59 ---> 9a7c7d0b01ec 13:00:59 [Warning] One or more build-args [ARCH] were not consumed 13:00:59 Successfully built 9a7c7d0b01ec 13:00:59 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:00 13:01:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:00 latest: Pulling from edgex-lftools-log-publisher 13:01:00 5eb5b503b376: Pulling fs layer 13:01:00 5c69ac0246d0: Pulling fs layer 13:01:00 ec43610c2a17: Pulling fs layer 13:01:00 3a2ae6a8a46f: Pulling fs layer 13:01:00 33b1e0a273af: Pulling fs layer 13:01:00 5d3b04190fa2: Pulling fs layer 13:01:00 2f39f015ded8: Pulling fs layer 13:01:00 33b1e0a273af: Waiting 13:01:00 5d3b04190fa2: Waiting 13:01:00 2f39f015ded8: Waiting 13:01:00 3a2ae6a8a46f: Waiting 13:01:00 5c69ac0246d0: Verifying Checksum 13:01:00 5c69ac0246d0: Download complete 13:01:00 3a2ae6a8a46f: Verifying Checksum 13:01:00 3a2ae6a8a46f: Download complete 13:01:00 33b1e0a273af: Verifying Checksum 13:01:00 33b1e0a273af: Download complete 13:01:00 ec43610c2a17: Verifying Checksum 13:01:00 ec43610c2a17: Download complete 13:01:00 5d3b04190fa2: Verifying Checksum 13:01:00 5d3b04190fa2: Download complete 13:01:00 5eb5b503b376: Verifying Checksum 13:01:00 5eb5b503b376: Download complete 13:01:01 2f39f015ded8: Verifying Checksum 13:01:01 2f39f015ded8: Download complete 13:01:01 5eb5b503b376: Pull complete 13:01:02 5c69ac0246d0: Pull complete 13:01:02 ec43610c2a17: Pull complete 13:01:02 3a2ae6a8a46f: Pull complete 13:01:02 33b1e0a273af: Pull complete 13:01:02 5d3b04190fa2: Pull complete 13:01:07 2f39f015ded8: Pull complete 13:01:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:01:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:07 prd-ubuntu20.04-docker-8c-8g-16701 does not seem to be running inside a container 13:01:07 $ 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-567 -v /w/workspace/_app-service-configurable_PR-567:/w/workspace/_app-service-configurable_PR-567:rw,z -v /w/workspace/_app-service-configurable_PR-567@tmp:/w/workspace/_app-service-configurable_PR-567@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 13:01:10 $ docker top a92af4cc1d50ed83f7feb655aaf820ad228beb506c588b842d57dc5e85545d9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:11 ---> job-cost.sh 13:01:11 lf-activate-venv: SKIPPING 13:01:11 INFO: No Stack... 13:01:11 INFO: Retrieving Pricing Info for: v3-standard-8 13:01:11 INFO: Archiving Costs [Pipeline] sh 13:01:12 + cat /w/workspace/_app-service-configurable_PR-567/archives/cost.csv 13:01:12 + cut -d, -f6 [Pipeline] lock 13:01:12 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-567-1-stack-cost] 13:01:12 Resource [jenkins-edgexfoundry-app-service-configurable-PR-567-1-stack-cost] did not exist. Created. 13:01:12 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-567-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:01:12 + echo total: 0.2199999988079071 [Pipeline] stash 13:01:12 Stashed 1 file(s) [Pipeline] } 13:01:12 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-567-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:12 $ docker stop --time=1 a92af4cc1d50ed83f7feb655aaf820ad228beb506c588b842d57dc5e85545d9d 13:01:13 $ docker rm -f --volumes a92af4cc1d50ed83f7feb655aaf820ad228beb506c588b842d57dc5e85545d9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:19 provisioning config files... 13:01:19 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config9470528478494581191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:20 ---> docker-login.sh 13:01:20 nexus3.edgexfoundry.org:10001 13:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:20 Configure a credential helper to remove this warning. See 13:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:20 13:01:20 Login Succeeded 13:01:20 nexus3.edgexfoundry.org:10002 13:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:21 Configure a credential helper to remove this warning. See 13:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:21 13:01:21 Login Succeeded 13:01:21 nexus3.edgexfoundry.org:10003 13:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:21 Configure a credential helper to remove this warning. See 13:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:21 13:01:21 Login Succeeded 13:01:21 nexus3.edgexfoundry.org:10004 13:01:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:21 Configure a credential helper to remove this warning. See 13:01:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:21 13:01:21 Login Succeeded 13:01:21 docker.io 13:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:22 Configure a credential helper to remove this warning. See 13:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:22 13:01:22 Login Succeeded 13:01:22 ---> docker-login.sh ends [Pipeline] } 13:01:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:01:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:22 ========================================================= 13:01:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:01:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:01:23 Sending build context to Docker daemon 168.4kB 13:01:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:01:23 Step 2/12 : FROM ${BASE} AS builder 13:01:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:01:26 c41833b44d91: Pulling fs layer 13:01:26 ed15518f5707: Pulling fs layer 13:01:26 feae8fd75edb: Pulling fs layer 13:01:26 242c74f7c9fa: Pulling fs layer 13:01:26 3cdef696dda3: Pulling fs layer 13:01:26 2ced38df9373: Pulling fs layer 13:01:26 58f1dce35555: Pulling fs layer 13:01:26 3cdef696dda3: Waiting 13:01:26 2ced38df9373: Waiting 13:01:26 58f1dce35555: Waiting 13:01:26 242c74f7c9fa: Waiting 13:01:26 ed15518f5707: Verifying Checksum 13:01:26 ed15518f5707: Download complete 13:01:26 242c74f7c9fa: Download complete 13:01:26 3cdef696dda3: Verifying Checksum 13:01:26 3cdef696dda3: Download complete 13:01:26 c41833b44d91: Verifying Checksum 13:01:26 c41833b44d91: Download complete 13:01:28 c41833b44d91: Pull complete 13:01:28 58f1dce35555: Verifying Checksum 13:01:28 58f1dce35555: Download complete 13:01:28 ed15518f5707: Pull complete 13:01:29 feae8fd75edb: Verifying Checksum 13:01:29 feae8fd75edb: Download complete 13:01:29 2ced38df9373: Download complete 13:01:41 feae8fd75edb: Pull complete 13:01:41 242c74f7c9fa: Pull complete 13:01:41 3cdef696dda3: Pull complete 13:01:48 2ced38df9373: Pull complete 13:01:50 58f1dce35555: Pull complete 13:01:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:01:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:01:50 ---> fadd8f120f05 13:01:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:52 ---> Running in b2b782aeb847 13:01:52 Removing intermediate container b2b782aeb847 13:01:52 ---> 098fbfb5dc77 13:01:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:52 ---> Running in 9dc8e845efb9 13:01:52 Removing intermediate container 9dc8e845efb9 13:01:52 ---> f80a7f31550b 13:01:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:53 ---> Running in 8ccc7545dbcf 13:01:53 Removing intermediate container 8ccc7545dbcf 13:01:53 ---> 49e5b83d6294 13:01:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:53 ---> Running in 12028426834d 13:01:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:01:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:01:55 OK: 263 MiB in 53 packages 13:01:56 Removing intermediate container 12028426834d 13:01:56 ---> c1a1e9b7f72d 13:01:56 Step 7/12 : WORKDIR /app 13:01:56 ---> Running in 454252fd3cf9 13:01:57 Removing intermediate container 454252fd3cf9 13:01:57 ---> ae376a475374 13:01:57 Step 8/12 : COPY go.mod vendor* ./ 13:01:57 ---> 0fea990b8ef1 13:01:57 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:57 ---> Running in d56cc644e5e1 13:03:05 Removing intermediate container d56cc644e5e1 13:03:05 ---> d642353152af 13:03:05 Step 10/12 : COPY . . 13:03:05 ---> bfe6749fd159 13:03:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:05 ---> Running in 0d4037ee79a2 13:03:05 Removing intermediate container 0d4037ee79a2 13:03:05 ---> 9f4531a1d466 13:03:05 Step 12/12 : RUN $MAKE 13:03:05 ---> Running in d81da87c3655 13:03:05 noop 13:03:05 Removing intermediate container d81da87c3655 13:03:05 ---> bb9be7b872a7 13:03:05 Successfully built bb9be7b872a7 13:03:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:06 + docker inspect -f . ci-base-image-arm64 13:03:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:06 prd-ubuntu20.04-docker-arm64-4c-16g-16702 does not seem to be running inside a container 13:03:06 $ 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 13:03:07 $ docker top 6e3abe86803beff0dcc2d9094aa9eaf8af7eac9982e8158b72bf649f8e08a6a0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:08 + go version 13:03:08 go version go1.20.2 linux/arm64 [Pipeline] } 13:03:08 $ docker stop --time=1 6e3abe86803beff0dcc2d9094aa9eaf8af7eac9982e8158b72bf649f8e08a6a0 13:03:10 $ docker rm -f --volumes 6e3abe86803beff0dcc2d9094aa9eaf8af7eac9982e8158b72bf649f8e08a6a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:11 + docker inspect -f . ci-base-image-arm64 13:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:11 prd-ubuntu20.04-docker-arm64-4c-16g-16702 does not seem to be running inside a container 13:03:11 $ 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 13:03:12 $ docker top f90c6628e31482faf68856421e4b1e4aaf7f40129295c0b7669f29b604f7ee2a -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:13 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:03:14 + make test 13:03:14 go test -race -coverprofile=coverage.out ./... 13:05:51 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:05:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:05:51 go vet ./... 13:08:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:08:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:08:12 ./bin/test-attribution-txt.sh 13:08:12 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:08:12 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:08:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:08:12 $ docker stop --time=1 f90c6628e31482faf68856421e4b1e4aaf7f40129295c0b7669f29b604f7ee2a 13:08:15 $ docker rm -f --volumes f90c6628e31482faf68856421e4b1e4aaf7f40129295c0b7669f29b604f7ee2a [Pipeline] // withDockerContainer [Pipeline] sh 13:08:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:08:16 Warning: overwriting stash ‘coverage-report’ 13:08:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:08:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:08:18 + ls -al . 13:08:18 total 172 13:08:18 drwxrwxr-x 7 jenkins jenkins 4096 May 24 13:03 . 13:08:18 drwxrwxr-x 4 jenkins jenkins 4096 May 24 13:00 .. 13:08:18 -rw-rw-r-- 1 jenkins jenkins 119 May 24 13:00 .dockerignore 13:08:18 drwxrwxr-x 8 jenkins jenkins 4096 May 24 13:00 .git 13:08:18 drwxrwxr-x 3 jenkins jenkins 4096 May 24 13:00 .github 13:08:18 -rw-rw-r-- 1 jenkins jenkins 171 May 24 13:00 .gitignore 13:08:18 -rw-rw-r-- 1 jenkins jenkins 41 May 24 13:00 .golangci.yml 13:08:18 -rw-rw-r-- 1 jenkins jenkins 9088 May 24 13:00 Attribution.txt 13:08:18 -rw-rw-r-- 1 jenkins jenkins 29118 May 24 13:00 CHANGELOG.md 13:08:18 -rw-rw-r-- 1 jenkins jenkins 1898 May 24 13:00 Dockerfile 13:08:18 -rw-rw-r-- 1 jenkins jenkins 677 May 24 13:00 GOVERNANCE.md 13:08:18 -rw-rw-r-- 1 jenkins jenkins 688 May 24 13:00 Jenkinsfile 13:08:18 -rw-rw-r-- 1 jenkins jenkins 10174 May 24 13:00 LICENSE 13:08:18 -rw-rw-r-- 1 jenkins jenkins 618 May 24 13:00 OWNERS.md 13:08:18 -rw-rw-r-- 1 jenkins jenkins 4885 May 24 13:00 README.md 13:08:18 -rw-rw-r-- 1 jenkins jenkins 5 May 24 12:58 VERSION 13:08:18 drwxrwxr-x 2 jenkins jenkins 4096 May 24 13:00 bin 13:08:18 -rw-r--r-- 1 jenkins jenkins 13 May 24 13:03 coverage.out 13:08:18 -rw-rw-r-- 1 jenkins jenkins 3261 May 24 13:00 go.mod 13:08:18 -rw-rw-r-- 1 jenkins jenkins 31339 May 24 13:00 go.sum 13:08:18 -rw-rw-r-- 1 jenkins jenkins 1937 May 24 13:00 main.go 13:08:18 -rw-rw-r-- 1 jenkins jenkins 2569 May 24 13:00 makefile 13:08:18 drwxrwxr-x 9 jenkins jenkins 4096 May 24 13:00 res 13:08:18 drwxrwxr-x 4 jenkins jenkins 4096 May 24 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:18 + 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=4747ee83fa51c3734b2feec79c94f1bfe173f849 --label arch=arm64 --label version=0.0.0 . 13:08:18 Sending build context to Docker daemon 169.5kB 13:08:18 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:08:18 Step 2/26 : FROM ${BASE} AS builder 13:08:18 ---> bb9be7b872a7 13:08:18 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:08:18 ---> Running in 0cb09f190803 13:08:19 Removing intermediate container 0cb09f190803 13:08:19 ---> 235d633933a7 13:08:19 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:08:19 ---> Running in a3fc5ab8ea30 13:08:19 Removing intermediate container a3fc5ab8ea30 13:08:19 ---> 5079dc36e02e 13:08:19 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:08:19 ---> Running in 484045133dde 13:08:20 Removing intermediate container 484045133dde 13:08:20 ---> 7f5fd0fd80c2 13:08:20 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:08:20 ---> Running in 9df5fa3696cc 13:08:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:08:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:08:23 OK: 263 MiB in 53 packages 13:08:23 Removing intermediate container 9df5fa3696cc 13:08:23 ---> c0e91984d461 13:08:23 Step 7/26 : WORKDIR /app 13:08:23 ---> Running in 342dc7a3c1d5 13:08:23 Removing intermediate container 342dc7a3c1d5 13:08:23 ---> ad3dfcb32268 13:08:23 Step 8/26 : COPY go.mod vendor* ./ 13:08:24 ---> 9fceb904fb24 13:08:24 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:08:24 ---> Running in 09b567b02b3c 13:08:29 Removing intermediate container 09b567b02b3c 13:08:29 ---> 8c6200bd1e2b 13:08:29 Step 10/26 : COPY . . 13:08:29 ---> 0ef24eff9d58 13:08:29 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:08:29 ---> Running in a6dfc2d64486 13:08:29 Removing intermediate container a6dfc2d64486 13:08:29 ---> 931488c4bdcb 13:08:29 Step 12/26 : RUN $MAKE 13:08:29 ---> Running in 592628bb5917 13:08:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.68 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:10:37 Removing intermediate container 592628bb5917 13:10:37 ---> 8ebb4b587b58 13:10:37 Step 13/26 : FROM alpine:3.17 13:10:37 3.17: Pulling from library/alpine 13:10:37 c41833b44d91: Already exists 13:10:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:10:37 Status: Downloaded newer image for alpine:3.17 13:10:37 ---> 51e60588ff2c 13:10:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:10:37 ---> Running in ae1b97b3ca86 13:10:37 Removing intermediate container ae1b97b3ca86 13:10:37 ---> 908dad22f674 13:10:37 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:10:37 ---> Running in 829ffb4a253f 13:10:38 Removing intermediate container 829ffb4a253f 13:10:38 ---> 85397fadfbd8 13:10:38 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:10:38 ---> Running in b41806274051 13:10:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:10:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:10:41 (1/2) Installing ca-certificates (20230506-r0) 13:10:41 (2/2) Installing dumb-init (1.2.5-r2) 13:10:41 Executing busybox-1.35.0-r29.trigger 13:10:41 Executing ca-certificates-20230506-r0.trigger 13:10:41 OK: 8 MiB in 17 packages 13:10:44 Removing intermediate container b41806274051 13:10:44 ---> f73f5b7ff5f9 13:10:44 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:10:45 ---> c2b3a7cd4d9c 13:10:45 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:10:45 ---> 6e018aafc561 13:10:45 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:10:46 ---> e2db41ddbd7d 13:10:46 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:10:47 ---> 9507f900f00c 13:10:47 Step 21/26 : EXPOSE 48095 13:10:47 ---> Running in d9804a7437e6 13:10:48 Removing intermediate container d9804a7437e6 13:10:48 ---> 786f3fcc901e 13:10:48 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:10:48 ---> Running in 0be66df790a0 13:10:48 Removing intermediate container 0be66df790a0 13:10:48 ---> 50e5b93e76c0 13:10:48 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:10:48 ---> Running in 9e6e26458ad2 13:10:48 Removing intermediate container 9e6e26458ad2 13:10:48 ---> 6e1ac985c789 13:10:48 Step 24/26 : LABEL arch=arm64 13:10:48 ---> Running in 5f44978e7cd7 13:10:49 Removing intermediate container 5f44978e7cd7 13:10:49 ---> 5169bf39ed8d 13:10:49 Step 25/26 : LABEL git_sha=4747ee83fa51c3734b2feec79c94f1bfe173f849 13:10:49 ---> Running in 2182dee69353 13:10:49 Removing intermediate container 2182dee69353 13:10:49 ---> d73425c0c222 13:10:49 Step 26/26 : LABEL version=0.0.0 13:10:49 ---> Running in 230e066507fe 13:10:49 Removing intermediate container 230e066507fe 13:10:49 ---> c59d84efdaf0 13:10:49 [Warning] One or more build-args [ARCH] were not consumed 13:10:49 Successfully built c59d84efdaf0 13:10:49 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 13:10:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:50 13:10:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:51 arm64: Pulling from edgex-lftools-log-publisher 13:10:51 8998bd30e6a1: Pulling fs layer 13:10:51 04944245beec: Pulling fs layer 13:10:51 699f458cf7ca: Pulling fs layer 13:10:51 765212b225bb: Pulling fs layer 13:10:51 f23df028b6ca: Pulling fs layer 13:10:51 d65c8cfc05b1: Pulling fs layer 13:10:51 2437ff75d9bd: Pulling fs layer 13:10:51 765212b225bb: Waiting 13:10:51 f23df028b6ca: Waiting 13:10:51 d65c8cfc05b1: Waiting 13:10:51 2437ff75d9bd: Waiting 13:10:51 04944245beec: Verifying Checksum 13:10:51 04944245beec: Download complete 13:10:51 765212b225bb: Verifying Checksum 13:10:51 765212b225bb: Download complete 13:10:51 f23df028b6ca: Verifying Checksum 13:10:51 f23df028b6ca: Download complete 13:10:51 d65c8cfc05b1: Verifying Checksum 13:10:51 d65c8cfc05b1: Download complete 13:10:51 699f458cf7ca: Verifying Checksum 13:10:51 699f458cf7ca: Download complete 13:10:52 8998bd30e6a1: Download complete 13:10:54 2437ff75d9bd: Verifying Checksum 13:10:54 2437ff75d9bd: Download complete 13:10:56 8998bd30e6a1: Pull complete 13:10:58 04944245beec: Pull complete 13:10:59 699f458cf7ca: Pull complete 13:10:59 765212b225bb: Pull complete 13:11:00 f23df028b6ca: Pull complete 13:11:00 d65c8cfc05b1: Pull complete 13:11:15 2437ff75d9bd: Pull complete 13:11:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:11:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:11:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:16 prd-ubuntu20.04-docker-arm64-4c-16g-16702 does not seem to be running inside a container 13:11:16 $ 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 13:11:18 $ docker top e267f393880479090f22751dcfc1e5fa4242f79afcc98c544cb8145c8f07cb5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:19 ---> job-cost.sh 13:11:19 lf-activate-venv: SKIPPING 13:11:19 INFO: No Stack... 13:11:20 INFO: Retrieving Pricing Info for: v3-standard-4 13:11:21 INFO: Archiving Costs [Pipeline] sh 13:11:21 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:11:21 + cut -d, -f6 [Pipeline] lock 13:11:21 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-567-1-stack-cost] 13:11:21 Resource [jenkins-edgexfoundry-app-service-configurable-PR-567-1-stack-cost] did not exist. Created. 13:11:21 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-567-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:22 /w/workspace/app-service-configurable/1@tmp/durable-24ba3194/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:11:23 + echo total: 0.10999999940395355 [Pipeline] stash 13:11:23 Warning: overwriting stash ‘stack-cost’ 13:11:23 Stashed 1 file(s) [Pipeline] } 13:11:23 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-567-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:23 $ docker stop --time=1 e267f393880479090f22751dcfc1e5fa4242f79afcc98c544cb8145c8f07cb5a 13:11:25 $ docker rm -f --volumes e267f393880479090f22751dcfc1e5fa4242f79afcc98c544cb8145c8f07cb5a [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 13:11:26 provisioning config files... 13:11:26 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-567@tmp/config9901343952629737995tmp [Pipeline] { [Pipeline] sh 13:11:26 + set +x 13:11:26 + + bash -s -- 13:11:26 curl -s https://codecov.io/bash 13:11:26 13:11:26 _____ _ 13:11:26 / ____| | | 13:11:26 | | ___ __| | ___ ___ _____ __ 13:11:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:11:26 | |___| (_) | (_| | __/ (_| (_) \ V / 13:11:26 \_____\___/ \__,_|\___|\___\___/ \_/ 13:11:26 Bash-1.0.6 13:11:26 13:11:26 13:11:26 ==> git version 2.25.1 found 13:11:26 ==> 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 13:11:26 Release-Date: 2020-01-08 13:11:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:11:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:11:26 ==> Jenkins CI detected. 13:11:26 current dir:  /w/workspace/_app-service-configurable_PR-567 13:11:26 project root: . 13:11:26 --> token set from env 13:11:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:11:26 ==> Running gcov in . (disable via -X gcov) 13:11:26 ==> Python coveragepy not found 13:11:26 ==> Searching for coverage reports in: 13:11:26 + . 13:11:26 -> Found 1 reports 13:11:26 ==> Detecting git/mercurial file structure 13:11:26 ==> Reading reports 13:11:26 + ./coverage.out bytes=13 13:11:27 ==> Appending adjustments 13:11:27 https://docs.codecov.io/docs/fixing-reports 13:11:27 + Found adjustments 13:11:27 ==> Gzipping contents 13:11:27 4.0K /tmp/codecov.aty1Km.gz 13:11:27 ==> Uploading reports 13:11:27 url: https://codecov.io 13:11:27 query: branch=PR-567&commit=4747ee83fa51c3734b2feec79c94f1bfe173f849&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-567%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=567&job=&cmd_args= 13:11:27 -> Pinging Codecov 13:11:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-567&commit=4747ee83fa51c3734b2feec79c94f1bfe173f849&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-567%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=567&job=&cmd_args= 13:11:27 -> Uploading to 13:11:27 https://storage.googleapis.com/codecov/v4/raw/2023-05-24/A97CA9966030D2A3747ED39772930CCE/4747ee83fa51c3734b2feec79c94f1bfe173f849/8d63db38-bf52-4128-98e7-380c8bc64edd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T131127Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5324e97f9e0e7f667d73102c93f1d68cb0ccb340bdd265f0cb649dc92e5c143a 13:11:27 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:27 Dload Upload Total Spent Left Speed 13:11:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1857 --:--:-- --:--:-- --:--:-- 1857 13:11:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/4747ee83fa51c3734b2feec79c94f1bfe173f849 [Pipeline] } 13:11:27 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 13:11:29 + [ -d /w/workspace/_app-service-configurable_PR-567/archives ] 13:11:29 + ls -al /w/workspace/_app-service-configurable_PR-567/archives 13:11:29 total 16 13:11:29 drwxr-xr-x 3 root root 4096 May 24 13:01 . 13:11:29 drwxrwxr-x 9 jenkins jenkins 4096 May 24 13:01 .. 13:11:29 drwxr-xr-x 2 root root 4096 May 24 13:01 cost 13:11:29 -rw-r--r-- 1 root root 96 May 24 13:01 cost.csv 13:11:29 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-567/archives 13:11:29 + ls -al /w/workspace/_app-service-configurable_PR-567/archives 13:11:29 total 16 13:11:29 drwxr-xr-x 3 jenkins jenkins 4096 May 24 13:01 . 13:11:29 drwxrwxr-x 9 jenkins jenkins 4096 May 24 13:01 .. 13:11:29 drwxr-xr-x 2 jenkins jenkins 4096 May 24 13:01 cost 13:11:29 -rw-r--r-- 1 jenkins jenkins 96 May 24 13:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:11:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:11:30 ---> package-listing.sh 13:11:30 ++ facter osfamily 13:11:30 ++ tr '[:upper:]' '[:lower:]' 13:11:30 + OS_FAMILY=debian 13:11:30 + workspace=/w/workspace/_app-service-configurable_PR-567 13:11:30 + START_PACKAGES=/tmp/packages_start.txt 13:11:30 + END_PACKAGES=/tmp/packages_end.txt 13:11:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:11:30 + PACKAGES=/tmp/packages_start.txt 13:11:30 + '[' /w/workspace/_app-service-configurable_PR-567 ']' 13:11:30 + PACKAGES=/tmp/packages_end.txt 13:11:30 + case "${OS_FAMILY}" in 13:11:30 + dpkg -l 13:11:30 + grep '^ii' 13:11:30 + '[' -f /tmp/packages_start.txt ']' 13:11:30 + '[' -f /tmp/packages_end.txt ']' 13:11:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:11:30 + '[' /w/workspace/_app-service-configurable_PR-567 ']' 13:11:30 + mkdir -p /w/workspace/_app-service-configurable_PR-567/archives/ 13:11:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-567/archives/ [Pipeline] echo 13:11:30 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-567/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:11:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:31 prd-ubuntu20.04-docker-8c-8g-16701 does not seem to be running inside a container 13:11:31 $ 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-567/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-567 -v /w/workspace/_app-service-configurable_PR-567:/w/workspace/_app-service-configurable_PR-567:rw,z -v /w/workspace/_app-service-configurable_PR-567@tmp:/w/workspace/_app-service-configurable_PR-567@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 13:11:31 $ docker top c6716c6b73bb0bea36f70ae92e254a11d3e15e0f220f0a6c4bc5acac1e60e082 -eo pid,comm [Pipeline] { [Pipeline] sh 13:11:32 + touch /tmp/pre-build-complete [Pipeline] sh 13:11:32 + mkdir -p /var/log/sysstat [Pipeline] sh 13:11:32 + ls /var/log/sa-host 13:11:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:32 provisioning config files... 13:11:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-567@tmp/config4482981451279024553tmp [Pipeline] { [Pipeline] echo 13:11:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:11:33 ---> create-netrc.sh [Pipeline] } 13:11:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:11:33 ---> python-tools-install.sh [Pipeline] echo 13:11:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:11:34 ---> sudo-logs.sh 13:11:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:11:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:11:34 ---> job-cost.sh 13:11:34 lf-activate-venv: SKIPPING 13:11:34 DEBUG: total: 0.2199999988079071 13:11:34 INFO: Retrieving Stack Cost... 13:11:34 INFO: Retrieving Pricing Info for: v3-standard-8 13:11:35 INFO: Archiving Costs [Pipeline] echo 13:11:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:11:35 ---> logs-deploy.sh 13:11:35 lf-activate-venv: SKIPPING 13:11:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-567/1 13:11:35 INFO: archiving workspace using pattern(s): 13:11:36 Archives upload complete. 13:11:36 INFO: archiving logs to Nexus