Pull request #586 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1dcee2aa9eb9cffdad61a8fef9704de49d368357+16836912c680c3f649fe41edaa45e5d9bccd0a74 (05252354bf7aa0d3d6fafa2253ee6ea0052e2799) 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-ssh7975692553022283132.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13499051455199966121.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-586/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-586/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10063238111260541813.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-586/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1732818036590119145.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh16796785045147015381.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-586/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-586/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6531573864166729381.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-3783 in /w/workspace/_app-service-configurable_PR-586 [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-586 # 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/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 16836912c680c3f649fe41edaa45e5d9bccd0a74 into PR head commit 1dcee2aa9eb9cffdad61a8fef9704de49d368357 Merge succeeded, producing 1dcee2aa9eb9cffdad61a8fef9704de49d368357 Checking out Revision 1dcee2aa9eb9cffdad61a8fef9704de49d368357 (PR-586) 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:53:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 1dcee2aa9eb9cffdad61a8fef9704de49d368357 # 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 16836912c680c3f649fe41edaa45e5d9bccd0a74 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1dcee2aa9eb9cffdad61a8fef9704de49d368357 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:53:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:53:06 ========================================================= 12:53:06 EdgeX Global Pipelines Version Info 12:53:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:53:07 ------------------- 12:53:07 stable info: 12:53:07 ------------------- 12:53:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:53:07 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:53:07 Message: update stable to v1.0.253 12:53:07 ------------------- 12:53:07 experimental info: 12:53:07 ------------------- 12:53:07 Commited By: **** collab-it+edgex@linuxfoundation.org 12:53:07 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:53:07 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:53:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1dcee2aa9eb9cffdad61a8fef9704de49d368357 [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1dcee2a [Pipeline] echo 12:53:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:53:10 provisioning config files... 12:53:10 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-586@tmp/config17497129270723649700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:10 ---> docker-login.sh 12:53:10 nexus3.edgexfoundry.org:10001 12:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:10 Configure a credential helper to remove this warning. See 12:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:10 12:53:10 Login Succeeded 12:53:10 nexus3.edgexfoundry.org:10002 12:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:10 Configure a credential helper to remove this warning. See 12:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:10 12:53:10 Login Succeeded 12:53:10 nexus3.edgexfoundry.org:10003 12:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:10 Configure a credential helper to remove this warning. See 12:53:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:10 12:53:10 Login Succeeded 12:53:10 nexus3.edgexfoundry.org:10004 12:53:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:11 Configure a credential helper to remove this warning. See 12:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:11 12:53:11 Login Succeeded 12:53:11 docker.io 12:53:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:11 Configure a credential helper to remove this warning. See 12:53:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:11 12:53:11 Login Succeeded 12:53:11 ---> docker-login.sh ends [Pipeline] } 12:53:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:53:12 + git rev-list -1 --merges 1dcee2aa9eb9cffdad61a8fef9704de49d368357~1..1dcee2aa9eb9cffdad61a8fef9704de49d368357 [Pipeline] echo 12:53:12 -----------> git rev-list -1 --merges 1dcee2aa9eb9cffdad61a8fef9704de49d368357~1..1dcee2aa9eb9cffdad61a8fef9704de49d368357 1dcee2aa9eb9cffdad61a8fef9704de49d368357 [false] [Pipeline] sh 12:53:12 + git log --format=format:%s -1 1dcee2aa9eb9cffdad61a8fef9704de49d368357 [Pipeline] echo 12:53:12 ========================================================= 12:53:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:53:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:53:12 + git log --format=format:%s -1 1dcee2aa9eb9cffdad61a8fef9704de49d368357 [Pipeline] echo 12:53:12 [semverPrep] GIT_COMMIT: 1dcee2aa9eb9cffdad61a8fef9704de49d368357, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:53:13 [semverPrep] This is not a build commit. [Pipeline] sh 12:53:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:53:13 + grep -v github /etc/ssh/ssh_known_hosts 12:53:13 + [ -e /tmp/ssh_known_hosts ] 12:53:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:53:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:53:13 + sudo tee -a /etc/ssh/ssh_known_hosts 12:53:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:13 12:53:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:14 0.1.4: Pulling from edgex-devops/py-git-semver 12:53:14 b85a868b505f: Pulling fs layer 12:53:14 e2be974225ed: Pulling fs layer 12:53:14 339a4e72a1f5: Pulling fs layer 12:53:14 988bab9f4d93: Pulling fs layer 12:53:14 1469e6f7b9e6: Pulling fs layer 12:53:14 eaf3925da568: Pulling fs layer 12:53:14 bab4dde63d76: Pulling fs layer 12:53:14 bde34c3a00c8: Pulling fs layer 12:53:14 b352a97aabf1: Pulling fs layer 12:53:14 4872d77fe225: Pulling fs layer 12:53:14 5851b861e8e6: Pulling fs layer 12:53:14 4872d77fe225: Waiting 12:53:14 bab4dde63d76: Waiting 12:53:14 988bab9f4d93: Waiting 12:53:14 bde34c3a00c8: Waiting 12:53:14 b352a97aabf1: Waiting 12:53:14 5851b861e8e6: Waiting 12:53:14 eaf3925da568: Waiting 12:53:14 e2be974225ed: Download complete 12:53:14 988bab9f4d93: Verifying Checksum 12:53:14 988bab9f4d93: Download complete 12:53:14 1469e6f7b9e6: Verifying Checksum 12:53:14 1469e6f7b9e6: Download complete 12:53:14 eaf3925da568: Verifying Checksum 12:53:14 eaf3925da568: Download complete 12:53:14 339a4e72a1f5: Verifying Checksum 12:53:14 339a4e72a1f5: Download complete 12:53:14 bde34c3a00c8: Download complete 12:53:14 b352a97aabf1: Download complete 12:53:14 4872d77fe225: Download complete 12:53:14 5851b861e8e6: Verifying Checksum 12:53:14 5851b861e8e6: Download complete 12:53:14 b85a868b505f: Verifying Checksum 12:53:14 b85a868b505f: Download complete 12:53:14 bab4dde63d76: Verifying Checksum 12:53:14 bab4dde63d76: Download complete 12:53:15 b85a868b505f: Pull complete 12:53:15 e2be974225ed: Pull complete 12:53:16 339a4e72a1f5: Pull complete 12:53:16 988bab9f4d93: Pull complete 12:53:16 1469e6f7b9e6: Pull complete 12:53:16 eaf3925da568: Pull complete 12:53:17 bab4dde63d76: Pull complete 12:53:18 bde34c3a00c8: Pull complete 12:53:18 b352a97aabf1: Pull complete 12:53:18 4872d77fe225: Pull complete 12:53:18 5851b861e8e6: Pull complete 12:53:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:53:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:53:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:18 prd-ubuntu20.04-docker-8c-8g-3783 does not seem to be running inside a container 12:53:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-586 -v /w/workspace/_app-service-configurable_PR-586:/w/workspace/_app-service-configurable_PR-586:rw,z -v /w/workspace/_app-service-configurable_PR-586@tmp:/w/workspace/_app-service-configurable_PR-586@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:53:23 $ docker top a0c565bf4c4c1270e5de676d9afb200b33e1144507c3f1a10d8a6127b6196e31 -eo pid,comm 12:53:23 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:53:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:53:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:23 [ssh-agent] Looking for ssh-agent implementation... 12:53:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:23 $ docker exec a0c565bf4c4c1270e5de676d9afb200b33e1144507c3f1a10d8a6127b6196e31 ssh-agent 12:53:23 SSH_AUTH_SOCK=/tmp/ssh-MYRIHZNTF58F/agent.32 12:53:23 SSH_AGENT_PID=38 12:53:23 Running ssh-add (command line suppressed) 12:53:23 Identity added: /w/workspace/_app-service-configurable_PR-586@tmp/private_key_3099910272055213618.key (/w/workspace/_app-service-configurable_PR-586@tmp/private_key_3099910272055213618.key) 12:53:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:23 + git tag --points-at HEAD [Pipeline] } 12:53:23 $ docker exec --env ******** --env ******** a0c565bf4c4c1270e5de676d9afb200b33e1144507c3f1a10d8a6127b6196e31 ssh-agent -k 12:53:24 unset SSH_AUTH_SOCK; 12:53:24 unset SSH_AGENT_PID; 12:53:24 echo Agent pid 38 killed; 12:53:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:53:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:53:24 [ssh-agent] Looking for ssh-agent implementation... 12:53:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:53:24 $ docker exec a0c565bf4c4c1270e5de676d9afb200b33e1144507c3f1a10d8a6127b6196e31 ssh-agent 12:53:24 SSH_AUTH_SOCK=/tmp/ssh-1bdqYJ7Pzzh0/agent.70 12:53:24 SSH_AGENT_PID=76 12:53:24 Running ssh-add (command line suppressed) 12:53:24 Identity added: /w/workspace/_app-service-configurable_PR-586@tmp/private_key_3908486809553801922.key (/w/workspace/_app-service-configurable_PR-586@tmp/private_key_3908486809553801922.key) 12:53:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:53:24 + git semver init 12:53:25 2023-08-16 12:53:25,095 [run_init] DEBUG init version:0.0.0 force:False 12:53:25 2023-08-16 12:53:25,095 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-586/.semver 12:53:25 2023-08-16 12:53:25,096 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-586/.semver 12:53:25 2023-08-16 12:53:25,096 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-586/.semver'], cwd=/w/workspace/_app-service-configurable_PR-586, universal_newlines=False, shell=None, istream=None) 12:53:26 2023-08-16 12:53:25,944 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-586/.git/info/exclude 12:53:26 2023-08-16 12:53:25,945 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-586/.semver/PR-586 with force:False 12:53:26 2023-08-16 12:53:25,945 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-586/.semver/PR-586 12:53:26 2023-08-16 12:53:25,949 [execute] INFO git cat-file --batch-check 12:53:26 2023-08-16 12:53:25,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-586/.semver, universal_newlines=False, shell=None, istream=) 12:53:26 2023-08-16 12:53:25,957 [execute] INFO git cat-file --batch 12:53:26 2023-08-16 12:53:25,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-586/.semver, universal_newlines=False, shell=None, istream=) 12:53:26 2023-08-16 12:53:25,964 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-586/.semver/PR-586 12:53:26 0.0.0 [Pipeline] } 12:53:26 $ docker exec --env ******** --env ******** a0c565bf4c4c1270e5de676d9afb200b33e1144507c3f1a10d8a6127b6196e31 ssh-agent -k 12:53:26 unset SSH_AUTH_SOCK; 12:53:26 unset SSH_AGENT_PID; 12:53:26 echo Agent pid 76 killed; 12:53:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:53:26 + git semver [Pipeline] } 12:53:27 $ docker stop --time=1 a0c565bf4c4c1270e5de676d9afb200b33e1144507c3f1a10d8a6127b6196e31 12:53:28 $ docker rm -f --volumes a0c565bf4c4c1270e5de676d9afb200b33e1144507c3f1a10d8a6127b6196e31 [Pipeline] // withDockerContainer [Pipeline] sh 12:53:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:53:29 Stashed 1 file(s) [Pipeline] echo 12:53:29 [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:53:29 provisioning config files... 12:53:29 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-586@tmp/config5296272305031931302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:53:30 ---> docker-login.sh 12:53:30 nexus3.edgexfoundry.org:10001 12:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:30 Configure a credential helper to remove this warning. See 12:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:30 12:53:30 Login Succeeded 12:53:30 nexus3.edgexfoundry.org:10002 12:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:30 Configure a credential helper to remove this warning. See 12:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:30 12:53:30 Login Succeeded 12:53:30 nexus3.edgexfoundry.org:10003 12:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:30 Configure a credential helper to remove this warning. See 12:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:30 12:53:30 Login Succeeded 12:53:30 nexus3.edgexfoundry.org:10004 12:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:30 Configure a credential helper to remove this warning. See 12:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:30 12:53:30 Login Succeeded 12:53:30 docker.io 12:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:53:30 Configure a credential helper to remove this warning. See 12:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:53:30 12:53:30 Login Succeeded 12:53:30 ---> docker-login.sh ends [Pipeline] } 12:53:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:53:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:53:31 ========================================================= 12:53:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:53:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:31 + 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:53:31 Sending build context to Docker daemon 3.321MB 12:53:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:53:31 Step 2/12 : FROM ${BASE} AS builder 12:53:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:53:31 4db1b89c0bd1: Pulling fs layer 12:53:31 6911f1a30b25: Pulling fs layer 12:53:31 e194b8c5c2a9: Pulling fs layer 12:53:31 6863d3e3a2b1: Pulling fs layer 12:53:31 ec0bb842ea78: Pulling fs layer 12:53:31 40a00589a448: Pulling fs layer 12:53:31 6c08303d61cc: Pulling fs layer 12:53:31 798269fcf238: Pulling fs layer 12:53:31 ec0bb842ea78: Waiting 12:53:31 40a00589a448: Waiting 12:53:31 6c08303d61cc: Waiting 12:53:31 798269fcf238: Waiting 12:53:31 6863d3e3a2b1: Waiting 12:53:31 6911f1a30b25: Download complete 12:53:31 6863d3e3a2b1: Verifying Checksum 12:53:31 6863d3e3a2b1: Download complete 12:53:31 ec0bb842ea78: Verifying Checksum 12:53:31 ec0bb842ea78: Download complete 12:53:31 4db1b89c0bd1: Verifying Checksum 12:53:31 4db1b89c0bd1: Download complete 12:53:31 40a00589a448: Verifying Checksum 12:53:31 40a00589a448: Download complete 12:53:31 4db1b89c0bd1: Pull complete 12:53:32 6911f1a30b25: Pull complete 12:53:32 798269fcf238: Download complete 12:53:32 e194b8c5c2a9: Verifying Checksum 12:53:32 e194b8c5c2a9: Download complete 12:53:32 6c08303d61cc: Verifying Checksum 12:53:32 6c08303d61cc: Download complete 12:53:36 e194b8c5c2a9: Pull complete 12:53:36 6863d3e3a2b1: Pull complete 12:53:36 ec0bb842ea78: Pull complete 12:53:36 40a00589a448: Pull complete 12:53:38 6c08303d61cc: Pull complete 12:53:39 798269fcf238: Pull complete 12:53:39 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:53:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:53:39 ---> ec979cd7f677 12:53:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:53:44 Still waiting to schedule task 12:53:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:53:47 ---> Running in f89544afda6d 12:53:47 Removing intermediate container f89544afda6d 12:53:47 ---> 15c3b9570b9c 12:53:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:53:47 ---> Running in bcb78505c89b 12:53:47 Removing intermediate container bcb78505c89b 12:53:47 ---> 2084fabb4879 12:53:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:53:47 ---> Running in abd2cffdc994 12:53:47 Removing intermediate container abd2cffdc994 12:53:47 ---> f5cd740a78a2 12:53:47 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:53:47 ---> Running in 0f90b4a5e2ed 12:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:53:47 OK: 265 MiB in 53 packages 12:53:48 Removing intermediate container 0f90b4a5e2ed 12:53:48 ---> a3e5c4d2677f 12:53:48 Step 7/12 : WORKDIR /app 12:53:48 ---> Running in ca22bdb8b767 12:53:48 Removing intermediate container ca22bdb8b767 12:53:48 ---> d2f6a7d7c521 12:53:48 Step 8/12 : COPY go.mod vendor* ./ 12:53:48 ---> 6a3c24b4cac0 12:53:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:53:48 ---> Running in a0901359e0b2 12:54:56 Removing intermediate container a0901359e0b2 12:54:56 ---> 44c3a108a559 12:54:56 Step 10/12 : COPY . . 12:54:56 ---> 1a573d363957 12:54:56 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:54:56 ---> Running in 978e1f513696 12:54:56 Removing intermediate container 978e1f513696 12:54:56 ---> f932b3336446 12:54:56 Step 12/12 : RUN $MAKE 12:54:56 ---> Running in 83f56dacb5e3 12:54:56 noop 12:54:56 Removing intermediate container 83f56dacb5e3 12:54:56 ---> 2a803f323af2 12:54:56 Successfully built 2a803f323af2 12:54:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:56 + docker inspect -f . ci-base-image-x86_64 12:54:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:56 prd-ubuntu20.04-docker-8c-8g-3783 does not seem to be running inside a container 12:54:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-586 -v /w/workspace/_app-service-configurable_PR-586:/w/workspace/_app-service-configurable_PR-586:rw,z -v /w/workspace/_app-service-configurable_PR-586@tmp:/w/workspace/_app-service-configurable_PR-586@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:54:57 $ docker top e6ab4202734897c35ccb602ac410f41aba7180dbfa10071e0f25a268c67d03c4 -eo pid,comm [Pipeline] { [Pipeline] sh 12:54:57 + go version 12:54:57 go version go1.20.6 linux/amd64 [Pipeline] } 12:54:57 $ docker stop --time=1 e6ab4202734897c35ccb602ac410f41aba7180dbfa10071e0f25a268c67d03c4 12:54:58 $ docker rm -f --volumes e6ab4202734897c35ccb602ac410f41aba7180dbfa10071e0f25a268c67d03c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:59 + docker inspect -f . ci-base-image-x86_64 12:54:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:59 prd-ubuntu20.04-docker-8c-8g-3783 does not seem to be running inside a container 12:54:59 $ 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-586 -v /w/workspace/_app-service-configurable_PR-586:/w/workspace/_app-service-configurable_PR-586:rw,z -v /w/workspace/_app-service-configurable_PR-586@tmp:/w/workspace/_app-service-configurable_PR-586@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:55:00 $ docker top df5749bf2b1b14b85c693d43ac85f30b75dc9d2308c628ff7cedb23887da74d8 -eo pid,comm [Pipeline] { [Pipeline] sh 12:55:00 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-586 [Pipeline] fileExists [Pipeline] sh 12:55:00 + make test 12:55:00 go test -race -coverprofile=coverage.out ./... 12:55:19 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:55:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3784 in /w/workspace/_app-service-configurable_PR-586 [Pipeline] { [Pipeline] ws 12:55:21 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:55:22 Selected Git installation does not exist. Using Default 12:55:22 The recommended git tool is: NONE 12:55:26 using credential edgex-jenkins-ssh 12:55:26 Cloning the remote Git repository 12:55:26 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:55:27 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:55:27 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:55:27 > git --version # timeout=10 12:55:27 > git --version # 'git version 2.25.1' 12:55:27 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:28 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:55:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:55:29 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:55:29 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:55:29 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:55:29 Merging remotes/origin/main commit 16836912c680c3f649fe41edaa45e5d9bccd0a74 into PR head commit 1dcee2aa9eb9cffdad61a8fef9704de49d368357 12:55:30 Merge succeeded, producing 1dcee2aa9eb9cffdad61a8fef9704de49d368357 12:55:30 Checking out Revision 1dcee2aa9eb9cffdad61a8fef9704de49d368357 (PR-586) 12:55:30 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:55:30 > git --version # timeout=10 12:55:30 > git --version # 'git version 2.25.1' 12:55:30 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:55:29 > git config core.sparsecheckout # timeout=10 12:55:29 > git checkout -f 1dcee2aa9eb9cffdad61a8fef9704de49d368357 # timeout=10 12:55:29 > git remote # timeout=10 12:55:29 > git config --get remote.origin.url # timeout=10 12:55:29 using GIT_SSH to set credentials SSH Credentials for GitHub 12:55:30 > git merge 16836912c680c3f649fe41edaa45e5d9bccd0a74 # timeout=10 12:55:30 > git rev-parse HEAD^{commit} # timeout=10 12:55:30 > git config core.sparsecheckout # timeout=10 12:55:30 > git checkout -f 1dcee2aa9eb9cffdad61a8fef9704de49d368357 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:55:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:55:31 % Total % Received % Xferd Average Speed Time Time Time Current 12:55:31 Dload Upload Total Spent Left Speed 12:55:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh 12:55:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:55:32 + sudo tee /etc/docker/daemon.new 12:55:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:55:32 { 12:55:32 "registry-mirrors": [ 12:55:32 "https://nexus3.edgexfoundry.org:10001" 12:55:32 ], 12:55:32 "bip": "10.250.0.254/24", 12:55:32 "hosts": [ 12:55:32 "tcp://0.0.0.0:5555", 12:55:32 "unix:///var/run/docker.sock" 12:55:32 ], 12:55:32 "mtu": 1458, 12:55:32 "selinux-enabled": true, 12:55:32 "seccomp-profile": "/etc/docker/seccomp.json" 12:55:32 } [Pipeline] sh 12:55:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:55:33 + sudo service docker restart 12:55:37 go vet ./... 12:55:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:55:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:55:40 ./bin/test-attribution-txt.sh [Pipeline] echo 12:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:55:40 $ docker stop --time=1 df5749bf2b1b14b85c693d43ac85f30b75dc9d2308c628ff7cedb23887da74d8 12:55:48 $ docker rm -f --volumes df5749bf2b1b14b85c693d43ac85f30b75dc9d2308c628ff7cedb23887da74d8 [Pipeline] // withDockerContainer [Pipeline] sh 12:55:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:55:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:55:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:55:49 + ls -al . 12:55:49 total 180 12:55:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 12:55 . 12:55:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 12:53 .. 12:55:49 -rw-rw-r-- 1 jenkins jenkins 119 Aug 16 12:53 .dockerignore 12:55:49 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 12:53 .git 12:55:49 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 12:53 .github 12:55:49 -rw-rw-r-- 1 jenkins jenkins 171 Aug 16 12:53 .gitignore 12:55:49 -rw-rw-r-- 1 jenkins jenkins 41 Aug 16 12:53 .golangci.yml 12:55:49 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 12:53 .semver 12:55:49 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 16 12:53 Attribution.txt 12:55:49 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 16 12:53 CHANGELOG.md 12:55:49 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 16 12:53 Dockerfile 12:55:49 -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 12:53 GOVERNANCE.md 12:55:49 -rw-rw-r-- 1 jenkins jenkins 688 Aug 16 12:53 Jenkinsfile 12:55:49 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 16 12:53 LICENSE 12:55:49 -rw-rw-r-- 1 jenkins jenkins 618 Aug 16 12:53 OWNERS.md 12:55:49 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 16 12:53 README.md 12:55:49 -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 12:53 VERSION 12:55:49 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 12:53 bin 12:55:49 -rw-r--r-- 1 jenkins jenkins 13 Aug 16 12:55 coverage.out 12:55:49 -rw-rw-r-- 1 jenkins jenkins 3469 Aug 16 12:53 go.mod 12:55:49 -rw-rw-r-- 1 jenkins jenkins 32452 Aug 16 12:53 go.sum 12:55:49 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 16 12:53 main.go 12:55:49 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 16 12:53 makefile 12:55:49 drwxrwxr-x 9 jenkins jenkins 4096 Aug 16 12:53 res 12:55:49 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 12:53 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:50 + 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=1dcee2aa9eb9cffdad61a8fef9704de49d368357 --label arch=amd64 --label version=0.0.0 . 12:55:50 Sending build context to Docker daemon 3.322MB 12:55:50 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:55:50 Step 2/26 : FROM ${BASE} AS builder 12:55:50 ---> 2a803f323af2 12:55:50 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:55:50 ---> Running in 9b95d23cc4bd 12:55:50 Removing intermediate container 9b95d23cc4bd 12:55:50 ---> 20bb909e10f8 12:55:50 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:55:50 ---> Running in 506a56af6f2b 12:55:50 Removing intermediate container 506a56af6f2b 12:55:50 ---> 3c5ce2709539 12:55:50 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:55:50 ---> Running in da102084ec34 12:55:50 Removing intermediate container da102084ec34 12:55:50 ---> c0270dcb4124 12:55:50 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:55:50 ---> Running in 4387a813f6fe 12:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:55:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:55:51 OK: 265 MiB in 53 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:55:51 provisioning config files... 12:55:51 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config744105851032895129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:52 ---> docker-login.sh 12:55:52 nexus3.edgexfoundry.org:10001 12:55:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:52 Removing intermediate container 4387a813f6fe 12:55:52 ---> dc20c072a3ba 12:55:52 Step 7/26 : WORKDIR /app 12:55:52 ---> Running in a90fdd2f9bb7 12:55:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:52 Configure a credential helper to remove this warning. See 12:55:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:52 12:55:52 Login Succeeded 12:55:52 nexus3.edgexfoundry.org:10002 12:55:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:53 Configure a credential helper to remove this warning. See 12:55:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:53 12:55:53 Login Succeeded 12:55:53 nexus3.edgexfoundry.org:10003 12:55:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:53 Removing intermediate container a90fdd2f9bb7 12:55:53 ---> 9cea1171458a 12:55:53 Step 8/26 : COPY go.mod vendor* ./ 12:55:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:53 Configure a credential helper to remove this warning. See 12:55:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:53 12:55:53 Login Succeeded 12:55:53 nexus3.edgexfoundry.org:10004 12:55:53 ---> 57f20564fd90 12:55:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:55:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:53 Configure a credential helper to remove this warning. See 12:55:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:53 12:55:53 Login Succeeded 12:55:53 docker.io 12:55:54 ---> Running in 764c5bcfd361 12:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:54 Configure a credential helper to remove this warning. See 12:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:54 12:55:54 Login Succeeded 12:55:54 ---> docker-login.sh ends [Pipeline] } 12:55:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:55:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:55:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:55:54 ========================================================= 12:55:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:55:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 12:55:55 Removing intermediate container 764c5bcfd361 12:55:55 ---> e236a06730ba 12:55:55 Step 10/26 : COPY . . [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:55 ---> 35753f3cbb77 12:55:55 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:55:55 ---> Running in e50c435c4819 12:55:55 Removing intermediate container e50c435c4819 12:55:55 ---> 57f6d629135d 12:55:55 Step 12/26 : RUN $MAKE 12:55:55 + 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:55:55 Sending build context to Docker daemon 176.1kB 12:55:55 ---> Running in 7d5d1765933d 12:55:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:55:55 Step 2/12 : FROM ${BASE} AS builder 12:55:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:55:55 edb6bdbacee9: Pulling fs layer 12:55:55 5f9638ab2659: Pulling fs layer 12:55:55 8d51d6327a98: Pulling fs layer 12:55:55 8b374f2dd631: Pulling fs layer 12:55:55 ec14aa9079de: Pulling fs layer 12:55:55 2f466654f4bb: Pulling fs layer 12:55:55 554e91adad29: Pulling fs layer 12:55:55 2f466654f4bb: Waiting 12:55:55 8b374f2dd631: Waiting 12:55:55 ec14aa9079de: Waiting 12:55:55 554e91adad29: Waiting 12:55:55 5f9638ab2659: Download complete 12:55:55 8b374f2dd631: Download complete 12:55:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:55:56 ec14aa9079de: Verifying Checksum 12:55:56 ec14aa9079de: Download complete 12:55:56 edb6bdbacee9: Verifying Checksum 12:55:56 edb6bdbacee9: Download complete 12:55:57 edb6bdbacee9: Pull complete 12:55:57 554e91adad29: Verifying Checksum 12:55:57 554e91adad29: Download complete 12:55:57 5f9638ab2659: Pull complete 12:55:58 8d51d6327a98: Verifying Checksum 12:55:58 8d51d6327a98: Download complete 12:55:58 2f466654f4bb: Verifying Checksum 12:55:58 2f466654f4bb: Download complete 12:56:10 8d51d6327a98: Pull complete 12:56:10 8b374f2dd631: Pull complete 12:56:10 ec14aa9079de: Pull complete 12:56:16 2f466654f4bb: Pull complete 12:56:17 Removing intermediate container 7d5d1765933d 12:56:17 ---> f0c206ab0ae5 12:56:17 Step 13/26 : FROM alpine:3.17 12:56:17 3.17: Pulling from library/alpine 12:56:17 9398808236ff: Pulling fs layer 12:56:17 9398808236ff: Verifying Checksum 12:56:17 9398808236ff: Download complete 12:56:17 9398808236ff: Pull complete 12:56:17 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 12:56:17 Status: Downloaded newer image for alpine:3.17 12:56:17 ---> 1e0b8b5322fc 12:56:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:56:17 ---> Running in 5ddf8877eaf1 12:56:17 Removing intermediate container 5ddf8877eaf1 12:56:17 ---> e4663775dd97 12:56:17 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:56:17 ---> Running in e429bf5aa7ce 12:56:17 Removing intermediate container e429bf5aa7ce 12:56:17 ---> c64501301fd1 12:56:17 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:56:17 ---> Running in 6a78fe0495a9 12:56:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:56:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:56:17 (1/2) Installing ca-certificates (20230506-r0) 12:56:17 (2/2) Installing dumb-init (1.2.5-r2) 12:56:17 Executing busybox-1.35.0-r29.trigger 12:56:17 Executing ca-certificates-20230506-r0.trigger 12:56:17 OK: 8 MiB in 17 packages 12:56:17 Removing intermediate container 6a78fe0495a9 12:56:17 ---> f04deb71316a 12:56:17 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:56:17 ---> 4a69c49b08b9 12:56:17 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:56:17 ---> 36570fb71e48 12:56:17 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:56:17 ---> 0197e421bab8 12:56:17 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:56:18 ---> b4e0487fcf30 12:56:18 Step 21/26 : EXPOSE 48095 12:56:18 ---> Running in 83b55927f22a 12:56:18 554e91adad29: Pull complete 12:56:18 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:56:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:56:18 ---> 1e15ea492957 12:56:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:56:18 Removing intermediate container 83b55927f22a 12:56:18 ---> ff0c69cd3d37 12:56:18 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:56:18 ---> Running in a1ac3c3c87c0 12:56:18 Removing intermediate container a1ac3c3c87c0 12:56:18 ---> 85e4d11c7df6 12:56:18 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:56:18 ---> Running in 29607a2d3a9b 12:56:18 Removing intermediate container 29607a2d3a9b 12:56:18 ---> 2241707f8d8e 12:56:18 Step 24/26 : LABEL arch=amd64 12:56:18 ---> Running in e0e1431d097e 12:56:19 Removing intermediate container e0e1431d097e 12:56:19 ---> 6901051ed8da 12:56:19 Step 25/26 : LABEL git_sha=1dcee2aa9eb9cffdad61a8fef9704de49d368357 12:56:19 ---> Running in 49a975efc8d4 12:56:19 Removing intermediate container 49a975efc8d4 12:56:19 ---> ac361ad58d0c 12:56:19 Step 26/26 : LABEL version=0.0.0 12:56:19 ---> Running in 41dee5b99949 12:56:19 Removing intermediate container 41dee5b99949 12:56:19 ---> 0a697a18c547 12:56:19 [Warning] One or more build-args [ARCH] were not consumed 12:56:19 Successfully built 0a697a18c547 12:56: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:56:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:56:20 12:56:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:20 ---> Running in 376992d3d9b1 12:56:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:56:20 latest: Pulling from edgex-lftools-log-publisher 12:56:20 5eb5b503b376: Pulling fs layer 12:56:20 5c69ac0246d0: Pulling fs layer 12:56:20 ec43610c2a17: Pulling fs layer 12:56:20 3a2ae6a8a46f: Pulling fs layer 12:56:20 33b1e0a273af: Pulling fs layer 12:56:20 5d3b04190fa2: Pulling fs layer 12:56:20 2f39f015ded8: Pulling fs layer 12:56:20 3a2ae6a8a46f: Waiting 12:56:20 33b1e0a273af: Waiting 12:56:20 2f39f015ded8: Waiting 12:56:20 5d3b04190fa2: Waiting 12:56:20 5c69ac0246d0: Verifying Checksum 12:56:20 5c69ac0246d0: Download complete 12:56:20 3a2ae6a8a46f: Verifying Checksum 12:56:20 3a2ae6a8a46f: Download complete 12:56:20 33b1e0a273af: Verifying Checksum 12:56:20 33b1e0a273af: Download complete 12:56:20 5d3b04190fa2: Verifying Checksum 12:56:20 5d3b04190fa2: Download complete 12:56:20 ec43610c2a17: Verifying Checksum 12:56:20 ec43610c2a17: Download complete 12:56:20 Removing intermediate container 376992d3d9b1 12:56:20 ---> dfc01c407c56 12:56:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:56:20 ---> Running in c74bd4fb7784 12:56:20 5eb5b503b376: Verifying Checksum 12:56:20 5eb5b503b376: Download complete 12:56:20 Removing intermediate container c74bd4fb7784 12:56:20 ---> efbd03573f3e 12:56:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:56:20 ---> Running in 8b91b726913a 12:56:21 Removing intermediate container 8b91b726913a 12:56:21 ---> e046bb0fcb69 12:56:21 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:21 2f39f015ded8: Download complete 12:56:21 ---> Running in 7cf1e5777cc5 12:56:21 5eb5b503b376: Pull complete 12:56:21 5c69ac0246d0: Pull complete 12:56:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:56:22 ec43610c2a17: Pull complete 12:56:22 3a2ae6a8a46f: Pull complete 12:56:22 33b1e0a273af: Pull complete 12:56:22 5d3b04190fa2: Pull complete 12:56:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:56:24 OK: 263 MiB in 53 packages 12:56:26 2f39f015ded8: Pull complete 12:56:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:56:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:56:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:56:27 prd-ubuntu20.04-docker-8c-8g-3783 does not seem to be running inside a container 12:56: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-586 -v /w/workspace/_app-service-configurable_PR-586:/w/workspace/_app-service-configurable_PR-586:rw,z -v /w/workspace/_app-service-configurable_PR-586@tmp:/w/workspace/_app-service-configurable_PR-586@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:56:28 Removing intermediate container 7cf1e5777cc5 12:56:28 ---> 1c8292e9e080 12:56:28 Step 7/12 : WORKDIR /app 12:56:28 ---> Running in 414854bdd921 12:56:28 Removing intermediate container 414854bdd921 12:56:28 ---> f6b03c9beca8 12:56:28 Step 8/12 : COPY go.mod vendor* ./ 12:56:29 ---> 94088c7a9195 12:56:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:29 ---> Running in 4214b3d679fc 12:56:32 $ docker top f7611db8486c941d3412498eae6b6bca1d98112341e0cd89ce1548b0e004cc05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:56:32 ---> job-cost.sh 12:56:32 lf-activate-venv: SKIPPING 12:56:32 INFO: No Stack... 12:56:32 INFO: Retrieving Pricing Info for: v3-standard-8 12:56:33 INFO: Archiving Costs [Pipeline] sh 12:56:33 + cat /w/workspace/_app-service-configurable_PR-586/archives/cost.csv 12:56:33 + cut -d, -f6 [Pipeline] lock 12:56:33 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-586-1-stack-cost] 12:56:33 Resource [jenkins-edgexfoundry-app-service-configurable-PR-586-1-stack-cost] did not exist. Created. 12:56:33 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-586-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:56:34 + echo total: 0.2199999988079071 [Pipeline] stash 12:56:34 Stashed 1 file(s) [Pipeline] } 12:56:34 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-586-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:56:34 $ docker stop --time=1 f7611db8486c941d3412498eae6b6bca1d98112341e0cd89ce1548b0e004cc05 12:56:35 $ docker rm -f --volumes f7611db8486c941d3412498eae6b6bca1d98112341e0cd89ce1548b0e004cc05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:57:37 Removing intermediate container 4214b3d679fc 12:57:37 ---> 4f1f4a029f23 12:57:37 Step 10/12 : COPY . . 12:57:37 ---> 4dc7379dec06 12:57:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:57:37 ---> Running in f011edb96d92 12:57:37 Removing intermediate container f011edb96d92 12:57:37 ---> 90276894a331 12:57:37 Step 12/12 : RUN $MAKE 12:57:37 ---> Running in 1d7ca82d375b 12:57:37 noop 12:57:37 Removing intermediate container 1d7ca82d375b 12:57:37 ---> 28a5de9ad434 12:57:37 Successfully built 28a5de9ad434 12:57:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:37 + docker inspect -f . ci-base-image-arm64 12:57:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:38 prd-ubuntu20.04-docker-arm64-4c-16g-3784 does not seem to be running inside a container 12:57:38 $ 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:57:39 $ docker top 9090ef8e2e31c667648dff49c3c6e12d232d06e8e3a0e8761f5b2d52662ea68a -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:40 + go version 12:57:40 go version go1.20.6 linux/arm64 [Pipeline] } 12:57:40 $ docker stop --time=1 9090ef8e2e31c667648dff49c3c6e12d232d06e8e3a0e8761f5b2d52662ea68a 12:57:41 $ docker rm -f --volumes 9090ef8e2e31c667648dff49c3c6e12d232d06e8e3a0e8761f5b2d52662ea68a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:42 + docker inspect -f . ci-base-image-arm64 12:57:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:43 prd-ubuntu20.04-docker-arm64-4c-16g-3784 does not seem to be running inside a container 12:57:43 $ 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:57:44 $ docker top 033dcc7678ed59e29544279a3645dea7f4e913db7f12a9cc5ec3f3dbd87332e6 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:44 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:57:45 + make test 12:57:45 go test -race -coverprofile=coverage.out ./... 13:00:21 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:00:21 go vet ./... 13:02:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:02:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:02:32 ./bin/test-attribution-txt.sh [Pipeline] echo 13:02:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:02:32 $ docker stop --time=1 033dcc7678ed59e29544279a3645dea7f4e913db7f12a9cc5ec3f3dbd87332e6 13:02:34 $ docker rm -f --volumes 033dcc7678ed59e29544279a3645dea7f4e913db7f12a9cc5ec3f3dbd87332e6 [Pipeline] // withDockerContainer [Pipeline] sh 13:02:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:02:35 Warning: overwriting stash ‘coverage-report’ 13:02:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:02:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:02:36 + ls -al . 13:02:36 total 176 13:02:36 drwxrwxr-x 7 jenkins jenkins 4096 Aug 16 12:57 . 13:02:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 12:55 .. 13:02:36 -rw-rw-r-- 1 jenkins jenkins 119 Aug 16 12:55 .dockerignore 13:02:36 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 12:55 .git 13:02:36 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 12:55 .github 13:02:36 -rw-rw-r-- 1 jenkins jenkins 171 Aug 16 12:55 .gitignore 13:02:36 -rw-rw-r-- 1 jenkins jenkins 41 Aug 16 12:55 .golangci.yml 13:02:36 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 16 12:55 Attribution.txt 13:02:36 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 16 12:55 CHANGELOG.md 13:02:36 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 16 12:55 Dockerfile 13:02:36 -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 12:55 GOVERNANCE.md 13:02:36 -rw-rw-r-- 1 jenkins jenkins 688 Aug 16 12:55 Jenkinsfile 13:02:36 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 16 12:55 LICENSE 13:02:36 -rw-rw-r-- 1 jenkins jenkins 618 Aug 16 12:55 OWNERS.md 13:02:36 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 16 12:55 README.md 13:02:36 -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 12:53 VERSION 13:02:36 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 12:55 bin 13:02:36 -rw-r--r-- 1 jenkins jenkins 13 Aug 16 12:57 coverage.out 13:02:36 -rw-rw-r-- 1 jenkins jenkins 3469 Aug 16 12:55 go.mod 13:02:36 -rw-rw-r-- 1 jenkins jenkins 32452 Aug 16 12:55 go.sum 13:02:36 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 16 12:55 main.go 13:02:36 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 16 12:55 makefile 13:02:36 drwxrwxr-x 9 jenkins jenkins 4096 Aug 16 12:55 res 13:02:36 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 12:55 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:37 + 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=1dcee2aa9eb9cffdad61a8fef9704de49d368357 --label arch=arm64 --label version=0.0.0 . 13:02:37 Sending build context to Docker daemon 177.2kB 13:02:37 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:02:37 Step 2/26 : FROM ${BASE} AS builder 13:02:37 ---> 28a5de9ad434 13:02:37 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:02:37 ---> Running in 640ad4ae25fd 13:02:37 Removing intermediate container 640ad4ae25fd 13:02:37 ---> 334933b38860 13:02:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:02:37 ---> Running in ab54ebaa440d 13:02:38 Removing intermediate container ab54ebaa440d 13:02:38 ---> 60ca882db416 13:02:38 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:02:38 ---> Running in 88bbc121aad7 13:02:38 Removing intermediate container 88bbc121aad7 13:02:38 ---> b819ebcc2cb5 13:02:38 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:02:38 ---> Running in c37bffe0358c 13:02:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:02:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:02:41 OK: 263 MiB in 53 packages 13:02:42 Removing intermediate container c37bffe0358c 13:02:42 ---> 1227007f2b94 13:02:42 Step 7/26 : WORKDIR /app 13:02:42 ---> Running in b1f0f82003e1 13:02:42 Removing intermediate container b1f0f82003e1 13:02:42 ---> 5643dbfca927 13:02:42 Step 8/26 : COPY go.mod vendor* ./ 13:02:42 ---> 4fdc0f194fe9 13:02:42 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:02:43 ---> Running in 07d007fb09e9 13:02:45 Removing intermediate container 07d007fb09e9 13:02:45 ---> 614e013147cf 13:02:45 Step 10/26 : COPY . . 13:02:45 ---> 2bf5bb0d2d3b 13:02:45 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:46 ---> Running in 6c8adb4bcde7 13:02:46 Removing intermediate container 6c8adb4bcde7 13:02:46 ---> c31da840acc6 13:02:46 Step 12/26 : RUN $MAKE 13:02:46 ---> Running in f0d67799e5f5 13:02:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:04:54 Removing intermediate container f0d67799e5f5 13:04:54 ---> 5b941f923541 13:04:54 Step 13/26 : FROM alpine:3.17 13:04:54 3.17: Pulling from library/alpine 13:04:54 4060ece20d7a: Pulling fs layer 13:04:54 4060ece20d7a: Download complete 13:04:54 4060ece20d7a: Pull complete 13:04:54 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 13:04:54 Status: Downloaded newer image for alpine:3.17 13:04:54 ---> 8650cd65339b 13:04:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:04:54 ---> Running in 19dc179b8a0d 13:04:54 Removing intermediate container 19dc179b8a0d 13:04:54 ---> a6bc29b2015a 13:04:54 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:04:54 ---> Running in d9a31741d23c 13:04:54 Removing intermediate container d9a31741d23c 13:04:54 ---> 33c384dc7ce2 13:04:54 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:04:54 ---> Running in 5c6d71cd81f0 13:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:04:55 (1/2) Installing ca-certificates (20230506-r0) 13:04:55 (2/2) Installing dumb-init (1.2.5-r2) 13:04:55 Executing busybox-1.35.0-r29.trigger 13:04:55 Executing ca-certificates-20230506-r0.trigger 13:04:55 OK: 8 MiB in 17 packages 13:04:57 Removing intermediate container 5c6d71cd81f0 13:04:57 ---> e0fcb5e6be7d 13:04:57 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:04:57 ---> c8901677e371 13:04:57 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:04:57 ---> 11d21c59d767 13:04:57 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:04:58 ---> e67f7ff1a344 13:04:58 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:04:59 ---> 9807068aa75a 13:04:59 Step 21/26 : EXPOSE 48095 13:04:59 ---> Running in d241c85cc32e 13:04:59 Removing intermediate container d241c85cc32e 13:04:59 ---> 233f67f3e83f 13:04:59 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:04:59 ---> Running in c78c5ca6f93a 13:05:00 Removing intermediate container c78c5ca6f93a 13:05:00 ---> bdaf609ead9f 13:05:00 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:05:00 ---> Running in bb5608aae3d9 13:05:00 Removing intermediate container bb5608aae3d9 13:05:00 ---> 12aa14c2d06a 13:05:00 Step 24/26 : LABEL arch=arm64 13:05:00 ---> Running in f5f3e60ccf6a 13:05:00 Removing intermediate container f5f3e60ccf6a 13:05:00 ---> b3dbe45af837 13:05:00 Step 25/26 : LABEL git_sha=1dcee2aa9eb9cffdad61a8fef9704de49d368357 13:05:00 ---> Running in 903f580b90ce 13:05:01 Removing intermediate container 903f580b90ce 13:05:01 ---> 262516c87f52 13:05:01 Step 26/26 : LABEL version=0.0.0 13:05:01 ---> Running in 327689c7ea1f 13:05:01 Removing intermediate container 327689c7ea1f 13:05:01 ---> 03f7d6c9cbb7 13:05:01 [Warning] One or more build-args [ARCH] were not consumed 13:05:01 Successfully built 03f7d6c9cbb7 13:05:01 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:05:02 13:05:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:05:02 arm64: Pulling from edgex-lftools-log-publisher 13:05:02 8998bd30e6a1: Pulling fs layer 13:05:02 04944245beec: Pulling fs layer 13:05:02 699f458cf7ca: Pulling fs layer 13:05:02 765212b225bb: Pulling fs layer 13:05:02 f23df028b6ca: Pulling fs layer 13:05:02 d65c8cfc05b1: Pulling fs layer 13:05:02 2437ff75d9bd: Pulling fs layer 13:05:02 f23df028b6ca: Waiting 13:05:02 d65c8cfc05b1: Waiting 13:05:02 2437ff75d9bd: Waiting 13:05:02 765212b225bb: Waiting 13:05:02 04944245beec: Verifying Checksum 13:05:02 04944245beec: Download complete 13:05:02 765212b225bb: Verifying Checksum 13:05:02 765212b225bb: Download complete 13:05:02 f23df028b6ca: Download complete 13:05:02 d65c8cfc05b1: Verifying Checksum 13:05:02 d65c8cfc05b1: Download complete 13:05:02 699f458cf7ca: Verifying Checksum 13:05:02 699f458cf7ca: Download complete 13:05:03 8998bd30e6a1: Verifying Checksum 13:05:03 8998bd30e6a1: Download complete 13:05:05 2437ff75d9bd: Verifying Checksum 13:05:05 2437ff75d9bd: Download complete 13:05:07 8998bd30e6a1: Pull complete 13:05:07 04944245beec: Pull complete 13:05:10 699f458cf7ca: Pull complete 13:05:10 765212b225bb: Pull complete 13:05:11 f23df028b6ca: Pull complete 13:05:11 d65c8cfc05b1: Pull complete 13:05:27 2437ff75d9bd: Pull complete 13:05:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:05:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:05:27 prd-ubuntu20.04-docker-arm64-4c-16g-3784 does not seem to be running inside a container 13:05: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/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:05:29 $ docker top 3f19e5674597e2879ea19a547b9af21214d90a447595e392707f9e7f8bbbc81d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:05:30 ---> job-cost.sh 13:05:30 lf-activate-venv: SKIPPING 13:05:30 INFO: No Stack... 13:05:31 INFO: Retrieving Pricing Info for: v3-standard-4 13:05:31 INFO: Archiving Costs [Pipeline] sh 13:05:32 + cut -d, -f6 13:05:32 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 13:05:32 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-586-1-stack-cost] 13:05:32 Resource [jenkins-edgexfoundry-app-service-configurable-PR-586-1-stack-cost] did not exist. Created. 13:05:32 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-586-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:05:32 /w/workspace/app-service-configurable/1@tmp/durable-b57fdbdb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:05:33 + echo total: 0.10999999940395355 [Pipeline] stash 13:05:33 Warning: overwriting stash ‘stack-cost’ 13:05:33 Stashed 1 file(s) [Pipeline] } 13:05:33 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-586-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:05:33 $ docker stop --time=1 3f19e5674597e2879ea19a547b9af21214d90a447595e392707f9e7f8bbbc81d 13:05:34 $ docker rm -f --volumes 3f19e5674597e2879ea19a547b9af21214d90a447595e392707f9e7f8bbbc81d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:05:35 provisioning config files... 13:05:35 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-586@tmp/config10793387819288828232tmp [Pipeline] { [Pipeline] sh 13:05:36 + set +x 13:05:36 + + curlbash -s -s https://codecov.io/bash -- 13:05:36 13:05:36 13:05:36 _____ _ 13:05:36 / ____| | | 13:05:36 | | ___ __| | ___ ___ _____ __ 13:05:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:05:36 | |___| (_) | (_| | __/ (_| (_) \ V / 13:05:36 \_____\___/ \__,_|\___|\___\___/ \_/ 13:05:36 Bash-1.0.6 13:05:36 13:05:36 13:05:36 ==> git version 2.25.1 found 13:05:36 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:05:36 Release-Date: 2020-01-08 13:05:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:05:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:05:36 ==> Jenkins CI detected. 13:05:36 current dir:  /w/workspace/_app-service-configurable_PR-586 13:05:36 project root: . 13:05:36 --> token set from env 13:05:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:05:36 ==> Running gcov in . (disable via -X gcov) 13:05:36 ==> Python coveragepy not found 13:05:36 ==> Searching for coverage reports in: 13:05:36 + . 13:05:36 -> Found 1 reports 13:05:36 ==> Detecting git/mercurial file structure 13:05:36 ==> Reading reports 13:05:36 + ./coverage.out bytes=13 13:05:36 ==> Appending adjustments 13:05:36 https://docs.codecov.io/docs/fixing-reports 13:05:36 + Found adjustments 13:05:36 ==> Gzipping contents 13:05:36 4.0K /tmp/codecov.OdlTzz.gz 13:05:36 ==> Uploading reports 13:05:36 url: https://codecov.io 13:05:36 query: branch=PR-586&commit=1dcee2aa9eb9cffdad61a8fef9704de49d368357&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-586%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=586&job=&cmd_args= 13:05:36 -> Pinging Codecov 13:05:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-586&commit=1dcee2aa9eb9cffdad61a8fef9704de49d368357&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-586%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=586&job=&cmd_args= 13:05:36 -> Uploading to 13:05:36 https://storage.googleapis.com/codecov/v4/raw/2023-08-16/A97CA9966030D2A3747ED39772930CCE/1dcee2aa9eb9cffdad61a8fef9704de49d368357/34dc0296-b470-451f-aa1c-523feef000ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230816T130536Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df34da38db5388a6c965d4046aadaddf0362cfe53699e0182558375a2d717ecf 13:05:36 % Total % Received % Xferd Average Speed Time Time Time Current 13:05:36 Dload Upload Total Spent Left Speed 13:05:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2318 --:--:-- --:--:-- --:--:-- 2306 100 429 0 0 100 429 0 2318 --:--:-- --:--:-- --:--:-- 2306 13:05:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/1dcee2aa9eb9cffdad61a8fef9704de49d368357 [Pipeline] } 13:05:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:05:38 + [ -d /w/workspace/_app-service-configurable_PR-586/archives ] 13:05:38 + ls -al /w/workspace/_app-service-configurable_PR-586/archives 13:05:38 total 16 13:05:38 drwxr-xr-x 3 root root 4096 Aug 16 12:56 . 13:05:38 drwxrwxr-x 9 jenkins jenkins 4096 Aug 16 12:56 .. 13:05:38 drwxr-xr-x 2 root root 4096 Aug 16 12:56 cost 13:05:38 -rw-r--r-- 1 root root 96 Aug 16 12:56 cost.csv 13:05:38 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-586/archives 13:05:38 + ls -al /w/workspace/_app-service-configurable_PR-586/archives 13:05:38 total 16 13:05:38 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 12:56 . 13:05:38 drwxrwxr-x 9 jenkins jenkins 4096 Aug 16 12:56 .. 13:05:38 drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 12:56 cost 13:05:38 -rw-r--r-- 1 jenkins jenkins 96 Aug 16 12:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:05:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:05:39 ---> package-listing.sh 13:05:39 ++ facter osfamily 13:05:39 ++ tr '[:upper:]' '[:lower:]' 13:05:40 + OS_FAMILY=debian 13:05:40 + workspace=/w/workspace/_app-service-configurable_PR-586 13:05:40 + START_PACKAGES=/tmp/packages_start.txt 13:05:40 + END_PACKAGES=/tmp/packages_end.txt 13:05:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:05:40 + PACKAGES=/tmp/packages_start.txt 13:05:40 + '[' /w/workspace/_app-service-configurable_PR-586 ']' 13:05:40 + PACKAGES=/tmp/packages_end.txt 13:05:40 + case "${OS_FAMILY}" in 13:05:40 + dpkg -l 13:05:40 + grep '^ii' 13:05:40 + '[' -f /tmp/packages_start.txt ']' 13:05:40 + '[' -f /tmp/packages_end.txt ']' 13:05:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:05:40 + '[' /w/workspace/_app-service-configurable_PR-586 ']' 13:05:40 + mkdir -p /w/workspace/_app-service-configurable_PR-586/archives/ 13:05:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-586/archives/ [Pipeline] echo 13:05:40 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-586/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:05:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:05:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:05:40 prd-ubuntu20.04-docker-8c-8g-3783 does not seem to be running inside a container 13:05:40 $ 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-586/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-586 -v /w/workspace/_app-service-configurable_PR-586:/w/workspace/_app-service-configurable_PR-586:rw,z -v /w/workspace/_app-service-configurable_PR-586@tmp:/w/workspace/_app-service-configurable_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:05:41 $ docker top 5e34aefb6e28f0566b63ee8687f436bf09527ba749ddc28f256f3410200cfec1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:05:41 + touch /tmp/pre-build-complete [Pipeline] sh 13:05:41 + mkdir -p /var/log/sysstat [Pipeline] sh 13:05:42 + ls /var/log/sa-host 13:05:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:05:42 provisioning config files... 13:05:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-586@tmp/config6753272772226762024tmp [Pipeline] { [Pipeline] echo 13:05:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:05:42 ---> create-netrc.sh [Pipeline] } 13:05:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:05:43 ---> python-tools-install.sh [Pipeline] echo 13:05:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:05:43 ---> sudo-logs.sh 13:05:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:05:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:05:43 ---> job-cost.sh 13:05:43 lf-activate-venv: SKIPPING 13:05:43 DEBUG: total: 0.2199999988079071 13:05:43 INFO: Retrieving Stack Cost... 13:05:44 INFO: Retrieving Pricing Info for: v3-standard-8 13:05:44 INFO: Archiving Costs [Pipeline] echo 13:05:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:05:45 ---> logs-deploy.sh 13:05:45 lf-activate-venv: SKIPPING 13:05:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-586/1 13:05:45 INFO: archiving workspace using pattern(s): 13:05:46 Archives upload complete. 13:05:46 INFO: archiving logs to Nexus