Push event to branch issue-1603 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6c2ba4a0c884392e751460449e212a813c87918f 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-ssh761488105895784385.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-ssh11053620691540764727.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/issue-1603/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/issue-1603/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8095757427664405042.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/issue-1603/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9478230065178890985.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15719644972770641401.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/issue-1603/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/issue-1603/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2891491252079105723.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 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 ‘prd-ubuntu20.04-docker-8c-8g-8799’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8801 in /w/workspace/_service-configurable_issue-1603 [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/_service-configurable_issue-1603 # 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 Avoid second fetch Checking out Revision 6c2ba4a0c884392e751460449e212a813c87918f (issue-1603) Commit message: "feat: Add postgres db init start script" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c2ba4a0c884392e751460449e212a813c87918f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:51:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:51:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:51:14 ========================================================= 09:51:14 EdgeX Global Pipelines Version Info 09:51:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:51:15 ------------------- 09:51:15 stable info: 09:51:15 ------------------- 09:51:15 Commited By: Cherry Wang cherry@iotechsys.com 09:51:15 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 09:51:15 Message: update stable to v1.0.263 09:51:16 ------------------- 09:51:16 experimental info: 09:51:16 ------------------- 09:51:16 Commited By: Cherry Wang cherry@iotechsys.com 09:51:16 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 09:51:16 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:51:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 09:51:16 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 09:51:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:51:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:51:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:51:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:51:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:51:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:51:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:51:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:51:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:51:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:51:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = issue-1603 [Pipeline] echo 09:51:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = issue-1603 [Pipeline] echo 09:51:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = issue-1603 [Pipeline] echo 09:51:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c2ba4a0c884392e751460449e212a813c87918f [Pipeline] echo 09:51:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c2ba4a [Pipeline] echo 09:51:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:51:18 provisioning config files... 09:51:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/_service-configurable_issue-1603@tmp/config6397536961644533706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:51:18 ---> ****-login.sh 09:51:18 nexus3.edgexfoundry.org:10001 09:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:51:19 Configure a credential helper to remove this warning. See 09:51:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:51:19 09:51:19 Login Succeeded 09:51:19 nexus3.edgexfoundry.org:10002 09:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:51:19 Configure a credential helper to remove this warning. See 09:51:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:51:19 09:51:19 Login Succeeded 09:51:19 nexus3.edgexfoundry.org:10003 09:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:51:19 Configure a credential helper to remove this warning. See 09:51:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:51:19 09:51:19 Login Succeeded 09:51:19 nexus3.edgexfoundry.org:10004 09:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:51:19 Configure a credential helper to remove this warning. See 09:51:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:51:19 09:51:19 Login Succeeded 09:51:19 ****.io 09:51:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:51:19 Configure a credential helper to remove this warning. See 09:51:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:51:19 09:51:19 Login Succeeded 09:51:19 ---> ****-login.sh ends [Pipeline] } 09:51:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:51:20 + git rev-list -1 --merges 6c2ba4a0c884392e751460449e212a813c87918f~1..6c2ba4a0c884392e751460449e212a813c87918f [Pipeline] echo 09:51:20 -----------> git rev-list -1 --merges 6c2ba4a0c884392e751460449e212a813c87918f~1..6c2ba4a0c884392e751460449e212a813c87918f 6c2ba4a0c884392e751460449e212a813c87918f [false] [Pipeline] sh 09:51:21 + git log --format=format:%s -1 6c2ba4a0c884392e751460449e212a813c87918f [Pipeline] echo 09:51:21 ========================================================= 09:51:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:51:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:51:21 + git log --format=format:%s -1 6c2ba4a0c884392e751460449e212a813c87918f [Pipeline] echo 09:51:21 [semverPrep] GIT_COMMIT: 6c2ba4a0c884392e751460449e212a813c87918f, Commit Message: feat: Add postgres db init start script [Pipeline] echo 09:51:21 [semverPrep] This is not a build commit. [Pipeline] sh 09:51:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:51:22 + grep -v github /etc/ssh/ssh_known_hosts 09:51:22 + [ -e /tmp/ssh_known_hosts ] 09:51:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:51:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:51:22 + sudo tee -a /etc/ssh/ssh_known_hosts 09:51:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:51:22 09:51:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:51:23 0.1.4: Pulling from edgex-devops/py-git-semver 09:51:23 b85a868b505f: Pulling fs layer 09:51:23 e2be974225ed: Pulling fs layer 09:51:23 339a4e72a1f5: Pulling fs layer 09:51:23 988bab9f4d93: Pulling fs layer 09:51:23 1469e6f7b9e6: Pulling fs layer 09:51:23 eaf3925da568: Pulling fs layer 09:51:23 bab4dde63d76: Pulling fs layer 09:51:23 bde34c3a00c8: Pulling fs layer 09:51:23 b352a97aabf1: Pulling fs layer 09:51:23 4872d77fe225: Pulling fs layer 09:51:23 5851b861e8e6: Pulling fs layer 09:51:23 1469e6f7b9e6: Waiting 09:51:23 b352a97aabf1: Waiting 09:51:23 988bab9f4d93: Waiting 09:51:23 4872d77fe225: Waiting 09:51:23 eaf3925da568: Waiting 09:51:23 5851b861e8e6: Waiting 09:51:23 bde34c3a00c8: Waiting 09:51:23 bab4dde63d76: Waiting 09:51:23 e2be974225ed: Verifying Checksum 09:51:23 e2be974225ed: Download complete 09:51:23 988bab9f4d93: Verifying Checksum 09:51:23 988bab9f4d93: Download complete 09:51:23 1469e6f7b9e6: Verifying Checksum 09:51:23 1469e6f7b9e6: Download complete 09:51:23 eaf3925da568: Verifying Checksum 09:51:23 eaf3925da568: Download complete 09:51:23 339a4e72a1f5: Verifying Checksum 09:51:23 339a4e72a1f5: Download complete 09:51:23 bde34c3a00c8: Download complete 09:51:23 b352a97aabf1: Download complete 09:51:23 4872d77fe225: Verifying Checksum 09:51:23 4872d77fe225: Download complete 09:51:23 5851b861e8e6: Download complete 09:51:23 b85a868b505f: Verifying Checksum 09:51:23 b85a868b505f: Download complete 09:51:23 bab4dde63d76: Verifying Checksum 09:51:23 bab4dde63d76: Download complete 09:51:24 b85a868b505f: Pull complete 09:51:24 e2be974225ed: Pull complete 09:51:25 339a4e72a1f5: Pull complete 09:51:25 988bab9f4d93: Pull complete 09:51:25 1469e6f7b9e6: Pull complete 09:51:25 eaf3925da568: Pull complete 09:51:27 bab4dde63d76: Pull complete 09:51:27 bde34c3a00c8: Pull complete 09:51:27 b352a97aabf1: Pull complete 09:51:27 4872d77fe225: Pull complete 09:51:27 5851b861e8e6: Pull complete 09:51:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:51:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:51:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:51:28 prd-ubuntu20.04-docker-8c-8g-8801 does not seem to be running inside a container 09:51:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_service-configurable_issue-1603 -v /w/workspace/_service-configurable_issue-1603:/w/workspace/_service-configurable_issue-1603:rw,z -v /w/workspace/_service-configurable_issue-1603@tmp:/w/workspace/_service-configurable_issue-1603@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:51:31 $ docker top f96b2f36406bfb07f738eb4898df08b41608c35eb1e209feb8e45f9014429b91 -eo pid,comm 09:51:31 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). 09:51:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:51:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:51:31 [ssh-agent] Looking for ssh-agent implementation... 09:51:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:51:31 $ docker exec f96b2f36406bfb07f738eb4898df08b41608c35eb1e209feb8e45f9014429b91 ssh-agent 09:51:31 SSH_AUTH_SOCK=/tmp/ssh-qIudinRrywaT/agent.31 09:51:31 SSH_AGENT_PID=37 09:51:31 Running ssh-add (command line suppressed) 09:51:31 Identity added: /w/workspace/_service-configurable_issue-1603@tmp/private_key_917020103331642828.key (/w/workspace/_service-configurable_issue-1603@tmp/private_key_917020103331642828.key) 09:51:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:51:32 + git tag --points-at HEAD [Pipeline] } 09:51:32 $ docker exec --env ******** --env ******** f96b2f36406bfb07f738eb4898df08b41608c35eb1e209feb8e45f9014429b91 ssh-agent -k 09:51:32 unset SSH_AUTH_SOCK; 09:51:32 unset SSH_AGENT_PID; 09:51:32 echo Agent pid 37 killed; 09:51:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:51:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:51:32 [ssh-agent] Looking for ssh-agent implementation... 09:51:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:51:32 $ docker exec f96b2f36406bfb07f738eb4898df08b41608c35eb1e209feb8e45f9014429b91 ssh-agent 09:51:32 SSH_AUTH_SOCK=/tmp/ssh-5EZwMTxyI45R/agent.70 09:51:32 SSH_AGENT_PID=76 09:51:32 Running ssh-add (command line suppressed) 09:51:32 Identity added: /w/workspace/_service-configurable_issue-1603@tmp/private_key_17609522900126343123.key (/w/workspace/_service-configurable_issue-1603@tmp/private_key_17609522900126343123.key) 09:51:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:51:33 + git semver init 09:51:33 2024-08-27 09:51:33,430 [run_init] DEBUG init version:0.0.0 force:False 09:51:33 2024-08-27 09:51:33,431 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_service-configurable_issue-1603/.semver 09:51:33 2024-08-27 09:51:33,432 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_service-configurable_issue-1603/.semver 09:51:33 2024-08-27 09:51:33,432 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_service-configurable_issue-1603/.semver'], cwd=/w/workspace/_service-configurable_issue-1603, universal_newlines=False, shell=None, istream=None) 09:51:34 2024-08-27 09:51:34,638 [append_file] DEBUG append to file:/w/workspace/_service-configurable_issue-1603/.git/info/exclude 09:51:34 2024-08-27 09:51:34,638 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_service-configurable_issue-1603/.semver/issue-1603 with force:False 09:51:34 2024-08-27 09:51:34,638 [write_file] DEBUG write to file:/w/workspace/_service-configurable_issue-1603/.semver/issue-1603 09:51:34 2024-08-27 09:51:34,643 [execute] INFO git cat-file --batch-check 09:51:34 2024-08-27 09:51:34,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_service-configurable_issue-1603/.semver, universal_newlines=False, shell=None, istream=) 09:51:34 2024-08-27 09:51:34,651 [execute] INFO git cat-file --batch 09:51:34 2024-08-27 09:51:34,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_service-configurable_issue-1603/.semver, universal_newlines=False, shell=None, istream=) 09:51:34 2024-08-27 09:51:34,657 [read_version] DEBUG read version from /w/workspace/_service-configurable_issue-1603/.semver/issue-1603 09:51:34 0.0.0 [Pipeline] } 09:51:34 $ docker exec --env ******** --env ******** f96b2f36406bfb07f738eb4898df08b41608c35eb1e209feb8e45f9014429b91 ssh-agent -k 09:51:35 unset SSH_AUTH_SOCK; 09:51:35 unset SSH_AGENT_PID; 09:51:35 echo Agent pid 76 killed; 09:51:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:51:35 + git semver [Pipeline] } 09:51:35 $ docker stop --time=1 f96b2f36406bfb07f738eb4898df08b41608c35eb1e209feb8e45f9014429b91 09:51:37 $ docker rm -f --volumes f96b2f36406bfb07f738eb4898df08b41608c35eb1e209feb8e45f9014429b91 [Pipeline] // withDockerContainer [Pipeline] sh 09:51:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:51:37 Stashed 1 file(s) [Pipeline] echo 09:51:37 [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 09:51:38 provisioning config files... 09:51:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/_service-configurable_issue-1603@tmp/config9434306755755562479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:51:38 ---> ****-login.sh 09:51:38 nexus3.edgexfoundry.org:10001 09:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:51:38 Configure a credential helper to remove this warning. See 09:51:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:51:38 09:51:38 Login Succeeded 09:51:38 nexus3.edgexfoundry.org:10002 09:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:51:38 Configure a credential helper to remove this warning. See 09:51:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:51:38 09:51:38 Login Succeeded 09:51:38 nexus3.edgexfoundry.org:10003 09:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:51:39 Configure a credential helper to remove this warning. See 09:51:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:51:39 09:51:39 Login Succeeded 09:51:39 nexus3.edgexfoundry.org:10004 09:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:51:39 Configure a credential helper to remove this warning. See 09:51:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:51:39 09:51:39 Login Succeeded 09:51:39 ****.io 09:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:51:39 Configure a credential helper to remove this warning. See 09:51:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:51:39 09:51:39 Login Succeeded 09:51:39 ---> ****-login.sh ends [Pipeline] } 09:51:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:51:39 [edgeX.isLTS] Checking if [issue-1603] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:51:39 [edgeX.isLTS] Checking if [issue-1603] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:51:39 ========================================================= 09:51:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 09:51:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:40 + 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 . 09:51:40 Sending build context to Docker daemon 9.147MB 09:51:40 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:51:40 Step 2/12 : FROM ${BASE} AS builder 09:51:40 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 09:51:40 619be1103602: Pulling fs layer 09:51:40 7862e08f4a3e: Pulling fs layer 09:51:40 5df492c9dc93: Pulling fs layer 09:51:40 7629e6793208: Pulling fs layer 09:51:40 4f4fb700ef54: Pulling fs layer 09:51:40 fb5054dd5b73: Pulling fs layer 09:51:40 eeca6798cff9: Pulling fs layer 09:51:40 aa269ceb94a6: Pulling fs layer 09:51:40 ada007ff1a6a: Pulling fs layer 09:51:40 7629e6793208: Waiting 09:51:40 4f4fb700ef54: Waiting 09:51:40 fb5054dd5b73: Waiting 09:51:40 eeca6798cff9: Waiting 09:51:40 aa269ceb94a6: Waiting 09:51:40 ada007ff1a6a: Waiting 09:51:40 7862e08f4a3e: Download complete 09:51:40 7629e6793208: Download complete 09:51:40 4f4fb700ef54: Verifying Checksum 09:51:40 4f4fb700ef54: Download complete 09:51:40 619be1103602: Verifying Checksum 09:51:40 619be1103602: Download complete 09:51:40 fb5054dd5b73: Download complete 09:51:40 eeca6798cff9: Verifying Checksum 09:51:40 eeca6798cff9: Download complete 09:51:40 619be1103602: Pull complete 09:51:40 ada007ff1a6a: Verifying Checksum 09:51:40 ada007ff1a6a: Download complete 09:51:40 7862e08f4a3e: Pull complete 09:51:40 5df492c9dc93: Verifying Checksum 09:51:40 5df492c9dc93: Download complete 09:51:41 aa269ceb94a6: Verifying Checksum 09:51:44 5df492c9dc93: Pull complete 09:51:44 7629e6793208: Pull complete 09:51:44 4f4fb700ef54: Pull complete 09:51:44 fb5054dd5b73: Pull complete 09:51:44 eeca6798cff9: Pull complete 09:51:47 aa269ceb94a6: Pull complete 09:51:47 ada007ff1a6a: Pull complete 09:51:47 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 09:51:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 09:51:47 ---> f489d0715acc 09:51:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 09:51:52 ---> Running in a5eeeb9fde81 09:51:52 Removing intermediate container a5eeeb9fde81 09:51:52 ---> db0d086fa183 09:51:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:51:52 ---> Running in 315be0c64e34 09:51:53 Removing intermediate container 315be0c64e34 09:51:53 ---> f520391aa6d1 09:51:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:51:53 ---> Running in ea394dffd5da 09:51:53 Removing intermediate container ea394dffd5da 09:51:53 ---> ff70732403d7 09:51:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:51:53 ---> Running in 8d995a0bbba5 09:51:53 Still waiting to schedule task 09:51:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:51:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:51:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:51:56 OK: 264 MiB in 52 packages 09:51:56 Removing intermediate container 8d995a0bbba5 09:51:56 ---> 527c33bb1f45 09:51:56 Step 7/12 : WORKDIR /app 09:51:56 ---> Running in 73cf2a2e684e 09:51:56 Removing intermediate container 73cf2a2e684e 09:51:56 ---> 0aa42d031750 09:51:56 Step 8/12 : COPY go.mod vendor* ./ 09:51:56 ---> 271e2f84d6fe 09:51:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:51:56 ---> Running in ac10f465519c 09:52:53 Removing intermediate container ac10f465519c 09:52:53 ---> 5b35664dc251 09:52:53 Step 10/12 : COPY . . 09:52:53 ---> 3a80adec5db9 09:52:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:52:53 ---> Running in 739f84f54f28 09:52:53 Removing intermediate container 739f84f54f28 09:52:53 ---> 767dfd64ebc6 09:52:53 Step 12/12 : RUN $MAKE 09:52:53 ---> Running in cdf6ba44639d 09:52:53 noop 09:52:53 Removing intermediate container cdf6ba44639d 09:52:53 ---> 34db89fe4497 09:52:53 Successfully built 34db89fe4497 09:52:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:53 + docker inspect -f . ci-base-image-x86_64 09:52:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:52:53 prd-ubuntu20.04-docker-8c-8g-8801 does not seem to be running inside a container 09:52:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_service-configurable_issue-1603 -v /w/workspace/_service-configurable_issue-1603:/w/workspace/_service-configurable_issue-1603:rw,z -v /w/workspace/_service-configurable_issue-1603@tmp:/w/workspace/_service-configurable_issue-1603@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 ******** ci-base-image-x86_64 cat 09:52:54 $ docker top 33e2553c2d3a99396ca87aec94f4b381031b5f351596b0fa4aa1e7485ea40360 -eo pid,comm [Pipeline] { [Pipeline] sh 09:52:54 + go version 09:52:54 go version go1.21.9 linux/amd64 [Pipeline] } 09:52:54 $ docker stop --time=1 33e2553c2d3a99396ca87aec94f4b381031b5f351596b0fa4aa1e7485ea40360 09:52:55 $ docker rm -f --volumes 33e2553c2d3a99396ca87aec94f4b381031b5f351596b0fa4aa1e7485ea40360 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:56 + docker inspect -f . ci-base-image-x86_64 09:52:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:52:56 prd-ubuntu20.04-docker-8c-8g-8801 does not seem to be running inside a container 09:52:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_service-configurable_issue-1603 -v /w/workspace/_service-configurable_issue-1603:/w/workspace/_service-configurable_issue-1603:rw,z -v /w/workspace/_service-configurable_issue-1603@tmp:/w/workspace/_service-configurable_issue-1603@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 ******** ci-base-image-x86_64 cat 09:52:57 $ docker top b901d2286bb2fba4431961f487029a0ce06628fbfb7fdb2d5e4e4d6e88f4a809 -eo pid,comm [Pipeline] { [Pipeline] sh 09:52:57 + git config --global --add safe.directory /w/workspace/_service-configurable_issue-1603 [Pipeline] fileExists [Pipeline] sh 09:52:58 + make test 09:52:58 go test -race -coverprofile=coverage.out ./... 09:53:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8803 in /w/workspace/_service-configurable_issue-1603 [Pipeline] { [Pipeline] ws 09:53:29 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 09:53:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 09:53:32 The recommended git tool is: git 09:53:40 using credential edgex-jenkins-ssh 09:53:40 Cloning the remote Git repository 09:53:40 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 09:53:40 > git init /w/workspace/app-service-configurable/1 # timeout=10 09:53:41 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 09:53:41 > git --version # timeout=10 09:53:41 > git --version # 'git version 2.25.1' 09:53:41 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:53:43 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 09:53:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:53:44 Avoid second fetch 09:53:44 Checking out Revision 6c2ba4a0c884392e751460449e212a813c87918f (issue-1603) 09:53:45 Commit message: "feat: Add postgres db init start script" 09:53:45 > git --version # timeout=10 09:53:45 > git --version # 'git version 2.25.1' 09:53:45 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 09:53:44 > git config core.sparsecheckout # timeout=10 09:53:44 > git checkout -f 6c2ba4a0c884392e751460449e212a813c87918f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:53:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:53:50 % Total % Received % Xferd Average Speed Time Time Time Current 09:53:50 Dload Upload Total Spent Left Speed 09:53:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 89706 0 --:--:-- --:--:-- --:--:-- 90338 [Pipeline] sh 09:53:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:53:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:53:51 + sudo tee /etc/docker/daemon.new 09:53:51 { 09:53:51 "registry-mirrors": [ 09:53:51 "https://nexus3.edgexfoundry.org:10001" 09:53:51 ], 09:53:51 "bip": "10.250.0.254/24", 09:53:51 "hosts": [ 09:53:51 "tcp://0.0.0.0:5555", 09:53:51 "unix:///var/run/docker.sock" 09:53:51 ], 09:53:51 "mtu": 1458, 09:53:51 "selinux-enabled": true, 09:53:51 "seccomp-profile": "/etc/docker/seccomp.json" 09:53:51 } [Pipeline] sh 09:53:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:53:52 + sudo service docker restart 09:53:56 go vet ./... 09:54:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:54:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:54:02 ./bin/test-attribution-txt.sh 09:54:02 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 09:54:02 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [Pipeline] echo 09:54:02 [edgeX.isLTS] Checking if [issue-1603] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:54:02 $ docker stop --time=1 b901d2286bb2fba4431961f487029a0ce06628fbfb7fdb2d5e4e4d6e88f4a809 09:54:10 $ docker rm -f --volumes b901d2286bb2fba4431961f487029a0ce06628fbfb7fdb2d5e4e4d6e88f4a809 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:10 provisioning config files... 09:54:10 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config15703631933703951773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:54:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 09:54:11 ---> ****-login.sh 09:54:11 nexus3.edgexfoundry.org:10001 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 09:54:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 09:54:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:54:11 Configure a credential helper to remove this warning. See 09:54:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:54:11 09:54:11 Login Succeeded 09:54:11 nexus3.edgexfoundry.org:10002 09:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:54:12 Configure a credential helper to remove this warning. See 09:54:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:54:12 09:54:12 Login Succeeded 09:54:12 nexus3.edgexfoundry.org:10003 09:54:12 + ls -al . 09:54:12 total 260 09:54:12 drwxrwxr-x 7 jenkins jenkins 4096 Aug 27 09:52 . 09:54:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 09:51 .. 09:54:12 -rw-rw-r-- 1 jenkins jenkins 119 Aug 27 09:51 .dockerignore 09:54:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 09:53 .git 09:54:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 09:51 .github 09:54:12 -rw-rw-r-- 1 jenkins jenkins 106 Aug 27 09:51 .gitignore 09:54:12 -rw-rw-r-- 1 jenkins jenkins 41 Aug 27 09:51 .golangci.yml 09:54:12 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 09:51 .semver 09:54:12 -rw-rw-r-- 1 jenkins jenkins 18981 Aug 27 09:51 Attribution.txt 09:54:12 -rw-rw-r-- 1 jenkins jenkins 37263 Aug 27 09:51 CHANGELOG.md 09:54:12 -rw-rw-r-- 1 jenkins jenkins 2007 Aug 27 09:51 Dockerfile 09:54:12 -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 09:51 GOVERNANCE.md 09:54:12 -rw-rw-r-- 1 jenkins jenkins 666 Aug 27 09:51 Jenkinsfile 09:54:12 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 27 09:51 LICENSE 09:54:12 -rw-rw-r-- 1 jenkins jenkins 618 Aug 27 09:51 OWNERS.md 09:54:12 -rw-rw-r-- 1 jenkins jenkins 4582 Aug 27 09:51 README.md 09:54:12 -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 09:51 VERSION 09:54:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 09:51 bin 09:54:12 -rw-r--r-- 1 jenkins jenkins 13 Aug 27 09:52 coverage.out 09:54:12 -rw-rw-r-- 1 jenkins jenkins 7048 Aug 27 09:51 go.mod 09:54:12 -rw-rw-r-- 1 jenkins jenkins 101448 Aug 27 09:51 go.sum 09:54:12 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 27 09:51 main.go 09:54:12 -rw-rw-r-- 1 jenkins jenkins 2572 Aug 27 09:51 makefile 09:54:12 drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 09:51 res [Pipeline] isUnix 09:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:54:12 Configure a credential helper to remove this warning. See 09:54:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:54:12 09:54:12 Login Succeeded 09:54:12 nexus3.edgexfoundry.org:10004 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:12 + 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=6c2ba4a0c884392e751460449e212a813c87918f --label arch=amd64 --label version=0.0.0 . 09:54:12 Sending build context to Docker daemon 9.148MB 09:54:12 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 09:54:12 Step 2/27 : FROM ${BASE} AS builder 09:54:12 ---> 34db89fe4497 09:54:12 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 09:54:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:54:12 Configure a credential helper to remove this warning. See 09:54:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:54:12 09:54:12 Login Succeeded 09:54:12 ****.io 09:54:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:54:13 Configure a credential helper to remove this warning. See 09:54:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:54:13 09:54:13 Login Succeeded 09:54:13 ---> ****-login.sh ends [Pipeline] } 09:54:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:54:13 ---> Running in 58da8129e201 [Pipeline] // withEnv [Pipeline] unstash 09:54:13 Removing intermediate container 58da8129e201 09:54:13 ---> d6ac5d19183e 09:54:13 Step 4/27 : ARG ALPINE_PKG_EXTRA="" [Pipeline] echo 09:54:13 [edgeX.isLTS] Checking if [issue-1603] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:54:13 [edgeX.isLTS] Checking if [issue-1603] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:54:13 ========================================================= 09:54:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:54:13 ========================================================= [Pipeline] fileExists 09:54:13 ---> Running in cf74502f5310 [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:14 Removing intermediate container cf74502f5310 09:54:14 ---> 2c74cb0b3b55 09:54:14 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:54:14 ---> Running in be35f3422682 09:54:14 Removing intermediate container be35f3422682 09:54:14 ---> 92a5d21adc2d 09:54:14 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:54:14 + 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 . 09:54:14 Sending build context to Docker daemon 241.2kB 09:54:14 ---> Running in b5d3e7fc9ef7 09:54:14 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 09:54:14 Step 2/12 : FROM ${BASE} AS builder 09:54:14 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:54:14 c6b39de5b339: Pulling fs layer 09:54:14 a69c41024577: Pulling fs layer 09:54:14 d6de4b400683: Pulling fs layer 09:54:14 35cb2a7552d0: Pulling fs layer 09:54:14 4f4fb700ef54: Pulling fs layer 09:54:14 464afbd9ba4c: Pulling fs layer 09:54:14 00f215d4a9da: Pulling fs layer 09:54:14 d496ad576159: Pulling fs layer 09:54:14 35cb2a7552d0: Waiting 09:54:14 4f4fb700ef54: Waiting 09:54:14 464afbd9ba4c: Waiting 09:54:14 00f215d4a9da: Waiting 09:54:14 d496ad576159: Waiting 09:54:14 a69c41024577: Verifying Checksum 09:54:14 a69c41024577: Download complete 09:54:14 35cb2a7552d0: Verifying Checksum 09:54:14 35cb2a7552d0: Download complete 09:54:14 4f4fb700ef54: Verifying Checksum 09:54:14 4f4fb700ef54: Download complete 09:54:14 c6b39de5b339: Verifying Checksum 09:54:14 c6b39de5b339: Download complete 09:54:14 464afbd9ba4c: Verifying Checksum 09:54:14 464afbd9ba4c: Download complete 09:54:15 d496ad576159: Verifying Checksum 09:54:15 d496ad576159: Download complete 09:54:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:54:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:54:15 OK: 264 MiB in 52 packages 09:54:15 c6b39de5b339: Pull complete 09:54:16 a69c41024577: Pull complete 09:54:16 d6de4b400683: Verifying Checksum 09:54:16 d6de4b400683: Download complete 09:54:16 Removing intermediate container b5d3e7fc9ef7 09:54:16 ---> 7eecb271d859 09:54:16 Step 7/27 : WORKDIR /app 09:54:16 ---> Running in 8303fd0b0337 09:54:16 Removing intermediate container 8303fd0b0337 09:54:16 ---> 8366b544134a 09:54:16 Step 8/27 : COPY go.mod vendor* ./ 09:54:16 ---> 524dd6a2210b 09:54:16 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:54:16 ---> Running in e7597ecb8120 09:54:17 00f215d4a9da: Verifying Checksum 09:54:17 00f215d4a9da: Download complete 09:54:17 Removing intermediate container e7597ecb8120 09:54:17 ---> ea5233a2e9ea 09:54:17 Step 10/27 : COPY . . 09:54:18 ---> bd88e490f061 09:54:18 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:54:18 ---> Running in 244ee05a255e 09:54:18 Removing intermediate container 244ee05a255e 09:54:18 ---> 36a9f324ec99 09:54:18 Step 12/27 : RUN $MAKE 09:54:18 ---> Running in 84abfeba2200 09:54:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 09:54:29 d6de4b400683: Pull complete 09:54:29 35cb2a7552d0: Pull complete 09:54:29 4f4fb700ef54: Pull complete 09:54:29 464afbd9ba4c: Pull complete 09:54:39 00f215d4a9da: Pull complete 09:54:40 d496ad576159: Pull complete 09:54:40 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 09:54:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:54:40 ---> f246e2811388 09:54:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 09:54:42 ---> Running in 2bfb4bd887ae 09:54:42 Removing intermediate container 2bfb4bd887ae 09:54:42 ---> e8c6f71a933d 09:54:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:54:42 ---> Running in b349435952ed 09:54:42 Removing intermediate container b349435952ed 09:54:42 ---> b470b406cc4f 09:54:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 09:54:42 ---> Running in 3cb5177365cd 09:54:43 Removing intermediate container 3cb5177365cd 09:54:43 ---> b7546b740725 09:54:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:54:43 ---> Running in e0667472c931 09:54:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:54:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:54:45 OK: 266 MiB in 52 packages 09:54:46 Removing intermediate container e0667472c931 09:54:46 ---> b2fe880ac689 09:54:46 Step 7/12 : WORKDIR /app 09:54:46 ---> Running in e1bad552a606 09:54:47 Removing intermediate container e1bad552a606 09:54:47 ---> 1af2067e4bc1 09:54:47 Step 8/12 : COPY go.mod vendor* ./ 09:54:47 ---> 762d067bcf2c 09:54:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:54:47 ---> Running in be9e971b104b 09:54:50 Removing intermediate container 84abfeba2200 09:54:50 ---> 9f42f482c16f 09:54:50 Step 13/27 : FROM alpine:3.18 09:54:50 3.18: Pulling from library/alpine 09:54:50 930bdd4d222e: Pulling fs layer 09:54:50 930bdd4d222e: Verifying Checksum 09:54:50 930bdd4d222e: Download complete 09:54:50 930bdd4d222e: Pull complete 09:54:50 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 09:54:50 Status: Downloaded newer image for alpine:3.18 09:54:50 ---> 18f865063206 09:54:50 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:54:50 ---> Running in f42a6b70b9e6 09:54:50 Removing intermediate container f42a6b70b9e6 09:54:50 ---> 21d3d4b22d79 09:54:50 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 09:54:50 ---> Running in 6ef2fb957929 09:54:50 Removing intermediate container 6ef2fb957929 09:54:50 ---> 0ca6a027c449 09:54:50 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 09:54:50 ---> Running in d8bdd8f772a0 09:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:54:51 (1/2) Installing ca-certificates (20240226-r0) 09:54:51 (2/2) Installing dumb-init (1.2.5-r2) 09:54:51 Executing busybox-1.36.1-r7.trigger 09:54:51 Executing ca-certificates-20240226-r0.trigger 09:54:51 OK: 8 MiB in 17 packages 09:54:52 Removing intermediate container d8bdd8f772a0 09:54:52 ---> 5378f7edc739 09:54:52 Step 17/27 : RUN apk --no-cache upgrade 09:54:52 ---> Running in 52ab8b5c3fb4 09:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:54:52 OK: 8 MiB in 17 packages 09:54:53 Removing intermediate container 52ab8b5c3fb4 09:54:53 ---> 15ee819433a5 09:54:53 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 09:54:53 ---> 0bd1feb44f4d 09:54:53 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 09:54:53 ---> 5ae476c4074b 09:54:53 Step 20/27 : COPY --from=builder /app/res/ /res/ 09:54:53 ---> 6d06fb7cb9e5 09:54:53 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 09:54:55 ---> 745b911a6334 09:54:55 Step 22/27 : EXPOSE 48095 09:54:55 ---> Running in 7ae0fd2eaa30 09:54:55 Removing intermediate container 7ae0fd2eaa30 09:54:55 ---> 495be6238983 09:54:55 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 09:54:55 ---> Running in 61a58a434a64 09:54:55 Removing intermediate container 61a58a434a64 09:54:55 ---> 742e32478c95 09:54:55 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:54:55 ---> Running in 10eb223365a9 09:54:55 Removing intermediate container 10eb223365a9 09:54:55 ---> 9b9d7f490fca 09:54:55 Step 25/27 : LABEL arch=amd64 09:54:55 ---> Running in 4c373a5d900a 09:54:55 Removing intermediate container 4c373a5d900a 09:54:55 ---> 06fb9ff18ce1 09:54:55 Step 26/27 : LABEL git_sha=6c2ba4a0c884392e751460449e212a813c87918f 09:54:55 ---> Running in c01dcb793e57 09:54:55 Removing intermediate container c01dcb793e57 09:54:55 ---> 318cff9042e9 09:54:55 Step 27/27 : LABEL version=0.0.0 09:54:55 ---> Running in 2ae4b59426bd 09:54:55 Removing intermediate container 2ae4b59426bd 09:54:55 ---> 899561c2cecb 09:54:55 [Warning] One or more build-args [ARCH] were not consumed 09:54:55 Successfully built 899561c2cecb 09:54:55 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 09:54:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:56 09:54:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:56 latest: Pulling from edgex-lftools-log-publisher 09:54:56 5eb5b503b376: Pulling fs layer 09:54:56 5c69ac0246d0: Pulling fs layer 09:54:56 ec43610c2a17: Pulling fs layer 09:54:56 3a2ae6a8a46f: Pulling fs layer 09:54:56 33b1e0a273af: Pulling fs layer 09:54:56 5d3b04190fa2: Pulling fs layer 09:54:56 2f39f015ded8: Pulling fs layer 09:54:56 3a2ae6a8a46f: Waiting 09:54:56 33b1e0a273af: Waiting 09:54:56 2f39f015ded8: Waiting 09:54:56 5d3b04190fa2: Waiting 09:54:56 5c69ac0246d0: Verifying Checksum 09:54:56 5c69ac0246d0: Download complete 09:54:56 3a2ae6a8a46f: Verifying Checksum 09:54:56 3a2ae6a8a46f: Download complete 09:54:56 33b1e0a273af: Verifying Checksum 09:54:56 33b1e0a273af: Download complete 09:54:56 5d3b04190fa2: Verifying Checksum 09:54:56 5d3b04190fa2: Download complete 09:54:56 ec43610c2a17: Verifying Checksum 09:54:56 ec43610c2a17: Download complete 09:54:57 5eb5b503b376: Verifying Checksum 09:54:57 5eb5b503b376: Download complete 09:54:58 5eb5b503b376: Pull complete 09:54:58 5c69ac0246d0: Pull complete 09:54:59 ec43610c2a17: Pull complete 09:54:59 3a2ae6a8a46f: Pull complete 09:54:59 33b1e0a273af: Pull complete 09:54:59 5d3b04190fa2: Pull complete 09:55:04 2f39f015ded8: Pull complete 09:55:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:55:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:55:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:04 prd-ubuntu20.04-docker-8c-8g-8801 does not seem to be running inside a container 09:55:04 $ 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/_service-configurable_issue-1603 -v /w/workspace/_service-configurable_issue-1603:/w/workspace/_service-configurable_issue-1603:rw,z -v /w/workspace/_service-configurable_issue-1603@tmp:/w/workspace/_service-configurable_issue-1603@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:55:09 $ docker top c069ce2073794971ebd51bad18fb12efbbc9768c11372e388d03ddf5229ed447 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:55:09 ---> job-cost.sh 09:55:09 lf-activate-venv: SKIPPING 09:55:09 INFO: No Stack... 09:55:10 INFO: Retrieving Pricing Info for: v3-standard-8 09:55:10 INFO: Archiving Costs [Pipeline] sh 09:55:10 + cat /w/workspace/_service-configurable_issue-1603/archives/cost.csv 09:55:10 + cut -d, -f6 [Pipeline] lock 09:55:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-service-configurable-issue-1603-1-stack-cost] 09:55:10 Resource [jenkins-edgexfoundry-app-service-configurable-issue-1603-1-stack-cost] did not exist. Created. 09:55:10 Lock acquired on [Resource: jenkins-edgexfoundry-app-service-configurable-issue-1603-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:55:11 + echo total: 0.2199999988079071 [Pipeline] stash 09:55:11 Stashed 1 file(s) [Pipeline] } 09:55:11 Lock released on resource [Resource: jenkins-edgexfoundry-app-service-configurable-issue-1603-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:55:11 $ docker stop --time=1 c069ce2073794971ebd51bad18fb12efbbc9768c11372e388d03ddf5229ed447 09:55:12 $ docker rm -f --volumes c069ce2073794971ebd51bad18fb12efbbc9768c11372e388d03ddf5229ed447 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:56:39 Removing intermediate container be9e971b104b 09:56:39 ---> 678e6fd30be0 09:56:39 Step 10/12 : COPY . . 09:56:39 ---> e71caa9ba8fc 09:56:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:56:39 ---> Running in c0fc74915046 09:56:39 Removing intermediate container c0fc74915046 09:56:39 ---> dc2445c51a30 09:56:39 Step 12/12 : RUN $MAKE 09:56:39 ---> Running in 2536795aab5f 09:56:39 noop 09:56:39 Removing intermediate container 2536795aab5f 09:56:39 ---> a5c69aa79bff 09:56:39 Successfully built a5c69aa79bff 09:56:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:39 + docker inspect -f . ci-base-image-arm64 09:56:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:40 prd-ubuntu20.04-docker-arm64-4c-16g-8803 does not seem to be running inside a container 09:56:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:56:41 $ docker top b686a6389aa846ea5c67b0a6ae3c8ac6369f1802a19afa1c958160609d50df32 -eo pid,comm [Pipeline] { [Pipeline] sh 09:56:42 + go version 09:56:42 go version go1.21.9 linux/arm64 [Pipeline] } 09:56:42 $ docker stop --time=1 b686a6389aa846ea5c67b0a6ae3c8ac6369f1802a19afa1c958160609d50df32 09:56:44 $ docker rm -f --volumes b686a6389aa846ea5c67b0a6ae3c8ac6369f1802a19afa1c958160609d50df32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:45 + docker inspect -f . ci-base-image-arm64 09:56:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:45 prd-ubuntu20.04-docker-arm64-4c-16g-8803 does not seem to be running inside a container 09:56:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:56:46 $ docker top 01bb1688656c097e98d22c0c131b1dea279e5a4a6dfd271e68017b1870712f84 -eo pid,comm [Pipeline] { [Pipeline] sh 09:56:47 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 09:56:47 + make test 09:56:47 go test -race -coverprofile=coverage.out ./... 10:00:55 ? github.com/edgexfoundry/app-service-configurable [no test files] 10:00:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:00:55 go vet ./... 10:04:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:04:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:04:47 ./bin/test-attribution-txt.sh 10:04:47 An attribution for github.com/barkimedes/go-deepcopy is missing from Attribution.txt, please add 10:04:47 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 10:04:47 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [Pipeline] echo 10:04:47 [edgeX.isLTS] Checking if [issue-1603] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:04:47 $ docker stop --time=1 01bb1688656c097e98d22c0c131b1dea279e5a4a6dfd271e68017b1870712f84 10:04:49 $ docker rm -f --volumes 01bb1688656c097e98d22c0c131b1dea279e5a4a6dfd271e68017b1870712f84 [Pipeline] // withDockerContainer [Pipeline] sh 10:04:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:04:51 Warning: overwriting stash ‘coverage-report’ 10:04:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:04:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:04:53 + ls -al . 10:04:53 total 256 10:04:53 drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 09:56 . 10:04:53 drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 09:53 .. 10:04:53 -rw-rw-r-- 1 jenkins jenkins 119 Aug 27 09:53 .dockerignore 10:04:53 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 09:53 .git 10:04:53 drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 09:53 .github 10:04:53 -rw-rw-r-- 1 jenkins jenkins 106 Aug 27 09:53 .gitignore 10:04:53 -rw-rw-r-- 1 jenkins jenkins 41 Aug 27 09:53 .golangci.yml 10:04:53 -rw-rw-r-- 1 jenkins jenkins 18981 Aug 27 09:53 Attribution.txt 10:04:53 -rw-rw-r-- 1 jenkins jenkins 37263 Aug 27 09:53 CHANGELOG.md 10:04:53 -rw-rw-r-- 1 jenkins jenkins 2007 Aug 27 09:53 Dockerfile 10:04:53 -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 09:53 GOVERNANCE.md 10:04:53 -rw-rw-r-- 1 jenkins jenkins 666 Aug 27 09:53 Jenkinsfile 10:04:53 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 27 09:53 LICENSE 10:04:53 -rw-rw-r-- 1 jenkins jenkins 618 Aug 27 09:53 OWNERS.md 10:04:53 -rw-rw-r-- 1 jenkins jenkins 4582 Aug 27 09:53 README.md 10:04:53 -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 09:51 VERSION 10:04:53 drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 09:53 bin 10:04:53 -rw-r--r-- 1 jenkins jenkins 13 Aug 27 09:56 coverage.out 10:04:53 -rw-rw-r-- 1 jenkins jenkins 7048 Aug 27 09:53 go.mod 10:04:53 -rw-rw-r-- 1 jenkins jenkins 101448 Aug 27 09:53 go.sum 10:04:53 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 27 09:53 main.go 10:04:53 -rw-rw-r-- 1 jenkins jenkins 2572 Aug 27 09:53 makefile 10:04:53 drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 09:53 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:53 + 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=6c2ba4a0c884392e751460449e212a813c87918f --label arch=arm64 --label version=0.0.0 . 10:04:53 Sending build context to Docker daemon 242.2kB 10:04:54 Step 1/27 : ARG BASE=golang:1.21-alpine3.18 10:04:54 Step 2/27 : FROM ${BASE} AS builder 10:04:54 ---> a5c69aa79bff 10:04:54 Step 3/27 : ARG ALPINE_PKG_BASE="make git" 10:04:54 ---> Running in 8ac20bdb8e56 10:04:54 Removing intermediate container 8ac20bdb8e56 10:04:54 ---> 77c46be85438 10:04:54 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 10:04:54 ---> Running in ecab99d1fb86 10:04:54 Removing intermediate container ecab99d1fb86 10:04:54 ---> 626c63204fd4 10:04:54 Step 5/27 : ARG ADD_BUILD_TAGS="" 10:04:54 ---> Running in f5bdaf5745df 10:04:55 Removing intermediate container f5bdaf5745df 10:04:55 ---> 2af7b13c2356 10:04:55 Step 6/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:04:55 ---> Running in 63b6900767ce 10:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:04:57 OK: 266 MiB in 52 packages 10:04:58 Removing intermediate container 63b6900767ce 10:04:58 ---> aaab5bc5c460 10:04:58 Step 7/27 : WORKDIR /app 10:04:58 ---> Running in 9a5592c09e40 10:04:58 Removing intermediate container 9a5592c09e40 10:04:58 ---> 6ad570685b40 10:04:58 Step 8/27 : COPY go.mod vendor* ./ 10:04:59 ---> dd9c2e01c893 10:04:59 Step 9/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:04:59 ---> Running in a5b29ea7b28d 10:05:02 Removing intermediate container a5b29ea7b28d 10:05:02 ---> 8f1592cc51e8 10:05:02 Step 10/27 : COPY . . 10:05:02 ---> c5ead62eb784 10:05:02 Step 11/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:02 ---> Running in c55102c692fe 10:05:02 Removing intermediate container c55102c692fe 10:05:02 ---> 42a5302a6bd3 10:05:02 Step 12/27 : RUN $MAKE 10:05:02 ---> Running in 3cb1ee50b254 10:05:03 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.2.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 10:08:41 Removing intermediate container 3cb1ee50b254 10:08:41 ---> 8f4d447a9b2e 10:08:41 Step 13/27 : FROM alpine:3.18 10:08:41 3.18: Pulling from library/alpine 10:08:41 4983c3fe2029: Pulling fs layer 10:08:41 4983c3fe2029: Verifying Checksum 10:08:41 4983c3fe2029: Download complete 10:08:41 4983c3fe2029: Pull complete 10:08:41 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 10:08:41 Status: Downloaded newer image for alpine:3.18 10:08:41 ---> a0237000ae83 10:08:41 Step 14/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:08:41 ---> Running in 19d7391fd387 10:08:41 Removing intermediate container 19d7391fd387 10:08:41 ---> 61e66ddf33c6 10:08:41 Step 15/27 : LABEL Name=app-service-configurable Version=${VERSION} 10:08:41 ---> Running in 0abeebf89373 10:08:41 Removing intermediate container 0abeebf89373 10:08:41 ---> 33790adf25a5 10:08:41 Step 16/27 : RUN apk add --update --no-cache ca-certificates dumb-init 10:08:41 ---> Running in 2e3231bedf3c 10:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:08:41 (1/2) Installing ca-certificates (20240226-r0) 10:08:41 (2/2) Installing dumb-init (1.2.5-r2) 10:08:41 Executing busybox-1.36.1-r7.trigger 10:08:41 Executing ca-certificates-20240226-r0.trigger 10:08:41 OK: 9 MiB in 17 packages 10:08:41 Removing intermediate container 2e3231bedf3c 10:08:41 ---> 1a384f7b1461 10:08:41 Step 17/27 : RUN apk --no-cache upgrade 10:08:41 ---> Running in 35d34a176d95 10:08:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:08:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:08:43 OK: 9 MiB in 17 packages 10:08:44 Removing intermediate container 35d34a176d95 10:08:44 ---> 0252d8b91137 10:08:44 Step 18/27 : COPY --from=builder /app/Attribution.txt /Attribution.txt 10:08:44 ---> ea66478031fa 10:08:44 Step 19/27 : COPY --from=builder /app/LICENSE /LICENSE 10:08:45 ---> 5f850bae2a42 10:08:45 Step 20/27 : COPY --from=builder /app/res/ /res/ 10:08:45 ---> 80a329763ce6 10:08:45 Step 21/27 : COPY --from=builder /app/app-service-configurable /app-service-configurable 10:08:47 ---> efcb3b89bebd 10:08:47 Step 22/27 : EXPOSE 48095 10:08:47 ---> Running in 8228ea8308c3 10:08:47 Removing intermediate container 8228ea8308c3 10:08:47 ---> a654b9c371ca 10:08:47 Step 23/27 : ENTRYPOINT ["/app-service-configurable"] 10:08:48 ---> Running in 4808edbb4af5 10:08:48 Removing intermediate container 4808edbb4af5 10:08:48 ---> c27bb42e47e5 10:08:48 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:08:48 ---> Running in 520eb3440ee7 10:08:48 Removing intermediate container 520eb3440ee7 10:08:48 ---> 9ec3fca26552 10:08:48 Step 25/27 : LABEL arch=arm64 10:08:48 ---> Running in b9d78895292e 10:08:49 Removing intermediate container b9d78895292e 10:08:49 ---> 8f7482636111 10:08:49 Step 26/27 : LABEL git_sha=6c2ba4a0c884392e751460449e212a813c87918f 10:08:49 ---> Running in 449d250e3c4e 10:08:49 Removing intermediate container 449d250e3c4e 10:08:49 ---> 0fc8379e0a8c 10:08:49 Step 27/27 : LABEL version=0.0.0 10:08:49 ---> Running in 59367cb12da0 10:08:49 Removing intermediate container 59367cb12da0 10:08:49 ---> 72453375169c 10:08:49 [Warning] One or more build-args [ARCH] were not consumed 10:08:49 Successfully built 72453375169c 10:08:49 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 10:08:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:08:50 10:08:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:08:51 arm64: Pulling from edgex-lftools-log-publisher 10:08:51 8998bd30e6a1: Pulling fs layer 10:08:51 04944245beec: Pulling fs layer 10:08:51 699f458cf7ca: Pulling fs layer 10:08:51 765212b225bb: Pulling fs layer 10:08:51 f23df028b6ca: Pulling fs layer 10:08:51 d65c8cfc05b1: Pulling fs layer 10:08:51 2437ff75d9bd: Pulling fs layer 10:08:51 d65c8cfc05b1: Waiting 10:08:51 765212b225bb: Waiting 10:08:51 f23df028b6ca: Waiting 10:08:51 2437ff75d9bd: Waiting 10:08:51 04944245beec: Verifying Checksum 10:08:51 04944245beec: Download complete 10:08:51 765212b225bb: Verifying Checksum 10:08:51 765212b225bb: Download complete 10:08:51 f23df028b6ca: Verifying Checksum 10:08:51 f23df028b6ca: Download complete 10:08:51 d65c8cfc05b1: Verifying Checksum 10:08:51 d65c8cfc05b1: Download complete 10:08:51 699f458cf7ca: Verifying Checksum 10:08:51 699f458cf7ca: Download complete 10:08:52 8998bd30e6a1: Verifying Checksum 10:08:52 8998bd30e6a1: Download complete 10:08:54 2437ff75d9bd: Verifying Checksum 10:08:54 2437ff75d9bd: Download complete 10:08:57 8998bd30e6a1: Pull complete 10:08:57 04944245beec: Pull complete 10:08:59 699f458cf7ca: Pull complete 10:08:59 765212b225bb: Pull complete 10:09:00 f23df028b6ca: Pull complete 10:09:00 d65c8cfc05b1: Pull complete 10:09:18 2437ff75d9bd: Pull complete 10:09:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:09:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:09:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:18 prd-ubuntu20.04-docker-arm64-4c-16g-8803 does not seem to be running inside a container 10:09:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:09:21 $ docker top 67fd588ccf28513543577eaffd4fe606d12fe8cde18f88f64a7e2d5665664b7c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:22 ---> job-cost.sh 10:09:22 lf-activate-venv: SKIPPING 10:09:22 INFO: No Stack... 10:09:22 INFO: Retrieving Pricing Info for: v3-standard-4 10:09:23 INFO: Archiving Costs [Pipeline] sh 10:09:24 + cut -d, -f6 10:09:24 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 10:09:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-app-service-configurable-issue-1603-1-stack-cost] 10:09:24 Resource [jenkins-edgexfoundry-app-service-configurable-issue-1603-1-stack-cost] did not exist. Created. 10:09:24 Lock acquired on [Resource: jenkins-edgexfoundry-app-service-configurable-issue-1603-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:09:24 /w/workspace/app-service-configurable/1@tmp/durable-594a6755/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:09:25 + echo total: 0.10999999940395355 [Pipeline] stash 10:09:25 Warning: overwriting stash ‘stack-cost’ 10:09:25 Stashed 1 file(s) [Pipeline] } 10:09:25 Lock released on resource [Resource: jenkins-edgexfoundry-app-service-configurable-issue-1603-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:09:25 $ docker stop --time=1 67fd588ccf28513543577eaffd4fe606d12fe8cde18f88f64a7e2d5665664b7c 10:09:27 $ docker rm -f --volumes 67fd588ccf28513543577eaffd4fe606d12fe8cde18f88f64a7e2d5665664b7c [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 10:09:28 provisioning config files... 10:09:28 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_service-configurable_issue-1603@tmp/config378096883132449188tmp [Pipeline] { [Pipeline] sh 10:09:29 + set +x 10:09:29 + curl -s https://codecov.io/bash+ 10:09:29 bash -s -- 10:09:29 10:09:29 _____ _ 10:09:29 / ____| | | 10:09:29 | | ___ __| | ___ ___ _____ __ 10:09:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:09:29 | |___| (_) | (_| | __/ (_| (_) \ V / 10:09:29 \_____\___/ \__,_|\___|\___\___/ \_/ 10:09:29 Bash-1.0.6 10:09:29 10:09:29 10:09:29 ==> git version 2.25.1 found 10:09:29 ==> 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 10:09:29 Release-Date: 2020-01-08 10:09:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:09:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:09:29 ==> Jenkins CI detected. 10:09:29 current dir:  /w/workspace/_service-configurable_issue-1603 10:09:29 project root: . 10:09:29 --> token set from env 10:09:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:09:29 ==> Running gcov in . (disable via -X gcov) 10:09:29 ==> Python coveragepy not found 10:09:29 ==> Searching for coverage reports in: 10:09:29 + . 10:09:29 -> Found 1 reports 10:09:29 ==> Detecting git/mercurial file structure 10:09:29 ==> Reading reports 10:09:29 + ./coverage.out bytes=13 10:09:29 ==> Appending adjustments 10:09:29 https://docs.codecov.io/docs/fixing-reports 10:09:29 + Found adjustments 10:09:29 ==> Gzipping contents 10:09:29 4.0K /tmp/codecov.ujtwmg.gz 10:09:29 ==> Uploading reports 10:09:29 url: https://codecov.io 10:09:29 query: branch=issue-1603&commit=6c2ba4a0c884392e751460449e212a813c87918f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fissue-1603%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 10:09:29 -> Pinging Codecov 10:09:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=issue-1603&commit=6c2ba4a0c884392e751460449e212a813c87918f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2Fissue-1603%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=&job=&cmd_args= 10:09:29 -> Uploading to 10:09:29 https://storage.googleapis.com/codecov/v4/raw/2024-08-27/A97CA9966030D2A3747ED39772930CCE/6c2ba4a0c884392e751460449e212a813c87918f/12d1729c-dd65-4b23-9250-2c9a249bf10f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240827%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240827T100929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e11687c87ceb01ff29ad56faa89fded991ce5737051d47500016543f10b2624 10:09:29 % Total % Received % Xferd Average Speed Time Time Time Current 10:09:29 Dload Upload Total Spent Left Speed 10:09:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 259 0 0 100 259 0 1161 --:--:-- --:--:-- --:--:-- 1161 10:09:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/6c2ba4a0c884392e751460449e212a813c87918f [Pipeline] } 10:09:29 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 10:09:31 + [ -d /w/workspace/_service-configurable_issue-1603/archives ] 10:09:31 + ls -al /w/workspace/_service-configurable_issue-1603/archives 10:09:31 total 16 10:09:31 drwxr-xr-x 3 root root 4096 Aug 27 09:55 . 10:09:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 09:55 .. 10:09:31 drwxr-xr-x 2 root root 4096 Aug 27 09:55 cost 10:09:31 -rw-r--r-- 1 root root 100 Aug 27 09:55 cost.csv 10:09:31 + sudo chown -R jenkins:jenkins /w/workspace/_service-configurable_issue-1603/archives 10:09:31 + ls -al /w/workspace/_service-configurable_issue-1603/archives 10:09:31 total 16 10:09:31 drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 09:55 . 10:09:31 drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 09:55 .. 10:09:31 drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 09:55 cost 10:09:31 -rw-r--r-- 1 jenkins jenkins 100 Aug 27 09:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:09:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:09:33 ---> package-listing.sh 10:09:33 ++ facter osfamily 10:09:33 ++ tr '[:upper:]' '[:lower:]' 10:09:33 + OS_FAMILY=debian 10:09:33 + workspace=/w/workspace/_service-configurable_issue-1603 10:09:33 + START_PACKAGES=/tmp/packages_start.txt 10:09:33 + END_PACKAGES=/tmp/packages_end.txt 10:09:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:09:33 + PACKAGES=/tmp/packages_start.txt 10:09:33 + '[' /w/workspace/_service-configurable_issue-1603 ']' 10:09:33 + PACKAGES=/tmp/packages_end.txt 10:09:33 + case "${OS_FAMILY}" in 10:09:33 + dpkg -l 10:09:33 + grep '^ii' 10:09:33 + '[' -f /tmp/packages_start.txt ']' 10:09:33 + '[' -f /tmp/packages_end.txt ']' 10:09:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:09:33 + '[' /w/workspace/_service-configurable_issue-1603 ']' 10:09:33 + mkdir -p /w/workspace/_service-configurable_issue-1603/archives/ 10:09:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_service-configurable_issue-1603/archives/ [Pipeline] echo 10:09:33 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/_service-configurable_issue-1603/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:09:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:34 prd-ubuntu20.04-docker-8c-8g-8801 does not seem to be running inside a container 10:09:34 $ 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/_service-configurable_issue-1603/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_service-configurable_issue-1603 -v /w/workspace/_service-configurable_issue-1603:/w/workspace/_service-configurable_issue-1603:rw,z -v /w/workspace/_service-configurable_issue-1603@tmp:/w/workspace/_service-configurable_issue-1603@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:09:34 $ docker top 9d2551b5fe8ec02ac2e4465f54ba200ffac2680cd70785fcfc5d1e3030be591b -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:35 + touch /tmp/pre-build-complete [Pipeline] sh 10:09:35 + mkdir -p /var/log/sysstat [Pipeline] sh 10:09:35 + ls /var/log/sa-host 10:09:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:09:36 provisioning config files... 10:09:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_service-configurable_issue-1603@tmp/config8789614204987121366tmp [Pipeline] { [Pipeline] echo 10:09:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:09:36 ---> create-netrc.sh [Pipeline] } 10:09:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:09:37 ---> python-tools-install.sh [Pipeline] echo 10:09:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:09:37 ---> sudo-logs.sh 10:09:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:09:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:09:37 ---> job-cost.sh 10:09:37 lf-activate-venv: SKIPPING 10:09:37 DEBUG: total: 0.2199999988079071 10:09:37 INFO: Retrieving Stack Cost... 10:09:38 INFO: Retrieving Pricing Info for: v3-standard-8 10:09:38 INFO: Archiving Costs [Pipeline] echo 10:09:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:09:39 ---> logs-deploy.sh 10:09:39 lf-activate-venv: SKIPPING 10:09:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/issue-1603/1 10:09:39 INFO: archiving workspace using pattern(s): 10:09:39 Archives upload complete. 10:09:39 INFO: archiving logs to Nexus