Pull request #673 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fae340c90b373e2a95d5531951e35646ccdb79af+73e85768b09e7a901a474aca8d4c5663b6c61c92 (966a6855a7c4f63a58ca4eca6bb736ab7457d2d8) 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-ssh587215716659256864.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh10925605178054640039.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 f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-673/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-673/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14333865318335859585.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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 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-ssh17201850145825570858.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-673/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-673/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh63053339610045694.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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] ========================================================= [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.21 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9165 in /w/workspace/_app-service-configurable_PR-673 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-673 # 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 Merging remotes/origin/main commit 73e85768b09e7a901a474aca8d4c5663b6c61c92 into PR head commit fae340c90b373e2a95d5531951e35646ccdb79af Merge succeeded, producing fae340c90b373e2a95d5531951e35646ccdb79af Checking out Revision fae340c90b373e2a95d5531951e35646ccdb79af (PR-673) Commit message: "fix: Add the created column in store table" First time build. Skipping changelog. > 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/673/head:refs/remotes/origin/PR-673 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fae340c90b373e2a95d5531951e35646ccdb79af # 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 73e85768b09e7a901a474aca8d4c5663b6c61c92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fae340c90b373e2a95d5531951e35646ccdb79af # timeout=10 > git rev-list --no-walk 19208ae1f6191ad6d33c916f04e641f17e975004 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:12:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:12:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:12:20 ========================================================= 05:12:20 EdgeX Global Pipelines Version Info 05:12:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:12:21 ------------------- 05:12:21 stable info: 05:12:21 ------------------- 05:12:21 Commited By: Cherry Wang cherry@iotechsys.com 05:12:21 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 05:12:21 Message: update stable to v1.0.263 05:12:21 ------------------- 05:12:21 experimental info: 05:12:21 ------------------- 05:12:21 Commited By: Cherry Wang cherry@iotechsys.com 05:12:21 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 05:12:21 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:12:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-673 [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-673 [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-673 [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fae340c90b373e2a95d5531951e35646ccdb79af [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fae340c [Pipeline] echo 05:12:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:22 provisioning config files... 05:12:22 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config11329194400343045901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:22 ---> ****-login.sh 05:12:22 nexus3.edgexfoundry.org:10001 05:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:23 Configure a credential helper to remove this warning. See 05:12:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:23 05:12:23 Login Succeeded 05:12:23 nexus3.edgexfoundry.org:10002 05:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:23 Configure a credential helper to remove this warning. See 05:12:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:23 05:12:23 Login Succeeded 05:12:23 nexus3.edgexfoundry.org:10003 05:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:23 Configure a credential helper to remove this warning. See 05:12:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:23 05:12:23 Login Succeeded 05:12:23 nexus3.edgexfoundry.org:10004 05:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:23 Configure a credential helper to remove this warning. See 05:12:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:23 05:12:23 Login Succeeded 05:12:23 ****.io 05:12:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:23 Configure a credential helper to remove this warning. See 05:12:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:23 05:12:23 Login Succeeded 05:12:23 ---> ****-login.sh ends [Pipeline] } 05:12:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:12:24 + git rev-list -1 --merges fae340c90b373e2a95d5531951e35646ccdb79af~1..fae340c90b373e2a95d5531951e35646ccdb79af [Pipeline] echo 05:12:24 -----------> git rev-list -1 --merges fae340c90b373e2a95d5531951e35646ccdb79af~1..fae340c90b373e2a95d5531951e35646ccdb79af fae340c90b373e2a95d5531951e35646ccdb79af [false] [Pipeline] sh 05:12:24 + git log --format=format:%s -1 fae340c90b373e2a95d5531951e35646ccdb79af [Pipeline] echo 05:12:24 ========================================================= 05:12:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:12:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:12:24 + git log --format=format:%s -1 fae340c90b373e2a95d5531951e35646ccdb79af [Pipeline] echo 05:12:24 [semverPrep] GIT_COMMIT: fae340c90b373e2a95d5531951e35646ccdb79af, Commit Message: fix: Add the created column in store table [Pipeline] echo 05:12:24 [semverPrep] This is not a build commit. [Pipeline] sh 05:12:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:12:25 + grep -v github /etc/ssh/ssh_known_hosts 05:12:25 + [ -e /tmp/ssh_known_hosts ] 05:12:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:12:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:12:25 + sudo tee -a /etc/ssh/ssh_known_hosts 05:12:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:25 05:12:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:25 0.1.4: Pulling from edgex-devops/py-git-semver 05:12:25 b85a868b505f: Pulling fs layer 05:12:25 e2be974225ed: Pulling fs layer 05:12:25 339a4e72a1f5: Pulling fs layer 05:12:25 988bab9f4d93: Pulling fs layer 05:12:25 1469e6f7b9e6: Pulling fs layer 05:12:25 eaf3925da568: Pulling fs layer 05:12:25 bab4dde63d76: Pulling fs layer 05:12:25 bde34c3a00c8: Pulling fs layer 05:12:25 b352a97aabf1: Pulling fs layer 05:12:25 4872d77fe225: Pulling fs layer 05:12:25 5851b861e8e6: Pulling fs layer 05:12:25 1469e6f7b9e6: Waiting 05:12:25 eaf3925da568: Waiting 05:12:25 bab4dde63d76: Waiting 05:12:25 bde34c3a00c8: Waiting 05:12:25 b352a97aabf1: Waiting 05:12:25 4872d77fe225: Waiting 05:12:25 5851b861e8e6: Waiting 05:12:25 988bab9f4d93: Waiting 05:12:25 e2be974225ed: Verifying Checksum 05:12:25 e2be974225ed: Download complete 05:12:25 988bab9f4d93: Download complete 05:12:25 1469e6f7b9e6: Verifying Checksum 05:12:25 1469e6f7b9e6: Download complete 05:12:25 eaf3925da568: Verifying Checksum 05:12:25 eaf3925da568: Download complete 05:12:25 339a4e72a1f5: Verifying Checksum 05:12:25 339a4e72a1f5: Download complete 05:12:26 bde34c3a00c8: Download complete 05:12:26 b352a97aabf1: Verifying Checksum 05:12:26 b352a97aabf1: Download complete 05:12:26 4872d77fe225: Download complete 05:12:26 5851b861e8e6: Verifying Checksum 05:12:26 5851b861e8e6: Download complete 05:12:26 b85a868b505f: Verifying Checksum 05:12:26 b85a868b505f: Download complete 05:12:26 bab4dde63d76: Verifying Checksum 05:12:26 bab4dde63d76: Download complete 05:12:27 b85a868b505f: Pull complete 05:12:27 e2be974225ed: Pull complete 05:12:28 339a4e72a1f5: Pull complete 05:12:28 988bab9f4d93: Pull complete 05:12:28 1469e6f7b9e6: Pull complete 05:12:28 eaf3925da568: Pull complete 05:12:30 bab4dde63d76: Pull complete 05:12:30 bde34c3a00c8: Pull complete 05:12:30 b352a97aabf1: Pull complete 05:12:30 4872d77fe225: Pull complete 05:12:30 5851b861e8e6: Pull complete 05:12:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:12:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:12:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:12:31 prd-ubuntu20.04-docker-8c-8g-9165 does not seem to be running inside a container 05:12:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:12:34 $ docker top 8e943ebf9ec6bd2766b498df6cd37b0738d7e643605dac874ce0d13831850817 -eo pid,comm 05:12:34 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). 05:12:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:12:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:34 [ssh-agent] Looking for ssh-agent implementation... 05:12:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:34 $ docker exec 8e943ebf9ec6bd2766b498df6cd37b0738d7e643605dac874ce0d13831850817 ssh-agent 05:12:34 SSH_AUTH_SOCK=/tmp/ssh-LOG1YPoV6vUK/agent.31 05:12:34 SSH_AGENT_PID=38 05:12:34 Running ssh-add (command line suppressed) 05:12:34 Identity added: /w/workspace/_app-service-configurable_PR-673@tmp/private_key_2571681388282608128.key (/w/workspace/_app-service-configurable_PR-673@tmp/private_key_2571681388282608128.key) 05:12:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:34 + git tag --points-at HEAD [Pipeline] } 05:12:34 $ docker exec --env ******** --env ******** 8e943ebf9ec6bd2766b498df6cd37b0738d7e643605dac874ce0d13831850817 ssh-agent -k 05:12:35 unset SSH_AUTH_SOCK; 05:12:35 unset SSH_AGENT_PID; 05:12:35 echo Agent pid 38 killed; 05:12:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:12:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:12:35 [ssh-agent] Looking for ssh-agent implementation... 05:12:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:12:35 $ docker exec 8e943ebf9ec6bd2766b498df6cd37b0738d7e643605dac874ce0d13831850817 ssh-agent 05:12:35 SSH_AUTH_SOCK=/tmp/ssh-qrReGQOLOsTf/agent.72 05:12:35 SSH_AGENT_PID=78 05:12:35 Running ssh-add (command line suppressed) 05:12:35 Identity added: /w/workspace/_app-service-configurable_PR-673@tmp/private_key_7540098190058232663.key (/w/workspace/_app-service-configurable_PR-673@tmp/private_key_7540098190058232663.key) 05:12:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:12:35 + git semver init 05:12:36 2024-09-02 05:12:35,943 [run_init] DEBUG init version:0.0.0 force:False 05:12:36 2024-09-02 05:12:35,944 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-673/.semver 05:12:36 2024-09-02 05:12:35,944 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-673/.semver 05:12:36 2024-09-02 05:12:35,945 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-673/.semver'], cwd=/w/workspace/_app-service-configurable_PR-673, universal_newlines=False, shell=None, istream=None) 05:12:37 2024-09-02 05:12:36,966 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-673/.git/info/exclude 05:12:37 2024-09-02 05:12:36,967 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-673/.semver/PR-673 with force:False 05:12:37 2024-09-02 05:12:36,967 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-673/.semver/PR-673 05:12:37 2024-09-02 05:12:36,972 [execute] INFO git cat-file --batch-check 05:12:37 2024-09-02 05:12:36,972 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-673/.semver, universal_newlines=False, shell=None, istream=) 05:12:37 2024-09-02 05:12:36,980 [execute] INFO git cat-file --batch 05:12:37 2024-09-02 05:12:36,980 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-673/.semver, universal_newlines=False, shell=None, istream=) 05:12:37 2024-09-02 05:12:36,986 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-673/.semver/PR-673 05:12:37 0.0.0 [Pipeline] } 05:12:37 $ docker exec --env ******** --env ******** 8e943ebf9ec6bd2766b498df6cd37b0738d7e643605dac874ce0d13831850817 ssh-agent -k 05:12:37 unset SSH_AUTH_SOCK; 05:12:37 unset SSH_AGENT_PID; 05:12:37 echo Agent pid 78 killed; 05:12:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:12:37 + git semver [Pipeline] } 05:12:38 $ docker stop --time=1 8e943ebf9ec6bd2766b498df6cd37b0738d7e643605dac874ce0d13831850817 05:12:39 $ docker rm -f --volumes 8e943ebf9ec6bd2766b498df6cd37b0738d7e643605dac874ce0d13831850817 [Pipeline] // withDockerContainer [Pipeline] sh 05:12:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:12:40 Stashed 1 file(s) [Pipeline] echo 05:12:40 [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 05:12:40 provisioning config files... 05:12:40 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config16776579460148652553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:40 ---> ****-login.sh 05:12:40 nexus3.edgexfoundry.org:10001 05:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:40 Configure a credential helper to remove this warning. See 05:12:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:40 05:12:40 Login Succeeded 05:12:40 nexus3.edgexfoundry.org:10002 05:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:40 Configure a credential helper to remove this warning. See 05:12:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:40 05:12:40 Login Succeeded 05:12:40 nexus3.edgexfoundry.org:10003 05:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:40 Configure a credential helper to remove this warning. See 05:12:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:40 05:12:40 Login Succeeded 05:12:40 nexus3.edgexfoundry.org:10004 05:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:41 Configure a credential helper to remove this warning. See 05:12:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:41 05:12:41 Login Succeeded 05:12:41 ****.io 05:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:12:41 Configure a credential helper to remove this warning. See 05:12:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:12:41 05:12:41 Login Succeeded 05:12:41 ---> ****-login.sh ends [Pipeline] } 05:12:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:12:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:12:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:12:41 ========================================================= 05:12:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 05:12:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:12:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:12:41 Sending build context to Docker daemon 9.15MB 05:12:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:12:41 Step 2/12 : FROM ${BASE} AS builder 05:12:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 05:12:41 619be1103602: Pulling fs layer 05:12:41 7862e08f4a3e: Pulling fs layer 05:12:41 5df492c9dc93: Pulling fs layer 05:12:41 7629e6793208: Pulling fs layer 05:12:41 4f4fb700ef54: Pulling fs layer 05:12:41 7629e6793208: Waiting 05:12:41 fb5054dd5b73: Pulling fs layer 05:12:41 eeca6798cff9: Pulling fs layer 05:12:41 aa269ceb94a6: Pulling fs layer 05:12:41 4f4fb700ef54: Waiting 05:12:41 eeca6798cff9: Waiting 05:12:41 fb5054dd5b73: Waiting 05:12:41 aa269ceb94a6: Waiting 05:12:41 ada007ff1a6a: Pulling fs layer 05:12:41 7862e08f4a3e: Verifying Checksum 05:12:41 7862e08f4a3e: Download complete 05:12:41 7629e6793208: Verifying Checksum 05:12:41 7629e6793208: Download complete 05:12:42 4f4fb700ef54: Verifying Checksum 05:12:42 4f4fb700ef54: Download complete 05:12:42 fb5054dd5b73: Verifying Checksum 05:12:42 fb5054dd5b73: Download complete 05:12:42 619be1103602: Verifying Checksum 05:12:42 619be1103602: Download complete 05:12:42 eeca6798cff9: Verifying Checksum 05:12:42 eeca6798cff9: Download complete 05:12:42 619be1103602: Pull complete 05:12:42 ada007ff1a6a: Verifying Checksum 05:12:42 ada007ff1a6a: Download complete 05:12:42 7862e08f4a3e: Pull complete 05:12:42 5df492c9dc93: Verifying Checksum 05:12:42 5df492c9dc93: Download complete 05:12:43 aa269ceb94a6: Verifying Checksum 05:12:43 aa269ceb94a6: Download complete 05:12:46 5df492c9dc93: Pull complete 05:12:46 7629e6793208: Pull complete 05:12:46 4f4fb700ef54: Pull complete 05:12:46 fb5054dd5b73: Pull complete 05:12:46 eeca6798cff9: Pull complete 05:12:48 aa269ceb94a6: Pull complete 05:12:49 ada007ff1a6a: Pull complete 05:12:49 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 05:12:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 05:12:49 ---> f489d0715acc 05:12:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 05:12:53 ---> Running in 8afecae39692 05:12:53 Removing intermediate container 8afecae39692 05:12:53 ---> 1ef00406abce 05:12:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:12:53 ---> Running in 6195d31d1b4c 05:12:53 Removing intermediate container 6195d31d1b4c 05:12:53 ---> ab0d5f409771 05:12:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:12:53 ---> Running in 1bd6eb201416 05:12:53 Removing intermediate container 1bd6eb201416 05:12:53 ---> 488689a5b189 05:12:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:12:53 ---> Running in 4607acc21007 05:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:12:54 OK: 264 MiB in 52 packages 05:12:54 Removing intermediate container 4607acc21007 05:12:54 ---> 1110d27e00c5 05:12:54 Step 7/12 : WORKDIR /app 05:12:54 ---> Running in a1d05fa90fde 05:12:54 Removing intermediate container a1d05fa90fde 05:12:54 ---> 49b7f9b2d3e9 05:12:54 Step 8/12 : COPY go.mod vendor* ./ 05:12:55 ---> 46da095e7d67 05:12:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:55 ---> Running in 75957c7679e9 05:12:55 Still waiting to schedule task 05:12:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9162’ 05:13:51 Removing intermediate container 75957c7679e9 05:13:51 ---> 21690a128dfa 05:13:51 Step 10/12 : COPY . . 05:13:52 ---> f9a64a692963 05:13:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:13:52 ---> Running in fcc8e8708428 05:13:52 Removing intermediate container fcc8e8708428 05:13:52 ---> f20d5fc8b05e 05:13:52 Step 12/12 : RUN $MAKE 05:13:52 ---> Running in e5bd88b3abbc 05:13:52 noop 05:13:52 Removing intermediate container e5bd88b3abbc 05:13:52 ---> 1fe2447235fa 05:13:52 Successfully built 1fe2447235fa 05:13:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:53 + docker inspect -f . ci-base-image-x86_64 05:13:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:53 prd-ubuntu20.04-docker-8c-8g-9165 does not seem to be running inside a container 05:13:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:13:53 $ docker top 0772bf647be3a383b012df5888b22be61ba191a3a394c1df66b1a32b1ba8caaa -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:53 + go version 05:13:53 go version go1.21.9 linux/amd64 [Pipeline] } 05:13:53 $ docker stop --time=1 0772bf647be3a383b012df5888b22be61ba191a3a394c1df66b1a32b1ba8caaa 05:13:55 $ docker rm -f --volumes 0772bf647be3a383b012df5888b22be61ba191a3a394c1df66b1a32b1ba8caaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:55 + docker inspect -f . ci-base-image-x86_64 05:13:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:55 prd-ubuntu20.04-docker-8c-8g-9165 does not seem to be running inside a container 05:13:55 $ 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-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:13:56 $ docker top 0b19b568294400571b24b9926ac45f2459ea37b71a11e3797b5a0258d98c7dd6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:56 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-673 [Pipeline] fileExists [Pipeline] sh 05:13:56 + make test 05:13:56 go test -race -coverprofile=coverage.out ./... 05:14:28 ? github.com/edgexfoundry/app-service-configurable [no test files] 05:15:00 go vet ./... 05:15:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:15:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:15:01 ./bin/test-attribution-txt.sh 05:15:01 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 05:15:01 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:15:01 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [Pipeline] echo 05:15:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:15:01 $ docker stop --time=1 0b19b568294400571b24b9926ac45f2459ea37b71a11e3797b5a0258d98c7dd6 05:15:05 $ docker rm -f --volumes 0b19b568294400571b24b9926ac45f2459ea37b71a11e3797b5a0258d98c7dd6 [Pipeline] // withDockerContainer [Pipeline] sh 05:15:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:15:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:15:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:15:07 + ls -al . 05:15:07 total 260 05:15:07 drwxrwxr-x 7 jenkins jenkins 4096 Sep 2 05:13 . 05:15:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 05:12 .. 05:15:07 -rw-rw-r-- 1 jenkins jenkins 119 Sep 2 05:12 .dockerignore 05:15:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 05:14 .git 05:15:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 05:12 .github 05:15:07 -rw-rw-r-- 1 jenkins jenkins 106 Sep 2 05:12 .gitignore 05:15:07 -rw-rw-r-- 1 jenkins jenkins 41 Sep 2 05:12 .golangci.yml 05:15:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 05:12 .semver 05:15:07 -rw-rw-r-- 1 jenkins jenkins 18981 Sep 2 05:12 Attribution.txt 05:15:07 -rw-rw-r-- 1 jenkins jenkins 37263 Sep 2 05:12 CHANGELOG.md 05:15:07 -rw-rw-r-- 1 jenkins jenkins 2007 Sep 2 05:12 Dockerfile 05:15:07 -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 05:12 GOVERNANCE.md 05:15:07 -rw-rw-r-- 1 jenkins jenkins 666 Sep 2 05:12 Jenkinsfile 05:15:07 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 2 05:12 LICENSE 05:15:07 -rw-rw-r-- 1 jenkins jenkins 618 Sep 2 05:12 OWNERS.md 05:15:07 -rw-rw-r-- 1 jenkins jenkins 4582 Sep 2 05:12 README.md 05:15:07 -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 05:12 VERSION 05:15:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 05:12 bin 05:15:07 -rw-r--r-- 1 jenkins jenkins 13 Sep 2 05:13 coverage.out 05:15:07 -rw-rw-r-- 1 jenkins jenkins 7048 Sep 2 05:12 go.mod 05:15:07 -rw-rw-r-- 1 jenkins jenkins 101448 Sep 2 05:12 go.sum 05:15:07 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 2 05:12 main.go 05:15:07 -rw-rw-r-- 1 jenkins jenkins 2572 Sep 2 05:12 makefile 05:15:07 drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 05:12 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:07 + 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=fae340c90b373e2a95d5531951e35646ccdb79af --label arch=amd64 --label version=0.0.0 . 05:15:07 Sending build context to Docker daemon 9.151MB 05:15:07 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 05:15:07 Step 2/27 : FROM ${BASE} AS builder 05:15:07 ---> 1fe2447235fa 05:15:07 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 05:15:07 ---> Running in 6f7999b796c6 05:15:07 Removing intermediate container 6f7999b796c6 05:15:07 ---> 5fa73f2b635f 05:15:07 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 05:15:07 ---> Running in a64bc6dc6021 05:15:07 Removing intermediate container a64bc6dc6021 05:15:07 ---> ee82d3bf1f33 05:15:07 Step 5/27 : ARG ADD_BUILD_TAGS="" 05:15:07 ---> Running in 71ff9109a264 05:15:08 Removing intermediate container 71ff9109a264 05:15:08 ---> 0f284cf12db4 05:15:08 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:15:08 ---> Running in efff389179ba 05:15:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:15:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:15:08 OK: 264 MiB in 52 packages 05:15:08 Removing intermediate container efff389179ba 05:15:08 ---> cd46127b3f4c 05:15:08 Step 7/27 : WORKDIR /app 05:15:08 ---> Running in 4b21e6d212f4 05:15:08 Removing intermediate container 4b21e6d212f4 05:15:08 ---> 77080a07f5bf 05:15:08 Step 8/27 : COPY go.mod vendor* ./ 05:15:09 ---> 341d568cdabe 05:15:09 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:15:09 ---> Running in 8387eeef5b9e 05:15:09 Removing intermediate container 8387eeef5b9e 05:15:09 ---> 58a6ed9d2156 05:15:09 Step 10/27 : COPY . . 05:15:10 ---> a69d9b6540f6 05:15:10 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:15:10 ---> Running in 66165048633a 05:15:10 Removing intermediate container 66165048633a 05:15:10 ---> b790d14e952e 05:15:10 Step 12/27 : RUN $MAKE 05:15:10 ---> Running in 71c874a9c8bf 05:15:10 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.48 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:15:42 Removing intermediate container 71c874a9c8bf 05:15:42 ---> 269f57effa8c 05:15:42 Step 13/27 : FROM alpine:3.18 05:15:42 3.18: Pulling from library/alpine 05:15:42 930bdd4d222e: Pulling fs layer 05:15:42 930bdd4d222e: Verifying Checksum 05:15:42 930bdd4d222e: Download complete 05:15:42 930bdd4d222e: Pull complete 05:15:42 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 05:15:42 Status: Downloaded newer image for alpine:3.18 05:15:42 ---> 18f865063206 05:15:42 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:15:42 ---> Running in 05de7e05052d 05:15:42 Removing intermediate container 05de7e05052d 05:15:42 ---> a5fed7107108 05:15:42 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 05:15:42 ---> Running in 44f1aa4109ac 05:15:42 Removing intermediate container 44f1aa4109ac 05:15:42 ---> a8414820a973 05:15:42 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 05:15:42 ---> Running in 0aa3c39e1bb0 05:15:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:15:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:15:42 (1/2) Installing ca-certificates (20240226-r0) 05:15:42 (2/2) Installing dumb-init (1.2.5-r2) 05:15:42 Executing busybox-1.36.1-r7.trigger 05:15:42 Executing ca-certificates-20240226-r0.trigger 05:15:42 OK: 8 MiB in 17 packages 05:15:42 Removing intermediate container 0aa3c39e1bb0 05:15:42 ---> e14416fea441 05:15:42 Step 17/27 : RUN apk --no-cache upgrade 05:15:42 ---> Running in 77ab2378a231 05:15:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:15:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:15:42 OK: 8 MiB in 17 packages 05:15:42 Removing intermediate container 77ab2378a231 05:15:42 ---> b6baa2114f26 05:15:42 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:15:42 ---> 8598c1142ba5 05:15:42 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 05:15:42 ---> 01d27faaca86 05:15:42 Step 20/27 : COPY --from=builder /app/res/ /res/ 05:15:43 ---> 0f63c4586640 05:15:43 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:15:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9166 in /w/workspace/_app-service-configurable_PR-673 [Pipeline] { [Pipeline] ws 05:15:43 Running in /w/workspace/app-service-configurable/4 [Pipeline] { [Pipeline] checkout 05:15:43 The recommended git tool is: git 05:15:44 ---> 46f8294b65a5 05:15:44 Step 22/27 : EXPOSE 48095 05:15:44 ---> Running in 204bfecaf018 05:15:44 Removing intermediate container 204bfecaf018 05:15:44 ---> 8adbdd84f79d 05:15:44 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 05:15:44 ---> Running in 15f2960a9988 05:15:44 Removing intermediate container 15f2960a9988 05:15:44 ---> 358ac1f40dd4 05:15:44 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:15:44 ---> Running in d3fd927e96df 05:15:44 Removing intermediate container d3fd927e96df 05:15:44 ---> 6b88fb339021 05:15:44 Step 25/27 : LABEL arch=amd64 05:15:44 ---> Running in b8e0e68a751b 05:15:44 Removing intermediate container b8e0e68a751b 05:15:44 ---> a2ad19ae4223 05:15:44 Step 26/27 : LABEL git_sha=fae340c90b373e2a95d5531951e35646ccdb79af 05:15:44 ---> Running in 969ce4bedca6 05:15:44 Removing intermediate container 969ce4bedca6 05:15:44 ---> 2001a112c906 05:15:44 Step 27/27 : LABEL version=0.0.0 05:15:44 ---> Running in 638011cf2c02 05:15:44 Removing intermediate container 638011cf2c02 05:15:44 ---> 5954644240f4 05:15:44 [Warning] One or more build-args [ARCH] were not consumed 05:15:44 Successfully built 5954644240f4 05:15:44 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:45 05:15:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:15:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:45 latest: Pulling from edgex-lftools-log-publisher 05:15:45 5eb5b503b376: Pulling fs layer 05:15:45 5c69ac0246d0: Pulling fs layer 05:15:45 ec43610c2a17: Pulling fs layer 05:15:45 3a2ae6a8a46f: Pulling fs layer 05:15:45 33b1e0a273af: Pulling fs layer 05:15:45 5d3b04190fa2: Pulling fs layer 05:15:45 2f39f015ded8: Pulling fs layer 05:15:45 5d3b04190fa2: Waiting 05:15:45 33b1e0a273af: Waiting 05:15:45 2f39f015ded8: Waiting 05:15:45 5c69ac0246d0: Verifying Checksum 05:15:45 5c69ac0246d0: Download complete 05:15:45 3a2ae6a8a46f: Download complete 05:15:45 33b1e0a273af: Verifying Checksum 05:15:45 33b1e0a273af: Download complete 05:15:45 5d3b04190fa2: Verifying Checksum 05:15:45 5d3b04190fa2: Download complete 05:15:45 ec43610c2a17: Verifying Checksum 05:15:45 ec43610c2a17: Download complete 05:15:45 5eb5b503b376: Verifying Checksum 05:15:45 5eb5b503b376: Download complete 05:15:46 2f39f015ded8: Verifying Checksum 05:15:46 2f39f015ded8: Download complete 05:15:46 5eb5b503b376: Pull complete 05:15:47 5c69ac0246d0: Pull complete 05:15:47 ec43610c2a17: Pull complete 05:15:47 3a2ae6a8a46f: Pull complete 05:15:47 33b1e0a273af: Pull complete 05:15:47 5d3b04190fa2: Pull complete 05:15:51 using credential edgex-jenkins-ssh 05:15:51 Cloning the remote Git repository 05:15:51 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 05:15:51 > git init /w/workspace/app-service-configurable/4 # timeout=10 05:15:51 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 05:15:51 > git --version # timeout=10 05:15:51 > git --version # 'git version 2.25.1' 05:15:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:53 2f39f015ded8: Pull complete 05:15:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:15:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:15:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:15:54 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 05:15:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:56 Merging remotes/origin/main commit 73e85768b09e7a901a474aca8d4c5663b6c61c92 into PR head commit fae340c90b373e2a95d5531951e35646ccdb79af 05:15:56 Merge succeeded, producing fae340c90b373e2a95d5531951e35646ccdb79af 05:15:56 Checking out Revision fae340c90b373e2a95d5531951e35646ccdb79af (PR-673) 05:15:55 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 05:15:55 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 05:15:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/673/head:refs/remotes/origin/PR-673 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:15:56 > git config core.sparsecheckout # timeout=10 05:15:56 > git checkout -f fae340c90b373e2a95d5531951e35646ccdb79af # timeout=10 05:15:56 > git remote # timeout=10 05:15:56 > git config --get remote.origin.url # timeout=10 05:15:56 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:56 > git merge 73e85768b09e7a901a474aca8d4c5663b6c61c92 # timeout=10 05:15:56 > git rev-parse HEAD^{commit} # timeout=10 05:15:56 > git config core.sparsecheckout # timeout=10 05:15:56 > git checkout -f fae340c90b373e2a95d5531951e35646ccdb79af # timeout=10 05:15:57 Commit message: "fix: Add the created column in store table" 05:15:57 prd-ubuntu20.04-docker-8c-8g-9165 does not seem to be running inside a container 05:15:59 $ 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-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:02 05:16:02 GitHub has been notified of this commit’s build result 05:16:02 05:16:03 $ docker top 46f09fbb2447b9ae4a9724c14581c8a70439a2e940a74cd8588fceb091c8f958 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:16:03 ---> job-cost.sh 05:16:03 lf-activate-venv: SKIPPING 05:16:03 INFO: No Stack... 05:16:03 INFO: Retrieving Pricing Info for: v3-standard-8 05:16:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:16:03 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:03 Dload Upload Total Spent Left Speed 05:16:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 117k [Pipeline] sh 05:16:04 INFO: Archiving Costs [Pipeline] sh 05:16:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:16:04 + cat /w/workspace/_app-service-configurable_PR-673/archives/cost.csv 05:16:04 + cut -d, -f6 [Pipeline] lock 05:16:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-4-stack-cost] 05:16:04 Resource [jenkins-edgexfoundry-app-service-configurable-PR-673-4-stack-cost] did not exist. Created. 05:16:04 Lock acquired on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:16:04 + sudo tee /etc/docker/daemon.new 05:16:04 { 05:16:04 "registry-mirrors": [ 05:16:04 "https://nexus3.edgexfoundry.org:10001" 05:16:04 ], 05:16:04 "bip": "10.250.0.254/24", 05:16:04 "hosts": [ 05:16:04 "tcp://0.0.0.0:5555", 05:16:04 "unix:///var/run/docker.sock" 05:16:04 ], 05:16:04 "mtu": 1458, 05:16:04 "selinux-enabled": true, 05:16:04 "seccomp-profile": "/etc/docker/seccomp.json" 05:16:04 } [Pipeline] sh 05:16:04 + echo total: 0.2199999988079071 [Pipeline] stash 05:16:04 Stashed 1 file(s) [Pipeline] } 05:16:04 Lock released on resource [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:04 $ docker stop --time=1 46f09fbb2447b9ae4a9724c14581c8a70439a2e940a74cd8588fceb091c8f958 05:16:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 05:16:06 $ docker rm -f --volumes 46f09fbb2447b9ae4a9724c14581c8a70439a2e940a74cd8588fceb091c8f958 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:16:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:24 provisioning config files... 05:16:24 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/4@tmp/config6225596216463159528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:25 ---> ****-login.sh 05:16:25 nexus3.edgexfoundry.org:10001 05:16:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:16:26 Configure a credential helper to remove this warning. See 05:16:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:16:26 05:16:26 Login Succeeded 05:16:26 nexus3.edgexfoundry.org:10002 05:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:16:26 Configure a credential helper to remove this warning. See 05:16:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:16:26 05:16:26 Login Succeeded 05:16:26 nexus3.edgexfoundry.org:10003 05:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:16:26 Configure a credential helper to remove this warning. See 05:16:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:16:26 05:16:26 Login Succeeded 05:16:26 nexus3.edgexfoundry.org:10004 05:16:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:16:26 Configure a credential helper to remove this warning. See 05:16:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:16:26 05:16:26 Login Succeeded 05:16:26 ****.io 05:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:16:27 Configure a credential helper to remove this warning. See 05:16:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:16:27 05:16:27 Login Succeeded 05:16:27 ---> ****-login.sh ends [Pipeline] } 05:16:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:16:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:16:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:16:27 ========================================================= 05:16:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 05:16:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 05:16:28 Sending build context to Docker daemon 241.2kB 05:16:28 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 05:16:28 Step 2/12 : FROM ${BASE} AS builder 05:16:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:16:28 c6b39de5b339: Pulling fs layer 05:16:28 a69c41024577: Pulling fs layer 05:16:28 d6de4b400683: Pulling fs layer 05:16:28 35cb2a7552d0: Pulling fs layer 05:16:28 4f4fb700ef54: Pulling fs layer 05:16:28 464afbd9ba4c: Pulling fs layer 05:16:28 00f215d4a9da: Pulling fs layer 05:16:28 d496ad576159: Pulling fs layer 05:16:28 35cb2a7552d0: Waiting 05:16:28 464afbd9ba4c: Waiting 05:16:28 4f4fb700ef54: Waiting 05:16:28 d496ad576159: Waiting 05:16:28 00f215d4a9da: Waiting 05:16:28 a69c41024577: Download complete 05:16:28 35cb2a7552d0: Verifying Checksum 05:16:28 35cb2a7552d0: Download complete 05:16:28 4f4fb700ef54: Verifying Checksum 05:16:28 4f4fb700ef54: Download complete 05:16:28 464afbd9ba4c: Verifying Checksum 05:16:28 464afbd9ba4c: Download complete 05:16:28 c6b39de5b339: Verifying Checksum 05:16:28 c6b39de5b339: Download complete 05:16:29 d496ad576159: Verifying Checksum 05:16:29 d496ad576159: Download complete 05:16:29 c6b39de5b339: Pull complete 05:16:30 a69c41024577: Pull complete 05:16:30 d6de4b400683: Download complete 05:16:31 00f215d4a9da: Verifying Checksum 05:16:31 00f215d4a9da: Download complete 05:16:44 d6de4b400683: Pull complete 05:16:44 35cb2a7552d0: Pull complete 05:16:44 4f4fb700ef54: Pull complete 05:16:44 464afbd9ba4c: Pull complete 05:16:52 00f215d4a9da: Pull complete 05:16:53 d496ad576159: Pull complete 05:16:53 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 05:16:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 05:16:53 ---> f246e2811388 05:16:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 05:16:55 ---> Running in 94ca109ed6c2 05:16:55 Removing intermediate container 94ca109ed6c2 05:16:55 ---> 858543d6a41f 05:16:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:16:55 ---> Running in 26b8f66603e4 05:16:56 Removing intermediate container 26b8f66603e4 05:16:56 ---> d1155e39d162 05:16:56 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:16:56 ---> Running in 55873f3a6a61 05:16:56 Removing intermediate container 55873f3a6a61 05:16:56 ---> abb9f6a20191 05:16:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:16:56 ---> Running in e6c11baf395c 05:16:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:16:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:16:59 OK: 266 MiB in 52 packages 05:16:59 Removing intermediate container e6c11baf395c 05:16:59 ---> d82629463bed 05:16:59 Step 7/12 : WORKDIR /app 05:16:59 ---> Running in b9f98056bbb1 05:17:00 Removing intermediate container b9f98056bbb1 05:17:00 ---> 42e2a40a05f4 05:17:00 Step 8/12 : COPY go.mod vendor* ./ 05:17:00 ---> eb26e477a39c 05:17:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:17:00 ---> Running in fed2de026ac9 05:18:52 Removing intermediate container fed2de026ac9 05:18:52 ---> ed12c9e545c4 05:18:52 Step 10/12 : COPY . . 05:18:52 ---> 1778021293d4 05:18:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:18:52 ---> Running in 395f952e6a41 05:18:52 Removing intermediate container 395f952e6a41 05:18:52 ---> fa7fdd608856 05:18:52 Step 12/12 : RUN $MAKE 05:18:52 ---> Running in 43cb066fb786 05:18:52 noop 05:18:52 Removing intermediate container 43cb066fb786 05:18:52 ---> 97a4a23023ba 05:18:52 Successfully built 97a4a23023ba 05:18:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:52 + docker inspect -f . ci-base-image-arm64 05:18:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:52 prd-ubuntu20.04-docker-arm64-4c-16g-9166 does not seem to be running inside a container 05:18:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:18:54 $ docker top 684415db4555d3f0b3bcefe53413f2d833003eca5ba3770fcaab6a5eed196a89 -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:55 + go version 05:18:55 go version go1.21.9 linux/arm64 [Pipeline] } 05:18:55 $ docker stop --time=1 684415db4555d3f0b3bcefe53413f2d833003eca5ba3770fcaab6a5eed196a89 05:18:56 $ docker rm -f --volumes 684415db4555d3f0b3bcefe53413f2d833003eca5ba3770fcaab6a5eed196a89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:57 + docker inspect -f . ci-base-image-arm64 05:18:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:57 prd-ubuntu20.04-docker-arm64-4c-16g-9166 does not seem to be running inside a container 05:18:57 $ 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/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:18:58 $ docker top 03903f4ec26b56dc1315b018ab7944be904970c64c48fd564d9dab6a21c8f30e -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:59 + git config --global --add safe.directory /w/workspace/app-service-configurable/4 [Pipeline] fileExists [Pipeline] sh 05:19:00 + make test 05:19:00 go test -race -coverprofile=coverage.out ./... 05:22:52 ? github.com/edgexfoundry/app-service-configurable [no test files] 05:22:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:22:52 go vet ./... 05:26:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:26:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:26:28 ./bin/test-attribution-txt.sh 05:26:28 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 05:26:28 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 05:26:28 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [Pipeline] echo 05:26:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:26:29 $ docker stop --time=1 03903f4ec26b56dc1315b018ab7944be904970c64c48fd564d9dab6a21c8f30e 05:26:30 $ docker rm -f --volumes 03903f4ec26b56dc1315b018ab7944be904970c64c48fd564d9dab6a21c8f30e [Pipeline] // withDockerContainer [Pipeline] sh 05:26:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:26:32 Warning: overwriting stash ‘coverage-report’ 05:26:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:26:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:26:34 + ls -al . 05:26:34 total 256 05:26:34 drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 05:19 . 05:26:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 05:15 .. 05:26:34 -rw-rw-r-- 1 jenkins jenkins 119 Sep 2 05:15 .dockerignore 05:26:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 05:16 .git 05:26:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 05:15 .github 05:26:34 -rw-rw-r-- 1 jenkins jenkins 106 Sep 2 05:15 .gitignore 05:26:34 -rw-rw-r-- 1 jenkins jenkins 41 Sep 2 05:15 .golangci.yml 05:26:34 -rw-rw-r-- 1 jenkins jenkins 18981 Sep 2 05:15 Attribution.txt 05:26:34 -rw-rw-r-- 1 jenkins jenkins 37263 Sep 2 05:15 CHANGELOG.md 05:26:34 -rw-rw-r-- 1 jenkins jenkins 2007 Sep 2 05:15 Dockerfile 05:26:34 -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 05:15 GOVERNANCE.md 05:26:34 -rw-rw-r-- 1 jenkins jenkins 666 Sep 2 05:15 Jenkinsfile 05:26:34 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 2 05:15 LICENSE 05:26:34 -rw-rw-r-- 1 jenkins jenkins 618 Sep 2 05:15 OWNERS.md 05:26:34 -rw-rw-r-- 1 jenkins jenkins 4582 Sep 2 05:15 README.md 05:26:34 -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 05:12 VERSION 05:26:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 05:15 bin 05:26:34 -rw-r--r-- 1 jenkins jenkins 13 Sep 2 05:19 coverage.out 05:26:34 -rw-rw-r-- 1 jenkins jenkins 7048 Sep 2 05:15 go.mod 05:26:34 -rw-rw-r-- 1 jenkins jenkins 101448 Sep 2 05:15 go.sum 05:26:34 -rw-rw-r-- 1 jenkins jenkins 1937 Sep 2 05:15 main.go 05:26:34 -rw-rw-r-- 1 jenkins jenkins 2572 Sep 2 05:15 makefile 05:26:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 05:15 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:34 + 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=fae340c90b373e2a95d5531951e35646ccdb79af --label arch=arm64 --label version=0.0.0 . 05:26:34 Sending build context to Docker daemon 242.2kB 05:26:34 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 05:26:34 Step 2/27 : FROM ${BASE} AS builder 05:26:34 ---> 97a4a23023ba 05:26:34 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 05:26:34 ---> Running in 39907dcc8f84 05:26:34 Removing intermediate container 39907dcc8f84 05:26:34 ---> 9647b0b5d927 05:26:34 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 05:26:35 ---> Running in 6ef22fb408ea 05:26:35 Removing intermediate container 6ef22fb408ea 05:26:35 ---> 4e415d1301d4 05:26:35 Step 5/27 : ARG ADD_BUILD_TAGS="" 05:26:35 ---> Running in afeaca81a580 05:26:35 Removing intermediate container afeaca81a580 05:26:35 ---> f120dba91cc4 05:26:35 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:26:35 ---> Running in 794bc73bc9f9 05:26:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:26:38 OK: 266 MiB in 52 packages 05:26:38 Removing intermediate container 794bc73bc9f9 05:26:38 ---> 7aa025fb709d 05:26:38 Step 7/27 : WORKDIR /app 05:26:38 ---> Running in a8ffa8767f82 05:26:39 Removing intermediate container a8ffa8767f82 05:26:39 ---> dfe388a142c6 05:26:39 Step 8/27 : COPY go.mod vendor* ./ 05:26:39 ---> d8d540ecd951 05:26:39 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:26:39 ---> Running in fe1de8bf14b1 05:26:42 Removing intermediate container fe1de8bf14b1 05:26:42 ---> 1256fd53d2ca 05:26:42 Step 10/27 : COPY . . 05:26:43 ---> ea7970d5480c 05:26:43 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:26:43 ---> Running in a3657edcd545 05:26:43 Removing intermediate container a3657edcd545 05:26:43 ---> 8495363b7761 05:26:43 Step 12/27 : RUN $MAKE 05:26:43 ---> Running in dc9116397e29 05:26:44 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.48 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:30:21 Removing intermediate container dc9116397e29 05:30:21 ---> bb8625dfb1d8 05:30:21 Step 13/27 : FROM alpine:3.18 05:30:21 3.18: Pulling from library/alpine 05:30:21 4983c3fe2029: Pulling fs layer 05:30:21 4983c3fe2029: Verifying Checksum 05:30:21 4983c3fe2029: Download complete 05:30:21 4983c3fe2029: Pull complete 05:30:21 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 05:30:21 Status: Downloaded newer image for alpine:3.18 05:30:21 ---> a0237000ae83 05:30:21 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:30:21 ---> Running in 49b7d9660f99 05:30:21 Removing intermediate container 49b7d9660f99 05:30:21 ---> ed2e2dc11f8d 05:30:21 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 05:30:21 ---> Running in eec821565090 05:30:21 Removing intermediate container eec821565090 05:30:21 ---> ebd130518884 05:30:21 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 05:30:21 ---> Running in 76a90a92d52f 05:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:30:21 (1/2) Installing ca-certificates (20240226-r0) 05:30:21 (2/2) Installing dumb-init (1.2.5-r2) 05:30:21 Executing busybox-1.36.1-r7.trigger 05:30:21 Executing ca-certificates-20240226-r0.trigger 05:30:21 OK: 9 MiB in 17 packages 05:30:21 Removing intermediate container 76a90a92d52f 05:30:21 ---> bd332386b834 05:30:21 Step 17/27 : RUN apk --no-cache upgrade 05:30:21 ---> Running in adc8b8da2273 05:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:30:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:30:21 OK: 9 MiB in 17 packages 05:30:21 Removing intermediate container adc8b8da2273 05:30:21 ---> d32f5d3a3b07 05:30:21 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:30:21 ---> 0152f57ca0ab 05:30:21 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 05:30:21 ---> 543493af080e 05:30:21 Step 20/27 : COPY --from=builder /app/res/ /res/ 05:30:21 ---> 3eac87610e5d 05:30:21 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:30:21 ---> 885eaf8a732c 05:30:21 Step 22/27 : EXPOSE 48095 05:30:21 ---> Running in 1f4f710baf3a 05:30:21 Removing intermediate container 1f4f710baf3a 05:30:21 ---> 98c0dc1c6d82 05:30:21 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 05:30:21 ---> Running in afca2dde118d 05:30:21 Removing intermediate container afca2dde118d 05:30:21 ---> 6489e4510306 05:30:21 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:30:21 ---> Running in 56f7df651a47 05:30:21 Removing intermediate container 56f7df651a47 05:30:21 ---> 02b595737bdc 05:30:21 Step 25/27 : LABEL arch=arm64 05:30:21 ---> Running in e01fb84eab52 05:30:21 Removing intermediate container e01fb84eab52 05:30:21 ---> b46da2c735f7 05:30:21 Step 26/27 : LABEL git_sha=fae340c90b373e2a95d5531951e35646ccdb79af 05:30:21 ---> Running in 1fd5ffe48821 05:30:21 Removing intermediate container 1fd5ffe48821 05:30:21 ---> 1b0d36a8f23c 05:30:21 Step 27/27 : LABEL version=0.0.0 05:30:21 ---> Running in 56811b0252f1 05:30:21 Removing intermediate container 56811b0252f1 05:30:21 ---> e338d567fcc8 05:30:21 [Warning] One or more build-args [ARCH] were not consumed 05:30:21 Successfully built e338d567fcc8 05:30:21 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:30:22 05:30:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:30:22 arm64: Pulling from edgex-lftools-log-publisher 05:30:22 8998bd30e6a1: Pulling fs layer 05:30:22 04944245beec: Pulling fs layer 05:30:22 699f458cf7ca: Pulling fs layer 05:30:22 765212b225bb: Pulling fs layer 05:30:22 f23df028b6ca: Pulling fs layer 05:30:22 d65c8cfc05b1: Pulling fs layer 05:30:22 2437ff75d9bd: Pulling fs layer 05:30:22 765212b225bb: Waiting 05:30:22 f23df028b6ca: Waiting 05:30:22 2437ff75d9bd: Waiting 05:30:22 d65c8cfc05b1: Waiting 05:30:22 04944245beec: Verifying Checksum 05:30:22 04944245beec: Download complete 05:30:22 765212b225bb: Verifying Checksum 05:30:22 765212b225bb: Download complete 05:30:22 f23df028b6ca: Verifying Checksum 05:30:22 f23df028b6ca: Download complete 05:30:22 d65c8cfc05b1: Verifying Checksum 05:30:22 d65c8cfc05b1: Download complete 05:30:23 699f458cf7ca: Verifying Checksum 05:30:23 699f458cf7ca: Download complete 05:30:23 8998bd30e6a1: Verifying Checksum 05:30:23 8998bd30e6a1: Download complete 05:30:25 2437ff75d9bd: Verifying Checksum 05:30:25 2437ff75d9bd: Download complete 05:30:27 8998bd30e6a1: Pull complete 05:30:28 04944245beec: Pull complete 05:30:29 699f458cf7ca: Pull complete 05:30:30 765212b225bb: Pull complete 05:30:31 f23df028b6ca: Pull complete 05:30:31 d65c8cfc05b1: Pull complete 05:30:49 2437ff75d9bd: Pull complete 05:30:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:30:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:30:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:49 prd-ubuntu20.04-docker-arm64-4c-16g-9166 does not seem to be running inside a container 05:30:49 $ 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/4 -v /w/workspace/app-service-configurable/4:/w/workspace/app-service-configurable/4:rw,z -v /w/workspace/app-service-configurable/4@tmp:/w/workspace/app-service-configurable/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:30:52 $ docker top 53c6a33dfb84ea82030f858368414c38aa100fb73d83353f24325c88b94bbb2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:53 ---> job-cost.sh 05:30:53 lf-activate-venv: SKIPPING 05:30:53 INFO: No Stack... 05:30:53 INFO: Retrieving Pricing Info for: v3-standard-4 05:30:54 INFO: Archiving Costs [Pipeline] sh 05:30:55 + cat /w/workspace/app-service-configurable/4/archives/cost.csv 05:30:55 + cut -d, -f6 [Pipeline] lock 05:30:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-4-stack-cost] 05:30:55 Resource [jenkins-edgexfoundry-app-service-configurable-PR-673-4-stack-cost] did not exist. Created. 05:30:55 Lock acquired on [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:30:56 /w/workspace/app-service-configurable/4@tmp/durable-999f88e1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:30:56 + echo total: 0.10999999940395355 [Pipeline] stash 05:30:56 Warning: overwriting stash ‘stack-cost’ 05:30:57 Stashed 1 file(s) [Pipeline] } 05:30:57 Lock released on resource [Resource: jenkins-edgexfoundry-app-service-configurable-PR-673-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:30:57 $ docker stop --time=1 53c6a33dfb84ea82030f858368414c38aa100fb73d83353f24325c88b94bbb2b 05:30:58 $ docker rm -f --volumes 53c6a33dfb84ea82030f858368414c38aa100fb73d83353f24325c88b94bbb2b [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 05:30:59 provisioning config files... 05:30:59 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config3644834176741644703tmp [Pipeline] { [Pipeline] sh 05:30:59 + set +x 05:30:59 + curl -s https://codecov.io/bash 05:30:59 + bash -s -- 05:30:59 05:30:59 _____ _ 05:30:59 / ____| | | 05:30:59 | | ___ __| | ___ ___ _____ __ 05:30:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:30:59 | |___| (_) | (_| | __/ (_| (_) \ V / 05:30:59 \_____\___/ \__,_|\___|\___\___/ \_/ 05:30:59 Bash-1.0.6 05:30:59 05:30:59 05:30:59 ==> git version 2.25.1 found 05:30:59 ==> 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 05:30:59 Release-Date: 2020-01-08 05:30:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:30:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:30:59 ==> Jenkins CI detected. 05:30:59 current dir:  /w/workspace/_app-service-configurable_PR-673 05:30:59 project root: . 05:30:59 --> token set from env 05:30:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:30:59 ==> Running gcov in . (disable via -X gcov) 05:30:59 ==> Python coveragepy not found 05:30:59 ==> Searching for coverage reports in: 05:30:59 + . 05:30:59 -> Found 1 reports 05:30:59 ==> Detecting git/mercurial file structure 05:30:59 ==> Reading reports 05:30:59 + ./coverage.out bytes=13 05:30:59 ==> Appending adjustments 05:30:59 https://docs.codecov.io/docs/fixing-reports 05:30:59 + Found adjustments 05:30:59 ==> Gzipping contents 05:30:59 4.0K /tmp/codecov.TR97hO.gz 05:30:59 ==> Uploading reports 05:30:59 url: https://codecov.io 05:30:59 query: branch=PR-673&commit=fae340c90b373e2a95d5531951e35646ccdb79af&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-673%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=673&job=&cmd_args= 05:30:59 -> Pinging Codecov 05:30:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-673&commit=fae340c90b373e2a95d5531951e35646ccdb79af&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-673%2F4%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=673&job=&cmd_args= 05:30:59 -> Uploading to 05:30:59 https://storage.googleapis.com/codecov/v4/raw/2024-09-02/A97CA9966030D2A3747ED39772930CCE/fae340c90b373e2a95d5531951e35646ccdb79af/3b0e93a9-df29-40c2-8119-04d6a0118c09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240902%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240902T053059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a2c3ff257f472cf0b70e926af3934adbc798b6ea691d629b9dba9bb40116ab3 05:30:59 % Total % Received % Xferd Average Speed Time Time Time Current 05:30:59 Dload Upload Total Spent Left Speed 05:31:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 259 0 0 100 259 0 1106 --:--:-- --:--:-- --:--:-- 1106 05:31:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/fae340c90b373e2a95d5531951e35646ccdb79af [Pipeline] } 05:31:00 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:31:00 + [ -d /w/workspace/_app-service-configurable_PR-673/archives ] 05:31:00 + ls -al /w/workspace/_app-service-configurable_PR-673/archives 05:31:00 total 16 05:31:00 drwxr-xr-x 3 root root 4096 Sep 2 05:16 . 05:31:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 05:16 .. 05:31:00 drwxr-xr-x 2 root root 4096 Sep 2 05:16 cost 05:31:00 -rw-r--r-- 1 root root 96 Sep 2 05:16 cost.csv 05:31:00 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-673/archives 05:31:00 + ls -al /w/workspace/_app-service-configurable_PR-673/archives 05:31:00 total 16 05:31:00 drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 05:16 . 05:31:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 05:16 .. 05:31:00 drwxr-xr-x 2 jenkins jenkins 4096 Sep 2 05:16 cost 05:31:00 -rw-r--r-- 1 jenkins jenkins 96 Sep 2 05:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:31:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:31:02 ---> package-listing.sh 05:31:02 ++ facter osfamily 05:31:02 ++ tr '[:upper:]' '[:lower:]' 05:31:02 + OS_FAMILY=debian 05:31:02 + workspace=/w/workspace/_app-service-configurable_PR-673 05:31:02 + START_PACKAGES=/tmp/packages_start.txt 05:31:02 + END_PACKAGES=/tmp/packages_end.txt 05:31:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:31:02 + PACKAGES=/tmp/packages_start.txt 05:31:02 + '[' /w/workspace/_app-service-configurable_PR-673 ']' 05:31:02 + PACKAGES=/tmp/packages_end.txt 05:31:02 + case "${OS_FAMILY}" in 05:31:02 + dpkg -l 05:31:02 + grep '^ii' 05:31:02 + '[' -f /tmp/packages_start.txt ']' 05:31:02 + '[' -f /tmp/packages_end.txt ']' 05:31:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:31:02 + '[' /w/workspace/_app-service-configurable_PR-673 ']' 05:31:02 + mkdir -p /w/workspace/_app-service-configurable_PR-673/archives/ 05:31:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-673/archives/ [Pipeline] echo 05:31:02 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-673/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:31:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:31:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:03 prd-ubuntu20.04-docker-8c-8g-9165 does not seem to be running inside a container 05:31:03 $ 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-673/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-673 -v /w/workspace/_app-service-configurable_PR-673:/w/workspace/_app-service-configurable_PR-673:rw,z -v /w/workspace/_app-service-configurable_PR-673@tmp:/w/workspace/_app-service-configurable_PR-673@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:31:03 $ docker top 8d0d291c425125a2d4b9f9afa31187da94de522dab0fa7c98455bdcfb0dccf8f -eo pid,comm [Pipeline] { [Pipeline] sh 05:31:04 + touch /tmp/pre-build-complete [Pipeline] sh 05:31:04 + mkdir -p /var/log/sysstat [Pipeline] sh 05:31:04 + ls /var/log/sa-host 05:31:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:04 provisioning config files... 05:31:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-673@tmp/config7960477194922031552tmp [Pipeline] { [Pipeline] echo 05:31:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:31:05 ---> create-netrc.sh [Pipeline] } 05:31:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:31:05 ---> python-tools-install.sh [Pipeline] echo 05:31:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:31:05 ---> sudo-logs.sh 05:31:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:31:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:31:06 ---> job-cost.sh 05:31:06 lf-activate-venv: SKIPPING 05:31:06 DEBUG: total: 0.2199999988079071 05:31:06 INFO: Retrieving Stack Cost... 05:31:06 INFO: Retrieving Pricing Info for: v3-standard-8 05:31:06 INFO: Archiving Costs [Pipeline] echo 05:31:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:31:06 ---> logs-deploy.sh 05:31:06 lf-activate-venv: SKIPPING 05:31:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-673/4 05:31:06 INFO: archiving workspace using pattern(s): 05:31:07 Archives upload complete. 05:31:07 INFO: archiving logs to Nexus