Pull request #593 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a+426d4987f89e41a3a60d71327a42892dbbd5fd11 (f122e13e5263f98a2a2f1de6aa3440449c793c5e) 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-ssh15363783786208386596.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-ssh3084645659688746346.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-593/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-593/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4509631406927739072.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-593/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7157530831579953480.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-ssh3732534495087500368.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-593/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-593/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12614917254851991071.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5548 in /w/workspace/_app-service-configurable_PR-593 [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-593 # 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/593/head:refs/remotes/origin/PR-593 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 426d4987f89e41a3a60d71327a42892dbbd5fd11 into PR head commit 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a Merge succeeded, producing 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a Checking out Revision 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a (PR-593) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:55:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:55:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a # 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 426d4987f89e41a3a60d71327a42892dbbd5fd11 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a # timeout=10 [Pipeline] echo 12:55:32 ========================================================= 12:55:32 EdgeX Global Pipelines Version Info 12:55:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:55:32 ------------------- 12:55:32 stable info: 12:55:32 ------------------- 12:55:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:55:32 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:55:32 Message: update stable to v1.0.253 12:55:33 ------------------- 12:55:33 experimental info: 12:55:33 ------------------- 12:55:33 Commited By: **** collab-it+edgex@linuxfoundation.org 12:55:33 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:55:33 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:55:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:55:33 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:55:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:55:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:55:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:55:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:55:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-593 [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-593 [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-593 [Pipeline] echo 12:55:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a [Pipeline] echo 12:55:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1922a51 [Pipeline] echo 12:55:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:55:35 provisioning config files... 12:55:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-593@tmp/config11145009863105628562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:35 ---> docker-login.sh 12:55:35 nexus3.edgexfoundry.org:10001 12:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:35 Configure a credential helper to remove this warning. See 12:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:35 12:55:35 Login Succeeded 12:55:35 nexus3.edgexfoundry.org:10002 12:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:36 Configure a credential helper to remove this warning. See 12:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:36 12:55:36 Login Succeeded 12:55:36 nexus3.edgexfoundry.org:10003 12:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:36 Configure a credential helper to remove this warning. See 12:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:36 12:55:36 Login Succeeded 12:55:36 nexus3.edgexfoundry.org:10004 12:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:36 Configure a credential helper to remove this warning. See 12:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:36 12:55:36 Login Succeeded 12:55:36 docker.io 12:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:36 Configure a credential helper to remove this warning. See 12:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:36 12:55:36 Login Succeeded 12:55:36 ---> docker-login.sh ends [Pipeline] } 12:55:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:55:37 + git rev-list -1 --merges 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a~1..1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a [Pipeline] echo 12:55:37 -----------> git rev-list -1 --merges 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a~1..1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a [false] [Pipeline] sh 12:55:37 + git log --format=format:%s -1 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a [Pipeline] echo 12:55:37 ========================================================= 12:55:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:55:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:55:38 + git log --format=format:%s -1 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a [Pipeline] echo 12:55:38 [semverPrep] GIT_COMMIT: 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:55:38 [semverPrep] This is not a build commit. [Pipeline] sh 12:55:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:55:38 + grep -v github /etc/ssh/ssh_known_hosts 12:55:38 + [ -e /tmp/ssh_known_hosts ] 12:55:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:55:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:55:38 + sudo tee -a /etc/ssh/ssh_known_hosts 12:55:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:55:39 12:55:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:55:39 0.1.4: Pulling from edgex-devops/py-git-semver 12:55:39 b85a868b505f: Pulling fs layer 12:55:39 e2be974225ed: Pulling fs layer 12:55:39 339a4e72a1f5: Pulling fs layer 12:55:39 988bab9f4d93: Pulling fs layer 12:55:39 1469e6f7b9e6: Pulling fs layer 12:55:39 988bab9f4d93: Waiting 12:55:39 eaf3925da568: Pulling fs layer 12:55:39 bab4dde63d76: Pulling fs layer 12:55:39 bde34c3a00c8: Pulling fs layer 12:55:39 1469e6f7b9e6: Waiting 12:55:39 eaf3925da568: Waiting 12:55:39 bab4dde63d76: Waiting 12:55:39 b352a97aabf1: Pulling fs layer 12:55:39 4872d77fe225: Pulling fs layer 12:55:39 5851b861e8e6: Pulling fs layer 12:55:39 bde34c3a00c8: Waiting 12:55:39 b352a97aabf1: Waiting 12:55:39 4872d77fe225: Waiting 12:55:39 e2be974225ed: Verifying Checksum 12:55:39 e2be974225ed: Download complete 12:55:39 988bab9f4d93: Download complete 12:55:39 1469e6f7b9e6: Verifying Checksum 12:55:39 1469e6f7b9e6: Download complete 12:55:39 339a4e72a1f5: Verifying Checksum 12:55:39 339a4e72a1f5: Download complete 12:55:39 eaf3925da568: Verifying Checksum 12:55:39 eaf3925da568: Download complete 12:55:39 bde34c3a00c8: Download complete 12:55:39 b352a97aabf1: Verifying Checksum 12:55:39 b352a97aabf1: Download complete 12:55:39 4872d77fe225: Download complete 12:55:39 5851b861e8e6: Download complete 12:55:39 b85a868b505f: Download complete 12:55:39 bab4dde63d76: Verifying Checksum 12:55:39 bab4dde63d76: Download complete 12:55:40 b85a868b505f: Pull complete 12:55:41 e2be974225ed: Pull complete 12:55:41 339a4e72a1f5: Pull complete 12:55:41 988bab9f4d93: Pull complete 12:55:42 1469e6f7b9e6: Pull complete 12:55:42 eaf3925da568: Pull complete 12:55:43 bab4dde63d76: Pull complete 12:55:44 bde34c3a00c8: Pull complete 12:55:44 b352a97aabf1: Pull complete 12:55:44 4872d77fe225: Pull complete 12:55:44 5851b861e8e6: Pull complete 12:55:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:55:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:55:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:44 prd-ubuntu20.04-docker-8c-8g-5548 does not seem to be running inside a container 12:55:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-593 -v /w/workspace/_app-service-configurable_PR-593:/w/workspace/_app-service-configurable_PR-593:rw,z -v /w/workspace/_app-service-configurable_PR-593@tmp:/w/workspace/_app-service-configurable_PR-593@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:55:47 $ docker top 434c2eca08a382a240bf601e145097d2c8bf33e6d11184b06561b61439700d55 -eo pid,comm 12:55:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:55:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:55:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:55:48 [ssh-agent] Looking for ssh-agent implementation... 12:55:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:55:48 $ docker exec 434c2eca08a382a240bf601e145097d2c8bf33e6d11184b06561b61439700d55 ssh-agent 12:55:48 SSH_AUTH_SOCK=/tmp/ssh-jwe25TagJ02o/agent.32 12:55:48 SSH_AGENT_PID=38 12:55:48 Running ssh-add (command line suppressed) 12:55:48 Identity added: /w/workspace/_app-service-configurable_PR-593@tmp/private_key_16299298489368766305.key (/w/workspace/_app-service-configurable_PR-593@tmp/private_key_16299298489368766305.key) 12:55:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:55:48 + git tag --points-at HEAD [Pipeline] } 12:55:48 $ docker exec --env ******** --env ******** 434c2eca08a382a240bf601e145097d2c8bf33e6d11184b06561b61439700d55 ssh-agent -k 12:55:48 unset SSH_AUTH_SOCK; 12:55:48 unset SSH_AGENT_PID; 12:55:48 echo Agent pid 38 killed; 12:55:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:55:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:55:48 [ssh-agent] Looking for ssh-agent implementation... 12:55:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:55:49 $ docker exec 434c2eca08a382a240bf601e145097d2c8bf33e6d11184b06561b61439700d55 ssh-agent 12:55:49 SSH_AUTH_SOCK=/tmp/ssh-pDt9OM6LHWzS/agent.71 12:55:49 SSH_AGENT_PID=77 12:55:49 Running ssh-add (command line suppressed) 12:55:49 Identity added: /w/workspace/_app-service-configurable_PR-593@tmp/private_key_18378740441320741985.key (/w/workspace/_app-service-configurable_PR-593@tmp/private_key_18378740441320741985.key) 12:55:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:55:49 + git semver init 12:55:49 2023-09-07 12:55:49,847 [run_init] DEBUG init version:0.0.0 force:False 12:55:49 2023-09-07 12:55:49,848 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-593/.semver 12:55:49 2023-09-07 12:55:49,848 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-593/.semver 12:55:49 2023-09-07 12:55:49,849 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-593/.semver'], cwd=/w/workspace/_app-service-configurable_PR-593, universal_newlines=False, shell=None, istream=None) 12:55:50 2023-09-07 12:55:50,631 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-593/.git/info/exclude 12:55:50 2023-09-07 12:55:50,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-593/.semver/PR-593 with force:False 12:55:50 2023-09-07 12:55:50,632 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-593/.semver/PR-593 12:55:50 2023-09-07 12:55:50,636 [execute] INFO git cat-file --batch-check 12:55:50 2023-09-07 12:55:50,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-593/.semver, universal_newlines=False, shell=None, istream=) 12:55:50 2023-09-07 12:55:50,644 [execute] INFO git cat-file --batch 12:55:50 2023-09-07 12:55:50,644 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-593/.semver, universal_newlines=False, shell=None, istream=) 12:55:50 2023-09-07 12:55:50,651 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-593/.semver/PR-593 12:55:50 0.0.0 [Pipeline] } 12:55:50 $ docker exec --env ******** --env ******** 434c2eca08a382a240bf601e145097d2c8bf33e6d11184b06561b61439700d55 ssh-agent -k 12:55:50 unset SSH_AUTH_SOCK; 12:55:50 unset SSH_AGENT_PID; 12:55:50 echo Agent pid 77 killed; 12:55:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:55:51 + git semver [Pipeline] } 12:55:51 $ docker stop --time=1 434c2eca08a382a240bf601e145097d2c8bf33e6d11184b06561b61439700d55 12:55:53 $ docker rm -f --volumes 434c2eca08a382a240bf601e145097d2c8bf33e6d11184b06561b61439700d55 [Pipeline] // withDockerContainer [Pipeline] sh 12:55:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:55:53 Stashed 1 file(s) [Pipeline] echo 12:55:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:55:54 provisioning config files... 12:55:54 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-593@tmp/config17299885992163808538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:55:54 ---> docker-login.sh 12:55:54 nexus3.edgexfoundry.org:10001 12:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:54 Configure a credential helper to remove this warning. See 12:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:54 12:55:54 Login Succeeded 12:55:54 nexus3.edgexfoundry.org:10002 12:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:54 Configure a credential helper to remove this warning. See 12:55:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:54 12:55:55 Login Succeeded 12:55:55 nexus3.edgexfoundry.org:10003 12:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:55 Configure a credential helper to remove this warning. See 12:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:55 12:55:55 Login Succeeded 12:55:55 nexus3.edgexfoundry.org:10004 12:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:55 Configure a credential helper to remove this warning. See 12:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:55 12:55:55 Login Succeeded 12:55:55 docker.io 12:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:55:55 Configure a credential helper to remove this warning. See 12:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:55:55 12:55:55 Login Succeeded 12:55:55 ---> docker-login.sh ends [Pipeline] } 12:55:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:55:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:55:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:55:55 ========================================================= 12:55:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:55:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:55:56 Sending build context to Docker daemon 3.343MB 12:55:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:55:56 Step 2/12 : FROM ${BASE} AS builder 12:55:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:55:56 4db1b89c0bd1: Pulling fs layer 12:55:56 6911f1a30b25: Pulling fs layer 12:55:56 e194b8c5c2a9: Pulling fs layer 12:55:56 6863d3e3a2b1: Pulling fs layer 12:55:56 ec0bb842ea78: Pulling fs layer 12:55:56 40a00589a448: Pulling fs layer 12:55:56 6c08303d61cc: Pulling fs layer 12:55:56 798269fcf238: Pulling fs layer 12:55:56 6c08303d61cc: Waiting 12:55:56 40a00589a448: Waiting 12:55:56 6863d3e3a2b1: Waiting 12:55:56 ec0bb842ea78: Waiting 12:55:56 6911f1a30b25: Verifying Checksum 12:55:56 6911f1a30b25: Download complete 12:55:56 6863d3e3a2b1: Download complete 12:55:56 ec0bb842ea78: Download complete 12:55:56 4db1b89c0bd1: Verifying Checksum 12:55:56 4db1b89c0bd1: Download complete 12:55:56 40a00589a448: Download complete 12:55:56 4db1b89c0bd1: Pull complete 12:55:56 6911f1a30b25: Pull complete 12:55:57 e194b8c5c2a9: Verifying Checksum 12:55:57 e194b8c5c2a9: Download complete 12:55:57 798269fcf238: Verifying Checksum 12:55:57 798269fcf238: Download complete 12:55:57 6c08303d61cc: Verifying Checksum 12:55:57 6c08303d61cc: Download complete 12:56:00 e194b8c5c2a9: Pull complete 12:56:00 6863d3e3a2b1: Pull complete 12:56:00 ec0bb842ea78: Pull complete 12:56:00 40a00589a448: Pull complete 12:56:03 6c08303d61cc: Pull complete 12:56:04 798269fcf238: Pull complete 12:56:04 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:56:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:56:04 ---> ec979cd7f677 12:56:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:56:09 Still waiting to schedule task 12:56:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:56:10 ---> Running in d2925735ca71 12:56:10 Removing intermediate container d2925735ca71 12:56:10 ---> ae10a4fd9f8b 12:56:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:56:10 ---> Running in 8d9d4e1b24fc 12:56:10 Removing intermediate container 8d9d4e1b24fc 12:56:10 ---> 96bc36e5d424 12:56:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:56:10 ---> Running in 7c597a492f53 12:56:10 Removing intermediate container 7c597a492f53 12:56:10 ---> a261abf7e5d5 12:56:10 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:56:10 ---> Running in 430e5472ceff 12:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:56:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:56:10 OK: 265 MiB in 53 packages 12:56:10 Removing intermediate container 430e5472ceff 12:56:10 ---> 7d5164461d08 12:56:10 Step 7/12 : WORKDIR /app 12:56:11 ---> Running in 0162ccf41bb7 12:56:11 Removing intermediate container 0162ccf41bb7 12:56:11 ---> 418030365f5e 12:56:11 Step 8/12 : COPY go.mod vendor* ./ 12:56:11 ---> 7208ac875396 12:56:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:56:11 ---> Running in 2f6d59daf5e8 12:57:07 Removing intermediate container 2f6d59daf5e8 12:57:07 ---> a590abdff6ce 12:57:07 Step 10/12 : COPY . . 12:57:07 ---> f89b5a0a1b9f 12:57:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:57:07 ---> Running in e4f607381c47 12:57:07 Removing intermediate container e4f607381c47 12:57:07 ---> 0e4917247544 12:57:07 Step 12/12 : RUN $MAKE 12:57:07 ---> Running in cd6a946a5acd 12:57:07 noop 12:57:07 Removing intermediate container cd6a946a5acd 12:57:07 ---> 76f3059d1b98 12:57:07 Successfully built 76f3059d1b98 12:57:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:07 + docker inspect -f . ci-base-image-x86_64 12:57:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:08 prd-ubuntu20.04-docker-8c-8g-5548 does not seem to be running inside a container 12:57:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-593 -v /w/workspace/_app-service-configurable_PR-593:/w/workspace/_app-service-configurable_PR-593:rw,z -v /w/workspace/_app-service-configurable_PR-593@tmp:/w/workspace/_app-service-configurable_PR-593@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:57:08 $ docker top baabfe2486b01b6a69d3805870bae1a0b82da6aebc194421e2fd89b0a3186162 -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:08 + go version 12:57:08 go version go1.20.6 linux/amd64 [Pipeline] } 12:57:08 $ docker stop --time=1 baabfe2486b01b6a69d3805870bae1a0b82da6aebc194421e2fd89b0a3186162 12:57:10 $ docker rm -f --volumes baabfe2486b01b6a69d3805870bae1a0b82da6aebc194421e2fd89b0a3186162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:57:10 + docker inspect -f . ci-base-image-x86_64 12:57:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:57:11 prd-ubuntu20.04-docker-8c-8g-5548 does not seem to be running inside a container 12:57:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-593 -v /w/workspace/_app-service-configurable_PR-593:/w/workspace/_app-service-configurable_PR-593:rw,z -v /w/workspace/_app-service-configurable_PR-593@tmp:/w/workspace/_app-service-configurable_PR-593@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:57:11 $ docker top fc829a03c88612052742a371700b1469b2cf20a445ec6969551931fd8e8cd7aa -eo pid,comm [Pipeline] { [Pipeline] sh 12:57:11 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-593 [Pipeline] fileExists [Pipeline] sh 12:57:12 + make test 12:57:12 go test -race -coverprofile=coverage.out ./... 12:57:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:57:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5549 in /w/workspace/_app-service-configurable_PR-593 [Pipeline] { [Pipeline] ws 12:57:32 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:57:32 Selected Git installation does not exist. Using Default 12:57:32 The recommended git tool is: NONE 12:57:37 using credential edgex-jenkins-ssh 12:57:37 Cloning the remote Git repository 12:57:37 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:57:37 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:57:38 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:57:38 > git --version # timeout=10 12:57:38 > git --version # 'git version 2.25.1' 12:57:38 using GIT_SSH to set credentials SSH Credentials for GitHub 12:57:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:57:39 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:57:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:57:40 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:57:40 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:57:40 using GIT_SSH to set credentials SSH Credentials for GitHub 12:57:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/593/head:refs/remotes/origin/PR-593 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:57:40 Merging remotes/origin/main commit 426d4987f89e41a3a60d71327a42892dbbd5fd11 into PR head commit 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a 12:57:40 Merge succeeded, producing 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a 12:57:40 Checking out Revision 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a (PR-593) 12:57:41 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:57:41 > git --version # timeout=10 12:57:41 > git --version # 'git version 2.25.1' 12:57:41 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 12:57:40 > git config core.sparsecheckout # timeout=10 12:57:40 > git checkout -f 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a # timeout=10 12:57:40 > git remote # timeout=10 12:57:40 > git config --get remote.origin.url # timeout=10 12:57:40 using GIT_SSH to set credentials SSH Credentials for GitHub 12:57:40 > git merge 426d4987f89e41a3a60d71327a42892dbbd5fd11 # timeout=10 12:57:40 > git rev-parse HEAD^{commit} # timeout=10 12:57:40 > git config core.sparsecheckout # timeout=10 12:57:40 > git checkout -f 1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:57:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:57:42 % Total % Received % Xferd Average Speed Time Time Time Current 12:57:42 Dload Upload Total Spent Left Speed 12:57:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh 12:57:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:57:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:57:43 + sudo tee /etc/docker/daemon.new 12:57:43 { 12:57:43 "registry-mirrors": [ 12:57:43 "https://nexus3.edgexfoundry.org:10001" 12:57:43 ], 12:57:43 "bip": "10.250.0.254/24", 12:57:43 "hosts": [ 12:57:43 "tcp://0.0.0.0:5555", 12:57:43 "unix:///var/run/docker.sock" 12:57:43 ], 12:57:43 "mtu": 1458, 12:57:43 "selinux-enabled": true, 12:57:43 "seccomp-profile": "/etc/docker/seccomp.json" 12:57:43 } [Pipeline] sh 12:57:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:57:44 + sudo service docker restart 12:57:52 go vet ./... 12:57:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:57:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:57:54 ./bin/test-attribution-txt.sh 12:57:54 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 12:57:54 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 12:57:54 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 12:57:54 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 12:57:54 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 12:57:54 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 12:57:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:57:54 $ docker stop --time=1 fc829a03c88612052742a371700b1469b2cf20a445ec6969551931fd8e8cd7aa 12:58:00 $ docker rm -f --volumes fc829a03c88612052742a371700b1469b2cf20a445ec6969551931fd8e8cd7aa [Pipeline] // withDockerContainer [Pipeline] sh 12:58:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:58:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:58:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:58:01 + ls -al . 12:58:01 total 184 12:58:01 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 12:57 . 12:58:01 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 12:55 .. 12:58:01 -rw-rw-r-- 1 jenkins jenkins 119 Sep 7 12:55 .dockerignore 12:58:01 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 12:55 .git 12:58:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 12:55 .github 12:58:01 -rw-rw-r-- 1 jenkins jenkins 171 Sep 7 12:55 .gitignore 12:58:01 -rw-rw-r-- 1 jenkins jenkins 41 Sep 7 12:55 .golangci.yml 12:58:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 12:55 .semver 12:58:01 -rw-rw-r-- 1 jenkins jenkins 9636 Sep 7 12:55 Attribution.txt 12:58:01 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 7 12:55 CHANGELOG.md 12:58:01 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 7 12:55 Dockerfile 12:58:01 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 12:55 GOVERNANCE.md 12:58:01 -rw-rw-r-- 1 jenkins jenkins 688 Sep 7 12:55 Jenkinsfile 12:58:01 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 7 12:55 LICENSE 12:58:01 -rw-rw-r-- 1 jenkins jenkins 618 Sep 7 12:55 OWNERS.md 12:58:01 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 7 12:55 README.md 12:58:01 -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 12:55 VERSION 12:58:01 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 12:55 bin 12:58:01 -rw-r--r-- 1 jenkins jenkins 13 Sep 7 12:57 coverage.out 12:58:01 -rw-rw-r-- 1 jenkins jenkins 3729 Sep 7 12:55 go.mod 12:58:01 -rw-rw-r-- 1 jenkins jenkins 33854 Sep 7 12:55 go.sum 12:58:01 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 7 12:55 main.go 12:58:01 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 7 12:55 makefile 12:58:01 drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 12:55 res 12:58:01 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 12:55 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:02 + 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=1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a --label arch=amd64 --label version=0.0.0 . 12:58:02 Sending build context to Docker daemon 3.344MB 12:58:02 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:58:02 Step 2/26 : FROM ${BASE} AS builder 12:58:02 ---> 76f3059d1b98 12:58:02 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:58:02 ---> Running in 12b19e2543c9 12:58:02 Removing intermediate container 12b19e2543c9 12:58:02 ---> 779e6279b52f 12:58:02 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:58:02 ---> Running in 0c8c7337501c [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:02 provisioning config files... 12:58:02 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config2312796965559557099tmp [Pipeline] { 12:58:02 Removing intermediate container 0c8c7337501c 12:58:02 ---> c3862cbd05bb 12:58:02 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:58:02 ---> Running in 9fa5092ec8fa 12:58:02 Removing intermediate container 9fa5092ec8fa 12:58:02 ---> 97cc7e24af2c 12:58:02 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:58:02 ---> Running in 490727326c25 [Pipeline] libraryResource [Pipeline] sh 12:58:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:58:02 ---> docker-login.sh 12:58:02 nexus3.edgexfoundry.org:10001 12:58:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:58:03 OK: 265 MiB in 53 packages 12:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:03 Configure a credential helper to remove this warning. See 12:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:03 12:58:03 Login Succeeded 12:58:03 nexus3.edgexfoundry.org:10002 12:58:03 Removing intermediate container 490727326c25 12:58:03 ---> b0b94ac6f516 12:58:03 Step 7/26 : WORKDIR /app 12:58:03 ---> Running in 2703e5a0a135 12:58:03 Removing intermediate container 2703e5a0a135 12:58:03 ---> 6578d6eebf4f 12:58:03 Step 8/26 : COPY go.mod vendor* ./ 12:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:03 Configure a credential helper to remove this warning. See 12:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:03 12:58:03 Login Succeeded 12:58:03 nexus3.edgexfoundry.org:10003 12:58:03 ---> 7f8d0ae83a0e 12:58:03 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:03 ---> Running in 83a56f9c24a5 12:58:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:04 Configure a credential helper to remove this warning. See 12:58:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:04 12:58:04 Login Succeeded 12:58:04 nexus3.edgexfoundry.org:10004 12:58:04 Removing intermediate container 83a56f9c24a5 12:58:04 ---> d6668157a6bf 12:58:04 Step 10/26 : COPY . . 12:58:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:04 Configure a credential helper to remove this warning. See 12:58:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:04 12:58:04 Login Succeeded 12:58:04 docker.io 12:58:04 ---> ab1202ebd6df 12:58:04 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:58:04 ---> Running in a3d2741317da 12:58:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:04 Removing intermediate container a3d2741317da 12:58:04 ---> 26533b43c204 12:58:04 Step 12/26 : RUN $MAKE 12:58:04 ---> Running in 92c0270518e5 12:58:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:05 Configure a credential helper to remove this warning. See 12:58:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:05 12:58:05 Login Succeeded 12:58:05 ---> docker-login.sh ends [Pipeline] } 12:58:05 Deleting 1 temporary files 12:58:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.26 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:05 ========================================================= 12:58:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:58:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:58:06 Sending build context to Docker daemon 178.2kB 12:58:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:58:06 Step 2/12 : FROM ${BASE} AS builder 12:58:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:58:06 edb6bdbacee9: Pulling fs layer 12:58:06 5f9638ab2659: Pulling fs layer 12:58:06 8d51d6327a98: Pulling fs layer 12:58:06 8b374f2dd631: Pulling fs layer 12:58:06 ec14aa9079de: Pulling fs layer 12:58:06 2f466654f4bb: Pulling fs layer 12:58:06 554e91adad29: Pulling fs layer 12:58:06 8b374f2dd631: Waiting 12:58:06 ec14aa9079de: Waiting 12:58:06 2f466654f4bb: Waiting 12:58:06 554e91adad29: Waiting 12:58:06 5f9638ab2659: Verifying Checksum 12:58:06 5f9638ab2659: Download complete 12:58:06 8b374f2dd631: Verifying Checksum 12:58:06 8b374f2dd631: Download complete 12:58:06 ec14aa9079de: Verifying Checksum 12:58:06 ec14aa9079de: Download complete 12:58:06 edb6bdbacee9: Verifying Checksum 12:58:06 edb6bdbacee9: Download complete 12:58:07 edb6bdbacee9: Pull complete 12:58:08 554e91adad29: Verifying Checksum 12:58:08 554e91adad29: Download complete 12:58:09 8d51d6327a98: Verifying Checksum 12:58:09 8d51d6327a98: Download complete 12:58:09 2f466654f4bb: Verifying Checksum 12:58:09 2f466654f4bb: Download complete 12:58:11 5f9638ab2659: Pull complete 12:58:26 8d51d6327a98: Pull complete 12:58:26 8b374f2dd631: Pull complete 12:58:26 ec14aa9079de: Pull complete 12:58:27 Removing intermediate container 92c0270518e5 12:58:27 ---> 29fd793c9123 12:58:27 Step 13/26 : FROM alpine:3.17 12:58:27 3.17: Pulling from library/alpine 12:58:27 9398808236ff: Pulling fs layer 12:58:27 9398808236ff: Verifying Checksum 12:58:27 9398808236ff: Download complete 12:58:27 9398808236ff: Pull complete 12:58:27 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 12:58:27 Status: Downloaded newer image for alpine:3.17 12:58:27 ---> 1e0b8b5322fc 12:58:27 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:58:27 ---> Running in 9329ac9e9e05 12:58:27 Removing intermediate container 9329ac9e9e05 12:58:27 ---> 5e945c28d85d 12:58:27 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:58:27 ---> Running in 1bd8274fcb3b 12:58:27 Removing intermediate container 1bd8274fcb3b 12:58:27 ---> 4e0634e81120 12:58:27 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:58:27 ---> Running in b2a66219ac64 12:58:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:58:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:58:27 (1/2) Installing ca-certificates (20230506-r0) 12:58:27 (2/2) Installing dumb-init (1.2.5-r2) 12:58:27 Executing busybox-1.35.0-r29.trigger 12:58:27 Executing ca-certificates-20230506-r0.trigger 12:58:27 OK: 8 MiB in 17 packages 12:58:27 Removing intermediate container b2a66219ac64 12:58:27 ---> 4d4b40583e4b 12:58:27 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:58:27 ---> bd70b9a952e5 12:58:27 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:58:27 ---> 2da48d558920 12:58:27 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:58:27 ---> a4807e3edb4e 12:58:27 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:58:28 ---> f7b434db0f71 12:58:28 Step 21/26 : EXPOSE 48095 12:58:28 ---> Running in 30470b4ef969 12:58:28 Removing intermediate container 30470b4ef969 12:58:28 ---> dd44a4c0d0c4 12:58:28 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:58:28 ---> Running in 563bb84ac525 12:58:28 Removing intermediate container 563bb84ac525 12:58:28 ---> f581976606bc 12:58:28 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:58:28 ---> Running in 656d21a5b5d9 12:58:28 Removing intermediate container 656d21a5b5d9 12:58:28 ---> b13206aaea52 12:58:28 Step 24/26 : LABEL arch=amd64 12:58:28 ---> Running in f3550fb3cff0 12:58:29 Removing intermediate container f3550fb3cff0 12:58:29 ---> 8f655dddc29f 12:58:29 Step 25/26 : LABEL git_sha=1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a 12:58:29 ---> Running in 0280378a580c 12:58:29 Removing intermediate container 0280378a580c 12:58:29 ---> 9012c985126c 12:58:29 Step 26/26 : LABEL version=0.0.0 12:58:29 ---> Running in 62468fbf8fec 12:58:29 Removing intermediate container 62468fbf8fec 12:58:29 ---> 84da46d8956a 12:58:29 [Warning] One or more build-args [ARCH] were not consumed 12:58:29 Successfully built 84da46d8956a 12:58:29 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:58:30 12:58:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:58:30 latest: Pulling from edgex-lftools-log-publisher 12:58:30 5eb5b503b376: Pulling fs layer 12:58:30 5c69ac0246d0: Pulling fs layer 12:58:30 ec43610c2a17: Pulling fs layer 12:58:30 3a2ae6a8a46f: Pulling fs layer 12:58:30 33b1e0a273af: Pulling fs layer 12:58:30 5d3b04190fa2: Pulling fs layer 12:58:30 2f39f015ded8: Pulling fs layer 12:58:30 3a2ae6a8a46f: Waiting 12:58:30 33b1e0a273af: Waiting 12:58:30 5d3b04190fa2: Waiting 12:58:30 2f39f015ded8: Waiting 12:58:30 5c69ac0246d0: Verifying Checksum 12:58:30 5c69ac0246d0: Download complete 12:58:30 3a2ae6a8a46f: Verifying Checksum 12:58:30 3a2ae6a8a46f: Download complete 12:58:30 33b1e0a273af: Verifying Checksum 12:58:30 33b1e0a273af: Download complete 12:58:30 5d3b04190fa2: Verifying Checksum 12:58:30 5d3b04190fa2: Download complete 12:58:30 ec43610c2a17: Verifying Checksum 12:58:30 ec43610c2a17: Download complete 12:58:30 5eb5b503b376: Verifying Checksum 12:58:30 5eb5b503b376: Download complete 12:58:31 2f39f015ded8: Download complete 12:58:31 2f466654f4bb: Pull complete 12:58:31 5eb5b503b376: Pull complete 12:58:31 5c69ac0246d0: Pull complete 12:58:32 ec43610c2a17: Pull complete 12:58:32 3a2ae6a8a46f: Pull complete 12:58:32 33b1e0a273af: Pull complete 12:58:32 5d3b04190fa2: Pull complete 12:58:33 554e91adad29: Pull complete 12:58:33 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:58:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:58:33 ---> 1e15ea492957 12:58:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:58:35 ---> Running in 28783ff30dfe 12:58:35 Removing intermediate container 28783ff30dfe 12:58:35 ---> 9f6163fa5463 12:58:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:58:35 ---> Running in c8cda32c55fc 12:58:35 Removing intermediate container c8cda32c55fc 12:58:35 ---> 62176a843ead 12:58:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:58:35 ---> Running in 37f46a86919c 12:58:36 Removing intermediate container 37f46a86919c 12:58:36 ---> 1830d9f0ca1c 12:58:36 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:58:36 ---> Running in e373093077b6 12:58:36 2f39f015ded8: Pull complete 12:58:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:58:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:58:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:37 prd-ubuntu20.04-docker-8c-8g-5548 does not seem to be running inside a container 12:58:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-593 -v /w/workspace/_app-service-configurable_PR-593:/w/workspace/_app-service-configurable_PR-593:rw,z -v /w/workspace/_app-service-configurable_PR-593@tmp:/w/workspace/_app-service-configurable_PR-593@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:58:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:58:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:58:38 OK: 263 MiB in 53 packages 12:58:39 Removing intermediate container e373093077b6 12:58:39 ---> 588b62b912d9 12:58:39 Step 7/12 : WORKDIR /app 12:58:39 ---> Running in 387c891c36f3 12:58:40 Removing intermediate container 387c891c36f3 12:58:40 ---> 016f31bb2005 12:58:40 Step 8/12 : COPY go.mod vendor* ./ 12:58:40 ---> 073e9e827d92 12:58:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:40 ---> Running in 3541cefa9aac 12:58:41 $ docker top 289ced1aab09a9d5bc332531ef8a340cac495004bbe1494f8e138e12fcd6448a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:42 ---> job-cost.sh 12:58:42 lf-activate-venv: SKIPPING 12:58:42 INFO: No Stack... 12:58:42 INFO: Retrieving Pricing Info for: v3-standard-8 12:58:42 INFO: Archiving Costs [Pipeline] sh 12:58:42 + cat /w/workspace/_app-service-configurable_PR-593/archives/cost.csv 12:58:42 + cut -d, -f6 [Pipeline] lock 12:58:42 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-593-1-stack-cost] 12:58:42 Resource [jenkins-edgexfoundry-app-service-configurable-PR-593-1-stack-cost] did not exist. Created. 12:58:42 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-593-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:58:43 + echo total: 0.2199999988079071 [Pipeline] stash 12:58:43 Stashed 1 file(s) [Pipeline] } 12:58:43 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-593-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:58:43 $ docker stop --time=1 289ced1aab09a9d5bc332531ef8a340cac495004bbe1494f8e138e12fcd6448a 12:58:44 $ docker rm -f --volumes 289ced1aab09a9d5bc332531ef8a340cac495004bbe1494f8e138e12fcd6448a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:59:48 Removing intermediate container 3541cefa9aac 12:59:48 ---> ff4efcb65e19 12:59:48 Step 10/12 : COPY . . 12:59:48 ---> 213259142ab3 12:59:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:48 ---> Running in 3f18129c80b9 12:59:48 Removing intermediate container 3f18129c80b9 12:59:48 ---> 2c4818e47633 12:59:48 Step 12/12 : RUN $MAKE 12:59:48 ---> Running in c18dd0f2ace1 12:59:48 noop 12:59:48 Removing intermediate container c18dd0f2ace1 12:59:48 ---> 711f46c479de 12:59:48 Successfully built 711f46c479de 12:59:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:49 + docker inspect -f . ci-base-image-arm64 12:59:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:49 prd-ubuntu20.04-docker-arm64-4c-16g-5549 does not seem to be running inside a container 12:59:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:59:50 $ docker top 9a72b00ced573a086d0abc93574651a28598c004b17c0eae592264248a2996b3 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:51 + go version 12:59:51 go version go1.20.6 linux/arm64 [Pipeline] } 12:59:51 $ docker stop --time=1 9a72b00ced573a086d0abc93574651a28598c004b17c0eae592264248a2996b3 12:59:53 $ docker rm -f --volumes 9a72b00ced573a086d0abc93574651a28598c004b17c0eae592264248a2996b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:53 + docker inspect -f . ci-base-image-arm64 12:59:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:54 prd-ubuntu20.04-docker-arm64-4c-16g-5549 does not seem to be running inside a container 12:59:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:59:55 $ docker top 623eedeba21de19028d4808c4c5a83e2144b720e91ea50fd627b0af8e371d154 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:55 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:59:56 + make test 12:59:56 go test -race -coverprofile=coverage.out ./... 13:02:47 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:02:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:02:47 go vet ./... 13:04:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:04:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:04:54 ./bin/test-attribution-txt.sh 13:04:54 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 13:04:54 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 13:04:54 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 13:04:54 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 13:04:54 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 13:04:54 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 13:04:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:04:54 $ docker stop --time=1 623eedeba21de19028d4808c4c5a83e2144b720e91ea50fd627b0af8e371d154 13:04:56 $ docker rm -f --volumes 623eedeba21de19028d4808c4c5a83e2144b720e91ea50fd627b0af8e371d154 [Pipeline] // withDockerContainer [Pipeline] sh 13:04:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:04:58 Warning: overwriting stash ‘coverage-report’ 13:04:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:04:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:04:59 + ls -al . 13:04:59 total 180 13:04:59 drwxrwxr-x 7 jenkins jenkins 4096 Sep 7 12:59 . 13:04:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 12:57 .. 13:04:59 -rw-rw-r-- 1 jenkins jenkins 119 Sep 7 12:57 .dockerignore 13:04:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 12:57 .git 13:04:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 12:57 .github 13:04:59 -rw-rw-r-- 1 jenkins jenkins 171 Sep 7 12:57 .gitignore 13:04:59 -rw-rw-r-- 1 jenkins jenkins 41 Sep 7 12:57 .golangci.yml 13:04:59 -rw-rw-r-- 1 jenkins jenkins 9636 Sep 7 12:57 Attribution.txt 13:04:59 -rw-rw-r-- 1 jenkins jenkins 35039 Sep 7 12:57 CHANGELOG.md 13:04:59 -rw-rw-r-- 1 jenkins jenkins 1898 Sep 7 12:57 Dockerfile 13:04:59 -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 12:57 GOVERNANCE.md 13:04:59 -rw-rw-r-- 1 jenkins jenkins 688 Sep 7 12:57 Jenkinsfile 13:04:59 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 7 12:57 LICENSE 13:04:59 -rw-rw-r-- 1 jenkins jenkins 618 Sep 7 12:57 OWNERS.md 13:04:59 -rw-rw-r-- 1 jenkins jenkins 4619 Sep 7 12:57 README.md 13:04:59 -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 12:55 VERSION 13:04:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 12:57 bin 13:04:59 -rw-r--r-- 1 jenkins jenkins 13 Sep 7 12:59 coverage.out 13:04:59 -rw-rw-r-- 1 jenkins jenkins 3729 Sep 7 12:57 go.mod 13:04:59 -rw-rw-r-- 1 jenkins jenkins 33854 Sep 7 12:57 go.sum 13:04:59 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 7 12:57 main.go 13:04:59 -rw-rw-r-- 1 jenkins jenkins 2569 Sep 7 12:57 makefile 13:04:59 drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 12:57 res 13:04:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 12:57 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:05:00 + 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=1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a --label arch=arm64 --label version=0.0.0 . 13:05:00 Sending build context to Docker daemon 179.2kB 13:05:00 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:05:00 Step 2/26 : FROM ${BASE} AS builder 13:05:00 ---> 711f46c479de 13:05:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:05:00 ---> Running in 63f2b60eac54 13:05:00 Removing intermediate container 63f2b60eac54 13:05:00 ---> 3ce418c2c3b4 13:05:00 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:05:00 ---> Running in 4efc565f61d0 13:05:00 Removing intermediate container 4efc565f61d0 13:05:00 ---> 789d05449c75 13:05:00 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:05:01 ---> Running in 4e603c14a2cf 13:05:01 Removing intermediate container 4e603c14a2cf 13:05:01 ---> 60f131cc4086 13:05:01 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:05:01 ---> Running in d5e63758decf 13:05:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:05:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:05:04 OK: 263 MiB in 53 packages 13:05:04 Removing intermediate container d5e63758decf 13:05:04 ---> db9e10a8e5ca 13:05:04 Step 7/26 : WORKDIR /app 13:05:04 ---> Running in e790e2c2cafc 13:05:04 Removing intermediate container e790e2c2cafc 13:05:04 ---> d96ab48b4f55 13:05:04 Step 8/26 : COPY go.mod vendor* ./ 13:05:05 ---> e1025948e1f4 13:05:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:05:05 ---> Running in bb8e48e087a0 13:05:10 Removing intermediate container bb8e48e087a0 13:05:10 ---> 886bfa0fd8d6 13:05:10 Step 10/26 : COPY . . 13:05:11 ---> 1e8b27ef5c02 13:05:11 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:05:11 ---> Running in 8aa1d7bb6bae 13:05:11 Removing intermediate container 8aa1d7bb6bae 13:05:11 ---> dabb9b481d85 13:05:11 Step 12/26 : RUN $MAKE 13:05:11 ---> Running in 834aed549813 13:05:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.26 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:07:19 Removing intermediate container 834aed549813 13:07:19 ---> 26f2cdd6aa66 13:07:19 Step 13/26 : FROM alpine:3.17 13:07:20 3.17: Pulling from library/alpine 13:07:20 4060ece20d7a: Pulling fs layer 13:07:20 4060ece20d7a: Verifying Checksum 13:07:20 4060ece20d7a: Download complete 13:07:20 4060ece20d7a: Pull complete 13:07:23 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 13:07:23 Status: Downloaded newer image for alpine:3.17 13:07:23 ---> 8650cd65339b 13:07:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:07:23 ---> Running in 2e1217ce335b 13:07:23 Removing intermediate container 2e1217ce335b 13:07:23 ---> 6e26a37e08c3 13:07:23 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:07:23 ---> Running in c219d6b9f5b5 13:07:23 Removing intermediate container c219d6b9f5b5 13:07:23 ---> 5a5b3de2c0fc 13:07:23 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:07:24 ---> Running in 62d57bfb6947 13:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:07:26 (1/2) Installing ca-certificates (20230506-r0) 13:07:26 (2/2) Installing dumb-init (1.2.5-r2) 13:07:26 Executing busybox-1.35.0-r29.trigger 13:07:26 Executing ca-certificates-20230506-r0.trigger 13:07:26 OK: 8 MiB in 17 packages 13:07:28 Removing intermediate container 62d57bfb6947 13:07:28 ---> acea9621498e 13:07:28 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:07:28 ---> ddb95683621c 13:07:28 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:07:28 ---> aa9f6ccb3101 13:07:28 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:07:29 ---> 0060f7580646 13:07:29 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:07:30 ---> ea1a332c43ee 13:07:30 Step 21/26 : EXPOSE 48095 13:07:30 ---> Running in cfb1049e50ee 13:07:31 Removing intermediate container cfb1049e50ee 13:07:31 ---> 0903b6469d1a 13:07:31 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:07:31 ---> Running in f5381ad8c3b1 13:07:31 Removing intermediate container f5381ad8c3b1 13:07:31 ---> 6fe29851cc13 13:07:31 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:07:31 ---> Running in 5b18d08767e9 13:07:31 Removing intermediate container 5b18d08767e9 13:07:31 ---> c7ad799ea58c 13:07:31 Step 24/26 : LABEL arch=arm64 13:07:31 ---> Running in fa6b4b1b7bcb 13:07:32 Removing intermediate container fa6b4b1b7bcb 13:07:32 ---> 9ca082799b2c 13:07:32 Step 25/26 : LABEL git_sha=1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a 13:07:32 ---> Running in 5e4c10ef39ad 13:07:32 Removing intermediate container 5e4c10ef39ad 13:07:32 ---> 4f8b75a8f5d2 13:07:32 Step 26/26 : LABEL version=0.0.0 13:07:32 ---> Running in f53de555a5e6 13:07:32 Removing intermediate container f53de555a5e6 13:07:32 ---> ebdb00d7f651 13:07:32 [Warning] One or more build-args [ARCH] were not consumed 13:07:32 Successfully built ebdb00d7f651 13:07:32 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:07:33 13:07:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:07:33 arm64: Pulling from edgex-lftools-log-publisher 13:07:33 8998bd30e6a1: Pulling fs layer 13:07:33 04944245beec: Pulling fs layer 13:07:33 699f458cf7ca: Pulling fs layer 13:07:33 765212b225bb: Pulling fs layer 13:07:33 f23df028b6ca: Pulling fs layer 13:07:33 d65c8cfc05b1: Pulling fs layer 13:07:33 2437ff75d9bd: Pulling fs layer 13:07:33 f23df028b6ca: Waiting 13:07:33 d65c8cfc05b1: Waiting 13:07:33 2437ff75d9bd: Waiting 13:07:33 765212b225bb: Waiting 13:07:34 04944245beec: Verifying Checksum 13:07:34 04944245beec: Download complete 13:07:34 765212b225bb: Verifying Checksum 13:07:34 765212b225bb: Download complete 13:07:34 f23df028b6ca: Download complete 13:07:34 d65c8cfc05b1: Verifying Checksum 13:07:34 d65c8cfc05b1: Download complete 13:07:34 699f458cf7ca: Verifying Checksum 13:07:34 699f458cf7ca: Download complete 13:07:34 8998bd30e6a1: Verifying Checksum 13:07:34 8998bd30e6a1: Download complete 13:07:36 2437ff75d9bd: Verifying Checksum 13:07:36 2437ff75d9bd: Download complete 13:07:38 8998bd30e6a1: Pull complete 13:07:38 04944245beec: Pull complete 13:07:40 699f458cf7ca: Pull complete 13:07:40 765212b225bb: Pull complete 13:07:40 f23df028b6ca: Pull complete 13:07:41 d65c8cfc05b1: Pull complete 13:07:56 2437ff75d9bd: Pull complete 13:07:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:07:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:07:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:07:56 prd-ubuntu20.04-docker-arm64-4c-16g-5549 does not seem to be running inside a container 13:07:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:07:59 $ docker top 3efacdefe39fb9716cbffadd9c5bff35d0413ccd7b84c8e19c5f9f9ee0eecd0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:07:59 ---> job-cost.sh 13:07:59 lf-activate-venv: SKIPPING 13:07:59 INFO: No Stack... 13:08:00 INFO: Retrieving Pricing Info for: v3-standard-4 13:08:01 INFO: Archiving Costs [Pipeline] sh 13:08:01 + + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:08:01 cut -d, -f6 [Pipeline] lock 13:08:01 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-593-1-stack-cost] 13:08:01 Resource [jenkins-edgexfoundry-app-service-configurable-PR-593-1-stack-cost] did not exist. Created. 13:08:01 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-593-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:08:02 /w/workspace/app-service-configurable/1@tmp/durable-e5204d51/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:08:02 + echo total: 0.10999999940395355 [Pipeline] stash 13:08:02 Warning: overwriting stash ‘stack-cost’ 13:08:02 Stashed 1 file(s) [Pipeline] } 13:08:02 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-593-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:08:02 $ docker stop --time=1 3efacdefe39fb9716cbffadd9c5bff35d0413ccd7b84c8e19c5f9f9ee0eecd0e 13:08:04 $ docker rm -f --volumes 3efacdefe39fb9716cbffadd9c5bff35d0413ccd7b84c8e19c5f9f9ee0eecd0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:08:05 provisioning config files... 13:08:05 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-593@tmp/config16458981027251795804tmp [Pipeline] { [Pipeline] sh 13:08:05 + set +x 13:08:05 + curl -s https://codecov.io/bash 13:08:05 + bash -s -- 13:08:05 13:08:05 _____ _ 13:08:05 / ____| | | 13:08:05 | | ___ __| | ___ ___ _____ __ 13:08:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:08:05 | |___| (_) | (_| | __/ (_| (_) \ V / 13:08:05 \_____\___/ \__,_|\___|\___\___/ \_/ 13:08:05 Bash-1.0.6 13:08:05 13:08:05 13:08:05 ==> git version 2.25.1 found 13:08:05 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:08:05 Release-Date: 2020-01-08 13:08:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:08:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:08:05 ==> Jenkins CI detected. 13:08:05 current dir:  /w/workspace/_app-service-configurable_PR-593 13:08:05 project root: . 13:08:05 --> token set from env 13:08:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:08:05 ==> Running gcov in . (disable via -X gcov) 13:08:05 ==> Python coveragepy not found 13:08:05 ==> Searching for coverage reports in: 13:08:05 + . 13:08:05 -> Found 1 reports 13:08:05 ==> Detecting git/mercurial file structure 13:08:05 ==> Reading reports 13:08:05 + ./coverage.out bytes=13 13:08:05 ==> Appending adjustments 13:08:05 https://docs.codecov.io/docs/fixing-reports 13:08:05 + Found adjustments 13:08:05 ==> Gzipping contents 13:08:05 4.0K /tmp/codecov.sq64GB.gz 13:08:05 ==> Uploading reports 13:08:05 url: https://codecov.io 13:08:05 query: branch=PR-593&commit=1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-593%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=593&job=&cmd_args= 13:08:05 -> Pinging Codecov 13:08:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-593&commit=1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-593%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=593&job=&cmd_args= 13:08:05 -> Uploading to 13:08:05 https://storage.googleapis.com/codecov/v4/raw/2023-09-07/A97CA9966030D2A3747ED39772930CCE/1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a/9532a9a5-aa33-4ef0-9a57-9771034fe7f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230907%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230907T130805Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=90cb0370661b26d0933d731c45006dfe0fffb2c11dca40e0ca603473d6c797b3 13:08:05 % Total % Received % Xferd Average Speed Time Time Time Current 13:08:05 Dload Upload Total Spent Left Speed 13:08:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2294 --:--:-- --:--:-- --:--:-- 2294 13:08:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/1922a513a6c2e01cd342f50d6c8d2475e7ca5f1a [Pipeline] } 13:08:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:08:07 + [ -d /w/workspace/_app-service-configurable_PR-593/archives ] 13:08:07 + ls -al /w/workspace/_app-service-configurable_PR-593/archives 13:08:07 total 16 13:08:07 drwxr-xr-x 3 root root 4096 Sep 7 12:58 . 13:08:07 drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 12:58 .. 13:08:07 drwxr-xr-x 2 root root 4096 Sep 7 12:58 cost 13:08:07 -rw-r--r-- 1 root root 96 Sep 7 12:58 cost.csv 13:08:07 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-593/archives 13:08:07 + ls -al /w/workspace/_app-service-configurable_PR-593/archives 13:08:07 total 16 13:08:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 12:58 . 13:08:07 drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 12:58 .. 13:08:07 drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 12:58 cost 13:08:07 -rw-r--r-- 1 jenkins jenkins 96 Sep 7 12:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:08:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:08:09 ---> package-listing.sh 13:08:09 ++ tr '[:upper:]' '[:lower:]' 13:08:09 ++ facter osfamily 13:08:09 + OS_FAMILY=debian 13:08:09 + workspace=/w/workspace/_app-service-configurable_PR-593 13:08:09 + START_PACKAGES=/tmp/packages_start.txt 13:08:09 + END_PACKAGES=/tmp/packages_end.txt 13:08:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:08:09 + PACKAGES=/tmp/packages_start.txt 13:08:09 + '[' /w/workspace/_app-service-configurable_PR-593 ']' 13:08:09 + PACKAGES=/tmp/packages_end.txt 13:08:09 + case "${OS_FAMILY}" in 13:08:09 + dpkg -l 13:08:09 + grep '^ii' 13:08:09 + '[' -f /tmp/packages_start.txt ']' 13:08:09 + '[' -f /tmp/packages_end.txt ']' 13:08:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:08:09 + '[' /w/workspace/_app-service-configurable_PR-593 ']' 13:08:09 + mkdir -p /w/workspace/_app-service-configurable_PR-593/archives/ 13:08:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-593/archives/ [Pipeline] echo 13:08:09 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-593/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:08:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:08:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:08:10 prd-ubuntu20.04-docker-8c-8g-5548 does not seem to be running inside a container 13:08:10 $ 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-593/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-593 -v /w/workspace/_app-service-configurable_PR-593:/w/workspace/_app-service-configurable_PR-593:rw,z -v /w/workspace/_app-service-configurable_PR-593@tmp:/w/workspace/_app-service-configurable_PR-593@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:08:10 $ docker top db72302ff002ba3b1cb78ae6807774cba19d207fa0d3ed29adb046206e500f4b -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:11 + touch /tmp/pre-build-complete [Pipeline] sh 13:08:11 + mkdir -p /var/log/sysstat [Pipeline] sh 13:08:11 + ls /var/log/sa-host 13:08:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:08:11 provisioning config files... 13:08:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-593@tmp/config14107435629146961993tmp [Pipeline] { [Pipeline] echo 13:08:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:08:12 ---> create-netrc.sh [Pipeline] } 13:08:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:08:12 ---> python-tools-install.sh [Pipeline] echo 13:08:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:08:13 ---> sudo-logs.sh 13:08:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:08:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:08:13 ---> job-cost.sh 13:08:13 lf-activate-venv: SKIPPING 13:08:13 DEBUG: total: 0.2199999988079071 13:08:13 INFO: Retrieving Stack Cost... 13:08:13 INFO: Retrieving Pricing Info for: v3-standard-8 13:08:14 INFO: Archiving Costs [Pipeline] echo 13:08:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:08:14 ---> logs-deploy.sh 13:08:14 lf-activate-venv: SKIPPING 13:08:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-593/1 13:08:14 INFO: archiving workspace using pattern(s): 13:08:15 Archives upload complete. 13:08:15 INFO: archiving logs to Nexus