Pull request #591 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from d6bbd98166ac1d6cc3b22a8033debe98ece526a7+7b15cceeed622dc4aeebb3d22ff7765cc603f8c3 (aaf65cddce53d6c1ca3c77783b37d71e50444265) 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-ssh13794592668249498303.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-ssh15727379180394354875.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-591/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-591/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7873957723687368091.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-591/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16970160898277163474.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-ssh11318902894808233301.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-591/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-591/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10864503662107579944.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 Running on prd-ubuntu20.04-docker-8c-8g-4912 in /w/workspace/_app-service-configurable_PR-591 [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-591 # 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/591/head:refs/remotes/origin/PR-591 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7b15cceeed622dc4aeebb3d22ff7765cc603f8c3 into PR head commit d6bbd98166ac1d6cc3b22a8033debe98ece526a7 Merge succeeded, producing d6bbd98166ac1d6cc3b22a8033debe98ece526a7 Checking out Revision d6bbd98166ac1d6cc3b22a8033debe98ece526a7 (PR-591) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bbd98166ac1d6cc3b22a8033debe98ece526a7 # 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 7b15cceeed622dc4aeebb3d22ff7765cc603f8c3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6bbd98166ac1d6cc3b22a8033debe98ece526a7 # timeout=10 Commit message: "docs: Update repo links in the readme" 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 17:47:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:47:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:47:15 ========================================================= 17:47:15 EdgeX Global Pipelines Version Info 17:47:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:47:16 ------------------- 17:47:16 stable info: 17:47:16 ------------------- 17:47:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:47:16 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 17:47:16 Message: update stable to v1.0.253 17:47:16 ------------------- 17:47:16 experimental info: 17:47:16 ------------------- 17:47:16 Commited By: **** collab-it+edgex@linuxfoundation.org 17:47:16 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 17:47:16 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:47:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-591 [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-591 [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-591 [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6bbd98166ac1d6cc3b22a8033debe98ece526a7 [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6bbd98 [Pipeline] echo 17:47:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:47:18 provisioning config files... 17:47:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-591@tmp/config13507808550166848889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:19 ---> docker-login.sh 17:47:19 nexus3.edgexfoundry.org:10001 17:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:19 Configure a credential helper to remove this warning. See 17:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:19 17:47:19 Login Succeeded 17:47:19 nexus3.edgexfoundry.org:10002 17:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:19 Configure a credential helper to remove this warning. See 17:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:19 17:47:19 Login Succeeded 17:47:19 nexus3.edgexfoundry.org:10003 17:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:19 Configure a credential helper to remove this warning. See 17:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:19 17:47:19 Login Succeeded 17:47:19 nexus3.edgexfoundry.org:10004 17:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:19 Configure a credential helper to remove this warning. See 17:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:19 17:47:19 Login Succeeded 17:47:19 docker.io 17:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:19 Configure a credential helper to remove this warning. See 17:47:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:19 17:47:19 Login Succeeded 17:47:19 ---> docker-login.sh ends [Pipeline] } 17:47:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:47:20 + git rev-list -1 --merges d6bbd98166ac1d6cc3b22a8033debe98ece526a7~1..d6bbd98166ac1d6cc3b22a8033debe98ece526a7 [Pipeline] echo 17:47:20 -----------> git rev-list -1 --merges d6bbd98166ac1d6cc3b22a8033debe98ece526a7~1..d6bbd98166ac1d6cc3b22a8033debe98ece526a7 d6bbd98166ac1d6cc3b22a8033debe98ece526a7 [false] [Pipeline] sh 17:47:20 + git log --format=format:%s -1 d6bbd98166ac1d6cc3b22a8033debe98ece526a7 [Pipeline] echo 17:47:20 ========================================================= 17:47:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:47:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:47:21 + git log --format=format:%s -1 d6bbd98166ac1d6cc3b22a8033debe98ece526a7 [Pipeline] echo 17:47:21 [semverPrep] GIT_COMMIT: d6bbd98166ac1d6cc3b22a8033debe98ece526a7, Commit Message: docs: Update repo links in the readme [Pipeline] echo 17:47:21 [semverPrep] This is not a build commit. [Pipeline] sh 17:47:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:47:21 + grep -v github /etc/ssh/ssh_known_hosts 17:47:21 + [ -e /tmp/ssh_known_hosts ] 17:47:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:47:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:47:21 + sudo tee -a /etc/ssh/ssh_known_hosts 17:47:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:22 17:47:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:22 0.1.4: Pulling from edgex-devops/py-git-semver 17:47:22 b85a868b505f: Pulling fs layer 17:47:22 e2be974225ed: Pulling fs layer 17:47:22 339a4e72a1f5: Pulling fs layer 17:47:22 988bab9f4d93: Pulling fs layer 17:47:22 1469e6f7b9e6: Pulling fs layer 17:47:22 eaf3925da568: Pulling fs layer 17:47:22 bab4dde63d76: Pulling fs layer 17:47:22 bde34c3a00c8: Pulling fs layer 17:47:22 b352a97aabf1: Pulling fs layer 17:47:22 4872d77fe225: Pulling fs layer 17:47:22 5851b861e8e6: Pulling fs layer 17:47:22 b352a97aabf1: Waiting 17:47:22 4872d77fe225: Waiting 17:47:22 5851b861e8e6: Waiting 17:47:22 bab4dde63d76: Waiting 17:47:22 988bab9f4d93: Waiting 17:47:22 bde34c3a00c8: Waiting 17:47:22 eaf3925da568: Waiting 17:47:22 1469e6f7b9e6: Waiting 17:47:22 e2be974225ed: Download complete 17:47:22 988bab9f4d93: Verifying Checksum 17:47:22 988bab9f4d93: Download complete 17:47:22 1469e6f7b9e6: Verifying Checksum 17:47:22 1469e6f7b9e6: Download complete 17:47:22 eaf3925da568: Download complete 17:47:22 339a4e72a1f5: Verifying Checksum 17:47:22 bde34c3a00c8: Download complete 17:47:22 b352a97aabf1: Verifying Checksum 17:47:22 b352a97aabf1: Download complete 17:47:22 4872d77fe225: Verifying Checksum 17:47:22 4872d77fe225: Download complete 17:47:22 5851b861e8e6: Download complete 17:47:22 b85a868b505f: Verifying Checksum 17:47:22 b85a868b505f: Download complete 17:47:23 bab4dde63d76: Verifying Checksum 17:47:23 bab4dde63d76: Download complete 17:47:23 b85a868b505f: Pull complete 17:47:23 e2be974225ed: Pull complete 17:47:24 339a4e72a1f5: Pull complete 17:47:24 988bab9f4d93: Pull complete 17:47:24 1469e6f7b9e6: Pull complete 17:47:24 eaf3925da568: Pull complete 17:47:26 bab4dde63d76: Pull complete 17:47:26 bde34c3a00c8: Pull complete 17:47:26 b352a97aabf1: Pull complete 17:47:26 4872d77fe225: Pull complete 17:47:26 5851b861e8e6: Pull complete 17:47:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:47:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:47:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:47:26 prd-ubuntu20.04-docker-8c-8g-4912 does not seem to be running inside a container 17:47:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-591 -v /w/workspace/_app-service-configurable_PR-591:/w/workspace/_app-service-configurable_PR-591:rw,z -v /w/workspace/_app-service-configurable_PR-591@tmp:/w/workspace/_app-service-configurable_PR-591@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-devops/py-git-semver:0.1.4 cat 17:47:28 $ docker top 568d934e7816aa61401ff4dc9625ff8f96e06ae64f15d3c45450328151eb71a6 -eo pid,comm 17:47:28 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). 17:47:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:47:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:47:28 [ssh-agent] Looking for ssh-agent implementation... 17:47:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:47:28 $ docker exec 568d934e7816aa61401ff4dc9625ff8f96e06ae64f15d3c45450328151eb71a6 ssh-agent 17:47:28 SSH_AUTH_SOCK=/tmp/ssh-dvNPGHRs87N7/agent.31 17:47:28 SSH_AGENT_PID=37 17:47:28 Running ssh-add (command line suppressed) 17:47:28 Identity added: /w/workspace/_app-service-configurable_PR-591@tmp/private_key_623838651716644635.key (/w/workspace/_app-service-configurable_PR-591@tmp/private_key_623838651716644635.key) 17:47:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:47:29 + git tag --points-at HEAD [Pipeline] } 17:47:29 $ docker exec --env ******** --env ******** 568d934e7816aa61401ff4dc9625ff8f96e06ae64f15d3c45450328151eb71a6 ssh-agent -k 17:47:29 unset SSH_AUTH_SOCK; 17:47:29 unset SSH_AGENT_PID; 17:47:29 echo Agent pid 37 killed; 17:47:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:47:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:47:29 [ssh-agent] Looking for ssh-agent implementation... 17:47:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:47:29 $ docker exec 568d934e7816aa61401ff4dc9625ff8f96e06ae64f15d3c45450328151eb71a6 ssh-agent 17:47:29 SSH_AUTH_SOCK=/tmp/ssh-QgvNy45afWhu/agent.69 17:47:29 SSH_AGENT_PID=75 17:47:29 Running ssh-add (command line suppressed) 17:47:29 Identity added: /w/workspace/_app-service-configurable_PR-591@tmp/private_key_7589581238143453718.key (/w/workspace/_app-service-configurable_PR-591@tmp/private_key_7589581238143453718.key) 17:47:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:47:29 + git semver init 17:47:30 2023-08-30 17:47:30,061 [run_init] DEBUG init version:0.0.0 force:False 17:47:30 2023-08-30 17:47:30,062 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-591/.semver 17:47:30 2023-08-30 17:47:30,063 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-591/.semver 17:47:30 2023-08-30 17:47:30,063 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-591/.semver'], cwd=/w/workspace/_app-service-configurable_PR-591, universal_newlines=False, shell=None, istream=None) 17:47:31 2023-08-30 17:47:30,773 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-591/.git/info/exclude 17:47:31 2023-08-30 17:47:30,774 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-591/.semver/PR-591 with force:False 17:47:31 2023-08-30 17:47:30,774 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-591/.semver/PR-591 17:47:31 2023-08-30 17:47:30,778 [execute] INFO git cat-file --batch-check 17:47:31 2023-08-30 17:47:30,778 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-591/.semver, universal_newlines=False, shell=None, istream=) 17:47:31 2023-08-30 17:47:30,784 [execute] INFO git cat-file --batch 17:47:31 2023-08-30 17:47:30,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-591/.semver, universal_newlines=False, shell=None, istream=) 17:47:31 2023-08-30 17:47:30,789 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-591/.semver/PR-591 17:47:31 0.0.0 [Pipeline] } 17:47:31 $ docker exec --env ******** --env ******** 568d934e7816aa61401ff4dc9625ff8f96e06ae64f15d3c45450328151eb71a6 ssh-agent -k 17:47:31 unset SSH_AUTH_SOCK; 17:47:31 unset SSH_AGENT_PID; 17:47:31 echo Agent pid 75 killed; 17:47:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:47:31 + git semver [Pipeline] } 17:47:31 $ docker stop --time=1 568d934e7816aa61401ff4dc9625ff8f96e06ae64f15d3c45450328151eb71a6 17:47:33 $ docker rm -f --volumes 568d934e7816aa61401ff4dc9625ff8f96e06ae64f15d3c45450328151eb71a6 [Pipeline] // withDockerContainer [Pipeline] sh 17:47:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:47:33 Stashed 1 file(s) [Pipeline] echo 17:47:33 [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 17:47:34 provisioning config files... 17:47:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-591@tmp/config18028194023574646685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:47:34 ---> docker-login.sh 17:47:34 nexus3.edgexfoundry.org:10001 17:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:34 Configure a credential helper to remove this warning. See 17:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:34 17:47:34 Login Succeeded 17:47:34 nexus3.edgexfoundry.org:10002 17:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:34 Configure a credential helper to remove this warning. See 17:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:34 17:47:34 Login Succeeded 17:47:34 nexus3.edgexfoundry.org:10003 17:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:35 Configure a credential helper to remove this warning. See 17:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:35 17:47:35 Login Succeeded 17:47:35 nexus3.edgexfoundry.org:10004 17:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:35 Configure a credential helper to remove this warning. See 17:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:35 17:47:35 Login Succeeded 17:47:35 docker.io 17:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:47:35 Configure a credential helper to remove this warning. See 17:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:47:35 17:47:35 Login Succeeded 17:47:35 ---> docker-login.sh ends [Pipeline] } 17:47:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:47:35 ========================================================= 17:47:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:47:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:47:36 + 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 . 17:47:36 Sending build context to Docker daemon 3.337MB 17:47:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:47:36 Step 2/12 : FROM ${BASE} AS builder 17:47:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:47:36 4db1b89c0bd1: Pulling fs layer 17:47:36 6911f1a30b25: Pulling fs layer 17:47:36 e194b8c5c2a9: Pulling fs layer 17:47:36 6863d3e3a2b1: Pulling fs layer 17:47:36 ec0bb842ea78: Pulling fs layer 17:47:36 40a00589a448: Pulling fs layer 17:47:36 6c08303d61cc: Pulling fs layer 17:47:36 798269fcf238: Pulling fs layer 17:47:36 6863d3e3a2b1: Waiting 17:47:36 ec0bb842ea78: Waiting 17:47:36 40a00589a448: Waiting 17:47:36 6c08303d61cc: Waiting 17:47:36 798269fcf238: Waiting 17:47:36 6911f1a30b25: Verifying Checksum 17:47:36 6911f1a30b25: Download complete 17:47:36 6863d3e3a2b1: Verifying Checksum 17:47:36 6863d3e3a2b1: Download complete 17:47:36 ec0bb842ea78: Download complete 17:47:36 4db1b89c0bd1: Verifying Checksum 17:47:36 4db1b89c0bd1: Download complete 17:47:36 40a00589a448: Verifying Checksum 17:47:36 40a00589a448: Download complete 17:47:36 4db1b89c0bd1: Pull complete 17:47:36 6911f1a30b25: Pull complete 17:47:37 798269fcf238: Verifying Checksum 17:47:37 798269fcf238: Download complete 17:47:37 e194b8c5c2a9: Download complete 17:47:37 6c08303d61cc: Verifying Checksum 17:47:37 6c08303d61cc: Download complete 17:47:39 e194b8c5c2a9: Pull complete 17:47:40 6863d3e3a2b1: Pull complete 17:47:40 ec0bb842ea78: Pull complete 17:47:40 40a00589a448: Pull complete 17:47:42 6c08303d61cc: Pull complete 17:47:43 798269fcf238: Pull complete 17:47:43 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 17:47:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:47:43 ---> ec979cd7f677 17:47:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:47:45 ---> Running in e53978734fae 17:47:45 Removing intermediate container e53978734fae 17:47:45 ---> 6b0cdd0f52db 17:47:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:47:45 ---> Running in c502b79ee836 17:47:45 Removing intermediate container c502b79ee836 17:47:45 ---> c2bfba8e6fbf 17:47:45 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:47:45 ---> Running in 1c65841d6008 17:47:45 Removing intermediate container 1c65841d6008 17:47:45 ---> 8582b509c46f 17:47:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:47:45 ---> Running in a28665d5c60f 17:47:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:47:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:47:46 OK: 265 MiB in 53 packages 17:47:46 Removing intermediate container a28665d5c60f 17:47:46 ---> 295dc85c03a9 17:47:46 Step 7/12 : WORKDIR /app 17:47:46 ---> Running in 60d0ec259aff 17:47:46 Removing intermediate container 60d0ec259aff 17:47:46 ---> 46e427bad27b 17:47:46 Step 8/12 : COPY go.mod vendor* ./ 17:47:46 ---> 1b82548113f8 17:47:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:47:46 ---> Running in af93aaa74e90 17:47:49 Still waiting to schedule task 17:47:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:48:08 Removing intermediate container af93aaa74e90 17:48:08 ---> caa3c11d731b 17:48:08 Step 10/12 : COPY . . 17:48:08 ---> fe98cff31a49 17:48:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:48:08 ---> Running in b041ed43b42c 17:48:08 Removing intermediate container b041ed43b42c 17:48:08 ---> 81f53afcfe41 17:48:08 Step 12/12 : RUN $MAKE 17:48:08 ---> Running in fc853465424a 17:48:08 noop 17:48:08 Removing intermediate container fc853465424a 17:48:08 ---> af435a44cdef 17:48:08 Successfully built af435a44cdef 17:48:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:09 + docker inspect -f . ci-base-image-x86_64 17:48:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:09 prd-ubuntu20.04-docker-8c-8g-4912 does not seem to be running inside a container 17:48:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-591 -v /w/workspace/_app-service-configurable_PR-591:/w/workspace/_app-service-configurable_PR-591:rw,z -v /w/workspace/_app-service-configurable_PR-591@tmp:/w/workspace/_app-service-configurable_PR-591@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:48:09 $ docker top 873a2c422780ef7b616fb62479f81a4f14bddb2ff0f922b7f6e71efa93b74172 -eo pid,comm [Pipeline] { [Pipeline] sh 17:48:10 + go version 17:48:10 go version go1.20.6 linux/amd64 [Pipeline] } 17:48:10 $ docker stop --time=1 873a2c422780ef7b616fb62479f81a4f14bddb2ff0f922b7f6e71efa93b74172 17:48:11 $ docker rm -f --volumes 873a2c422780ef7b616fb62479f81a4f14bddb2ff0f922b7f6e71efa93b74172 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:12 + docker inspect -f . ci-base-image-x86_64 17:48:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:48:12 prd-ubuntu20.04-docker-8c-8g-4912 does not seem to be running inside a container 17:48:12 $ 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-591 -v /w/workspace/_app-service-configurable_PR-591:/w/workspace/_app-service-configurable_PR-591:rw,z -v /w/workspace/_app-service-configurable_PR-591@tmp:/w/workspace/_app-service-configurable_PR-591@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:48:12 $ docker top f1f87ddcc94ed274d1b28552c1806143c98474752c8e69d9c3ccb4a86bf834a0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:48:13 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-591 [Pipeline] fileExists [Pipeline] sh 17:48:13 + make test 17:48:13 go test -race -coverprofile=coverage.out ./... 17:48:35 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:48:57 go vet ./... 17:48:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:48:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:48:58 ./bin/test-attribution-txt.sh 17:48:58 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 17:48:58 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 17:48:58 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 17:48:58 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 17:48:58 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 17:48:58 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 17:48:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:48:58 $ docker stop --time=1 f1f87ddcc94ed274d1b28552c1806143c98474752c8e69d9c3ccb4a86bf834a0 17:49:02 $ docker rm -f --volumes f1f87ddcc94ed274d1b28552c1806143c98474752c8e69d9c3ccb4a86bf834a0 [Pipeline] // withDockerContainer [Pipeline] sh 17:49:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:49:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:49:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:49:03 + ls -al . 17:49:03 total 184 17:49:03 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 17:48 . 17:49:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 17:47 .. 17:49:03 -rw-rw-r-- 1 jenkins jenkins 119 Aug 30 17:47 .dockerignore 17:49:03 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 17:47 .git 17:49:03 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 17:47 .github 17:49:03 -rw-rw-r-- 1 jenkins jenkins 171 Aug 30 17:47 .gitignore 17:49:03 -rw-rw-r-- 1 jenkins jenkins 41 Aug 30 17:47 .golangci.yml 17:49:03 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 17:47 .semver 17:49:03 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 30 17:47 Attribution.txt 17:49:03 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 30 17:47 CHANGELOG.md 17:49:03 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 30 17:47 Dockerfile 17:49:03 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 17:47 GOVERNANCE.md 17:49:03 -rw-rw-r-- 1 jenkins jenkins 688 Aug 30 17:47 Jenkinsfile 17:49:03 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 30 17:47 LICENSE 17:49:03 -rw-rw-r-- 1 jenkins jenkins 618 Aug 30 17:47 OWNERS.md 17:49:03 -rw-rw-r-- 1 jenkins jenkins 4619 Aug 30 17:47 README.md 17:49:03 -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 17:47 VERSION 17:49:03 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 17:47 bin 17:49:03 -rw-r--r-- 1 jenkins jenkins 13 Aug 30 17:48 coverage.out 17:49:03 -rw-rw-r-- 1 jenkins jenkins 3729 Aug 30 17:47 go.mod 17:49:03 -rw-rw-r-- 1 jenkins jenkins 33854 Aug 30 17:47 go.sum 17:49:03 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 30 17:47 main.go 17:49:03 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 30 17:47 makefile 17:49:03 drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 17:47 res 17:49:03 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 17:47 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:04 + 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=d6bbd98166ac1d6cc3b22a8033debe98ece526a7 --label arch=amd64 --label version=0.0.0 . 17:49:04 Sending build context to Docker daemon 3.338MB 17:49:04 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:49:04 Step 2/26 : FROM ${BASE} AS builder 17:49:04 ---> af435a44cdef 17:49:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 17:49:04 ---> Running in 0903e35153c9 17:49:04 Removing intermediate container 0903e35153c9 17:49:04 ---> 770ff1e93a27 17:49:04 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:49:04 ---> Running in a40fbf54bbfc 17:49:04 Removing intermediate container a40fbf54bbfc 17:49:04 ---> d0a456fd1ea8 17:49:04 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:49:04 ---> Running in 49af05b0eb25 17:49:04 Removing intermediate container 49af05b0eb25 17:49:04 ---> 02e821f102b8 17:49:04 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:49:04 ---> Running in fb8a2850b633 17:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:49:05 OK: 265 MiB in 53 packages 17:49:05 Removing intermediate container fb8a2850b633 17:49:05 ---> 37df1e7c53fb 17:49:05 Step 7/26 : WORKDIR /app 17:49:05 ---> Running in f738c915a06d 17:49:05 Removing intermediate container f738c915a06d 17:49:05 ---> 7cf1bef10ff2 17:49:05 Step 8/26 : COPY go.mod vendor* ./ 17:49:06 ---> 9065a684326b 17:49:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:49:06 ---> Running in d931407b6137 17:49:07 Removing intermediate container d931407b6137 17:49:07 ---> 4a70f437bdee 17:49:07 Step 10/26 : COPY . . 17:49:07 ---> c7c3b1066e51 17:49:07 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:49:07 ---> Running in fcafd262501c 17:49:07 Removing intermediate container fcafd262501c 17:49:07 ---> 21e013ca4d0f 17:49:07 Step 12/26 : RUN $MAKE 17:49:07 ---> Running in 7eedbbbf2936 17:49:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.23 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 17:49:34 Removing intermediate container 7eedbbbf2936 17:49:34 ---> 5128ce58fa0a 17:49:34 Step 13/26 : FROM alpine:3.17 17:49:34 3.17: Pulling from library/alpine 17:49:34 9398808236ff: Pulling fs layer 17:49:34 9398808236ff: Download complete 17:49:34 9398808236ff: Pull complete 17:49:34 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 17:49:34 Status: Downloaded newer image for alpine:3.17 17:49:34 ---> 1e0b8b5322fc 17:49:34 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:49:34 ---> Running in 853ed47367a1 17:49:34 Removing intermediate container 853ed47367a1 17:49:34 ---> 94b141b3b0d2 17:49:34 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 17:49:34 ---> Running in 8c5065efa0fb 17:49:34 Removing intermediate container 8c5065efa0fb 17:49:34 ---> c2107f006d7d 17:49:34 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 17:49:34 ---> Running in df5f1dd92508 17:49:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:49:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:49:34 (1/2) Installing ca-certificates (20230506-r0) 17:49:34 (2/2) Installing dumb-init (1.2.5-r2) 17:49:34 Executing busybox-1.35.0-r29.trigger 17:49:34 Executing ca-certificates-20230506-r0.trigger 17:49:34 OK: 8 MiB in 17 packages 17:49:34 Removing intermediate container df5f1dd92508 17:49:34 ---> 1badd4a37f86 17:49:34 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:49:34 ---> d61bd7a00da7 17:49:34 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 17:49:34 ---> 214ac43171ef 17:49:34 Step 19/26 : COPY --from=builder /app/res/ /res/ 17:49:34 ---> 57cc712c0b78 17:49:34 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 17:49:34 ---> 2c67551e8d4e 17:49:34 Step 21/26 : EXPOSE 48095 17:49:34 ---> Running in 000b5c162929 17:49:34 Removing intermediate container 000b5c162929 17:49:34 ---> 1eb9018b307c 17:49:34 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 17:49:34 ---> Running in a11960ecf6d3 17:49:34 Removing intermediate container a11960ecf6d3 17:49:34 ---> be406d171a9c 17:49:34 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:49:34 ---> Running in 6c4a5bd5af38 17:49:34 Removing intermediate container 6c4a5bd5af38 17:49:34 ---> 9350e12a9cbc 17:49:34 Step 24/26 : LABEL arch=amd64 17:49:34 ---> Running in db6ad3007cb0 17:49:34 Removing intermediate container db6ad3007cb0 17:49:34 ---> 0fe6d40ce91e 17:49:34 Step 25/26 : LABEL git_sha=d6bbd98166ac1d6cc3b22a8033debe98ece526a7 17:49:34 ---> Running in 78179807ec0a 17:49:34 Removing intermediate container 78179807ec0a 17:49:34 ---> f5a65daf2e5c 17:49:34 Step 26/26 : LABEL version=0.0.0 17:49:34 ---> Running in e65418931739 17:49:34 Removing intermediate container e65418931739 17:49:34 ---> ede2d431a887 17:49:34 [Warning] One or more build-args [ARCH] were not consumed 17:49:34 Successfully built ede2d431a887 17:49:34 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 17:49:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:35 17:49:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:35 latest: Pulling from edgex-lftools-log-publisher 17:49:35 5eb5b503b376: Pulling fs layer 17:49:35 5c69ac0246d0: Pulling fs layer 17:49:35 ec43610c2a17: Pulling fs layer 17:49:35 3a2ae6a8a46f: Pulling fs layer 17:49:35 33b1e0a273af: Pulling fs layer 17:49:35 5d3b04190fa2: Pulling fs layer 17:49:35 2f39f015ded8: Pulling fs layer 17:49:35 3a2ae6a8a46f: Waiting 17:49:35 33b1e0a273af: Waiting 17:49:35 5d3b04190fa2: Waiting 17:49:35 2f39f015ded8: Waiting 17:49:35 5c69ac0246d0: Verifying Checksum 17:49:35 5c69ac0246d0: Download complete 17:49:35 3a2ae6a8a46f: Verifying Checksum 17:49:35 3a2ae6a8a46f: Download complete 17:49:35 33b1e0a273af: Verifying Checksum 17:49:35 33b1e0a273af: Download complete 17:49:35 ec43610c2a17: Verifying Checksum 17:49:35 ec43610c2a17: Download complete 17:49:35 5d3b04190fa2: Verifying Checksum 17:49:35 5d3b04190fa2: Download complete 17:49:35 5eb5b503b376: Verifying Checksum 17:49:35 5eb5b503b376: Download complete 17:49:36 2f39f015ded8: Verifying Checksum 17:49:36 2f39f015ded8: Download complete 17:49:37 5eb5b503b376: Pull complete 17:49:37 5c69ac0246d0: Pull complete 17:49:37 ec43610c2a17: Pull complete 17:49:37 3a2ae6a8a46f: Pull complete 17:49:37 33b1e0a273af: Pull complete 17:49:37 5d3b04190fa2: Pull complete 17:49:42 2f39f015ded8: Pull complete 17:49:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:49:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:42 prd-ubuntu20.04-docker-8c-8g-4912 does not seem to be running inside a container 17:49:42 $ 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-591 -v /w/workspace/_app-service-configurable_PR-591:/w/workspace/_app-service-configurable_PR-591:rw,z -v /w/workspace/_app-service-configurable_PR-591@tmp:/w/workspace/_app-service-configurable_PR-591@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:49:46 $ docker top ee20cc63161ae8ebaf100cba6e42e310c287cc42278a3a02b93aad9b41c5b79c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:47 ---> job-cost.sh 17:49:47 lf-activate-venv: SKIPPING 17:49:47 INFO: No Stack... 17:49:47 INFO: Retrieving Pricing Info for: v3-standard-8 17:49:47 INFO: Archiving Costs [Pipeline] sh 17:49:48 + cat /w/workspace/_app-service-configurable_PR-591/archives/cost.csv 17:49:48 + cut -d, -f6 [Pipeline] lock 17:49:48 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-591-1-stack-cost] 17:49:48 Resource [jenkins-edgexfoundry-app-service-configurable-PR-591-1-stack-cost] did not exist. Created. 17:49:48 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-591-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:49:48 + echo total: 0.2199999988079071 [Pipeline] stash 17:49:48 Stashed 1 file(s) [Pipeline] } 17:49:48 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-591-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:49:48 $ docker stop --time=1 ee20cc63161ae8ebaf100cba6e42e310c287cc42278a3a02b93aad9b41c5b79c 17:49:49 $ docker rm -f --volumes ee20cc63161ae8ebaf100cba6e42e310c287cc42278a3a02b93aad9b41c5b79c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:50:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4914 in /w/workspace/_app-service-configurable_PR-591 [Pipeline] { [Pipeline] ws 17:50:09 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 17:50:09 Selected Git installation does not exist. Using Default 17:50:09 The recommended git tool is: NONE 17:50:15 using credential edgex-jenkins-ssh 17:50:15 Cloning the remote Git repository 17:50:15 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 17:50:15 > git init /w/workspace/app-service-configurable/1 # timeout=10 17:50:16 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:50:16 > git --version # timeout=10 17:50:16 > git --version # 'git version 2.25.1' 17:50:16 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:50:17 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:50:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:50:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 17:50:18 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 17:50:18 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/591/head:refs/remotes/origin/PR-591 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:50:18 Merging remotes/origin/main commit 7b15cceeed622dc4aeebb3d22ff7765cc603f8c3 into PR head commit d6bbd98166ac1d6cc3b22a8033debe98ece526a7 17:50:19 Merge succeeded, producing d6bbd98166ac1d6cc3b22a8033debe98ece526a7 17:50:19 Checking out Revision d6bbd98166ac1d6cc3b22a8033debe98ece526a7 (PR-591) 17:50:18 > git config core.sparsecheckout # timeout=10 17:50:19 > git checkout -f d6bbd98166ac1d6cc3b22a8033debe98ece526a7 # timeout=10 17:50:19 > git remote # timeout=10 17:50:19 > git config --get remote.origin.url # timeout=10 17:50:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:50:19 > git merge 7b15cceeed622dc4aeebb3d22ff7765cc603f8c3 # timeout=10 17:50:19 > git rev-parse HEAD^{commit} # timeout=10 17:50:19 > git config core.sparsecheckout # timeout=10 17:50:19 > git checkout -f d6bbd98166ac1d6cc3b22a8033debe98ece526a7 # timeout=10 17:50:22 Commit message: "docs: Update repo links in the readme" 17:50:22 > git --version # timeout=10 17:50:22 > git --version # 'git version 2.25.1' 17:50:22 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:50:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:50:23 % Total % Received % Xferd Average Speed Time Time Time Current 17:50:23 Dload Upload Total Spent Left Speed 17:50:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 17:50:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:50:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:50:25 + sudo tee /etc/docker/daemon.new 17:50:25 { 17:50:25 "registry-mirrors": [ 17:50:25 "https://nexus3.edgexfoundry.org:10001" 17:50:25 ], 17:50:25 "bip": "10.250.0.254/24", 17:50:25 "hosts": [ 17:50:25 "tcp://0.0.0.0:5555", 17:50:25 "unix:///var/run/docker.sock" 17:50:25 ], 17:50:25 "mtu": 1458, 17:50:25 "selinux-enabled": true, 17:50:25 "seccomp-profile": "/etc/docker/seccomp.json" 17:50:25 } [Pipeline] sh 17:50:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:50:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:50:44 provisioning config files... 17:50:44 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config12273288564949500707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:44 ---> docker-login.sh 17:50:44 nexus3.edgexfoundry.org:10001 17:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:45 Configure a credential helper to remove this warning. See 17:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:45 17:50:45 Login Succeeded 17:50:45 nexus3.edgexfoundry.org:10002 17:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:45 Configure a credential helper to remove this warning. See 17:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:45 17:50:45 Login Succeeded 17:50:45 nexus3.edgexfoundry.org:10003 17:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:45 Configure a credential helper to remove this warning. See 17:50:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:45 17:50:45 Login Succeeded 17:50:45 nexus3.edgexfoundry.org:10004 17:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:46 Configure a credential helper to remove this warning. See 17:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:46 17:50:46 Login Succeeded 17:50:46 docker.io 17:50:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:50:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:50:46 Configure a credential helper to remove this warning. See 17:50:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:50:46 17:50:46 Login Succeeded 17:50:46 ---> docker-login.sh ends [Pipeline] } 17:50:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:50:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:50:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:50:47 ========================================================= 17:50:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:50:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:47 + 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 . 17:50:47 Sending build context to Docker daemon 178.2kB 17:50:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:50:48 Step 2/12 : FROM ${BASE} AS builder 17:50:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:50:48 edb6bdbacee9: Pulling fs layer 17:50:48 5f9638ab2659: Pulling fs layer 17:50:48 8d51d6327a98: Pulling fs layer 17:50:48 8b374f2dd631: Pulling fs layer 17:50:48 ec14aa9079de: Pulling fs layer 17:50:48 2f466654f4bb: Pulling fs layer 17:50:48 554e91adad29: Pulling fs layer 17:50:48 ec14aa9079de: Waiting 17:50:48 2f466654f4bb: Waiting 17:50:48 554e91adad29: Waiting 17:50:48 8b374f2dd631: Waiting 17:50:48 5f9638ab2659: Verifying Checksum 17:50:48 5f9638ab2659: Download complete 17:50:48 8b374f2dd631: Verifying Checksum 17:50:48 8b374f2dd631: Download complete 17:50:48 ec14aa9079de: Verifying Checksum 17:50:48 ec14aa9079de: Download complete 17:50:48 edb6bdbacee9: Verifying Checksum 17:50:48 edb6bdbacee9: Download complete 17:50:49 edb6bdbacee9: Pull complete 17:50:50 554e91adad29: Verifying Checksum 17:50:50 554e91adad29: Download complete 17:50:50 5f9638ab2659: Pull complete 17:50:51 8d51d6327a98: Verifying Checksum 17:50:51 8d51d6327a98: Download complete 17:50:51 2f466654f4bb: Verifying Checksum 17:50:51 2f466654f4bb: Download complete 17:51:03 8d51d6327a98: Pull complete 17:51:03 8b374f2dd631: Pull complete 17:51:03 ec14aa9079de: Pull complete 17:51:10 2f466654f4bb: Pull complete 17:51:11 554e91adad29: Pull complete 17:51:11 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 17:51:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:51:11 ---> 1e15ea492957 17:51:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 17:51:13 ---> Running in e99e1a1e3f67 17:51:13 Removing intermediate container e99e1a1e3f67 17:51:13 ---> cdb3aeb5449d 17:51:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:51:13 ---> Running in b0b4380ec582 17:51:14 Removing intermediate container b0b4380ec582 17:51:14 ---> b6b2a5a2b202 17:51:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:51:14 ---> Running in a40e2475fa06 17:51:14 Removing intermediate container a40e2475fa06 17:51:14 ---> aee796ef2ceb 17:51:14 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:51:14 ---> Running in 7871da54bad2 17:51:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:51:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:51:17 OK: 263 MiB in 53 packages 17:51:18 Removing intermediate container 7871da54bad2 17:51:18 ---> cc455c6c6f0b 17:51:18 Step 7/12 : WORKDIR /app 17:51:18 ---> Running in 989cadf9da78 17:51:18 Removing intermediate container 989cadf9da78 17:51:18 ---> 9f3492e09f51 17:51:18 Step 8/12 : COPY go.mod vendor* ./ 17:51:19 ---> 5fe29f39d9ba 17:51:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:51:19 ---> Running in 1fab0199a937 17:52:27 Removing intermediate container 1fab0199a937 17:52:27 ---> cc48a6e0897d 17:52:27 Step 10/12 : COPY . . 17:52:27 ---> 58b9a6ef4579 17:52:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:52:27 ---> Running in cd15390b0383 17:52:27 Removing intermediate container cd15390b0383 17:52:27 ---> 40a9ae8f4352 17:52:27 Step 12/12 : RUN $MAKE 17:52:27 ---> Running in 22959ebfa189 17:52:27 noop 17:52:27 Removing intermediate container 22959ebfa189 17:52:27 ---> 42ca0ed24661 17:52:27 Successfully built 42ca0ed24661 17:52:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:27 + docker inspect -f . ci-base-image-arm64 17:52:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:28 prd-ubuntu20.04-docker-arm64-4c-16g-4914 does not seem to be running inside a container 17:52:28 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:52:29 $ docker top 47a87182024547c1945a23aec750324ef11a9af8e72dc6da61b5dd4b58eaa710 -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:30 + go version 17:52:30 go version go1.20.6 linux/arm64 [Pipeline] } 17:52:30 $ docker stop --time=1 47a87182024547c1945a23aec750324ef11a9af8e72dc6da61b5dd4b58eaa710 17:52:31 $ docker rm -f --volumes 47a87182024547c1945a23aec750324ef11a9af8e72dc6da61b5dd4b58eaa710 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:52:32 + docker inspect -f . ci-base-image-arm64 17:52:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:52:33 prd-ubuntu20.04-docker-arm64-4c-16g-4914 does not seem to be running inside a container 17:52:33 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:52:34 $ docker top 06e6782e51000d72caade0011ae1d0fc93d8c289fd87406f6cb5fa3f0e880c5a -eo pid,comm [Pipeline] { [Pipeline] sh 17:52:34 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 17:52:35 + make test 17:52:35 go test -race -coverprofile=coverage.out ./... 17:55:42 ? github.com/edgexfoundry/app-service-configurable [no test files] 17:55:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:55:42 go vet ./... 17:58:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:58:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:58:04 ./bin/test-attribution-txt.sh 17:58:04 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 17:58:04 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 17:58:04 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 17:58:04 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 17:58:04 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 17:58:04 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 17:58:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:58:04 $ docker stop --time=1 06e6782e51000d72caade0011ae1d0fc93d8c289fd87406f6cb5fa3f0e880c5a 17:58:05 $ docker rm -f --volumes 06e6782e51000d72caade0011ae1d0fc93d8c289fd87406f6cb5fa3f0e880c5a [Pipeline] // withDockerContainer [Pipeline] sh 17:58:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:58:07 Warning: overwriting stash ‘coverage-report’ 17:58:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:58:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:58:08 + ls -al . 17:58:08 total 180 17:58:08 drwxrwxr-x 7 jenkins jenkins 4096 Aug 30 17:52 . 17:58:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 17:50 .. 17:58:08 -rw-rw-r-- 1 jenkins jenkins 119 Aug 30 17:50 .dockerignore 17:58:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 17:50 .git 17:58:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 17:50 .github 17:58:08 -rw-rw-r-- 1 jenkins jenkins 171 Aug 30 17:50 .gitignore 17:58:08 -rw-rw-r-- 1 jenkins jenkins 41 Aug 30 17:50 .golangci.yml 17:58:08 -rw-rw-r-- 1 jenkins jenkins 9636 Aug 30 17:50 Attribution.txt 17:58:08 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 30 17:50 CHANGELOG.md 17:58:08 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 30 17:50 Dockerfile 17:58:08 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 17:50 GOVERNANCE.md 17:58:08 -rw-rw-r-- 1 jenkins jenkins 688 Aug 30 17:50 Jenkinsfile 17:58:08 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 30 17:50 LICENSE 17:58:08 -rw-rw-r-- 1 jenkins jenkins 618 Aug 30 17:50 OWNERS.md 17:58:08 -rw-rw-r-- 1 jenkins jenkins 4619 Aug 30 17:50 README.md 17:58:08 -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 17:47 VERSION 17:58:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 17:50 bin 17:58:08 -rw-r--r-- 1 jenkins jenkins 13 Aug 30 17:52 coverage.out 17:58:08 -rw-rw-r-- 1 jenkins jenkins 3729 Aug 30 17:50 go.mod 17:58:08 -rw-rw-r-- 1 jenkins jenkins 33854 Aug 30 17:50 go.sum 17:58:08 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 30 17:50 main.go 17:58:08 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 30 17:50 makefile 17:58:08 drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 17:50 res 17:58:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 17:50 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:09 + 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=d6bbd98166ac1d6cc3b22a8033debe98ece526a7 --label arch=arm64 --label version=0.0.0 . 17:58:09 Sending build context to Docker daemon 179.2kB 17:58:09 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 17:58:09 Step 2/26 : FROM ${BASE} AS builder 17:58:09 ---> 42ca0ed24661 17:58:09 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 17:58:09 ---> Running in e228027d3110 17:58:09 Removing intermediate container e228027d3110 17:58:09 ---> ef9432942506 17:58:09 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:58:10 ---> Running in 3b6802799f3a 17:58:10 Removing intermediate container 3b6802799f3a 17:58:10 ---> 0f4d9dbe1296 17:58:10 Step 5/26 : ARG ADD_BUILD_TAGS="" 17:58:10 ---> Running in e6e9226c7a03 17:58:10 Removing intermediate container e6e9226c7a03 17:58:10 ---> 0509189c0547 17:58:10 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:58:10 ---> Running in 7bd3175e71f5 17:58:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:58:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:58:13 OK: 263 MiB in 53 packages 17:58:15 Removing intermediate container 7bd3175e71f5 17:58:15 ---> a356ec9fc59b 17:58:15 Step 7/26 : WORKDIR /app 17:58:15 ---> Running in ec8d442c4fab 17:58:15 Removing intermediate container ec8d442c4fab 17:58:15 ---> f9fba8d1f5d4 17:58:15 Step 8/26 : COPY go.mod vendor* ./ 17:58:16 ---> 66d39cfcec21 17:58:16 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:58:16 ---> Running in aaf25d31255c 17:58:19 Removing intermediate container aaf25d31255c 17:58:19 ---> f66f2047ca2a 17:58:19 Step 10/26 : COPY . . 17:58:19 ---> 5659d9d39372 17:58:19 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:58:19 ---> Running in 3642f2b60309 17:58:19 Removing intermediate container 3642f2b60309 17:58:19 ---> d74b8d729b4f 17:58:19 Step 12/26 : RUN $MAKE 17:58:19 ---> Running in d19750340145 17:58:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.23 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:00:27 Removing intermediate container d19750340145 18:00:27 ---> 655227ae8a4c 18:00:27 Step 13/26 : FROM alpine:3.17 18:00:27 3.17: Pulling from library/alpine 18:00:28 4060ece20d7a: Pulling fs layer 18:00:28 4060ece20d7a: Download complete 18:00:30 4060ece20d7a: Pull complete 18:00:30 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 18:00:30 Status: Downloaded newer image for alpine:3.17 18:00:30 ---> 8650cd65339b 18:00:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:00:30 ---> Running in e8867f18d318 18:00:30 Removing intermediate container e8867f18d318 18:00:30 ---> b581fb6b242c 18:00:30 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:00:30 ---> Running in 278053f05499 18:00:31 Removing intermediate container 278053f05499 18:00:31 ---> a35652f16363 18:00:31 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:00:31 ---> Running in c405d3c086c4 18:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:00:36 (1/2) Installing ca-certificates (20230506-r0) 18:00:36 (2/2) Installing dumb-init (1.2.5-r2) 18:00:36 Executing busybox-1.35.0-r29.trigger 18:00:36 Executing ca-certificates-20230506-r0.trigger 18:00:36 OK: 8 MiB in 17 packages 18:00:36 Removing intermediate container c405d3c086c4 18:00:36 ---> 91f70eaa0689 18:00:36 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:00:36 ---> c3adfdf9eb1a 18:00:36 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:00:37 ---> ef1190574afc 18:00:37 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:00:37 ---> a53c38dac607 18:00:37 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:00:39 ---> 8cf8f22f5112 18:00:39 Step 21/26 : EXPOSE 48095 18:00:39 ---> Running in a725ce0a842b 18:00:39 Removing intermediate container a725ce0a842b 18:00:39 ---> 8733a3b4e16a 18:00:39 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:00:39 ---> Running in 5e6fe8d5d63f 18:00:39 Removing intermediate container 5e6fe8d5d63f 18:00:39 ---> e46ada4a7e9c 18:00:39 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:00:39 ---> Running in 68646084772b 18:00:40 Removing intermediate container 68646084772b 18:00:40 ---> de9e01f88a53 18:00:40 Step 24/26 : LABEL arch=arm64 18:00:40 ---> Running in 8fb3fbe23b5a 18:00:40 Removing intermediate container 8fb3fbe23b5a 18:00:40 ---> 0a427a4e172e 18:00:40 Step 25/26 : LABEL git_sha=d6bbd98166ac1d6cc3b22a8033debe98ece526a7 18:00:40 ---> Running in 960ba9458941 18:00:40 Removing intermediate container 960ba9458941 18:00:40 ---> 01d4beae9961 18:00:40 Step 26/26 : LABEL version=0.0.0 18:00:40 ---> Running in 492f4e267ef3 18:00:41 Removing intermediate container 492f4e267ef3 18:00:41 ---> 344327317481 18:00:41 [Warning] One or more build-args [ARCH] were not consumed 18:00:41 Successfully built 344327317481 18:00:41 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 18:00:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:00:41 18:00:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:00:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:00:42 arm64: Pulling from edgex-lftools-log-publisher 18:00:42 8998bd30e6a1: Pulling fs layer 18:00:42 04944245beec: Pulling fs layer 18:00:42 699f458cf7ca: Pulling fs layer 18:00:42 765212b225bb: Pulling fs layer 18:00:42 f23df028b6ca: Pulling fs layer 18:00:42 d65c8cfc05b1: Pulling fs layer 18:00:42 2437ff75d9bd: Pulling fs layer 18:00:42 765212b225bb: Waiting 18:00:42 f23df028b6ca: Waiting 18:00:42 d65c8cfc05b1: Waiting 18:00:42 04944245beec: Verifying Checksum 18:00:42 04944245beec: Download complete 18:00:42 765212b225bb: Verifying Checksum 18:00:42 765212b225bb: Download complete 18:00:42 f23df028b6ca: Verifying Checksum 18:00:42 f23df028b6ca: Download complete 18:00:42 d65c8cfc05b1: Verifying Checksum 18:00:42 d65c8cfc05b1: Download complete 18:00:42 699f458cf7ca: Verifying Checksum 18:00:42 699f458cf7ca: Download complete 18:00:43 8998bd30e6a1: Download complete 18:00:45 2437ff75d9bd: Verifying Checksum 18:00:45 2437ff75d9bd: Download complete 18:00:47 8998bd30e6a1: Pull complete 18:00:47 04944245beec: Pull complete 18:00:48 699f458cf7ca: Pull complete 18:00:48 765212b225bb: Pull complete 18:00:49 f23df028b6ca: Pull complete 18:00:49 d65c8cfc05b1: Pull complete 18:01:04 2437ff75d9bd: Pull complete 18:01:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:01:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:01:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:05 prd-ubuntu20.04-docker-arm64-4c-16g-4914 does not seem to be running inside a container 18:01:05 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:01:07 $ docker top 8dc252b7e0b36f619b5e438c7385692b06e008e79f0a10f8c623868fa5b5bd24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:08 ---> job-cost.sh 18:01:08 lf-activate-venv: SKIPPING 18:01:08 INFO: No Stack... 18:01:08 INFO: Retrieving Pricing Info for: v3-standard-4 18:01:09 INFO: Archiving Costs [Pipeline] sh 18:01:10 + cut -d, -f6 18:01:10 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 18:01:10 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-591-1-stack-cost] 18:01:10 Resource [jenkins-edgexfoundry-app-service-configurable-PR-591-1-stack-cost] did not exist. Created. 18:01:10 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-591-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:01:10 /w/workspace/app-service-configurable/1@tmp/durable-b8b912aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:01:11 + echo total: 0.10999999940395355 [Pipeline] stash 18:01:11 Warning: overwriting stash ‘stack-cost’ 18:01:11 Stashed 1 file(s) [Pipeline] } 18:01:11 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-591-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:01:11 $ docker stop --time=1 8dc252b7e0b36f619b5e438c7385692b06e008e79f0a10f8c623868fa5b5bd24 18:01:12 $ docker rm -f --volumes 8dc252b7e0b36f619b5e438c7385692b06e008e79f0a10f8c623868fa5b5bd24 [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 18:01:13 provisioning config files... 18:01:13 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-591@tmp/config13082770957163215470tmp [Pipeline] { [Pipeline] sh 18:01:14 + set +x 18:01:14 + + curlbash -s -s https://codecov.io/bash -- 18:01:14 18:01:14 18:01:14 _____ _ 18:01:14 / ____| | | 18:01:14 | | ___ __| | ___ ___ _____ __ 18:01:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:01:14 | |___| (_) | (_| | __/ (_| (_) \ V / 18:01:14 \_____\___/ \__,_|\___|\___\___/ \_/ 18:01:14 Bash-1.0.6 18:01:14 18:01:14 18:01:14 ==> git version 2.25.1 found 18:01:14 ==> 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 18:01:14 Release-Date: 2020-01-08 18:01:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:01:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:01:14 ==> Jenkins CI detected. 18:01:14 current dir:  /w/workspace/_app-service-configurable_PR-591 18:01:14 project root: . 18:01:14 --> token set from env 18:01:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:01:14 ==> Running gcov in . (disable via -X gcov) 18:01:14 ==> Python coveragepy not found 18:01:14 ==> Searching for coverage reports in: 18:01:14 + . 18:01:14 -> Found 1 reports 18:01:14 ==> Detecting git/mercurial file structure 18:01:14 ==> Reading reports 18:01:14 + ./coverage.out bytes=13 18:01:14 ==> Appending adjustments 18:01:14 https://docs.codecov.io/docs/fixing-reports 18:01:14 + Found adjustments 18:01:14 ==> Gzipping contents 18:01:14 4.0K /tmp/codecov.zHW27Q.gz 18:01:14 ==> Uploading reports 18:01:14 url: https://codecov.io 18:01:14 query: branch=PR-591&commit=d6bbd98166ac1d6cc3b22a8033debe98ece526a7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-591%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=591&job=&cmd_args= 18:01:14 -> Pinging Codecov 18:01:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-591&commit=d6bbd98166ac1d6cc3b22a8033debe98ece526a7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-591%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=591&job=&cmd_args= 18:01:14 -> Uploading to 18:01:14 https://storage.googleapis.com/codecov/v4/raw/2023-08-30/A97CA9966030D2A3747ED39772930CCE/d6bbd98166ac1d6cc3b22a8033debe98ece526a7/01085f84-34c1-4412-a50e-d1cf2ed2ae4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T180114Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=965a3e233cd0ee7c3ea8fae47a30b5539299ffc57f811441ba844d0e5c1257e2 18:01:14 % Total % Received % Xferd Average Speed Time Time Time Current 18:01:14 Dload Upload Total Spent Left Speed 18:01:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1889 --:--:-- --:--:-- --:--:-- 1889 18:01:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/d6bbd98166ac1d6cc3b22a8033debe98ece526a7 [Pipeline] } 18:01:14 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 18:01:16 + [ -d /w/workspace/_app-service-configurable_PR-591/archives ] 18:01:16 + ls -al /w/workspace/_app-service-configurable_PR-591/archives 18:01:16 total 16 18:01:16 drwxr-xr-x 3 root root 4096 Aug 30 17:49 . 18:01:16 drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 17:49 .. 18:01:16 drwxr-xr-x 2 root root 4096 Aug 30 17:49 cost 18:01:16 -rw-r--r-- 1 root root 96 Aug 30 17:49 cost.csv 18:01:16 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-591/archives 18:01:16 + ls -al /w/workspace/_app-service-configurable_PR-591/archives 18:01:16 total 16 18:01:16 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 17:49 . 18:01:16 drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 17:49 .. 18:01:16 drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 17:49 cost 18:01:16 -rw-r--r-- 1 jenkins jenkins 96 Aug 30 17:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:01:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:01:17 ---> package-listing.sh 18:01:17 ++ facter osfamily 18:01:17 ++ tr '[:upper:]' '[:lower:]' 18:01:18 + OS_FAMILY=debian 18:01:18 + workspace=/w/workspace/_app-service-configurable_PR-591 18:01:18 + START_PACKAGES=/tmp/packages_start.txt 18:01:18 + END_PACKAGES=/tmp/packages_end.txt 18:01:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:01:18 + PACKAGES=/tmp/packages_start.txt 18:01:18 + '[' /w/workspace/_app-service-configurable_PR-591 ']' 18:01:18 + PACKAGES=/tmp/packages_end.txt 18:01:18 + case "${OS_FAMILY}" in 18:01:18 + dpkg -l 18:01:18 + grep '^ii' 18:01:18 + '[' -f /tmp/packages_start.txt ']' 18:01:18 + '[' -f /tmp/packages_end.txt ']' 18:01:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:01:18 + '[' /w/workspace/_app-service-configurable_PR-591 ']' 18:01:18 + mkdir -p /w/workspace/_app-service-configurable_PR-591/archives/ 18:01:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-591/archives/ [Pipeline] echo 18:01:18 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-591/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:01:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:01:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:01:19 prd-ubuntu20.04-docker-8c-8g-4912 does not seem to be running inside a container 18:01:19 $ 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-591/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-591 -v /w/workspace/_app-service-configurable_PR-591:/w/workspace/_app-service-configurable_PR-591:rw,z -v /w/workspace/_app-service-configurable_PR-591@tmp:/w/workspace/_app-service-configurable_PR-591@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:01:19 $ docker top 8f9d10d76cb6a738aa5a380109e633d3f831058896953d27fde3b514f1a8b1c0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:01:19 + touch /tmp/pre-build-complete [Pipeline] sh 18:01:19 + mkdir -p /var/log/sysstat [Pipeline] sh 18:01:20 + ls /var/log/sa-host 18:01:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:20 provisioning config files... 18:01:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-591@tmp/config17876716724828653515tmp [Pipeline] { [Pipeline] echo 18:01:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:01:20 ---> create-netrc.sh [Pipeline] } 18:01:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:01:21 ---> python-tools-install.sh [Pipeline] echo 18:01:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:01:21 ---> sudo-logs.sh 18:01:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:01:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:01:22 ---> job-cost.sh 18:01:22 lf-activate-venv: SKIPPING 18:01:22 DEBUG: total: 0.2199999988079071 18:01:22 INFO: Retrieving Stack Cost... 18:01:22 INFO: Retrieving Pricing Info for: v3-standard-8 18:01:22 INFO: Archiving Costs [Pipeline] echo 18:01:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:01:23 ---> logs-deploy.sh 18:01:23 lf-activate-venv: SKIPPING 18:01:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-591/1 18:01:23 INFO: archiving workspace using pattern(s): 18:01:24 Archives upload complete. 18:01:24 INFO: archiving logs to Nexus