Pull request #575 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e80bef99b3ab90509f2b3559a3b96692fd47813+a1ff75ce4f452d12354ab0b1f24bdf4428979f4c (cfec164abf0204bf02f84ed95da27a77da19a0da) 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-ssh14915084031167911762.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh226914314125533318.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-575/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-575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13254594964913979207.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-575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh876735783999891557.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1177177236906469004.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-575/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-575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13845798664598031281.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1658 in /w/workspace/_app-service-configurable_PR-575 [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-575 # 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/575/head:refs/remotes/origin/PR-575 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a1ff75ce4f452d12354ab0b1f24bdf4428979f4c into PR head commit 3e80bef99b3ab90509f2b3559a3b96692fd47813 Merge succeeded, producing 3e80bef99b3ab90509f2b3559a3b96692fd47813 Checking out Revision 3e80bef99b3ab90509f2b3559a3b96692fd47813 (PR-575) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:20:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:20:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:20:29 ========================================================= 12:20:29 EdgeX Global Pipelines Version Info 12:20:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 3e80bef99b3ab90509f2b3559a3b96692fd47813 # 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 a1ff75ce4f452d12354ab0b1f24bdf4428979f4c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e80bef99b3ab90509f2b3559a3b96692fd47813 # timeout=10 12:20:30 ------------------- 12:20:30 stable info: 12:20:30 ------------------- 12:20:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:20:30 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:20:30 Message: update stable to v1.0.250 12:20:31 ------------------- 12:20:31 experimental info: 12:20:31 ------------------- 12:20:31 Commited By: **** collab-it+edgex@linuxfoundation.org 12:20:31 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:20:31 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:20:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-575 [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-575 [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-575 [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e80bef99b3ab90509f2b3559a3b96692fd47813 [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e80bef [Pipeline] echo 12:20:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:20:32 provisioning config files... 12:20:32 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-575@tmp/config6226159150573099295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:20:33 ---> docker-login.sh 12:20:33 nexus3.edgexfoundry.org:10001 12:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:33 Configure a credential helper to remove this warning. See 12:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:33 12:20:33 Login Succeeded 12:20:33 nexus3.edgexfoundry.org:10002 12:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:33 Configure a credential helper to remove this warning. See 12:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:33 12:20:33 Login Succeeded 12:20:33 nexus3.edgexfoundry.org:10003 12:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:33 Configure a credential helper to remove this warning. See 12:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:33 12:20:33 Login Succeeded 12:20:33 nexus3.edgexfoundry.org:10004 12:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:33 Configure a credential helper to remove this warning. See 12:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:33 12:20:33 Login Succeeded 12:20:33 docker.io 12:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:34 Configure a credential helper to remove this warning. See 12:20:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:34 12:20:34 Login Succeeded 12:20:34 ---> docker-login.sh ends [Pipeline] } 12:20:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:20:34 + git rev-list -1 --merges 3e80bef99b3ab90509f2b3559a3b96692fd47813~1..3e80bef99b3ab90509f2b3559a3b96692fd47813 [Pipeline] echo 12:20:34 -----------> git rev-list -1 --merges 3e80bef99b3ab90509f2b3559a3b96692fd47813~1..3e80bef99b3ab90509f2b3559a3b96692fd47813 3e80bef99b3ab90509f2b3559a3b96692fd47813 [false] [Pipeline] sh 12:20:35 + git log --format=format:%s -1 3e80bef99b3ab90509f2b3559a3b96692fd47813 [Pipeline] echo 12:20:35 ========================================================= 12:20:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:20:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:20:35 + git log --format=format:%s -1 3e80bef99b3ab90509f2b3559a3b96692fd47813 [Pipeline] echo 12:20:35 [semverPrep] GIT_COMMIT: 3e80bef99b3ab90509f2b3559a3b96692fd47813, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:20:35 [semverPrep] This is not a build commit. [Pipeline] sh 12:20:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:20:36 + grep -v github /etc/ssh/ssh_known_hosts 12:20:36 + [ -e /tmp/ssh_known_hosts ] 12:20:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:20:36 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 12:20:36 -a /etc/ssh/ssh_known_hosts 12:20:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:36 12:20:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:37 0.1.4: Pulling from edgex-devops/py-git-semver 12:20:37 b85a868b505f: Pulling fs layer 12:20:37 e2be974225ed: Pulling fs layer 12:20:37 339a4e72a1f5: Pulling fs layer 12:20:37 988bab9f4d93: Pulling fs layer 12:20:37 1469e6f7b9e6: Pulling fs layer 12:20:37 eaf3925da568: Pulling fs layer 12:20:37 bab4dde63d76: Pulling fs layer 12:20:37 bde34c3a00c8: Pulling fs layer 12:20:37 b352a97aabf1: Pulling fs layer 12:20:37 4872d77fe225: Pulling fs layer 12:20:37 5851b861e8e6: Pulling fs layer 12:20:37 bde34c3a00c8: Waiting 12:20:37 b352a97aabf1: Waiting 12:20:37 4872d77fe225: Waiting 12:20:37 5851b861e8e6: Waiting 12:20:37 988bab9f4d93: Waiting 12:20:37 1469e6f7b9e6: Waiting 12:20:37 eaf3925da568: Waiting 12:20:37 bab4dde63d76: Waiting 12:20:37 e2be974225ed: Download complete 12:20:37 988bab9f4d93: Download complete 12:20:37 1469e6f7b9e6: Verifying Checksum 12:20:37 1469e6f7b9e6: Download complete 12:20:37 eaf3925da568: Verifying Checksum 12:20:37 eaf3925da568: Download complete 12:20:37 339a4e72a1f5: Verifying Checksum 12:20:37 339a4e72a1f5: Download complete 12:20:37 bde34c3a00c8: Verifying Checksum 12:20:37 bde34c3a00c8: Download complete 12:20:37 b352a97aabf1: Download complete 12:20:37 4872d77fe225: Verifying Checksum 12:20:37 4872d77fe225: Download complete 12:20:37 5851b861e8e6: Verifying Checksum 12:20:37 b85a868b505f: Verifying Checksum 12:20:37 b85a868b505f: Download complete 12:20:37 bab4dde63d76: Verifying Checksum 12:20:37 bab4dde63d76: Download complete 12:20:38 b85a868b505f: Pull complete 12:20:38 e2be974225ed: Pull complete 12:20:39 339a4e72a1f5: Pull complete 12:20:39 988bab9f4d93: Pull complete 12:20:39 1469e6f7b9e6: Pull complete 12:20:39 eaf3925da568: Pull complete 12:20:41 bab4dde63d76: Pull complete 12:20:41 bde34c3a00c8: Pull complete 12:20:41 b352a97aabf1: Pull complete 12:20:41 4872d77fe225: Pull complete 12:20:41 5851b861e8e6: Pull complete 12:20:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:20:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:20:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:20:42 prd-ubuntu20.04-docker-8c-8g-1658 does not seem to be running inside a container 12:20:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-575 -v /w/workspace/_app-service-configurable_PR-575:/w/workspace/_app-service-configurable_PR-575:rw,z -v /w/workspace/_app-service-configurable_PR-575@tmp:/w/workspace/_app-service-configurable_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:20:46 $ docker top 5db0c12ca16f6a8e187f61b35f6da3fb4252283dc203a3a00f3e7b7fb8e9a13c -eo pid,comm 12:20:46 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:20:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:20:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:20:46 [ssh-agent] Looking for ssh-agent implementation... 12:20:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:20:46 $ docker exec 5db0c12ca16f6a8e187f61b35f6da3fb4252283dc203a3a00f3e7b7fb8e9a13c ssh-agent 12:20:47 SSH_AUTH_SOCK=/tmp/ssh-1Fz09y9kKpcD/agent.33 12:20:47 SSH_AGENT_PID=39 12:20:47 Running ssh-add (command line suppressed) 12:20:47 Identity added: /w/workspace/_app-service-configurable_PR-575@tmp/private_key_4303250279617916896.key (/w/workspace/_app-service-configurable_PR-575@tmp/private_key_4303250279617916896.key) 12:20:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:20:47 + git tag --points-at HEAD [Pipeline] } 12:20:47 $ docker exec --env ******** --env ******** 5db0c12ca16f6a8e187f61b35f6da3fb4252283dc203a3a00f3e7b7fb8e9a13c ssh-agent -k 12:20:47 unset SSH_AUTH_SOCK; 12:20:47 unset SSH_AGENT_PID; 12:20:47 echo Agent pid 39 killed; 12:20:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:20:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:20:47 [ssh-agent] Looking for ssh-agent implementation... 12:20:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:20:47 $ docker exec 5db0c12ca16f6a8e187f61b35f6da3fb4252283dc203a3a00f3e7b7fb8e9a13c ssh-agent 12:20:47 SSH_AUTH_SOCK=/tmp/ssh-Z6LnVWXqlYuZ/agent.71 12:20:47 SSH_AGENT_PID=78 12:20:47 Running ssh-add (command line suppressed) 12:20:48 Identity added: /w/workspace/_app-service-configurable_PR-575@tmp/private_key_10049400830257978512.key (/w/workspace/_app-service-configurable_PR-575@tmp/private_key_10049400830257978512.key) 12:20:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:20:48 + git semver init 12:20:48 2023-07-20 12:20:48,624 [run_init] DEBUG init version:0.0.0 force:False 12:20:48 2023-07-20 12:20:48,625 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-575/.semver 12:20:48 2023-07-20 12:20:48,626 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-575/.semver 12:20:48 2023-07-20 12:20:48,626 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-575/.semver'], cwd=/w/workspace/_app-service-configurable_PR-575, universal_newlines=False, shell=None, istream=None) 12:20:49 2023-07-20 12:20:49,395 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-575/.git/info/exclude 12:20:49 2023-07-20 12:20:49,396 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-575/.semver/PR-575 with force:False 12:20:49 2023-07-20 12:20:49,396 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-575/.semver/PR-575 12:20:49 2023-07-20 12:20:49,400 [execute] INFO git cat-file --batch-check 12:20:49 2023-07-20 12:20:49,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-575/.semver, universal_newlines=False, shell=None, istream=) 12:20:49 2023-07-20 12:20:49,406 [execute] INFO git cat-file --batch 12:20:49 2023-07-20 12:20:49,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-575/.semver, universal_newlines=False, shell=None, istream=) 12:20:49 2023-07-20 12:20:49,411 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-575/.semver/PR-575 12:20:49 0.0.0 [Pipeline] } 12:20:49 $ docker exec --env ******** --env ******** 5db0c12ca16f6a8e187f61b35f6da3fb4252283dc203a3a00f3e7b7fb8e9a13c ssh-agent -k 12:20:49 unset SSH_AUTH_SOCK; 12:20:49 unset SSH_AGENT_PID; 12:20:49 echo Agent pid 78 killed; 12:20:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:20:50 + git semver [Pipeline] } 12:20:50 $ docker stop --time=1 5db0c12ca16f6a8e187f61b35f6da3fb4252283dc203a3a00f3e7b7fb8e9a13c 12:20:51 $ docker rm -f --volumes 5db0c12ca16f6a8e187f61b35f6da3fb4252283dc203a3a00f3e7b7fb8e9a13c [Pipeline] // withDockerContainer [Pipeline] sh 12:20:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:20:52 Stashed 1 file(s) [Pipeline] echo 12:20:52 [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:20:53 provisioning config files... 12:20:53 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-575@tmp/config11032005777871661962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:20:53 ---> docker-login.sh 12:20:53 nexus3.edgexfoundry.org:10001 12:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:53 Configure a credential helper to remove this warning. See 12:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:53 12:20:53 Login Succeeded 12:20:53 nexus3.edgexfoundry.org:10002 12:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:53 Configure a credential helper to remove this warning. See 12:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:53 12:20:53 Login Succeeded 12:20:53 nexus3.edgexfoundry.org:10003 12:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:53 Configure a credential helper to remove this warning. See 12:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:53 12:20:53 Login Succeeded 12:20:53 nexus3.edgexfoundry.org:10004 12:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:53 Configure a credential helper to remove this warning. See 12:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:53 12:20:53 Login Succeeded 12:20:53 docker.io 12:20:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:53 Configure a credential helper to remove this warning. See 12:20:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:53 12:20:53 Login Succeeded 12:20:53 ---> docker-login.sh ends [Pipeline] } 12:20:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:20:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:20:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:20:54 ========================================================= 12:20:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:20:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:54 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:20:54 Sending build context to Docker daemon 3.306MB 12:20:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:20:54 Step 2/12 : FROM ${BASE} AS builder 12:20:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:20:54 4db1b89c0bd1: Pulling fs layer 12:20:54 6911f1a30b25: Pulling fs layer 12:20:54 e194b8c5c2a9: Pulling fs layer 12:20:54 6863d3e3a2b1: Pulling fs layer 12:20:54 ec0bb842ea78: Pulling fs layer 12:20:54 40a00589a448: Pulling fs layer 12:20:54 6c08303d61cc: Pulling fs layer 12:20:54 798269fcf238: Pulling fs layer 12:20:54 6863d3e3a2b1: Waiting 12:20:54 6c08303d61cc: Waiting 12:20:54 ec0bb842ea78: Waiting 12:20:54 798269fcf238: Waiting 12:20:54 6911f1a30b25: Download complete 12:20:54 6863d3e3a2b1: Download complete 12:20:54 ec0bb842ea78: Verifying Checksum 12:20:54 ec0bb842ea78: Download complete 12:20:54 4db1b89c0bd1: Verifying Checksum 12:20:54 4db1b89c0bd1: Download complete 12:20:55 40a00589a448: Verifying Checksum 12:20:55 40a00589a448: Download complete 12:20:55 4db1b89c0bd1: Pull complete 12:20:55 6911f1a30b25: Pull complete 12:20:55 798269fcf238: Verifying Checksum 12:20:55 798269fcf238: Download complete 12:20:55 e194b8c5c2a9: Verifying Checksum 12:20:55 e194b8c5c2a9: Download complete 12:20:55 6c08303d61cc: Verifying Checksum 12:20:55 6c08303d61cc: Download complete 12:20:59 e194b8c5c2a9: Pull complete 12:20:59 6863d3e3a2b1: Pull complete 12:20:59 ec0bb842ea78: Pull complete 12:20:59 40a00589a448: Pull complete 12:21:01 6c08303d61cc: Pull complete 12:21:02 798269fcf238: Pull complete 12:21:02 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:21:02 ---> ec979cd7f677 12:21:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:21:07 Still waiting to schedule task 12:21:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:21:12 ---> Running in 83eb66a756fa 12:21:12 Removing intermediate container 83eb66a756fa 12:21:12 ---> ab637a91e753 12:21:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:21:12 ---> Running in c64c2571d8d6 12:21:12 Removing intermediate container c64c2571d8d6 12:21:12 ---> 39a4c01d1c88 12:21:12 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:21:12 ---> Running in 02d8409a1178 12:21:12 Removing intermediate container 02d8409a1178 12:21:12 ---> aae40786d6b8 12:21:12 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:21:12 ---> Running in d3890cab3f57 12:21:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:21:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:21:12 OK: 265 MiB in 53 packages 12:21:12 Removing intermediate container d3890cab3f57 12:21:12 ---> fc07452e49e3 12:21:12 Step 7/12 : WORKDIR /app 12:21:12 ---> Running in ff472e35da1c 12:21:12 Removing intermediate container ff472e35da1c 12:21:12 ---> 15986962e817 12:21:12 Step 8/12 : COPY go.mod vendor* ./ 12:21:12 ---> dad90b4fbc57 12:21:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:21:12 ---> Running in cae7bb22bffb 12:21:59 Removing intermediate container cae7bb22bffb 12:21:59 ---> 781d9af8871d 12:21:59 Step 10/12 : COPY . . 12:21:59 ---> cbd925890766 12:21:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:21:59 ---> Running in 7c48a3c98ee7 12:21:59 Removing intermediate container 7c48a3c98ee7 12:21:59 ---> 10447f81a8de 12:21:59 Step 12/12 : RUN $MAKE 12:21:59 ---> Running in 6c4790729b19 12:21:59 noop 12:21:59 Removing intermediate container 6c4790729b19 12:21:59 ---> 13ecb4e47ea4 12:21:59 Successfully built 13ecb4e47ea4 12:21:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:00 + docker inspect -f . ci-base-image-x86_64 12:22:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:00 prd-ubuntu20.04-docker-8c-8g-1658 does not seem to be running inside a container 12:22:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-575 -v /w/workspace/_app-service-configurable_PR-575:/w/workspace/_app-service-configurable_PR-575:rw,z -v /w/workspace/_app-service-configurable_PR-575@tmp:/w/workspace/_app-service-configurable_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:22:00 $ docker top 4b00a01b6f5ca08fde3021127e159163b71560d9666413ee4bb474bce5cebeef -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:01 + go version 12:22:01 go version go1.20.6 linux/amd64 [Pipeline] } 12:22:01 $ docker stop --time=1 4b00a01b6f5ca08fde3021127e159163b71560d9666413ee4bb474bce5cebeef 12:22:02 $ docker rm -f --volumes 4b00a01b6f5ca08fde3021127e159163b71560d9666413ee4bb474bce5cebeef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:03 + docker inspect -f . ci-base-image-x86_64 12:22:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:03 prd-ubuntu20.04-docker-8c-8g-1658 does not seem to be running inside a container 12:22:03 $ 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-575 -v /w/workspace/_app-service-configurable_PR-575:/w/workspace/_app-service-configurable_PR-575:rw,z -v /w/workspace/_app-service-configurable_PR-575@tmp:/w/workspace/_app-service-configurable_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:22:03 $ docker top 88997662c73b1472efc0ac1f341b479d563ffa7f3f091c1c6133f9ee3dbd9b8e -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:04 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-575 [Pipeline] fileExists [Pipeline] sh 12:22:04 + make test 12:22:04 go test -race -coverprofile=coverage.out ./... 12:22:22 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:22:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1659 in /w/workspace/_app-service-configurable_PR-575 [Pipeline] { [Pipeline] ws 12:22:30 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:22:30 Selected Git installation does not exist. Using Default 12:22:30 The recommended git tool is: NONE 12:22:35 using credential edgex-jenkins-ssh 12:22:35 Cloning the remote Git repository 12:22:35 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:22:35 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:22:35 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:22:35 > git --version # timeout=10 12:22:36 > git --version # 'git version 2.25.1' 12:22:36 using GIT_SSH to set credentials SSH Credentials for GitHub 12:22:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:22:37 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:22:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:22:38 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:22:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:22:38 using GIT_SSH to set credentials SSH Credentials for GitHub 12:22:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/575/head:refs/remotes/origin/PR-575 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:22:38 Merging remotes/origin/main commit a1ff75ce4f452d12354ab0b1f24bdf4428979f4c into PR head commit 3e80bef99b3ab90509f2b3559a3b96692fd47813 12:22:38 Merge succeeded, producing 3e80bef99b3ab90509f2b3559a3b96692fd47813 12:22:38 Checking out Revision 3e80bef99b3ab90509f2b3559a3b96692fd47813 (PR-575) 12:22:39 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:22:39 > git --version # timeout=10 12:22:39 > git --version # 'git version 2.25.1' 12:22:39 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:22:38 > git config core.sparsecheckout # timeout=10 12:22:38 > git checkout -f 3e80bef99b3ab90509f2b3559a3b96692fd47813 # timeout=10 12:22:38 > git remote # timeout=10 12:22:38 > git config --get remote.origin.url # timeout=10 12:22:38 using GIT_SSH to set credentials SSH Credentials for GitHub 12:22:38 > git merge a1ff75ce4f452d12354ab0b1f24bdf4428979f4c # timeout=10 12:22:38 > git rev-parse HEAD^{commit} # timeout=10 12:22:38 > git config core.sparsecheckout # timeout=10 12:22:38 > git checkout -f 3e80bef99b3ab90509f2b3559a3b96692fd47813 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:22:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:22:40 % Total % Received % Xferd Average Speed Time Time Time Current 12:22:40 Dload Upload Total Spent Left Speed 12:22:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k 12:22:40 go vet ./... [Pipeline] sh 12:22:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:22:41 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:22:41 sudo tee /etc/docker/daemon.new 12:22:41 { 12:22:41 "registry-mirrors": [ 12:22:41 "https://nexus3.edgexfoundry.org:10001" 12:22:41 ], 12:22:41 "bip": "10.250.0.254/24", 12:22:41 "hosts": [ 12:22:41 "tcp://0.0.0.0:5555", 12:22:41 "unix:///var/run/docker.sock" 12:22:41 ], 12:22:41 "mtu": 1458, 12:22:41 "selinux-enabled": true, 12:22:41 "seccomp-profile": "/etc/docker/seccomp.json" 12:22:41 } [Pipeline] sh 12:22:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:22:42 + sudo service docker restart 12:22:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:22:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:22:44 ./bin/test-attribution-txt.sh [Pipeline] echo 12:22:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:22:44 $ docker stop --time=1 88997662c73b1472efc0ac1f341b479d563ffa7f3f091c1c6133f9ee3dbd9b8e 12:22:46 $ docker rm -f --volumes 88997662c73b1472efc0ac1f341b479d563ffa7f3f091c1c6133f9ee3dbd9b8e [Pipeline] // withDockerContainer [Pipeline] sh 12:22:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:22:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:22:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:22:48 + ls -al . 12:22:48 total 180 12:22:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:22 . 12:22:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:20 .. 12:22:48 -rw-rw-r-- 1 jenkins jenkins 119 Jul 20 12:20 .dockerignore 12:22:48 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:20 .git 12:22:48 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:20 .github 12:22:48 -rw-rw-r-- 1 jenkins jenkins 171 Jul 20 12:20 .gitignore 12:22:48 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 12:20 .golangci.yml 12:22:48 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 12:20 .semver 12:22:48 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 20 12:20 Attribution.txt 12:22:48 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 20 12:20 CHANGELOG.md 12:22:48 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 20 12:20 Dockerfile 12:22:48 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 12:20 GOVERNANCE.md 12:22:48 -rw-rw-r-- 1 jenkins jenkins 688 Jul 20 12:20 Jenkinsfile 12:22:48 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 12:20 LICENSE 12:22:48 -rw-rw-r-- 1 jenkins jenkins 618 Jul 20 12:20 OWNERS.md 12:22:48 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 20 12:20 README.md 12:22:48 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 12:20 VERSION 12:22:48 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 12:20 bin 12:22:48 -rw-r--r-- 1 jenkins jenkins 13 Jul 20 12:22 coverage.out 12:22:48 -rw-rw-r-- 1 jenkins jenkins 3469 Jul 20 12:20 go.mod 12:22:48 -rw-rw-r-- 1 jenkins jenkins 32452 Jul 20 12:20 go.sum 12:22:48 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 20 12:20 main.go 12:22:48 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 20 12:20 makefile 12:22:48 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 12:20 res 12:22:48 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:20 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:48 + 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=3e80bef99b3ab90509f2b3559a3b96692fd47813 --label arch=amd64 --label version=0.0.0 . 12:22:48 Sending build context to Docker daemon 3.307MB 12:22:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:22:48 Step 2/26 : FROM ${BASE} AS builder 12:22:48 ---> 13ecb4e47ea4 12:22:48 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:22:48 ---> Running in c996ec7df036 12:22:48 Removing intermediate container c996ec7df036 12:22:48 ---> 712ed4858fdb 12:22:48 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:22:48 ---> Running in c3f74200697a 12:22:48 Removing intermediate container c3f74200697a 12:22:48 ---> 73e3e73311da 12:22:48 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:22:48 ---> Running in c6f7099ccf18 12:22:48 Removing intermediate container c6f7099ccf18 12:22:48 ---> 22476207f8be 12:22:48 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:22:48 ---> Running in 1f6ba661c099 12:22:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:22:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:22:49 OK: 265 MiB in 53 packages 12:22:49 Removing intermediate container 1f6ba661c099 12:22:49 ---> 7de212c50962 12:22:49 Step 7/26 : WORKDIR /app 12:22:49 ---> Running in 95546d11750f 12:22:49 Removing intermediate container 95546d11750f 12:22:49 ---> 19d47301b33e 12:22:49 Step 8/26 : COPY go.mod vendor* ./ 12:22:49 ---> 4e0aa3a6210b 12:22:49 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:22:50 ---> Running in 29fbca0af0aa 12:22:50 Removing intermediate container 29fbca0af0aa 12:22:50 ---> 66f27773d46a 12:22:50 Step 10/26 : COPY . . 12:22:51 ---> 596a03e8df55 12:22:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:22:51 ---> Running in 5b1ac2205de5 12:22:51 Removing intermediate container 5b1ac2205de5 12:22:51 ---> 2eeac89bdc28 12:22:51 Step 12/26 : RUN $MAKE 12:22:51 ---> Running in 8313f232107f 12:22:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.11 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:23:00 provisioning config files... 12:23:00 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config12468006254551579655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:01 ---> docker-login.sh 12:23:01 nexus3.edgexfoundry.org:10001 12:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:01 Configure a credential helper to remove this warning. See 12:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:01 12:23:01 Login Succeeded 12:23:01 nexus3.edgexfoundry.org:10002 12:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:01 Configure a credential helper to remove this warning. See 12:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:01 12:23:01 Login Succeeded 12:23:01 nexus3.edgexfoundry.org:10003 12:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:02 Configure a credential helper to remove this warning. See 12:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:02 12:23:02 Login Succeeded 12:23:02 nexus3.edgexfoundry.org:10004 12:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:02 Configure a credential helper to remove this warning. See 12:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:02 12:23:02 Login Succeeded 12:23:02 docker.io 12:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:23:03 Configure a credential helper to remove this warning. See 12:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:23:03 12:23:03 Login Succeeded 12:23:03 ---> docker-login.sh ends [Pipeline] } 12:23:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:23:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:23:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:23:03 ========================================================= 12:23:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:23:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:23:04 Sending build context to Docker daemon 176.1kB 12:23:04 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:23:04 Step 2/12 : FROM ${BASE} AS builder 12:23:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:23:04 edb6bdbacee9: Pulling fs layer 12:23:04 5f9638ab2659: Pulling fs layer 12:23:04 8d51d6327a98: Pulling fs layer 12:23:04 8b374f2dd631: Pulling fs layer 12:23:04 ec14aa9079de: Pulling fs layer 12:23:04 2f466654f4bb: Pulling fs layer 12:23:04 554e91adad29: Pulling fs layer 12:23:04 ec14aa9079de: Waiting 12:23:04 2f466654f4bb: Waiting 12:23:04 554e91adad29: Waiting 12:23:04 8b374f2dd631: Waiting 12:23:04 5f9638ab2659: Verifying Checksum 12:23:04 5f9638ab2659: Download complete 12:23:04 8b374f2dd631: Verifying Checksum 12:23:04 8b374f2dd631: Download complete 12:23:04 ec14aa9079de: Verifying Checksum 12:23:04 ec14aa9079de: Download complete 12:23:04 edb6bdbacee9: Download complete 12:23:05 edb6bdbacee9: Pull complete 12:23:06 554e91adad29: Verifying Checksum 12:23:06 554e91adad29: Download complete 12:23:06 5f9638ab2659: Pull complete 12:23:07 2f466654f4bb: Verifying Checksum 12:23:07 2f466654f4bb: Download complete 12:23:07 8d51d6327a98: Verifying Checksum 12:23:07 8d51d6327a98: Download complete 12:23:13 Removing intermediate container 8313f232107f 12:23:13 ---> 6c91d70ce82b 12:23:13 Step 13/26 : FROM alpine:3.17 12:23:13 3.17: Pulling from library/alpine 12:23:14 4db1b89c0bd1: Already exists 12:23:14 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:23:14 Status: Downloaded newer image for alpine:3.17 12:23:14 ---> 1f73a9d63274 12:23:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:23:14 ---> Running in d48f48e73d40 12:23:14 Removing intermediate container d48f48e73d40 12:23:14 ---> 03f8f454178d 12:23:14 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:23:14 ---> Running in afff940367ed 12:23:15 Removing intermediate container afff940367ed 12:23:15 ---> 801d5c4cfd63 12:23:15 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:23:15 ---> Running in 047f450bfc2f 12:23:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:23:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:23:16 (1/2) Installing ca-certificates (20230506-r0) 12:23:16 (2/2) Installing dumb-init (1.2.5-r2) 12:23:16 Executing busybox-1.35.0-r29.trigger 12:23:16 Executing ca-certificates-20230506-r0.trigger 12:23:16 OK: 8 MiB in 17 packages 12:23:17 Removing intermediate container 047f450bfc2f 12:23:17 ---> fe32aa6aa956 12:23:17 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:23:17 ---> 2004e4edb001 12:23:17 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:23:17 ---> 168f4aedd7a9 12:23:17 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:23:17 ---> 7d414ba945e0 12:23:17 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:23:18 ---> 12a973ee413a 12:23:18 Step 21/26 : EXPOSE 48095 12:23:18 ---> Running in f9f5dec038af 12:23:18 Removing intermediate container f9f5dec038af 12:23:18 ---> ebf2fb228ade 12:23:18 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:23:18 ---> Running in 6de37724e08e 12:23:18 Removing intermediate container 6de37724e08e 12:23:18 ---> 26c24ff23f43 12:23:18 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:23:18 ---> Running in 88900e9044f6 12:23:18 Removing intermediate container 88900e9044f6 12:23:18 ---> 74cc945f8d05 12:23:18 Step 24/26 : LABEL arch=amd64 12:23:18 ---> Running in a39ace15541f 12:23:19 Removing intermediate container a39ace15541f 12:23:19 ---> df66d9d68e16 12:23:19 Step 25/26 : LABEL git_sha=3e80bef99b3ab90509f2b3559a3b96692fd47813 12:23:19 ---> Running in 433bff67b87f 12:23:19 Removing intermediate container 433bff67b87f 12:23:19 ---> 3c1ee971245c 12:23:19 Step 26/26 : LABEL version=0.0.0 12:23:19 ---> Running in 3537d87fc005 12:23:19 Removing intermediate container 3537d87fc005 12:23:19 ---> e5040634bc8e 12:23:19 [Warning] One or more build-args [ARCH] were not consumed 12:23:19 Successfully built e5040634bc8e 12:23:19 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:19 8d51d6327a98: Pull complete 12:23:19 8b374f2dd631: Pull complete 12:23:19 ec14aa9079de: Pull complete 12:23:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:23:19 12:23:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:23:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:23:20 latest: Pulling from edgex-lftools-log-publisher 12:23:20 5eb5b503b376: Pulling fs layer 12:23:20 5c69ac0246d0: Pulling fs layer 12:23:20 ec43610c2a17: Pulling fs layer 12:23:20 3a2ae6a8a46f: Pulling fs layer 12:23:20 33b1e0a273af: Pulling fs layer 12:23:20 5d3b04190fa2: Pulling fs layer 12:23:20 2f39f015ded8: Pulling fs layer 12:23:20 5d3b04190fa2: Waiting 12:23:20 33b1e0a273af: Waiting 12:23:20 2f39f015ded8: Waiting 12:23:20 3a2ae6a8a46f: Waiting 12:23:20 5c69ac0246d0: Verifying Checksum 12:23:20 5c69ac0246d0: Download complete 12:23:20 3a2ae6a8a46f: Verifying Checksum 12:23:20 3a2ae6a8a46f: Download complete 12:23:20 33b1e0a273af: Verifying Checksum 12:23:20 33b1e0a273af: Download complete 12:23:20 ec43610c2a17: Verifying Checksum 12:23:20 ec43610c2a17: Download complete 12:23:20 5d3b04190fa2: Verifying Checksum 12:23:20 5d3b04190fa2: Download complete 12:23:20 5eb5b503b376: Verifying Checksum 12:23:20 5eb5b503b376: Download complete 12:23:21 2f39f015ded8: Download complete 12:23:22 5eb5b503b376: Pull complete 12:23:22 5c69ac0246d0: Pull complete 12:23:23 ec43610c2a17: Pull complete 12:23:23 3a2ae6a8a46f: Pull complete 12:23:23 33b1e0a273af: Pull complete 12:23:23 5d3b04190fa2: Pull complete 12:23:25 2f466654f4bb: Pull complete 12:23:27 2f39f015ded8: Pull complete 12:23:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:23:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:23:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:23:27 554e91adad29: Pull complete 12:23:27 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:23:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:23:27 ---> 1e15ea492957 12:23:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:23:27 prd-ubuntu20.04-docker-8c-8g-1658 does not seem to be running inside a container 12:23:27 $ 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-575 -v /w/workspace/_app-service-configurable_PR-575:/w/workspace/_app-service-configurable_PR-575:rw,z -v /w/workspace/_app-service-configurable_PR-575@tmp:/w/workspace/_app-service-configurable_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:23:29 ---> Running in 783be9828da5 12:23:29 Removing intermediate container 783be9828da5 12:23:29 ---> f9d56b362714 12:23:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:23:29 ---> Running in c08f5cb72ec4 12:23:29 Removing intermediate container c08f5cb72ec4 12:23:29 ---> 00f1e20585dc 12:23:29 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:23:30 ---> Running in 0e3ed5d83f61 12:23:30 Removing intermediate container 0e3ed5d83f61 12:23:30 ---> 2a6f25f3da10 12:23:30 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:23:30 ---> Running in 5efe35bced6d 12:23:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:23:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:23:32 OK: 263 MiB in 53 packages 12:23:33 Removing intermediate container 5efe35bced6d 12:23:33 ---> 13a4cdf20cd1 12:23:33 Step 7/12 : WORKDIR /app 12:23:33 ---> Running in 7651712767fc 12:23:34 Removing intermediate container 7651712767fc 12:23:34 ---> bd8757059ebb 12:23:34 Step 8/12 : COPY go.mod vendor* ./ 12:23:34 ---> 14f1d22eb9c8 12:23:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:23:34 ---> Running in 27f37ac841e9 12:23:38 $ docker top 6d2aed1065febee4914124e7c3e5c5cfb587ea558163c6ddce16d43090eb9a58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:23:39 ---> job-cost.sh 12:23:39 lf-activate-venv: SKIPPING 12:23:39 INFO: No Stack... 12:23:39 INFO: Retrieving Pricing Info for: v3-standard-8 12:23:40 INFO: Archiving Costs [Pipeline] sh 12:23:40 + cat /w/workspace/_app-service-configurable_PR-575/archives/cost.csv 12:23:40 + cut -d, -f6 [Pipeline] lock 12:23:40 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-575-1-stack-cost] 12:23:40 Resource [jenkins-edgexfoundry-app-service-configurable-PR-575-1-stack-cost] did not exist. Created. 12:23:40 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-575-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:23:41 + echo total: 0.2199999988079071 [Pipeline] stash 12:23:41 Stashed 1 file(s) [Pipeline] } 12:23:41 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-575-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:23:41 $ docker stop --time=1 6d2aed1065febee4914124e7c3e5c5cfb587ea558163c6ddce16d43090eb9a58 12:23:42 $ docker rm -f --volumes 6d2aed1065febee4914124e7c3e5c5cfb587ea558163c6ddce16d43090eb9a58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:24:42 Removing intermediate container 27f37ac841e9 12:24:42 ---> f80649a8ea24 12:24:42 Step 10/12 : COPY . . 12:24:42 ---> 991d146564c0 12:24:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:24:42 ---> Running in 6e20c28484f1 12:24:42 Removing intermediate container 6e20c28484f1 12:24:42 ---> fcf66880b797 12:24:42 Step 12/12 : RUN $MAKE 12:24:42 ---> Running in 1cd4ceac1e63 12:24:42 noop 12:24:42 Removing intermediate container 1cd4ceac1e63 12:24:42 ---> 7ed429afda1d 12:24:42 Successfully built 7ed429afda1d 12:24:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:42 + docker inspect -f . ci-base-image-arm64 12:24:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:43 prd-ubuntu20.04-docker-arm64-4c-16g-1659 does not seem to be running inside a container 12:24:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:24:44 $ docker top 35740d604615c79cb6792b2e1204287cdd211dcdbfa69efb3d78b59679285024 -eo pid,comm [Pipeline] { [Pipeline] sh 12:24:45 + go version 12:24:45 go version go1.20.6 linux/arm64 [Pipeline] } 12:24:45 $ docker stop --time=1 35740d604615c79cb6792b2e1204287cdd211dcdbfa69efb3d78b59679285024 12:24:46 $ docker rm -f --volumes 35740d604615c79cb6792b2e1204287cdd211dcdbfa69efb3d78b59679285024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:47 + docker inspect -f . ci-base-image-arm64 12:24:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:47 prd-ubuntu20.04-docker-arm64-4c-16g-1659 does not seem to be running inside a container 12:24:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:24:49 $ docker top d94cb7bb5d99b0cabe48178bcd9104bc825f63c4b0da2ce1a5abd6e3d6a9f9ca -eo pid,comm [Pipeline] { [Pipeline] sh 12:24:50 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:24:50 + make test 12:24:50 go test -race -coverprofile=coverage.out ./... 12:27:27 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:27:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:27:27 go vet ./... 12:29:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:29:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:29:49 ./bin/test-attribution-txt.sh [Pipeline] echo 12:29:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:29:49 $ docker stop --time=1 d94cb7bb5d99b0cabe48178bcd9104bc825f63c4b0da2ce1a5abd6e3d6a9f9ca 12:29:51 $ docker rm -f --volumes d94cb7bb5d99b0cabe48178bcd9104bc825f63c4b0da2ce1a5abd6e3d6a9f9ca [Pipeline] // withDockerContainer [Pipeline] sh 12:29:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:29:52 Warning: overwriting stash ‘coverage-report’ 12:29:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:29:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:29:54 + ls -al . 12:29:54 total 176 12:29:54 drwxrwxr-x 7 jenkins jenkins 4096 Jul 20 12:24 . 12:29:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:22 .. 12:29:54 -rw-rw-r-- 1 jenkins jenkins 119 Jul 20 12:22 .dockerignore 12:29:54 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 12:22 .git 12:29:54 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 12:22 .github 12:29:54 -rw-rw-r-- 1 jenkins jenkins 171 Jul 20 12:22 .gitignore 12:29:54 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 12:22 .golangci.yml 12:29:54 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 20 12:22 Attribution.txt 12:29:54 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 20 12:22 CHANGELOG.md 12:29:54 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 20 12:22 Dockerfile 12:29:54 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 12:22 GOVERNANCE.md 12:29:54 -rw-rw-r-- 1 jenkins jenkins 688 Jul 20 12:22 Jenkinsfile 12:29:54 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 12:22 LICENSE 12:29:54 -rw-rw-r-- 1 jenkins jenkins 618 Jul 20 12:22 OWNERS.md 12:29:54 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 20 12:22 README.md 12:29:54 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 12:20 VERSION 12:29:54 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 12:22 bin 12:29:54 -rw-r--r-- 1 jenkins jenkins 13 Jul 20 12:24 coverage.out 12:29:54 -rw-rw-r-- 1 jenkins jenkins 3469 Jul 20 12:22 go.mod 12:29:54 -rw-rw-r-- 1 jenkins jenkins 32452 Jul 20 12:22 go.sum 12:29:54 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 20 12:22 main.go 12:29:54 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 20 12:22 makefile 12:29:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 12:22 res 12:29:54 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 12:22 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:54 + 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=3e80bef99b3ab90509f2b3559a3b96692fd47813 --label arch=arm64 --label version=0.0.0 . 12:29:54 Sending build context to Docker daemon 177.2kB 12:29:54 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:29:54 Step 2/26 : FROM ${BASE} AS builder 12:29:54 ---> 7ed429afda1d 12:29:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:29:54 ---> Running in 67292fc3d322 12:29:54 Removing intermediate container 67292fc3d322 12:29:54 ---> 34fcdcbd457c 12:29:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:29:54 ---> Running in f897f6e8c9bf 12:29:57 Removing intermediate container f897f6e8c9bf 12:29:57 ---> 42c474d898e3 12:29:57 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:29:57 ---> Running in 131bc29f77fc 12:29:57 Removing intermediate container 131bc29f77fc 12:29:57 ---> d194a39451fb 12:29:57 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:29:57 ---> Running in 7ec63f33856a 12:29:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:29:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:30:00 OK: 263 MiB in 53 packages 12:30:01 Removing intermediate container 7ec63f33856a 12:30:01 ---> ef300d74ff3f 12:30:01 Step 7/26 : WORKDIR /app 12:30:01 ---> Running in 9c91bce10d5c 12:30:01 Removing intermediate container 9c91bce10d5c 12:30:01 ---> 243c38e1007a 12:30:01 Step 8/26 : COPY go.mod vendor* ./ 12:30:01 ---> 15a02b16b685 12:30:01 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:30:01 ---> Running in 3644b1449b7b 12:30:04 Removing intermediate container 3644b1449b7b 12:30:04 ---> e55cad44e200 12:30:04 Step 10/26 : COPY . . 12:30:04 ---> db21423f1dc5 12:30:04 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:30:04 ---> Running in 4f243eb03ab2 12:30:05 Removing intermediate container 4f243eb03ab2 12:30:05 ---> 400227cc9fc7 12:30:05 Step 12/26 : RUN $MAKE 12:30:05 ---> Running in cfcfdeea0a92 12:30:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.11 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:32:12 Removing intermediate container cfcfdeea0a92 12:32:12 ---> 16fdddbd357d 12:32:12 Step 13/26 : FROM alpine:3.17 12:32:12 3.17: Pulling from library/alpine 12:32:12 edb6bdbacee9: Already exists 12:32:12 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:32:12 Status: Downloaded newer image for alpine:3.17 12:32:12 ---> 779605e5fbc0 12:32:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:32:12 ---> Running in df3ca2116ca7 12:32:12 Removing intermediate container df3ca2116ca7 12:32:12 ---> 365a3c4749ff 12:32:12 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:32:12 ---> Running in 68237e59d656 12:32:12 Removing intermediate container 68237e59d656 12:32:12 ---> b737ac4efb72 12:32:12 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:32:12 ---> Running in 14c3b9f5f49f 12:32:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:32:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:32:12 (1/2) Installing ca-certificates (20230506-r0) 12:32:12 (2/2) Installing dumb-init (1.2.5-r2) 12:32:12 Executing busybox-1.35.0-r29.trigger 12:32:12 Executing ca-certificates-20230506-r0.trigger 12:32:12 OK: 8 MiB in 17 packages 12:32:13 Removing intermediate container 14c3b9f5f49f 12:32:13 ---> b4a1fee21c4f 12:32:13 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:32:13 ---> 659e9cf56d14 12:32:13 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:32:14 ---> dd9d933f3941 12:32:14 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:32:14 ---> 0b7210226f21 12:32:14 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:32:16 ---> ace19f0a20a2 12:32:16 Step 21/26 : EXPOSE 48095 12:32:16 ---> Running in 7ea0803decec 12:32:16 Removing intermediate container 7ea0803decec 12:32:16 ---> 0b14c8bb5651 12:32:16 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:32:16 ---> Running in 9aad513ce253 12:32:16 Removing intermediate container 9aad513ce253 12:32:16 ---> 105a6eb96408 12:32:16 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:32:16 ---> Running in b7353068c6b5 12:32:17 Removing intermediate container b7353068c6b5 12:32:17 ---> a15bef926643 12:32:17 Step 24/26 : LABEL arch=arm64 12:32:17 ---> Running in ef7935bd6b92 12:32:17 Removing intermediate container ef7935bd6b92 12:32:17 ---> a7f7a0c3dbbc 12:32:17 Step 25/26 : LABEL git_sha=3e80bef99b3ab90509f2b3559a3b96692fd47813 12:32:17 ---> Running in 759058dbb268 12:32:17 Removing intermediate container 759058dbb268 12:32:17 ---> 76d305ed841e 12:32:17 Step 26/26 : LABEL version=0.0.0 12:32:18 ---> Running in e05b519eb056 12:32:18 Removing intermediate container e05b519eb056 12:32:18 ---> 1ccad65b9a98 12:32:18 [Warning] One or more build-args [ARCH] were not consumed 12:32:18 Successfully built 1ccad65b9a98 12:32:18 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:19 12:32:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:20 arm64: Pulling from edgex-lftools-log-publisher 12:32:20 8998bd30e6a1: Pulling fs layer 12:32:20 04944245beec: Pulling fs layer 12:32:20 699f458cf7ca: Pulling fs layer 12:32:20 765212b225bb: Pulling fs layer 12:32:20 f23df028b6ca: Pulling fs layer 12:32:20 d65c8cfc05b1: Pulling fs layer 12:32:20 2437ff75d9bd: Pulling fs layer 12:32:20 765212b225bb: Waiting 12:32:20 d65c8cfc05b1: Waiting 12:32:20 2437ff75d9bd: Waiting 12:32:20 f23df028b6ca: Waiting 12:32:20 04944245beec: Verifying Checksum 12:32:20 04944245beec: Download complete 12:32:20 765212b225bb: Verifying Checksum 12:32:20 765212b225bb: Download complete 12:32:20 f23df028b6ca: Verifying Checksum 12:32:20 f23df028b6ca: Download complete 12:32:20 d65c8cfc05b1: Verifying Checksum 12:32:20 d65c8cfc05b1: Download complete 12:32:21 699f458cf7ca: Verifying Checksum 12:32:21 699f458cf7ca: Download complete 12:32:21 8998bd30e6a1: Verifying Checksum 12:32:21 8998bd30e6a1: Download complete 12:32:23 2437ff75d9bd: Verifying Checksum 12:32:23 2437ff75d9bd: Download complete 12:32:25 8998bd30e6a1: Pull complete 12:32:25 04944245beec: Pull complete 12:32:27 699f458cf7ca: Pull complete 12:32:27 765212b225bb: Pull complete 12:32:28 f23df028b6ca: Pull complete 12:32:28 d65c8cfc05b1: Pull complete 12:32:43 2437ff75d9bd: Pull complete 12:32:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:32:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:32:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:32:43 prd-ubuntu20.04-docker-arm64-4c-16g-1659 does not seem to be running inside a container 12:32:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:32:46 $ docker top c16bc75fe86714aa96f5ab3d98762e8b20ee1bcb7428a3dd55663a6c09145778 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:32:46 ---> job-cost.sh 12:32:46 lf-activate-venv: SKIPPING 12:32:46 INFO: No Stack... 12:32:47 INFO: Retrieving Pricing Info for: v3-standard-4 12:32:48 INFO: Archiving Costs [Pipeline] sh 12:32:48 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:32:48 + cut -d, -f6 [Pipeline] lock 12:32:48 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-575-1-stack-cost] 12:32:48 Resource [jenkins-edgexfoundry-app-service-configurable-PR-575-1-stack-cost] did not exist. Created. 12:32:48 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-575-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:32:48 /w/workspace/app-service-configurable/1@tmp/durable-be034f38/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:32:49 + echo total: 0.10999999940395355 [Pipeline] stash 12:32:49 Warning: overwriting stash ‘stack-cost’ 12:32:49 Stashed 1 file(s) [Pipeline] } 12:32:49 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-575-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:32:49 $ docker stop --time=1 c16bc75fe86714aa96f5ab3d98762e8b20ee1bcb7428a3dd55663a6c09145778 12:32:50 $ docker rm -f --volumes c16bc75fe86714aa96f5ab3d98762e8b20ee1bcb7428a3dd55663a6c09145778 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:32:52 provisioning config files... 12:32:52 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-575@tmp/config15554380969594491735tmp [Pipeline] { [Pipeline] sh 12:32:52 + set +x 12:32:52 + + curl -s https://codecov.io/bash 12:32:52 bash -s -- 12:32:52 12:32:52 _____ _ 12:32:52 / ____| | | 12:32:52 | | ___ __| | ___ ___ _____ __ 12:32:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:32:52 | |___| (_) | (_| | __/ (_| (_) \ V / 12:32:52 \_____\___/ \__,_|\___|\___\___/ \_/ 12:32:52 Bash-1.0.6 12:32:52 12:32:52 12:32:52 ==> git version 2.25.1 found 12:32:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:32:52 Release-Date: 2020-01-08 12:32:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:32:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:32:52 ==> Jenkins CI detected. 12:32:52 current dir:  /w/workspace/_app-service-configurable_PR-575 12:32:52 project root: . 12:32:52 --> token set from env 12:32:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:32:52 ==> Running gcov in . (disable via -X gcov) 12:32:52 ==> Python coveragepy not found 12:32:52 ==> Searching for coverage reports in: 12:32:52 + . 12:32:52 -> Found 1 reports 12:32:52 ==> Detecting git/mercurial file structure 12:32:52 ==> Reading reports 12:32:52 + ./coverage.out bytes=13 12:32:52 ==> Appending adjustments 12:32:52 https://docs.codecov.io/docs/fixing-reports 12:32:52 + Found adjustments 12:32:52 ==> Gzipping contents 12:32:52 4.0K /tmp/codecov.pVrzF3.gz 12:32:52 ==> Uploading reports 12:32:52 url: https://codecov.io 12:32:52 query: branch=PR-575&commit=3e80bef99b3ab90509f2b3559a3b96692fd47813&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-575%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=575&job=&cmd_args= 12:32:52 -> Pinging Codecov 12:32:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-575&commit=3e80bef99b3ab90509f2b3559a3b96692fd47813&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-575%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=575&job=&cmd_args= 12:32:52 -> Uploading to 12:32:52 https://storage.googleapis.com/codecov/v4/raw/2023-07-20/A97CA9966030D2A3747ED39772930CCE/3e80bef99b3ab90509f2b3559a3b96692fd47813/d3676b41-0008-4e6a-9649-155f3292cb28.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230720T123252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be59eb7a089c25367ab8183ac3e913a8c303b833669bbdc39de4d3e35f05846a 12:32:52 % Total % Received % Xferd Average Speed Time Time Time Current 12:32:52 Dload Upload Total Spent Left Speed 12:32:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2234 --:--:-- --:--:-- --:--:-- 2234 12:32:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/3e80bef99b3ab90509f2b3559a3b96692fd47813 [Pipeline] } 12:32:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:32:54 + [ -d /w/workspace/_app-service-configurable_PR-575/archives ] 12:32:54 + ls -al /w/workspace/_app-service-configurable_PR-575/archives 12:32:54 total 16 12:32:54 drwxr-xr-x 3 root root 4096 Jul 20 12:23 . 12:32:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 12:23 .. 12:32:54 drwxr-xr-x 2 root root 4096 Jul 20 12:23 cost 12:32:54 -rw-r--r-- 1 root root 96 Jul 20 12:23 cost.csv 12:32:54 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-575/archives 12:32:54 + ls -al /w/workspace/_app-service-configurable_PR-575/archives 12:32:54 total 16 12:32:54 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 12:23 . 12:32:54 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 12:23 .. 12:32:54 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 12:23 cost 12:32:54 -rw-r--r-- 1 jenkins jenkins 96 Jul 20 12:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:32:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:32:55 ---> package-listing.sh 12:32:55 ++ tr '[:upper:]' '[:lower:]' 12:32:55 ++ facter osfamily 12:32:56 + OS_FAMILY=debian 12:32:56 + workspace=/w/workspace/_app-service-configurable_PR-575 12:32:56 + START_PACKAGES=/tmp/packages_start.txt 12:32:56 + END_PACKAGES=/tmp/packages_end.txt 12:32:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:32:56 + PACKAGES=/tmp/packages_start.txt 12:32:56 + '[' /w/workspace/_app-service-configurable_PR-575 ']' 12:32:56 + PACKAGES=/tmp/packages_end.txt 12:32:56 + case "${OS_FAMILY}" in 12:32:56 + dpkg -l 12:32:56 + grep '^ii' 12:32:56 + '[' -f /tmp/packages_start.txt ']' 12:32:56 + '[' -f /tmp/packages_end.txt ']' 12:32:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:32:56 + '[' /w/workspace/_app-service-configurable_PR-575 ']' 12:32:56 + mkdir -p /w/workspace/_app-service-configurable_PR-575/archives/ 12:32:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-575/archives/ [Pipeline] echo 12:32:56 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-575/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:32:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:32:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:32:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:32:57 prd-ubuntu20.04-docker-8c-8g-1658 does not seem to be running inside a container 12:32:57 $ 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-575/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-575 -v /w/workspace/_app-service-configurable_PR-575:/w/workspace/_app-service-configurable_PR-575:rw,z -v /w/workspace/_app-service-configurable_PR-575@tmp:/w/workspace/_app-service-configurable_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:32:57 $ docker top a0911e0c5869c0c719bdab336c9115756abe0f7189ab1f63893b58a0ebed4a0f -eo pid,comm [Pipeline] { [Pipeline] sh 12:32:58 + touch /tmp/pre-build-complete [Pipeline] sh 12:32:58 + mkdir -p /var/log/sysstat [Pipeline] sh 12:32:58 + ls /var/log/sa-host 12:32:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:32:59 provisioning config files... 12:32:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-575@tmp/config3259066728164897058tmp [Pipeline] { [Pipeline] echo 12:32:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:32:59 ---> create-netrc.sh [Pipeline] } 12:32:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:32:59 ---> python-tools-install.sh [Pipeline] echo 12:32:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:33:00 ---> sudo-logs.sh 12:33:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:33:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:33:00 ---> job-cost.sh 12:33:00 lf-activate-venv: SKIPPING 12:33:00 DEBUG: total: 0.2199999988079071 12:33:00 INFO: Retrieving Stack Cost... 12:33:00 INFO: Retrieving Pricing Info for: v3-standard-8 12:33:01 INFO: Archiving Costs [Pipeline] echo 12:33:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:33:01 ---> logs-deploy.sh 12:33:01 lf-activate-venv: SKIPPING 12:33:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-575/1 12:33:01 INFO: archiving workspace using pattern(s): 12:33:02 Archives upload complete. 12:33:02 INFO: archiving logs to Nexus