Pull request #519 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd29d54468f0c8e947dc4936dab984bca1b25c8b+731cbe338f54dd8dac0167938734c2fced573176 (524a60b64f52b752eae719e58570efcf012fb41e) 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-ssh1523797931960793607.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6769481851273703355.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh 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-519/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-519/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16104923826049515.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-519/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14907085436387663903.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh7992856706072500436.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-519/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-519/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4071043812112849985.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6286 in /w/workspace/_app-service-configurable_PR-519 [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-519 # 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/519/head:refs/remotes/origin/PR-519 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 731cbe338f54dd8dac0167938734c2fced573176 into PR head commit fd29d54468f0c8e947dc4936dab984bca1b25c8b Merge succeeded, producing fd29d54468f0c8e947dc4936dab984bca1b25c8b Checking out Revision fd29d54468f0c8e947dc4936dab984bca1b25c8b (PR-519) 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f fd29d54468f0c8e947dc4936dab984bca1b25c8b # 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 731cbe338f54dd8dac0167938734c2fced573176 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd29d54468f0c8e947dc4936dab984bca1b25c8b # timeout=10 [Pipeline] timeout 12:58:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:58:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:36 ========================================================= 12:58:36 EdgeX Global Pipelines Version Info 12:58:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:58:37 ------------------- 12:58:37 stable info: 12:58:37 ------------------- 12:58:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:58:37 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:58:37 Message: update stable to v1.0.244 12:58:38 ------------------- 12:58:38 experimental info: 12:58:38 ------------------- 12:58:38 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:38 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:58:38 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-519 [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-519 [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-519 [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd29d54468f0c8e947dc4936dab984bca1b25c8b [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd29d54 [Pipeline] echo 12:58:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:39 provisioning config files... 12:58:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-519@tmp/config14461227972774913301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:40 ---> docker-login.sh 12:58:40 nexus3.edgexfoundry.org:10001 12:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 nexus3.edgexfoundry.org:10002 12:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 nexus3.edgexfoundry.org:10003 12:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 nexus3.edgexfoundry.org:10004 12:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 docker.io 12:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:41 Configure a credential helper to remove this warning. See 12:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:41 12:58:41 Login Succeeded 12:58:41 ---> docker-login.sh ends [Pipeline] } 12:58:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:42 + git rev-list -1 --merges fd29d54468f0c8e947dc4936dab984bca1b25c8b~1..fd29d54468f0c8e947dc4936dab984bca1b25c8b [Pipeline] echo 12:58:42 -----------> git rev-list -1 --merges fd29d54468f0c8e947dc4936dab984bca1b25c8b~1..fd29d54468f0c8e947dc4936dab984bca1b25c8b fd29d54468f0c8e947dc4936dab984bca1b25c8b [false] [Pipeline] sh 12:58:42 + git log --format=format:%s -1 fd29d54468f0c8e947dc4936dab984bca1b25c8b [Pipeline] echo 12:58:42 ========================================================= 12:58:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:43 + git log --format=format:%s -1 fd29d54468f0c8e947dc4936dab984bca1b25c8b [Pipeline] echo 12:58:43 [semverPrep] GIT_COMMIT: fd29d54468f0c8e947dc4936dab984bca1b25c8b, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:58:43 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:43 + grep -v github /etc/ssh/ssh_known_hosts 12:58:43 + [ -e /tmp/ssh_known_hosts ] 12:58:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:43 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:44 12:58:44 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:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:44 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:44 b85a868b505f: Pulling fs layer 12:58:44 e2be974225ed: Pulling fs layer 12:58:44 339a4e72a1f5: Pulling fs layer 12:58:44 988bab9f4d93: Pulling fs layer 12:58:44 1469e6f7b9e6: Pulling fs layer 12:58:44 eaf3925da568: Pulling fs layer 12:58:44 988bab9f4d93: Waiting 12:58:44 1469e6f7b9e6: Waiting 12:58:44 bab4dde63d76: Pulling fs layer 12:58:44 bde34c3a00c8: Pulling fs layer 12:58:44 b352a97aabf1: Pulling fs layer 12:58:44 eaf3925da568: Waiting 12:58:44 bab4dde63d76: Waiting 12:58:44 bde34c3a00c8: Waiting 12:58:44 b352a97aabf1: Waiting 12:58:44 4872d77fe225: Pulling fs layer 12:58:44 5851b861e8e6: Pulling fs layer 12:58:44 4872d77fe225: Waiting 12:58:44 5851b861e8e6: Waiting 12:58:44 e2be974225ed: Verifying Checksum 12:58:44 e2be974225ed: Download complete 12:58:44 988bab9f4d93: Verifying Checksum 12:58:44 988bab9f4d93: Download complete 12:58:44 1469e6f7b9e6: Verifying Checksum 12:58:44 1469e6f7b9e6: Download complete 12:58:45 eaf3925da568: Download complete 12:58:45 339a4e72a1f5: Verifying Checksum 12:58:45 339a4e72a1f5: Download complete 12:58:45 bde34c3a00c8: Verifying Checksum 12:58:45 bde34c3a00c8: Download complete 12:58:45 b352a97aabf1: Download complete 12:58:45 4872d77fe225: Verifying Checksum 12:58:45 4872d77fe225: Download complete 12:58:45 5851b861e8e6: Verifying Checksum 12:58:45 5851b861e8e6: Download complete 12:58:45 b85a868b505f: Verifying Checksum 12:58:45 b85a868b505f: Download complete 12:58:45 bab4dde63d76: Verifying Checksum 12:58:45 bab4dde63d76: Download complete 12:58:46 b85a868b505f: Pull complete 12:58:46 e2be974225ed: Pull complete 12:58:47 339a4e72a1f5: Pull complete 12:58:47 988bab9f4d93: Pull complete 12:58:47 1469e6f7b9e6: Pull complete 12:58:47 eaf3925da568: Pull complete 12:58:49 bab4dde63d76: Pull complete 12:58:49 bde34c3a00c8: Pull complete 12:58:49 b352a97aabf1: Pull complete 12:58:49 4872d77fe225: Pull complete 12:58:49 5851b861e8e6: Pull complete 12:58:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:58:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:49 prd-ubuntu20.04-docker-8c-8g-6286 does not seem to be running inside a container 12:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-519 -v /w/workspace/_app-service-configurable_PR-519:/w/workspace/_app-service-configurable_PR-519:rw,z -v /w/workspace/_app-service-configurable_PR-519@tmp:/w/workspace/_app-service-configurable_PR-519@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:58:54 $ docker top d38b2df727f7b88f6a286bb8d31384e646b91bf90d035379708615b081a6bc62 -eo pid,comm 12:58:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:58:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:54 [ssh-agent] Looking for ssh-agent implementation... 12:58:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:54 $ docker exec d38b2df727f7b88f6a286bb8d31384e646b91bf90d035379708615b081a6bc62 ssh-agent 12:58:55 SSH_AUTH_SOCK=/tmp/ssh-9xqI0Bb0IQtk/agent.31 12:58:55 SSH_AGENT_PID=37 12:58:55 Running ssh-add (command line suppressed) 12:58:55 Identity added: /w/workspace/_app-service-configurable_PR-519@tmp/private_key_5339587327376752156.key (/w/workspace/_app-service-configurable_PR-519@tmp/private_key_5339587327376752156.key) 12:58:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:55 + git tag --points-at HEAD [Pipeline] } 12:58:55 $ docker exec --env ******** --env ******** d38b2df727f7b88f6a286bb8d31384e646b91bf90d035379708615b081a6bc62 ssh-agent -k 12:58:55 unset SSH_AUTH_SOCK; 12:58:55 unset SSH_AGENT_PID; 12:58:55 echo Agent pid 37 killed; 12:58:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:55 [ssh-agent] Looking for ssh-agent implementation... 12:58:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:55 $ docker exec d38b2df727f7b88f6a286bb8d31384e646b91bf90d035379708615b081a6bc62 ssh-agent 12:58:55 SSH_AUTH_SOCK=/tmp/ssh-uI9hzyPhO4cP/agent.69 12:58:55 SSH_AGENT_PID=75 12:58:55 Running ssh-add (command line suppressed) 12:58:56 Identity added: /w/workspace/_app-service-configurable_PR-519@tmp/private_key_17718795010553984439.key (/w/workspace/_app-service-configurable_PR-519@tmp/private_key_17718795010553984439.key) 12:58:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:56 + git semver init 12:58:56 2023-02-16 12:58:56,595 [run_init] DEBUG init version:0.0.0 force:False 12:58:56 2023-02-16 12:58:56,596 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-519/.semver 12:58:56 2023-02-16 12:58:56,596 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-519/.semver 12:58:56 2023-02-16 12:58:56,596 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-519/.semver'], cwd=/w/workspace/_app-service-configurable_PR-519, universal_newlines=False, shell=None, istream=None) 12:58:57 2023-02-16 12:58:57,576 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-519/.git/info/exclude 12:58:57 2023-02-16 12:58:57,576 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-519/.semver/PR-519 with force:False 12:58:57 2023-02-16 12:58:57,577 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-519/.semver/PR-519 12:58:57 2023-02-16 12:58:57,582 [execute] INFO git cat-file --batch-check 12:58:57 2023-02-16 12:58:57,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-519/.semver, universal_newlines=False, shell=None, istream=) 12:58:57 2023-02-16 12:58:57,589 [execute] INFO git cat-file --batch 12:58:57 2023-02-16 12:58:57,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-519/.semver, universal_newlines=False, shell=None, istream=) 12:58:57 2023-02-16 12:58:57,594 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-519/.semver/PR-519 12:58:57 0.0.0 [Pipeline] } 12:58:57 $ docker exec --env ******** --env ******** d38b2df727f7b88f6a286bb8d31384e646b91bf90d035379708615b081a6bc62 ssh-agent -k 12:58:57 unset SSH_AUTH_SOCK; 12:58:57 unset SSH_AGENT_PID; 12:58:57 echo Agent pid 75 killed; 12:58:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:58 + git semver [Pipeline] } 12:58:58 $ docker stop --time=1 d38b2df727f7b88f6a286bb8d31384e646b91bf90d035379708615b081a6bc62 12:58:59 $ docker rm -f --volumes d38b2df727f7b88f6a286bb8d31384e646b91bf90d035379708615b081a6bc62 [Pipeline] // withDockerContainer [Pipeline] sh 12:59:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:59:00 Stashed 1 file(s) [Pipeline] echo 12:59:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:59:01 provisioning config files... 12:59:01 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-519@tmp/config12535176078698657268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:59:01 ---> docker-login.sh 12:59:01 nexus3.edgexfoundry.org:10001 12:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:01 Configure a credential helper to remove this warning. See 12:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:01 12:59:01 Login Succeeded 12:59:01 nexus3.edgexfoundry.org:10002 12:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:01 Configure a credential helper to remove this warning. See 12:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:01 12:59:01 Login Succeeded 12:59:01 nexus3.edgexfoundry.org:10003 12:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:01 Configure a credential helper to remove this warning. See 12:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:01 12:59:01 Login Succeeded 12:59:01 nexus3.edgexfoundry.org:10004 12:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:01 Configure a credential helper to remove this warning. See 12:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:01 12:59:01 Login Succeeded 12:59:01 docker.io 12:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:59:02 Configure a credential helper to remove this warning. See 12:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:59:02 12:59:02 Login Succeeded 12:59:02 ---> docker-login.sh ends [Pipeline] } 12:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:59:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:59:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:59:02 ========================================================= 12:59:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:59:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:02 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 12:59:02 Sending build context to Docker daemon 3.216MB 12:59:02 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:59:02 Step 2/12 : FROM ${BASE} AS builder 12:59:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:59:02 213ec9aee27d: Pulling fs layer 12:59:02 4583459ba037: Pulling fs layer 12:59:02 93c1e223e6f2: Pulling fs layer 12:59:02 53926ce57604: Pulling fs layer 12:59:02 21b2b0c7a3f4: Pulling fs layer 12:59:02 22ff95d597cd: Pulling fs layer 12:59:02 12d6caf4c0d1: Pulling fs layer 12:59:02 96b7cbca73a9: Pulling fs layer 12:59:02 a7acece74701: Pulling fs layer 12:59:02 22ff95d597cd: Waiting 12:59:02 12d6caf4c0d1: Waiting 12:59:02 53926ce57604: Waiting 12:59:02 96b7cbca73a9: Waiting 12:59:02 21b2b0c7a3f4: Waiting 12:59:02 a7acece74701: Waiting 12:59:02 93c1e223e6f2: Verifying Checksum 12:59:02 93c1e223e6f2: Download complete 12:59:02 4583459ba037: Download complete 12:59:02 21b2b0c7a3f4: Verifying Checksum 12:59:02 21b2b0c7a3f4: Download complete 12:59:03 22ff95d597cd: Verifying Checksum 12:59:03 22ff95d597cd: Download complete 12:59:03 213ec9aee27d: Verifying Checksum 12:59:03 213ec9aee27d: Download complete 12:59:03 12d6caf4c0d1: Download complete 12:59:03 213ec9aee27d: Pull complete 12:59:03 4583459ba037: Pull complete 12:59:03 93c1e223e6f2: Pull complete 12:59:04 53926ce57604: Verifying Checksum 12:59:04 53926ce57604: Download complete 12:59:04 a7acece74701: Verifying Checksum 12:59:04 a7acece74701: Download complete 12:59:04 96b7cbca73a9: Verifying Checksum 12:59:08 53926ce57604: Pull complete 12:59:08 21b2b0c7a3f4: Pull complete 12:59:08 22ff95d597cd: Pull complete 12:59:08 12d6caf4c0d1: Pull complete 12:59:10 96b7cbca73a9: Pull complete 12:59:10 a7acece74701: Pull complete 12:59:10 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 12:59:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:59:10 ---> db6d94c90886 12:59:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:59:15 Still waiting to schedule task 12:59:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:59:20 ---> Running in 8f3680ae576e 12:59:20 Removing intermediate container 8f3680ae576e 12:59:20 ---> 9d97cc3ace58 12:59:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:20 ---> Running in 7021d81c5e69 12:59:20 Removing intermediate container 7021d81c5e69 12:59:20 ---> 1b7021af1c8c 12:59:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:20 ---> Running in f2d9f3fef0a3 12:59:20 Removing intermediate container f2d9f3fef0a3 12:59:20 ---> 934d788d04cd 12:59:20 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:20 ---> Running in d9220ddc4ba1 12:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:59:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:59:20 OK: 211 MiB in 51 packages 12:59:21 Removing intermediate container d9220ddc4ba1 12:59:21 ---> 63de42ac9d3d 12:59:21 Step 7/12 : WORKDIR /app 12:59:21 ---> Running in 900c95653f3e 12:59:21 Removing intermediate container 900c95653f3e 12:59:21 ---> 8965095b9ed4 12:59:21 Step 8/12 : COPY go.mod vendor* ./ 12:59:21 ---> 5139a7dcf245 12:59:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:21 ---> Running in df77baf2c0a6 13:00:09 Removing intermediate container df77baf2c0a6 13:00:09 ---> 0c9beb5f79d2 13:00:09 Step 10/12 : COPY . . 13:00:10 ---> 130afb42bf09 13:00:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:10 ---> Running in dc1a91558e99 13:00:10 Removing intermediate container dc1a91558e99 13:00:10 ---> a41241d670c3 13:00:10 Step 12/12 : RUN $MAKE 13:00:10 ---> Running in bad1da1ee54e 13:00:11 noop 13:00:11 Removing intermediate container bad1da1ee54e 13:00:11 ---> 941fc628c5fc 13:00:11 Successfully built 941fc628c5fc 13:00:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:12 + docker inspect -f . ci-base-image-x86_64 13:00:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:12 prd-ubuntu20.04-docker-8c-8g-6286 does not seem to be running inside a container 13:00:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-519 -v /w/workspace/_app-service-configurable_PR-519:/w/workspace/_app-service-configurable_PR-519:rw,z -v /w/workspace/_app-service-configurable_PR-519@tmp:/w/workspace/_app-service-configurable_PR-519@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 ******** ci-base-image-x86_64 cat 13:00:12 $ docker top 9f00dcf1f857b9e89a41a95403032c4099645250a90d105781c56164a9451089 -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:12 + go version 13:00:12 go version go1.18.7 linux/amd64 [Pipeline] } 13:00:13 $ docker stop --time=1 9f00dcf1f857b9e89a41a95403032c4099645250a90d105781c56164a9451089 13:00:14 $ docker rm -f --volumes 9f00dcf1f857b9e89a41a95403032c4099645250a90d105781c56164a9451089 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:14 + docker inspect -f . ci-base-image-x86_64 13:00:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:15 prd-ubuntu20.04-docker-8c-8g-6286 does not seem to be running inside a container 13:00:15 $ 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-519 -v /w/workspace/_app-service-configurable_PR-519:/w/workspace/_app-service-configurable_PR-519:rw,z -v /w/workspace/_app-service-configurable_PR-519@tmp:/w/workspace/_app-service-configurable_PR-519@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 ******** ci-base-image-x86_64 cat 13:00:15 $ docker top d2da657a6e77ecb568c12b7fd31c7a674549c63b6d8517b553038133e0c8ff5b -eo pid,comm [Pipeline] { [Pipeline] sh 13:00:15 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-519 [Pipeline] fileExists [Pipeline] sh 13:00:16 + make test 13:00:16 go test -race -coverprofile=coverage.out ./... 13:00:34 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:34 go vet ./... 13:00:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:42 ./bin/test-attribution-txt.sh 13:00:42 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 13:00:42 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 13:00:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:42 $ docker stop --time=1 d2da657a6e77ecb568c12b7fd31c7a674549c63b6d8517b553038133e0c8ff5b 13:00:50 $ docker rm -f --volumes d2da657a6e77ecb568c12b7fd31c7a674549c63b6d8517b553038133e0c8ff5b [Pipeline] // withDockerContainer [Pipeline] sh 13:00:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:51 + ls -al . 13:00:51 total 172 13:00:51 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 13:00 . 13:00:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 12:58 .. 13:00:51 -rw-rw-r-- 1 jenkins jenkins 119 Feb 16 12:58 .dockerignore 13:00:51 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 12:58 .git 13:00:51 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 12:58 .github 13:00:51 -rw-rw-r-- 1 jenkins jenkins 171 Feb 16 12:58 .gitignore 13:00:51 drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 12:58 .semver 13:00:51 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 16 12:58 Attribution.txt 13:00:51 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 16 12:58 CHANGELOG.md 13:00:51 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 16 12:58 Dockerfile 13:00:51 -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 12:58 GOVERNANCE.md 13:00:51 -rw-rw-r-- 1 jenkins jenkins 688 Feb 16 12:58 Jenkinsfile 13:00:51 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 16 12:58 LICENSE 13:00:51 -rw-rw-r-- 1 jenkins jenkins 618 Feb 16 12:58 OWNERS.md 13:00:51 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 16 12:58 README.md 13:00:51 -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 12:59 VERSION 13:00:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 12:58 bin 13:00:51 -rw-r--r-- 1 jenkins jenkins 13 Feb 16 13:00 coverage.out 13:00:51 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 16 12:58 go.mod 13:00:51 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 16 12:58 go.sum 13:00:51 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 16 12:58 main.go 13:00:51 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 16 12:58 makefile 13:00:51 drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 12:58 res 13:00:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 12:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:52 + 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=fd29d54468f0c8e947dc4936dab984bca1b25c8b --label arch=amd64 --label version=0.0.0 . 13:00:52 Sending build context to Docker daemon 3.217MB 13:00:52 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 13:00:52 Step 2/26 : FROM ${BASE} AS builder 13:00:52 ---> 941fc628c5fc 13:00:52 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:52 ---> Running in 94509cdb2448 13:00:52 Removing intermediate container 94509cdb2448 13:00:52 ---> f06eb6126b0c 13:00:52 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:53 ---> Running in 7582bbf775bb 13:00:53 Removing intermediate container 7582bbf775bb 13:00:53 ---> 7aa3ee6e6dfc 13:00:53 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:53 ---> Running in 632cd0e44898 13:00:53 Removing intermediate container 632cd0e44898 13:00:53 ---> e1c6345a09e9 13:00:53 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:53 ---> Running in e82c6caa2715 13:00:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:00:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:00:53 OK: 211 MiB in 51 packages 13:00:54 Removing intermediate container e82c6caa2715 13:00:54 ---> d371feaab479 13:00:54 Step 7/26 : WORKDIR /app 13:00:54 ---> Running in e3f3ed7ea034 13:00:54 Removing intermediate container e3f3ed7ea034 13:00:54 ---> f4eeef910bea 13:00:54 Step 8/26 : COPY go.mod vendor* ./ 13:00:54 ---> 6b0b898edfde 13:00:54 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:54 ---> Running in 4ed367c9ecf2 13:00:55 Removing intermediate container 4ed367c9ecf2 13:00:55 ---> 40b57c95998a 13:00:55 Step 10/26 : COPY . . 13:00:55 ---> a5cbea0168c0 13:00:55 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:55 ---> Running in e9887656e97b 13:00:55 Removing intermediate container e9887656e97b 13:00:55 ---> 8a9889da1080 13:00:55 Step 12/26 : RUN $MAKE 13:00:55 ---> Running in 82014f902128 13:00:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.30 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:00:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6287 in /w/workspace/_app-service-configurable_PR-519 [Pipeline] { [Pipeline] ws 13:00:58 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:58 Selected Git installation does not exist. Using Default 13:00:58 The recommended git tool is: NONE 13:01:03 using credential edgex-jenkins-ssh 13:01:03 Cloning the remote Git repository 13:01:03 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:01:03 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:01:03 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:01:03 > git --version # timeout=10 13:01:03 > git --version # 'git version 2.25.1' 13:01:03 using GIT_SSH to set credentials SSH Credentials for GitHub 13:01:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:01:05 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:01:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:01:05 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:01:05 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:01:05 using GIT_SSH to set credentials SSH Credentials for GitHub 13:01:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/519/head:refs/remotes/origin/PR-519 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:01:06 Merging remotes/origin/main commit 731cbe338f54dd8dac0167938734c2fced573176 into PR head commit fd29d54468f0c8e947dc4936dab984bca1b25c8b 13:01:06 Merge succeeded, producing fd29d54468f0c8e947dc4936dab984bca1b25c8b 13:01:06 Checking out Revision fd29d54468f0c8e947dc4936dab984bca1b25c8b (PR-519) 13:01:07 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:01:06 > git config core.sparsecheckout # timeout=10 13:01:06 > git checkout -f fd29d54468f0c8e947dc4936dab984bca1b25c8b # timeout=10 13:01:06 > git remote # timeout=10 13:01:06 > git config --get remote.origin.url # timeout=10 13:01:06 using GIT_SSH to set credentials SSH Credentials for GitHub 13:01:06 > git merge 731cbe338f54dd8dac0167938734c2fced573176 # timeout=10 13:01:06 > git rev-parse HEAD^{commit} # timeout=10 13:01:06 > git config core.sparsecheckout # timeout=10 13:01:06 > git checkout -f fd29d54468f0c8e947dc4936dab984bca1b25c8b # timeout=10 13:01:07 > git --version # timeout=10 13:01:07 > git --version # 'git version 2.25.1' 13:01:07 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:01:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:01:08 % Total % Received % Xferd Average Speed Time Time Time Current 13:01:08 Dload Upload Total Spent Left Speed 13:01:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 63123 0 --:--:-- --:--:-- --:--:-- 62812 [Pipeline] sh 13:01:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:01:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:01:09 + sudo tee /etc/docker/daemon.new 13:01:09 { 13:01:09 "registry-mirrors": [ 13:01:09 "https://nexus3.edgexfoundry.org:10001" 13:01:09 ], 13:01:09 "bip": "10.250.0.254/24", 13:01:09 "hosts": [ 13:01:09 "tcp://0.0.0.0:5555", 13:01:09 "unix:///var/run/docker.sock" 13:01:09 ], 13:01:09 "mtu": 1458, 13:01:09 "selinux-enabled": true, 13:01:09 "seccomp-profile": "/etc/docker/seccomp.json" 13:01:09 } [Pipeline] sh 13:01:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:01:10 + sudo service docker restart 13:01:18 Removing intermediate container 82014f902128 13:01:18 ---> 498a1e0a584c 13:01:18 Step 13/26 : FROM alpine:3.16 13:01:18 3.16: Pulling from library/alpine 13:01:18 ef5531b6e74e: Pulling fs layer 13:01:18 ef5531b6e74e: Verifying Checksum 13:01:18 ef5531b6e74e: Download complete 13:01:18 ef5531b6e74e: Pull complete 13:01:18 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 13:01:18 Status: Downloaded newer image for alpine:3.16 13:01:18 ---> dfd21b5a31f5 13:01:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:01:18 ---> Running in aff9c1fc69cd 13:01:18 Removing intermediate container aff9c1fc69cd 13:01:18 ---> a61d9b22c7c7 13:01:18 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:01:19 ---> Running in 45764d641412 13:01:19 Removing intermediate container 45764d641412 13:01:19 ---> 7a1565b4bdda 13:01:19 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:01:19 ---> Running in b0d4e5b78a12 13:01:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:01:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:01:20 (1/2) Installing ca-certificates (20220614-r0) 13:01:20 (2/2) Installing dumb-init (1.2.5-r1) 13:01:20 Executing busybox-1.35.0-r17.trigger 13:01:20 Executing ca-certificates-20220614-r0.trigger 13:01:20 OK: 6 MiB in 16 packages 13:01:21 Removing intermediate container b0d4e5b78a12 13:01:21 ---> 3767e8c72aca 13:01:21 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:01:21 ---> 62a42e0cc109 13:01:21 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:01:22 ---> e2087a417837 13:01:22 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:01:22 ---> 6e2f0d410e44 13:01:22 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:01:24 ---> 7f2085cb4aa3 13:01:24 Step 21/26 : EXPOSE 48095 13:01:24 ---> Running in 5ba02a570879 13:01:24 Removing intermediate container 5ba02a570879 13:01:24 ---> f8f7dde45101 13:01:24 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:01:24 ---> Running in 2975a4cc8f22 13:01:25 Removing intermediate container 2975a4cc8f22 13:01:25 ---> 40f78398e329 13:01:25 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:01:25 ---> Running in 1e0b10a5b933 13:01:25 Removing intermediate container 1e0b10a5b933 13:01:25 ---> f10a5767c438 13:01:25 Step 24/26 : LABEL arch=amd64 13:01:26 ---> Running in b071ea886474 13:01:26 Removing intermediate container b071ea886474 13:01:26 ---> 46cf2d82825e 13:01:26 Step 25/26 : LABEL git_sha=fd29d54468f0c8e947dc4936dab984bca1b25c8b 13:01:26 ---> Running in c3b30df86ec0 13:01:27 Removing intermediate container c3b30df86ec0 13:01:27 ---> 264b9a680610 13:01:27 Step 26/26 : LABEL version=0.0.0 13:01:27 ---> Running in 39915a4365a3 13:01:27 Removing intermediate container 39915a4365a3 13:01:27 ---> 68ccdbe0dbee 13:01:27 [Warning] One or more build-args [ARCH] were not consumed 13:01:27 Successfully built 68ccdbe0dbee 13:01:27 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:28 provisioning config files... 13:01:28 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config10908217049049742081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:28 13:01:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:28 ---> docker-login.sh 13:01:28 nexus3.edgexfoundry.org:10001 13:01:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:28 latest: Pulling from edgex-lftools-log-publisher 13:01:28 5eb5b503b376: Pulling fs layer 13:01:28 5c69ac0246d0: Pulling fs layer 13:01:28 ec43610c2a17: Pulling fs layer 13:01:28 3a2ae6a8a46f: Pulling fs layer 13:01:28 33b1e0a273af: Pulling fs layer 13:01:28 5d3b04190fa2: Pulling fs layer 13:01:28 2f39f015ded8: Pulling fs layer 13:01:28 5d3b04190fa2: Waiting 13:01:28 3a2ae6a8a46f: Waiting 13:01:28 2f39f015ded8: Waiting 13:01:28 33b1e0a273af: Waiting 13:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:29 5c69ac0246d0: Download complete 13:01:29 3a2ae6a8a46f: Verifying Checksum 13:01:29 3a2ae6a8a46f: Download complete 13:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:29 Configure a credential helper to remove this warning. See 13:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:29 13:01:29 Login Succeeded 13:01:29 nexus3.edgexfoundry.org:10002 13:01:29 33b1e0a273af: Verifying Checksum 13:01:29 33b1e0a273af: Download complete 13:01:29 5d3b04190fa2: Verifying Checksum 13:01:29 5d3b04190fa2: Download complete 13:01:29 ec43610c2a17: Verifying Checksum 13:01:29 ec43610c2a17: Download complete 13:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:29 Configure a credential helper to remove this warning. See 13:01:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:29 13:01:29 Login Succeeded 13:01:29 5eb5b503b376: Verifying Checksum 13:01:29 5eb5b503b376: Download complete 13:01:29 nexus3.edgexfoundry.org:10003 13:01:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:30 Configure a credential helper to remove this warning. See 13:01:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:30 13:01:30 Login Succeeded 13:01:30 nexus3.edgexfoundry.org:10004 13:01:30 2f39f015ded8: Verifying Checksum 13:01:30 2f39f015ded8: Download complete 13:01:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:30 Configure a credential helper to remove this warning. See 13:01:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:30 13:01:30 Login Succeeded 13:01:30 docker.io 13:01:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:30 5eb5b503b376: Pull complete 13:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:31 Configure a credential helper to remove this warning. See 13:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:31 13:01:31 Login Succeeded 13:01:31 ---> docker-login.sh ends [Pipeline] } 13:01:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:01:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:31 ========================================================= 13:01:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:01:31 ========================================================= [Pipeline] fileExists 13:01:31 5c69ac0246d0: Pull complete [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 13:01:32 Sending build context to Docker daemon 178.2kB 13:01:32 ec43610c2a17: Pull complete 13:01:32 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:01:32 Step 2/12 : FROM ${BASE} AS builder 13:01:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:01:32 9b18e9b68314: Pulling fs layer 13:01:32 35d82f9e3411: Pulling fs layer 13:01:32 e16973657156: Pulling fs layer 13:01:32 fc693d55d65f: Pulling fs layer 13:01:32 7e9fc2657dce: Pulling fs layer 13:01:32 dda99020689f: Pulling fs layer 13:01:32 db1c61fa0a46: Pulling fs layer 13:01:32 891c053d2c06: Pulling fs layer 13:01:32 fc693d55d65f: Waiting 13:01:32 7e9fc2657dce: Waiting 13:01:32 dda99020689f: Waiting 13:01:32 db1c61fa0a46: Waiting 13:01:32 891c053d2c06: Waiting 13:01:32 3a2ae6a8a46f: Pull complete 13:01:32 e16973657156: Verifying Checksum 13:01:32 e16973657156: Download complete 13:01:32 35d82f9e3411: Verifying Checksum 13:01:32 35d82f9e3411: Download complete 13:01:32 7e9fc2657dce: Verifying Checksum 13:01:32 7e9fc2657dce: Download complete 13:01:32 dda99020689f: Verifying Checksum 13:01:32 dda99020689f: Download complete 13:01:32 9b18e9b68314: Verifying Checksum 13:01:32 33b1e0a273af: Pull complete 13:01:32 5d3b04190fa2: Pull complete 13:01:33 9b18e9b68314: Pull complete 13:01:33 891c053d2c06: Verifying Checksum 13:01:33 891c053d2c06: Download complete 13:01:34 35d82f9e3411: Pull complete 13:01:34 e16973657156: Pull complete 13:01:34 db1c61fa0a46: Verifying Checksum 13:01:34 db1c61fa0a46: Download complete 13:01:35 fc693d55d65f: Verifying Checksum 13:01:35 fc693d55d65f: Download complete 13:01:37 2f39f015ded8: Pull complete 13:01:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:01:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:37 prd-ubuntu20.04-docker-8c-8g-6286 does not seem to be running inside a container 13:01:37 $ 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-519 -v /w/workspace/_app-service-configurable_PR-519:/w/workspace/_app-service-configurable_PR-519:rw,z -v /w/workspace/_app-service-configurable_PR-519@tmp:/w/workspace/_app-service-configurable_PR-519@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:01:43 $ docker top 74d80a8c25a02166f2459cf735435e135d0d366bcabf95bd6167eb47af3dab8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:43 ---> job-cost.sh 13:01:43 lf-activate-venv: SKIPPING 13:01:43 INFO: No Stack... 13:01:43 INFO: Retrieving Pricing Info for: v3-standard-8 13:01:44 INFO: Archiving Costs [Pipeline] sh 13:01:44 + cat /w/workspace/_app-service-configurable_PR-519/archives/cost.csv 13:01:44 + cut -d, -f6 [Pipeline] lock 13:01:44 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-519-1-stack-cost] 13:01:44 Resource [jenkins-edgexfoundry-app-service-configurable-PR-519-1-stack-cost] did not exist. Created. 13:01:44 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-519-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:01:44 + echo total: 0.2199999988079071 [Pipeline] stash 13:01:44 Stashed 1 file(s) [Pipeline] } 13:01:44 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-519-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:45 $ docker stop --time=1 74d80a8c25a02166f2459cf735435e135d0d366bcabf95bd6167eb47af3dab8f 13:01:46 $ docker rm -f --volumes 74d80a8c25a02166f2459cf735435e135d0d366bcabf95bd6167eb47af3dab8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:01:47 fc693d55d65f: Pull complete 13:01:47 7e9fc2657dce: Pull complete 13:01:47 dda99020689f: Pull complete 13:01:54 db1c61fa0a46: Pull complete 13:01:56 891c053d2c06: Pull complete 13:01:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 13:01:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:01:56 ---> f96f9c87975a 13:01:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:58 ---> Running in 352c735c322d 13:01:58 Removing intermediate container 352c735c322d 13:01:58 ---> b12103e9613a 13:01:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:58 ---> Running in 18751d8a731f 13:01:58 Removing intermediate container 18751d8a731f 13:01:58 ---> 9a885888ee6f 13:01:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:58 ---> Running in cd82892bdbab 13:01:58 Removing intermediate container cd82892bdbab 13:01:58 ---> bcb5b2b79599 13:01:58 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:58 ---> Running in 07fc7e22c6b6 13:02:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:02:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:02:01 OK: 221 MiB in 51 packages 13:02:02 Removing intermediate container 07fc7e22c6b6 13:02:02 ---> 6a0b64affb4f 13:02:02 Step 7/12 : WORKDIR /app 13:02:02 ---> Running in 47a71d837fc8 13:02:02 Removing intermediate container 47a71d837fc8 13:02:02 ---> c96a745ab227 13:02:02 Step 8/12 : COPY go.mod vendor* ./ 13:02:03 ---> 6c2e178a1147 13:02:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:02:03 ---> Running in 982c6e234163 13:03:24 Removing intermediate container 982c6e234163 13:03:24 ---> 0d460b72fbae 13:03:24 Step 10/12 : COPY . . 13:03:24 ---> 3ef6213a5645 13:03:24 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:24 ---> Running in 7d8ba7e0bea7 13:03:24 Removing intermediate container 7d8ba7e0bea7 13:03:24 ---> 074a257aa160 13:03:24 Step 12/12 : RUN $MAKE 13:03:24 ---> Running in 81ea8be4145b 13:03:24 noop 13:03:24 Removing intermediate container 81ea8be4145b 13:03:24 ---> d7401b1dd86f 13:03:24 Successfully built d7401b1dd86f 13:03:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:25 + docker inspect -f . ci-base-image-arm64 13:03:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:25 prd-ubuntu20.04-docker-arm64-4c-16g-6287 does not seem to be running inside a container 13:03:25 $ 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:26 $ docker top 333b54e1ad17a612b67fd518c4b35be62bc18b5a5a3cab44ccda68334e7977b8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:27 + go version 13:03:27 go version go1.18.7 linux/arm64 [Pipeline] } 13:03:27 $ docker stop --time=1 333b54e1ad17a612b67fd518c4b35be62bc18b5a5a3cab44ccda68334e7977b8 13:03:29 $ docker rm -f --volumes 333b54e1ad17a612b67fd518c4b35be62bc18b5a5a3cab44ccda68334e7977b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:30 + docker inspect -f . ci-base-image-arm64 13:03:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:30 prd-ubuntu20.04-docker-arm64-4c-16g-6287 does not seem to be running inside a container 13:03:30 $ 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:31 $ docker top 37fb8057a569738a443d0938fb8d3c2ebe0cde150f8bb230484551805a273d61 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:32 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:03:32 + make test 13:03:32 go test -race -coverprofile=coverage.out ./... 13:05:54 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:05:54 go vet ./... 13:07:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:07:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:07:02 ./bin/test-attribution-txt.sh 13:07:02 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 13:07:02 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 13:07:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:07:02 $ docker stop --time=1 37fb8057a569738a443d0938fb8d3c2ebe0cde150f8bb230484551805a273d61 13:07:04 $ docker rm -f --volumes 37fb8057a569738a443d0938fb8d3c2ebe0cde150f8bb230484551805a273d61 [Pipeline] // withDockerContainer [Pipeline] sh 13:07:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:07:05 Warning: overwriting stash ‘coverage-report’ 13:07:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:07:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:07:07 + ls -al . 13:07:07 total 168 13:07:07 drwxrwxr-x 7 jenkins jenkins 4096 Feb 16 13:03 . 13:07:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 13:01 .. 13:07:07 -rw-rw-r-- 1 jenkins jenkins 119 Feb 16 13:01 .dockerignore 13:07:07 drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 13:01 .git 13:07:07 drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 13:01 .github 13:07:07 -rw-rw-r-- 1 jenkins jenkins 171 Feb 16 13:01 .gitignore 13:07:07 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 16 13:01 Attribution.txt 13:07:07 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 16 13:01 CHANGELOG.md 13:07:07 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 16 13:01 Dockerfile 13:07:07 -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 13:01 GOVERNANCE.md 13:07:07 -rw-rw-r-- 1 jenkins jenkins 688 Feb 16 13:01 Jenkinsfile 13:07:07 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 16 13:01 LICENSE 13:07:07 -rw-rw-r-- 1 jenkins jenkins 618 Feb 16 13:01 OWNERS.md 13:07:07 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 16 13:01 README.md 13:07:07 -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 12:59 VERSION 13:07:07 drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 13:01 bin 13:07:07 -rw-r--r-- 1 jenkins jenkins 13 Feb 16 13:03 coverage.out 13:07:07 -rw-rw-r-- 1 jenkins jenkins 3308 Feb 16 13:01 go.mod 13:07:07 -rw-rw-r-- 1 jenkins jenkins 32598 Feb 16 13:01 go.sum 13:07:07 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 16 13:01 main.go 13:07:07 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 16 13:01 makefile 13:07:07 drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 13:01 res 13:07:07 drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 13:01 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:07 + 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=fd29d54468f0c8e947dc4936dab984bca1b25c8b --label arch=arm64 --label version=0.0.0 . 13:07:07 Sending build context to Docker daemon 179.2kB 13:07:07 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 13:07:07 Step 2/26 : FROM ${BASE} AS builder 13:07:07 ---> d7401b1dd86f 13:07:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:07:07 ---> Running in f47b9f6052bc 13:07:08 Removing intermediate container f47b9f6052bc 13:07:08 ---> 55a947ecd4b5 13:07:08 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:07:08 ---> Running in 4eb01ac766b4 13:07:08 Removing intermediate container 4eb01ac766b4 13:07:08 ---> 8827b5e3baf7 13:07:08 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:07:08 ---> Running in 697175b8d1c9 13:07:08 Removing intermediate container 697175b8d1c9 13:07:08 ---> f1d49812eb5e 13:07:08 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:07:08 ---> Running in bef732419ef7 13:07:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:07:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:07:11 OK: 221 MiB in 51 packages 13:07:11 Removing intermediate container bef732419ef7 13:07:11 ---> 0d7c37806e10 13:07:11 Step 7/26 : WORKDIR /app 13:07:11 ---> Running in 53b966886f16 13:07:11 Removing intermediate container 53b966886f16 13:07:11 ---> 9c0c5b30ac7b 13:07:11 Step 8/26 : COPY go.mod vendor* ./ 13:07:13 ---> 8dc7ba6676c4 13:07:13 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:07:14 ---> Running in 192567bbe194 13:07:16 Removing intermediate container 192567bbe194 13:07:16 ---> 3826b8299252 13:07:16 Step 10/26 : COPY . . 13:07:16 ---> 96f7ceb9f9e0 13:07:16 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:07:16 ---> Running in 656993c93f3d 13:07:17 Removing intermediate container 656993c93f3d 13:07:17 ---> 940ec6d35b87 13:07:17 Step 12/26 : RUN $MAKE 13:07:17 ---> Running in 07860a69424a 13:07:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.30 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:09:09 Removing intermediate container 07860a69424a 13:09:09 ---> 02225972771f 13:09:09 Step 13/26 : FROM alpine:3.16 13:09:09 3.16: Pulling from library/alpine 13:09:09 3760b48202b3: Pulling fs layer 13:09:09 3760b48202b3: Verifying Checksum 13:09:09 3760b48202b3: Download complete 13:09:09 3760b48202b3: Pull complete 13:09:09 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 13:09:09 Status: Downloaded newer image for alpine:3.16 13:09:09 ---> 4c81e5bf8899 13:09:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:09:09 ---> Running in f5720b3530c1 13:09:09 Removing intermediate container f5720b3530c1 13:09:09 ---> d1a02e3b0805 13:09:09 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:09:09 ---> Running in cf3eea13f78f 13:09:09 Removing intermediate container cf3eea13f78f 13:09:09 ---> 26d3e3e3b4c7 13:09:09 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:09:09 ---> Running in 45608b6487ec 13:09:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:09:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:09:10 (1/2) Installing ca-certificates (20220614-r0) 13:09:10 (2/2) Installing dumb-init (1.2.5-r1) 13:09:10 Executing busybox-1.35.0-r17.trigger 13:09:10 Executing ca-certificates-20220614-r0.trigger 13:09:10 OK: 6 MiB in 16 packages 13:09:11 Removing intermediate container 45608b6487ec 13:09:11 ---> e0fd7d07aceb 13:09:11 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:09:12 ---> e8ab668c9210 13:09:12 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:09:13 ---> d025ef1fd588 13:09:13 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:09:13 ---> b690ba3c3f5c 13:09:13 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:09:14 ---> 8ea0bb5b3e2f 13:09:14 Step 21/26 : EXPOSE 48095 13:09:14 ---> Running in b5a7380872df 13:09:14 Removing intermediate container b5a7380872df 13:09:14 ---> bc917ba5abb5 13:09:14 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:09:15 ---> Running in 8b528b8fd20b 13:09:15 Removing intermediate container 8b528b8fd20b 13:09:15 ---> 2d42577b9af6 13:09:15 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:09:15 ---> Running in a01a616d9a84 13:09:15 Removing intermediate container a01a616d9a84 13:09:15 ---> 3c480f84fac1 13:09:15 Step 24/26 : LABEL arch=arm64 13:09:15 ---> Running in 775ad1fa14a5 13:09:16 Removing intermediate container 775ad1fa14a5 13:09:16 ---> 31d5e90cc970 13:09:16 Step 25/26 : LABEL git_sha=fd29d54468f0c8e947dc4936dab984bca1b25c8b 13:09:16 ---> Running in f0e035eaf58e 13:09:16 Removing intermediate container f0e035eaf58e 13:09:16 ---> 41853e278ff8 13:09:16 Step 26/26 : LABEL version=0.0.0 13:09:16 ---> Running in 3f4003d14867 13:09:16 Removing intermediate container 3f4003d14867 13:09:16 ---> 01e3039fcfcb 13:09:16 [Warning] One or more build-args [ARCH] were not consumed 13:09:16 Successfully built 01e3039fcfcb 13:09:16 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:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:17 13:09:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:18 arm64: Pulling from edgex-lftools-log-publisher 13:09:18 8998bd30e6a1: Pulling fs layer 13:09:18 04944245beec: Pulling fs layer 13:09:18 699f458cf7ca: Pulling fs layer 13:09:18 765212b225bb: Pulling fs layer 13:09:18 f23df028b6ca: Pulling fs layer 13:09:18 d65c8cfc05b1: Pulling fs layer 13:09:18 2437ff75d9bd: Pulling fs layer 13:09:18 765212b225bb: Waiting 13:09:18 f23df028b6ca: Waiting 13:09:18 d65c8cfc05b1: Waiting 13:09:18 2437ff75d9bd: Waiting 13:09:18 04944245beec: Download complete 13:09:18 765212b225bb: Verifying Checksum 13:09:18 765212b225bb: Download complete 13:09:18 f23df028b6ca: Download complete 13:09:18 d65c8cfc05b1: Verifying Checksum 13:09:18 d65c8cfc05b1: Download complete 13:09:18 699f458cf7ca: Verifying Checksum 13:09:18 699f458cf7ca: Download complete 13:09:18 8998bd30e6a1: Verifying Checksum 13:09:18 8998bd30e6a1: Download complete 13:09:20 2437ff75d9bd: Verifying Checksum 13:09:20 2437ff75d9bd: Download complete 13:09:22 8998bd30e6a1: Pull complete 13:09:23 04944245beec: Pull complete 13:09:24 699f458cf7ca: Pull complete 13:09:24 765212b225bb: Pull complete 13:09:25 f23df028b6ca: Pull complete 13:09:25 d65c8cfc05b1: Pull complete 13:09:38 2437ff75d9bd: Pull complete 13:09:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:09:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:09:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:38 prd-ubuntu20.04-docker-arm64-4c-16g-6287 does not seem to be running inside a container 13:09:38 $ 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:09:40 $ docker top 02f7becbb4c4448e2bfb1c0f48900ae4ccd719c6960dec6511f86bbb7ebec141 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:41 ---> job-cost.sh 13:09:41 lf-activate-venv: SKIPPING 13:09:41 INFO: No Stack... 13:09:41 INFO: Retrieving Pricing Info for: v3-standard-4 13:09:42 INFO: Archiving Costs [Pipeline] sh 13:09:43 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:09:43 + cut -d, -f6 [Pipeline] lock 13:09:43 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-519-1-stack-cost] 13:09:43 Resource [jenkins-edgexfoundry-app-service-configurable-PR-519-1-stack-cost] did not exist. Created. 13:09:43 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-519-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:09:43 /w/workspace/app-service-configurable/1@tmp/durable-51d177eb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:09:44 + echo total: 0.10999999940395355 [Pipeline] stash 13:09:44 Warning: overwriting stash ‘stack-cost’ 13:09:44 Stashed 1 file(s) [Pipeline] } 13:09:44 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-519-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:09:44 $ docker stop --time=1 02f7becbb4c4448e2bfb1c0f48900ae4ccd719c6960dec6511f86bbb7ebec141 13:09:45 $ docker rm -f --volumes 02f7becbb4c4448e2bfb1c0f48900ae4ccd719c6960dec6511f86bbb7ebec141 [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:09:46 provisioning config files... 13:09:46 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-519@tmp/config8121735603624462300tmp [Pipeline] { [Pipeline] sh 13:09:46 + set +x 13:09:46 + curl -s https://codecov.io/bash 13:09:46 + bash -s -- 13:09:46 13:09:46 _____ _ 13:09:46 / ____| | | 13:09:46 | | ___ __| | ___ ___ _____ __ 13:09:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:09:46 | |___| (_) | (_| | __/ (_| (_) \ V / 13:09:46 \_____\___/ \__,_|\___|\___\___/ \_/ 13:09:46 Bash-1.0.6 13:09:46 13:09:46 13:09:46 ==> git version 2.25.1 found 13:09:46 ==> 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:09:46 Release-Date: 2020-01-08 13:09:46 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:09:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:09:46 ==> Jenkins CI detected. 13:09:46 current dir:  /w/workspace/_app-service-configurable_PR-519 13:09:46 project root: . 13:09:46 --> token set from env 13:09:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:09:46 ==> Running gcov in . (disable via -X gcov) 13:09:46 ==> Python coveragepy not found 13:09:46 ==> Searching for coverage reports in: 13:09:46 + . 13:09:46 -> Found 1 reports 13:09:46 ==> Detecting git/mercurial file structure 13:09:46 ==> Reading reports 13:09:46 + ./coverage.out bytes=13 13:09:46 ==> Appending adjustments 13:09:46 https://docs.codecov.io/docs/fixing-reports 13:09:47 + Found adjustments 13:09:47 ==> Gzipping contents 13:09:47 4.0K /tmp/codecov.lGVLkI.gz 13:09:47 ==> Uploading reports 13:09:47 url: https://codecov.io 13:09:47 query: branch=PR-519&commit=fd29d54468f0c8e947dc4936dab984bca1b25c8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-519%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=519&job=&cmd_args= 13:09:47 -> Pinging Codecov 13:09:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-519&commit=fd29d54468f0c8e947dc4936dab984bca1b25c8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-519%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=519&job=&cmd_args= 13:09:47 -> Uploading to 13:09:47 https://storage.googleapis.com/codecov/v4/raw/2023-02-16/A97CA9966030D2A3747ED39772930CCE/fd29d54468f0c8e947dc4936dab984bca1b25c8b/c324f712-4013-4edf-b791-e7f98ed740d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230216T130947Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=70e1ac2f805114cf968a9eb826c01310e1a30db36266e143b3bf3acae904d7ab 13:09:47 % Total % Received % Xferd Average Speed Time Time Time Current 13:09:47 Dload Upload Total Spent Left Speed 13:09:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 1947 --:--:-- --:--:-- --:--:-- 1947 13:09:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/fd29d54468f0c8e947dc4936dab984bca1b25c8b [Pipeline] } 13:09:47 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:09:49 + [ -d /w/workspace/_app-service-configurable_PR-519/archives ] 13:09:49 + ls -al /w/workspace/_app-service-configurable_PR-519/archives 13:09:49 total 16 13:09:49 drwxr-xr-x 3 root root 4096 Feb 16 13:01 . 13:09:49 drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 13:01 .. 13:09:49 drwxr-xr-x 2 root root 4096 Feb 16 13:01 cost 13:09:49 -rw-r--r-- 1 root root 96 Feb 16 13:01 cost.csv 13:09:49 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-519/archives 13:09:49 + ls -al /w/workspace/_app-service-configurable_PR-519/archives 13:09:49 total 16 13:09:49 drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 13:01 . 13:09:49 drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 13:01 .. 13:09:49 drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 13:01 cost 13:09:49 -rw-r--r-- 1 jenkins jenkins 96 Feb 16 13:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:09:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:09:50 ---> package-listing.sh 13:09:50 ++ facter osfamily 13:09:50 ++ tr '[:upper:]' '[:lower:]' 13:09:50 + OS_FAMILY=debian 13:09:50 + workspace=/w/workspace/_app-service-configurable_PR-519 13:09:50 + START_PACKAGES=/tmp/packages_start.txt 13:09:50 + END_PACKAGES=/tmp/packages_end.txt 13:09:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:09:50 + PACKAGES=/tmp/packages_start.txt 13:09:50 + '[' /w/workspace/_app-service-configurable_PR-519 ']' 13:09:50 + PACKAGES=/tmp/packages_end.txt 13:09:50 + case "${OS_FAMILY}" in 13:09:50 + dpkg -l 13:09:50 + grep '^ii' 13:09:50 + '[' -f /tmp/packages_start.txt ']' 13:09:50 + '[' -f /tmp/packages_end.txt ']' 13:09:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:09:50 + '[' /w/workspace/_app-service-configurable_PR-519 ']' 13:09:50 + mkdir -p /w/workspace/_app-service-configurable_PR-519/archives/ 13:09:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-519/archives/ [Pipeline] echo 13:09:50 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-519/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:09:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:09:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:51 prd-ubuntu20.04-docker-8c-8g-6286 does not seem to be running inside a container 13:09:51 $ 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-519/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-519 -v /w/workspace/_app-service-configurable_PR-519:/w/workspace/_app-service-configurable_PR-519:rw,z -v /w/workspace/_app-service-configurable_PR-519@tmp:/w/workspace/_app-service-configurable_PR-519@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:09:52 $ docker top 62d1fd0aa7c6457dfbf931788b12b23ac8a75100d1a2972c078c0acf5128a9d0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:09:52 + touch /tmp/pre-build-complete [Pipeline] sh 13:09:52 + mkdir -p /var/log/sysstat [Pipeline] sh 13:09:53 + ls /var/log/sa-host 13:09:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:09:53 provisioning config files... 13:09:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-519@tmp/config11650292082577480396tmp [Pipeline] { [Pipeline] echo 13:09:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:09:53 ---> create-netrc.sh [Pipeline] } 13:09:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:09:54 ---> python-tools-install.sh [Pipeline] echo 13:09:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:09:54 ---> sudo-logs.sh 13:09:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:09:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:09:55 ---> job-cost.sh 13:09:55 lf-activate-venv: SKIPPING 13:09:55 DEBUG: total: 0.2199999988079071 13:09:55 INFO: Retrieving Stack Cost... 13:09:55 INFO: Retrieving Pricing Info for: v3-standard-8 13:09:55 INFO: Archiving Costs [Pipeline] echo 13:09:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:09:56 ---> logs-deploy.sh 13:09:56 lf-activate-venv: SKIPPING 13:09:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-519/1 13:09:56 INFO: archiving workspace using pattern(s): 13:09:57 Archives upload complete. 13:09:57 INFO: archiving logs to Nexus