Pull request #572 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6cefd742d83ac7ab52e22cca5e62c63bc8f23562+458aadecb4486dfbbf1060360ea4d12c7efd2521 (f3c2519ed79629a3677ff0d048d102089c851c51) 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-ssh12446404858706323242.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh17634713797090937175.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-572/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-572/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3230672066296860071.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-572/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1412663195750651639.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh15312268523741050195.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-572/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-572/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17614025888578592239.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1156 in /w/workspace/_app-service-configurable_PR-572 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-service-configurable.git > git init /w/workspace/_app-service-configurable_PR-572 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/572/head:refs/remotes/origin/PR-572 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 458aadecb4486dfbbf1060360ea4d12c7efd2521 into PR head commit 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 Merge succeeded, producing 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 Checking out Revision 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 (PR-572) Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:09:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 458aadecb4486dfbbf1060360ea4d12c7efd2521 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:09:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:09:23 ========================================================= 12:09:23 EdgeX Global Pipelines Version Info 12:09:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:09:24 ------------------- 12:09:24 stable info: 12:09:24 ------------------- 12:09:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:09:24 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:09:24 Message: update stable to v1.0.250 12:09:24 ------------------- 12:09:24 experimental info: 12:09:24 ------------------- 12:09:24 Commited By: **** collab-it+edgex@linuxfoundation.org 12:09:24 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:09:24 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:09:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-572 [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-572 [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-572 [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cefd74 [Pipeline] echo 12:09:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:09:26 provisioning config files... 12:09:26 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-572@tmp/config15542938272132368511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:09:26 ---> docker-login.sh 12:09:26 nexus3.edgexfoundry.org:10001 12:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:27 Configure a credential helper to remove this warning. See 12:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:27 12:09:27 Login Succeeded 12:09:27 nexus3.edgexfoundry.org:10002 12:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:27 Configure a credential helper to remove this warning. See 12:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:27 12:09:27 Login Succeeded 12:09:27 nexus3.edgexfoundry.org:10003 12:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:27 Configure a credential helper to remove this warning. See 12:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:27 12:09:27 Login Succeeded 12:09:27 nexus3.edgexfoundry.org:10004 12:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:27 Configure a credential helper to remove this warning. See 12:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:27 12:09:27 Login Succeeded 12:09:27 docker.io 12:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:27 Configure a credential helper to remove this warning. See 12:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:27 12:09:27 Login Succeeded 12:09:27 ---> docker-login.sh ends [Pipeline] } 12:09:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:09:28 + git rev-list -1 --merges 6cefd742d83ac7ab52e22cca5e62c63bc8f23562~1..6cefd742d83ac7ab52e22cca5e62c63bc8f23562 [Pipeline] echo 12:09:28 -----------> git rev-list -1 --merges 6cefd742d83ac7ab52e22cca5e62c63bc8f23562~1..6cefd742d83ac7ab52e22cca5e62c63bc8f23562 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 [false] [Pipeline] sh 12:09:29 + git log --format=format:%s -1 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 [Pipeline] echo 12:09:29 ========================================================= 12:09:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:09:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:29 + git log --format=format:%s -1 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 [Pipeline] echo 12:09:29 [semverPrep] GIT_COMMIT: 6cefd742d83ac7ab52e22cca5e62c63bc8f23562, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:09:29 [semverPrep] This is not a build commit. [Pipeline] sh 12:09:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:09:30 + grep -v github /etc/ssh/ssh_known_hosts 12:09:30 + [ -e /tmp/ssh_known_hosts ] 12:09:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:09:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:09:30 + sudo tee -a /etc/ssh/ssh_known_hosts 12:09:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:09:30 12:09:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:09:31 0.1.4: Pulling from edgex-devops/py-git-semver 12:09:31 b85a868b505f: Pulling fs layer 12:09:31 e2be974225ed: Pulling fs layer 12:09:31 339a4e72a1f5: Pulling fs layer 12:09:31 988bab9f4d93: Pulling fs layer 12:09:31 1469e6f7b9e6: Pulling fs layer 12:09:31 eaf3925da568: Pulling fs layer 12:09:31 bab4dde63d76: Pulling fs layer 12:09:31 bde34c3a00c8: Pulling fs layer 12:09:31 b352a97aabf1: Pulling fs layer 12:09:31 4872d77fe225: Pulling fs layer 12:09:31 5851b861e8e6: Pulling fs layer 12:09:31 1469e6f7b9e6: Waiting 12:09:31 988bab9f4d93: Waiting 12:09:31 eaf3925da568: Waiting 12:09:31 bab4dde63d76: Waiting 12:09:31 bde34c3a00c8: Waiting 12:09:31 b352a97aabf1: Waiting 12:09:31 4872d77fe225: Waiting 12:09:31 e2be974225ed: Download complete 12:09:31 988bab9f4d93: Verifying Checksum 12:09:31 988bab9f4d93: Download complete 12:09:31 1469e6f7b9e6: Verifying Checksum 12:09:31 1469e6f7b9e6: Download complete 12:09:31 eaf3925da568: Download complete 12:09:31 339a4e72a1f5: Verifying Checksum 12:09:31 339a4e72a1f5: Download complete 12:09:31 bde34c3a00c8: Download complete 12:09:31 b352a97aabf1: Verifying Checksum 12:09:31 b352a97aabf1: Download complete 12:09:31 4872d77fe225: Verifying Checksum 12:09:31 4872d77fe225: Download complete 12:09:31 5851b861e8e6: Download complete 12:09:31 b85a868b505f: Verifying Checksum 12:09:31 b85a868b505f: Download complete 12:09:31 bab4dde63d76: Verifying Checksum 12:09:31 bab4dde63d76: Download complete 12:09:32 b85a868b505f: Pull complete 12:09:32 e2be974225ed: Pull complete 12:09:33 339a4e72a1f5: Pull complete 12:09:33 988bab9f4d93: Pull complete 12:09:33 1469e6f7b9e6: Pull complete 12:09:33 eaf3925da568: Pull complete 12:09:34 bab4dde63d76: Pull complete 12:09:35 bde34c3a00c8: Pull complete 12:09:35 b352a97aabf1: Pull complete 12:09:35 4872d77fe225: Pull complete 12:09:35 5851b861e8e6: Pull complete 12:09:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:09:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:09:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:09:35 prd-ubuntu20.04-docker-8c-8g-1156 does not seem to be running inside a container 12:09:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-572 -v /w/workspace/_app-service-configurable_PR-572:/w/workspace/_app-service-configurable_PR-572:rw,z -v /w/workspace/_app-service-configurable_PR-572@tmp:/w/workspace/_app-service-configurable_PR-572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:09:40 $ docker top 9cadf6dc5514a7433625b72128af11ff37ea89e1494d9c2620806a700c9ab13b -eo pid,comm 12:09:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:09:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:09:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:09:40 [ssh-agent] Looking for ssh-agent implementation... 12:09:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:09:40 $ docker exec 9cadf6dc5514a7433625b72128af11ff37ea89e1494d9c2620806a700c9ab13b ssh-agent 12:09:40 SSH_AUTH_SOCK=/tmp/ssh-KdbskTzIks3b/agent.31 12:09:40 SSH_AGENT_PID=37 12:09:40 Running ssh-add (command line suppressed) 12:09:40 Identity added: /w/workspace/_app-service-configurable_PR-572@tmp/private_key_4250995116258578891.key (/w/workspace/_app-service-configurable_PR-572@tmp/private_key_4250995116258578891.key) 12:09:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:09:41 + git tag --points-at HEAD [Pipeline] } 12:09:41 $ docker exec --env ******** --env ******** 9cadf6dc5514a7433625b72128af11ff37ea89e1494d9c2620806a700c9ab13b ssh-agent -k 12:09:41 unset SSH_AUTH_SOCK; 12:09:41 unset SSH_AGENT_PID; 12:09:41 echo Agent pid 37 killed; 12:09:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:09:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:09:41 [ssh-agent] Looking for ssh-agent implementation... 12:09:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:09:41 $ docker exec 9cadf6dc5514a7433625b72128af11ff37ea89e1494d9c2620806a700c9ab13b ssh-agent 12:09:41 SSH_AUTH_SOCK=/tmp/ssh-n47uylJ3BaCj/agent.69 12:09:41 SSH_AGENT_PID=75 12:09:41 Running ssh-add (command line suppressed) 12:09:41 Identity added: /w/workspace/_app-service-configurable_PR-572@tmp/private_key_14178392820337613364.key (/w/workspace/_app-service-configurable_PR-572@tmp/private_key_14178392820337613364.key) 12:09:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:09:42 + git semver init 12:09:42 2023-07-14 12:09:42,418 [run_init] DEBUG init version:0.0.0 force:False 12:09:42 2023-07-14 12:09:42,419 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-572/.semver 12:09:42 2023-07-14 12:09:42,419 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-572/.semver 12:09:42 2023-07-14 12:09:42,419 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-572/.semver'], cwd=/w/workspace/_app-service-configurable_PR-572, universal_newlines=False, shell=None, istream=None) 12:09:43 2023-07-14 12:09:43,215 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-572/.git/info/exclude 12:09:43 2023-07-14 12:09:43,215 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-572/.semver/PR-572 with force:False 12:09:43 2023-07-14 12:09:43,215 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-572/.semver/PR-572 12:09:43 2023-07-14 12:09:43,219 [execute] INFO git cat-file --batch-check 12:09:43 2023-07-14 12:09:43,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-572/.semver, universal_newlines=False, shell=None, istream=) 12:09:43 2023-07-14 12:09:43,226 [execute] INFO git cat-file --batch 12:09:43 2023-07-14 12:09:43,226 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-572/.semver, universal_newlines=False, shell=None, istream=) 12:09:43 2023-07-14 12:09:43,230 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-572/.semver/PR-572 12:09:43 0.0.0 [Pipeline] } 12:09:43 $ docker exec --env ******** --env ******** 9cadf6dc5514a7433625b72128af11ff37ea89e1494d9c2620806a700c9ab13b ssh-agent -k 12:09:43 unset SSH_AUTH_SOCK; 12:09:43 unset SSH_AGENT_PID; 12:09:43 echo Agent pid 75 killed; 12:09:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:09:44 + git semver [Pipeline] } 12:09:44 $ docker stop --time=1 9cadf6dc5514a7433625b72128af11ff37ea89e1494d9c2620806a700c9ab13b 12:09:45 $ docker rm -f --volumes 9cadf6dc5514a7433625b72128af11ff37ea89e1494d9c2620806a700c9ab13b [Pipeline] // withDockerContainer [Pipeline] sh 12:09:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:09:46 Stashed 1 file(s) [Pipeline] echo 12:09:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:09:47 provisioning config files... 12:09:47 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-572@tmp/config9054324385904275322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:09:47 ---> docker-login.sh 12:09:47 nexus3.edgexfoundry.org:10001 12:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:47 Configure a credential helper to remove this warning. See 12:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:47 12:09:47 Login Succeeded 12:09:47 nexus3.edgexfoundry.org:10002 12:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:47 Configure a credential helper to remove this warning. See 12:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:47 12:09:47 Login Succeeded 12:09:47 nexus3.edgexfoundry.org:10003 12:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:47 Configure a credential helper to remove this warning. See 12:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:47 12:09:47 Login Succeeded 12:09:47 nexus3.edgexfoundry.org:10004 12:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:47 Configure a credential helper to remove this warning. See 12:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:47 12:09:47 Login Succeeded 12:09:47 docker.io 12:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:48 Configure a credential helper to remove this warning. See 12:09:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:48 12:09:48 Login Succeeded 12:09:48 ---> docker-login.sh ends [Pipeline] } 12:09:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:09:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:09:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:09:48 ========================================================= 12:09:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:09:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:09:48 Sending build context to Docker daemon 3.302MB 12:09:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:09:48 Step 2/12 : FROM ${BASE} AS builder 12:09:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:09:48 4db1b89c0bd1: Pulling fs layer 12:09:48 6911f1a30b25: Pulling fs layer 12:09:48 e194b8c5c2a9: Pulling fs layer 12:09:48 6863d3e3a2b1: Pulling fs layer 12:09:48 ec0bb842ea78: Pulling fs layer 12:09:48 40a00589a448: Pulling fs layer 12:09:48 6c08303d61cc: Pulling fs layer 12:09:48 798269fcf238: Pulling fs layer 12:09:48 40a00589a448: Waiting 12:09:48 6863d3e3a2b1: Waiting 12:09:48 ec0bb842ea78: Waiting 12:09:48 6c08303d61cc: Waiting 12:09:48 798269fcf238: Waiting 12:09:48 6911f1a30b25: Verifying Checksum 12:09:48 6911f1a30b25: Download complete 12:09:48 6863d3e3a2b1: Verifying Checksum 12:09:48 6863d3e3a2b1: Download complete 12:09:48 ec0bb842ea78: Verifying Checksum 12:09:48 ec0bb842ea78: Download complete 12:09:49 4db1b89c0bd1: Download complete 12:09:49 40a00589a448: Verifying Checksum 12:09:49 40a00589a448: Download complete 12:09:49 4db1b89c0bd1: Pull complete 12:09:49 798269fcf238: Verifying Checksum 12:09:49 798269fcf238: Download complete 12:09:49 6911f1a30b25: Pull complete 12:09:49 e194b8c5c2a9: Verifying Checksum 12:09:49 e194b8c5c2a9: Download complete 12:09:49 6c08303d61cc: Verifying Checksum 12:09:49 6c08303d61cc: Download complete 12:09:53 e194b8c5c2a9: Pull complete 12:09:53 6863d3e3a2b1: Pull complete 12:09:53 ec0bb842ea78: Pull complete 12:09:53 40a00589a448: Pull complete 12:09:55 6c08303d61cc: Pull complete 12:09:56 798269fcf238: Pull complete 12:09:56 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:09:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:09:56 ---> ec979cd7f677 12:09:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:10:01 Still waiting to schedule task 12:10:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:10:02 ---> Running in adcce7e50637 12:10:02 Removing intermediate container adcce7e50637 12:10:02 ---> 07e32fa1eab5 12:10:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:10:02 ---> Running in 67858b481c0a 12:10:02 Removing intermediate container 67858b481c0a 12:10:02 ---> 90d1340f5e62 12:10:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:10:02 ---> Running in c838576530ef 12:10:02 Removing intermediate container c838576530ef 12:10:02 ---> 3548603b9d80 12:10:02 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:10:02 ---> Running in ed2c2c96a1da 12:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:10:03 OK: 265 MiB in 53 packages 12:10:03 Removing intermediate container ed2c2c96a1da 12:10:03 ---> a1778f06c9c3 12:10:03 Step 7/12 : WORKDIR /app 12:10:03 ---> Running in a16ef4aadb17 12:10:03 Removing intermediate container a16ef4aadb17 12:10:03 ---> f28c247a27d9 12:10:03 Step 8/12 : COPY go.mod vendor* ./ 12:10:04 ---> 124928a8aee1 12:10:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:04 ---> Running in b7651d137c94 12:11:11 Removing intermediate container b7651d137c94 12:11:11 ---> 775bd902bbed 12:11:11 Step 10/12 : COPY . . 12:11:11 ---> 0b6565b387f9 12:11:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:11:11 ---> Running in 3851d596a18e 12:11:11 Removing intermediate container 3851d596a18e 12:11:11 ---> 346cd991f98e 12:11:11 Step 12/12 : RUN $MAKE 12:11:11 ---> Running in 6cf64cedbbdd 12:11:11 noop 12:11:11 Removing intermediate container 6cf64cedbbdd 12:11:11 ---> 1b04c91415ca 12:11:11 Successfully built 1b04c91415ca 12:11:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:12 + docker inspect -f . ci-base-image-x86_64 12:11:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:11:12 prd-ubuntu20.04-docker-8c-8g-1156 does not seem to be running inside a container 12:11:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-572 -v /w/workspace/_app-service-configurable_PR-572:/w/workspace/_app-service-configurable_PR-572:rw,z -v /w/workspace/_app-service-configurable_PR-572@tmp:/w/workspace/_app-service-configurable_PR-572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:11:12 $ docker top d03f63bba73996c3797aece28354a58ef010747fe3cc7f7e56cc69e82e2af29f -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:13 + go version 12:11:13 go version go1.20.6 linux/amd64 [Pipeline] } 12:11:13 $ docker stop --time=1 d03f63bba73996c3797aece28354a58ef010747fe3cc7f7e56cc69e82e2af29f 12:11:14 $ docker rm -f --volumes d03f63bba73996c3797aece28354a58ef010747fe3cc7f7e56cc69e82e2af29f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:15 + docker inspect -f . ci-base-image-x86_64 12:11:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:11:15 prd-ubuntu20.04-docker-8c-8g-1156 does not seem to be running inside a container 12:11:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-572 -v /w/workspace/_app-service-configurable_PR-572:/w/workspace/_app-service-configurable_PR-572:rw,z -v /w/workspace/_app-service-configurable_PR-572@tmp:/w/workspace/_app-service-configurable_PR-572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:11:15 $ docker top 83172fe8e428a33f068385ef7b7c53a49aaf18b404f20b109c525482a40ef2c1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:16 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-572 [Pipeline] fileExists [Pipeline] sh 12:11:16 + make test 12:11:16 go test -race -coverprofile=coverage.out ./... 12:11:34 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:11:52 go vet ./... 12:11:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:11:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:11:56 ./bin/test-attribution-txt.sh [Pipeline] echo 12:11:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:11:56 $ docker stop --time=1 83172fe8e428a33f068385ef7b7c53a49aaf18b404f20b109c525482a40ef2c1 12:11:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1157 in /w/workspace/_app-service-configurable_PR-572 12:12:02 $ docker rm -f --volumes 83172fe8e428a33f068385ef7b7c53a49aaf18b404f20b109c525482a40ef2c1 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 12:12:02 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:12:02 Selected Git installation does not exist. Using Default 12:12:02 The recommended git tool is: NONE 12:12:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:12:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:12:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:12:04 + ls -al . 12:12:04 total 180 12:12:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 12:11 . 12:12:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 12:09 .. 12:12:04 -rw-rw-r-- 1 jenkins jenkins 119 Jul 14 12:09 .dockerignore 12:12:04 drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 12:09 .git 12:12:04 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 12:09 .github 12:12:04 -rw-rw-r-- 1 jenkins jenkins 171 Jul 14 12:09 .gitignore 12:12:04 -rw-rw-r-- 1 jenkins jenkins 41 Jul 14 12:09 .golangci.yml 12:12:04 drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 12:09 .semver 12:12:04 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 14 12:09 Attribution.txt 12:12:04 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 14 12:09 CHANGELOG.md 12:12:04 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 14 12:09 Dockerfile 12:12:04 -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 12:09 GOVERNANCE.md 12:12:04 -rw-rw-r-- 1 jenkins jenkins 688 Jul 14 12:09 Jenkinsfile 12:12:04 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 14 12:09 LICENSE 12:12:04 -rw-rw-r-- 1 jenkins jenkins 618 Jul 14 12:09 OWNERS.md 12:12:04 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 14 12:09 README.md 12:12:04 -rw-rw-r-- 1 jenkins jenkins 5 Jul 14 12:09 VERSION 12:12:04 drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 12:09 bin 12:12:04 -rw-r--r-- 1 jenkins jenkins 13 Jul 14 12:11 coverage.out 12:12:04 -rw-rw-r-- 1 jenkins jenkins 3467 Jul 14 12:09 go.mod 12:12:04 -rw-rw-r-- 1 jenkins jenkins 32448 Jul 14 12:09 go.sum 12:12:04 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 14 12:09 main.go 12:12:04 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 14 12:09 makefile 12:12:04 drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 12:09 res 12:12:04 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 12:09 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:04 + docker build -t app-service-configurable -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6cefd742d83ac7ab52e22cca5e62c63bc8f23562 --label arch=amd64 --label version=0.0.0 . 12:12:04 Sending build context to Docker daemon 3.303MB 12:12:04 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:12:04 Step 2/26 : FROM ${BASE} AS builder 12:12:04 ---> 1b04c91415ca 12:12:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:12:04 ---> Running in df8907045185 12:12:04 Removing intermediate container df8907045185 12:12:04 ---> 41d2b24ac06e 12:12:04 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:12:04 ---> Running in c296490c70ec 12:12:04 Removing intermediate container c296490c70ec 12:12:04 ---> 3cb9c00c1691 12:12:04 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:12:04 ---> Running in 039eef65d8a5 12:12:04 Removing intermediate container 039eef65d8a5 12:12:04 ---> 20bca1593f75 12:12:04 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:12:04 ---> Running in 5af546490bb0 12:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:12:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:12:08 OK: 265 MiB in 53 packages 12:12:08 Removing intermediate container 5af546490bb0 12:12:08 ---> 4e9268a24664 12:12:08 Step 7/26 : WORKDIR /app 12:12:08 ---> Running in 78817d49e832 12:12:08 Removing intermediate container 78817d49e832 12:12:08 ---> d958c7e8ed2b 12:12:08 Step 8/26 : COPY go.mod vendor* ./ 12:12:08 ---> c6dfc82ff0f3 12:12:08 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:12:08 ---> Running in 4e320f768898 12:12:09 Removing intermediate container 4e320f768898 12:12:09 ---> d66f872b51ee 12:12:09 Step 10/26 : COPY . . 12:12:10 ---> 58fb805842e7 12:12:10 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:12:10 ---> Running in a7fbe44d2dab 12:12:10 Removing intermediate container a7fbe44d2dab 12:12:10 ---> e30062ec8dc7 12:12:10 Step 12/26 : RUN $MAKE 12:12:10 ---> Running in 1eda0b6c6f68 12:12:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.6 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:12:11 using credential edgex-jenkins-ssh 12:12:11 Cloning the remote Git repository 12:12:11 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:12:11 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:12:11 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:12:11 > git --version # timeout=10 12:12:11 > git --version # 'git version 2.25.1' 12:12:11 using GIT_SSH to set credentials SSH Credentials for GitHub 12:12:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:12:14 Merging remotes/origin/main commit 458aadecb4486dfbbf1060360ea4d12c7efd2521 into PR head commit 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 12:12:13 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:12:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:12:14 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:12:14 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:12:14 using GIT_SSH to set credentials SSH Credentials for GitHub 12:12:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/572/head:refs/remotes/origin/PR-572 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:12:14 > git config core.sparsecheckout # timeout=10 12:12:14 Merge succeeded, producing 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 12:12:14 Checking out Revision 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 (PR-572) 12:12:15 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:12:15 > git --version # timeout=10 12:12:15 > git --version # 'git version 2.25.1' 12:12:15 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 12:12:14 > git checkout -f 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 # timeout=10 12:12:14 > git remote # timeout=10 12:12:14 > git config --get remote.origin.url # timeout=10 12:12:14 using GIT_SSH to set credentials SSH Credentials for GitHub 12:12:14 > git merge 458aadecb4486dfbbf1060360ea4d12c7efd2521 # timeout=10 12:12:14 > git rev-parse HEAD^{commit} # timeout=10 12:12:14 > git config core.sparsecheckout # timeout=10 12:12:14 > git checkout -f 6cefd742d83ac7ab52e22cca5e62c63bc8f23562 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 12:12:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:12:16 % Total % Received % Xferd Average Speed Time Time Time Current 12:12:16 Dload Upload Total Spent Left Speed 12:12:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 12:12:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:12:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:12:17 + sudo tee /etc/docker/daemon.new 12:12:17 { 12:12:17 "registry-mirrors": [ 12:12:17 "https://nexus3.edgexfoundry.org:10001" 12:12:17 ], 12:12:17 "bip": "10.250.0.254/24", 12:12:17 "hosts": [ 12:12:17 "tcp://0.0.0.0:5555", 12:12:17 "unix:///var/run/docker.sock" 12:12:17 ], 12:12:17 "mtu": 1458, 12:12:17 "selinux-enabled": true, 12:12:17 "seccomp-profile": "/etc/docker/seccomp.json" 12:12:17 } [Pipeline] sh 12:12:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:12:18 + sudo service docker restart 12:12:32 Removing intermediate container 1eda0b6c6f68 12:12:32 ---> 28cfb6124746 12:12:32 Step 13/26 : FROM alpine:3.17 12:12:32 3.17: Pulling from library/alpine 12:12:32 4db1b89c0bd1: Already exists 12:12:32 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:12:32 Status: Downloaded newer image for alpine:3.17 12:12:32 ---> 1f73a9d63274 12:12:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:12:32 ---> Running in 7900441373bd 12:12:32 Removing intermediate container 7900441373bd 12:12:32 ---> ca09c01d9336 12:12:32 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:12:32 ---> Running in 08a489100ebd 12:12:32 Removing intermediate container 08a489100ebd 12:12:32 ---> ecca55f4013a 12:12:32 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:12:32 ---> Running in 3bd76687dd63 12:12:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:12:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:12:32 (1/2) Installing ca-certificates (20230506-r0) 12:12:32 (2/2) Installing dumb-init (1.2.5-r2) 12:12:32 Executing busybox-1.35.0-r29.trigger 12:12:32 Executing ca-certificates-20230506-r0.trigger 12:12:32 OK: 8 MiB in 17 packages 12:12:32 Removing intermediate container 3bd76687dd63 12:12:32 ---> 3a208aca9572 12:12:32 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:12:32 ---> 21a51b3a8499 12:12:32 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:12:32 ---> a9d323884b09 12:12:32 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:12:32 ---> ceaaab30dd4b 12:12:32 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:12:32 ---> 8d372ea4d696 12:12:32 Step 21/26 : EXPOSE 48095 12:12:32 ---> Running in b0f14dbb44e9 12:12:32 Removing intermediate container b0f14dbb44e9 12:12:32 ---> 5651a117dbef 12:12:32 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:12:32 ---> Running in 49a5f24e0e75 12:12:33 Removing intermediate container 49a5f24e0e75 12:12:33 ---> b91e684270be 12:12:33 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:12:33 ---> Running in 5c0e43d73c90 12:12:33 Removing intermediate container 5c0e43d73c90 12:12:33 ---> 700b5272097f 12:12:33 Step 24/26 : LABEL arch=amd64 12:12:33 ---> Running in 620d4c8df907 12:12:33 Removing intermediate container 620d4c8df907 12:12:33 ---> 30cd9735f030 12:12:33 Step 25/26 : LABEL git_sha=6cefd742d83ac7ab52e22cca5e62c63bc8f23562 12:12:33 ---> Running in 58f2d154df5d 12:12:33 Removing intermediate container 58f2d154df5d 12:12:33 ---> d1a03ae56fd7 12:12:33 Step 26/26 : LABEL version=0.0.0 12:12:33 ---> Running in 98c1ab3b408a 12:12:33 Removing intermediate container 98c1ab3b408a 12:12:33 ---> bcc25a94c2f5 12:12:33 [Warning] One or more build-args [ARCH] were not consumed 12:12:33 Successfully built bcc25a94c2f5 12:12:33 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:34 12:12:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:34 latest: Pulling from edgex-lftools-log-publisher 12:12:34 5eb5b503b376: Pulling fs layer 12:12:34 5c69ac0246d0: Pulling fs layer 12:12:34 ec43610c2a17: Pulling fs layer 12:12:34 3a2ae6a8a46f: Pulling fs layer 12:12:34 33b1e0a273af: Pulling fs layer 12:12:34 5d3b04190fa2: Pulling fs layer 12:12:34 2f39f015ded8: Pulling fs layer 12:12:34 5d3b04190fa2: Waiting 12:12:34 33b1e0a273af: Waiting 12:12:34 2f39f015ded8: Waiting 12:12:34 3a2ae6a8a46f: Waiting 12:12:34 5c69ac0246d0: Download complete 12:12:34 3a2ae6a8a46f: Verifying Checksum 12:12:34 3a2ae6a8a46f: Download complete 12:12:34 33b1e0a273af: Verifying Checksum 12:12:34 33b1e0a273af: Download complete 12:12:34 5d3b04190fa2: Verifying Checksum 12:12:34 5d3b04190fa2: Download complete 12:12:34 ec43610c2a17: Verifying Checksum 12:12:34 ec43610c2a17: Download complete 12:12:34 5eb5b503b376: Verifying Checksum 12:12:34 5eb5b503b376: Download complete 12:12:35 2f39f015ded8: Download complete 12:12:35 5eb5b503b376: Pull complete 12:12:35 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:12:36 provisioning config files... 12:12:36 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config3244173891240513138tmp 12:12:36 ec43610c2a17: Pull complete 12:12:36 3a2ae6a8a46f: Pull complete [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:36 33b1e0a273af: Pull complete 12:12:36 5d3b04190fa2: Pull complete 12:12:36 ---> docker-login.sh 12:12:36 nexus3.edgexfoundry.org:10001 12:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:37 Configure a credential helper to remove this warning. See 12:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:37 12:12:37 Login Succeeded 12:12:37 nexus3.edgexfoundry.org:10002 12:12:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:37 Configure a credential helper to remove this warning. See 12:12:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:37 12:12:37 Login Succeeded 12:12:37 nexus3.edgexfoundry.org:10003 12:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:38 Configure a credential helper to remove this warning. See 12:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:38 12:12:38 Login Succeeded 12:12:38 nexus3.edgexfoundry.org:10004 12:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:38 Configure a credential helper to remove this warning. See 12:12:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:38 12:12:38 Login Succeeded 12:12:38 docker.io 12:12:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:12:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:12:39 Configure a credential helper to remove this warning. See 12:12:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:12:39 12:12:39 Login Succeeded 12:12:39 ---> docker-login.sh ends [Pipeline] } 12:12:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:12:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:12:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:12:39 ========================================================= 12:12:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:12:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:12:40 Sending build context to Docker daemon 176.1kB 12:12:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:12:40 Step 2/12 : FROM ${BASE} AS builder 12:12:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:12:40 edb6bdbacee9: Pulling fs layer 12:12:40 5f9638ab2659: Pulling fs layer 12:12:40 8d51d6327a98: Pulling fs layer 12:12:40 8b374f2dd631: Pulling fs layer 12:12:40 ec14aa9079de: Pulling fs layer 12:12:40 2f466654f4bb: Pulling fs layer 12:12:40 554e91adad29: Pulling fs layer 12:12:40 ec14aa9079de: Waiting 12:12:40 2f466654f4bb: Waiting 12:12:40 554e91adad29: Waiting 12:12:40 8b374f2dd631: Waiting 12:12:40 5f9638ab2659: Download complete 12:12:40 8b374f2dd631: Verifying Checksum 12:12:40 8b374f2dd631: Download complete 12:12:40 ec14aa9079de: Download complete 12:12:40 edb6bdbacee9: Verifying Checksum 12:12:40 edb6bdbacee9: Download complete 12:12:40 2f39f015ded8: Pull complete 12:12:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:12:41 prd-ubuntu20.04-docker-8c-8g-1156 does not seem to be running inside a container 12:12:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-572 -v /w/workspace/_app-service-configurable_PR-572:/w/workspace/_app-service-configurable_PR-572:rw,z -v /w/workspace/_app-service-configurable_PR-572@tmp:/w/workspace/_app-service-configurable_PR-572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:12:41 edb6bdbacee9: Pull complete 12:12:41 554e91adad29: Verifying Checksum 12:12:41 554e91adad29: Download complete 12:12:42 5f9638ab2659: Pull complete 12:12:43 8d51d6327a98: Verifying Checksum 12:12:43 8d51d6327a98: Download complete 12:12:43 2f466654f4bb: Verifying Checksum 12:12:43 2f466654f4bb: Download complete 12:12:48 $ docker top f1136f793c8e5cb1b24c17de75c474d6fd249d3ea92110e901756436f68266c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:48 ---> job-cost.sh 12:12:48 lf-activate-venv: SKIPPING 12:12:48 INFO: No Stack... 12:12:49 INFO: Retrieving Pricing Info for: v3-standard-8 12:12:49 INFO: Archiving Costs [Pipeline] sh 12:12:50 + cut -d, -f6 12:12:50 + cat /w/workspace/_app-service-configurable_PR-572/archives/cost.csv [Pipeline] lock 12:12:50 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-572-1-stack-cost] 12:12:50 Resource [jenkins-edgexfoundry-app-service-configurable-PR-572-1-stack-cost] did not exist. Created. 12:12:50 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-572-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:50 + echo total: 0.2199999988079071 [Pipeline] stash 12:12:50 Stashed 1 file(s) [Pipeline] } 12:12:50 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-572-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:50 $ docker stop --time=1 f1136f793c8e5cb1b24c17de75c474d6fd249d3ea92110e901756436f68266c3 12:12:52 $ docker rm -f --volumes f1136f793c8e5cb1b24c17de75c474d6fd249d3ea92110e901756436f68266c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:12:55 8d51d6327a98: Pull complete 12:12:55 8b374f2dd631: Pull complete 12:12:55 ec14aa9079de: Pull complete 12:13:03 2f466654f4bb: Pull complete 12:13:05 554e91adad29: Pull complete 12:13:05 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:13:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:13:05 ---> 1e15ea492957 12:13:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:13:06 ---> Running in 09677372f98e 12:13:06 Removing intermediate container 09677372f98e 12:13:06 ---> e2435384b89b 12:13:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:13:06 ---> Running in b31ce152129c 12:13:07 Removing intermediate container b31ce152129c 12:13:07 ---> aa654269598b 12:13:07 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:13:07 ---> Running in d5bb29b152a0 12:13:07 Removing intermediate container d5bb29b152a0 12:13:07 ---> ad289885f964 12:13:07 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:13:07 ---> Running in 5dc4bf5a074a 12:13:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:13:10 OK: 263 MiB in 53 packages 12:13:10 Removing intermediate container 5dc4bf5a074a 12:13:10 ---> de46f598f568 12:13:10 Step 7/12 : WORKDIR /app 12:13:11 ---> Running in bf4925f90044 12:13:11 Removing intermediate container bf4925f90044 12:13:11 ---> b0ed6e3af65e 12:13:11 Step 8/12 : COPY go.mod vendor* ./ 12:13:11 ---> 9d0a114dcf57 12:13:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:13:11 ---> Running in ced838b38fa6 12:14:19 Removing intermediate container ced838b38fa6 12:14:19 ---> c9b0f8b3a774 12:14:19 Step 10/12 : COPY . . 12:14:19 ---> 9eaf42e83597 12:14:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:14:19 ---> Running in ff57318bd215 12:14:19 Removing intermediate container ff57318bd215 12:14:19 ---> 9cb34687703e 12:14:19 Step 12/12 : RUN $MAKE 12:14:19 ---> Running in 342c4c7eb166 12:14:19 noop 12:14:19 Removing intermediate container 342c4c7eb166 12:14:19 ---> 25105832e66c 12:14:19 Successfully built 25105832e66c 12:14:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:20 + docker inspect -f . ci-base-image-arm64 12:14:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:20 prd-ubuntu20.04-docker-arm64-4c-16g-1157 does not seem to be running inside a container 12:14:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:14:21 $ docker top 0f09de419c44026ed0d8b77df395891fa92bb1353251f562d16848dd296616c2 -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:22 + go version 12:14:22 go version go1.20.6 linux/arm64 [Pipeline] } 12:14:22 $ docker stop --time=1 0f09de419c44026ed0d8b77df395891fa92bb1353251f562d16848dd296616c2 12:14:24 $ docker rm -f --volumes 0f09de419c44026ed0d8b77df395891fa92bb1353251f562d16848dd296616c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:25 + docker inspect -f . ci-base-image-arm64 12:14:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:14:25 prd-ubuntu20.04-docker-arm64-4c-16g-1157 does not seem to be running inside a container 12:14:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:14:26 $ docker top 5314d3d2e610ff3f4977b7ca1816acb67d63af9802d38e951645584faadac9ab -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:27 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:14:27 + make test 12:14:27 go test -race -coverprofile=coverage.out ./... 12:16:49 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:16:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:16:49 go vet ./... 12:18:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:18:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:18:55 ./bin/test-attribution-txt.sh [Pipeline] echo 12:18:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:18:55 $ docker stop --time=1 5314d3d2e610ff3f4977b7ca1816acb67d63af9802d38e951645584faadac9ab 12:18:57 $ docker rm -f --volumes 5314d3d2e610ff3f4977b7ca1816acb67d63af9802d38e951645584faadac9ab [Pipeline] // withDockerContainer [Pipeline] sh 12:18:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:18:59 Warning: overwriting stash ‘coverage-report’ 12:18:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:19:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:19:00 + ls -al . 12:19:00 total 176 12:19:00 drwxrwxr-x 7 jenkins jenkins 4096 Jul 14 12:14 . 12:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 12:12 .. 12:19:00 -rw-rw-r-- 1 jenkins jenkins 119 Jul 14 12:12 .dockerignore 12:19:00 drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 12:12 .git 12:19:00 drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 12:12 .github 12:19:00 -rw-rw-r-- 1 jenkins jenkins 171 Jul 14 12:12 .gitignore 12:19:00 -rw-rw-r-- 1 jenkins jenkins 41 Jul 14 12:12 .golangci.yml 12:19:00 -rw-rw-r-- 1 jenkins jenkins 9736 Jul 14 12:12 Attribution.txt 12:19:00 -rw-rw-r-- 1 jenkins jenkins 34764 Jul 14 12:12 CHANGELOG.md 12:19:00 -rw-rw-r-- 1 jenkins jenkins 1898 Jul 14 12:12 Dockerfile 12:19:00 -rw-rw-r-- 1 jenkins jenkins 677 Jul 14 12:12 GOVERNANCE.md 12:19:00 -rw-rw-r-- 1 jenkins jenkins 688 Jul 14 12:12 Jenkinsfile 12:19:00 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 14 12:12 LICENSE 12:19:00 -rw-rw-r-- 1 jenkins jenkins 618 Jul 14 12:12 OWNERS.md 12:19:00 -rw-rw-r-- 1 jenkins jenkins 4885 Jul 14 12:12 README.md 12:19:00 -rw-rw-r-- 1 jenkins jenkins 5 Jul 14 12:09 VERSION 12:19:00 drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 12:12 bin 12:19:00 -rw-r--r-- 1 jenkins jenkins 13 Jul 14 12:14 coverage.out 12:19:00 -rw-rw-r-- 1 jenkins jenkins 3467 Jul 14 12:12 go.mod 12:19:00 -rw-rw-r-- 1 jenkins jenkins 32448 Jul 14 12:12 go.sum 12:19:00 -rw-rw-r-- 1 jenkins jenkins 1937 Jul 14 12:12 main.go 12:19:00 -rw-rw-r-- 1 jenkins jenkins 2569 Jul 14 12:12 makefile 12:19:00 drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 12:12 res 12:19:00 drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 12:12 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:19:01 + 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=6cefd742d83ac7ab52e22cca5e62c63bc8f23562 --label arch=arm64 --label version=0.0.0 . 12:19:01 Sending build context to Docker daemon 177.2kB 12:19:01 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:19:01 Step 2/26 : FROM ${BASE} AS builder 12:19:01 ---> 25105832e66c 12:19:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:19:01 ---> Running in d773b929fc9c 12:19:01 Removing intermediate container d773b929fc9c 12:19:01 ---> 9e925e18e924 12:19:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:19:01 ---> Running in 92d7c5629330 12:19:02 Removing intermediate container 92d7c5629330 12:19:02 ---> fe3e49679ab7 12:19:02 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:19:02 ---> Running in 4da1d9008c99 12:19:02 Removing intermediate container 4da1d9008c99 12:19:02 ---> d6307a76e85f 12:19:02 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:19:02 ---> Running in a7edc85bbaac 12:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:19:04 OK: 263 MiB in 53 packages 12:19:05 Removing intermediate container a7edc85bbaac 12:19:05 ---> 963269c456c8 12:19:05 Step 7/26 : WORKDIR /app 12:19:05 ---> Running in 3ca166b9bc3a 12:19:06 Removing intermediate container 3ca166b9bc3a 12:19:06 ---> 08079a9d6c54 12:19:06 Step 8/26 : COPY go.mod vendor* ./ 12:19:06 ---> 55fb2912a544 12:19:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:19:06 ---> Running in ef1d784e4074 12:19:09 Removing intermediate container ef1d784e4074 12:19:09 ---> d8e54196c1d1 12:19:09 Step 10/26 : COPY . . 12:19:09 ---> 545e08bb0dcf 12:19:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:19:09 ---> Running in 142108e34fa9 12:19:09 Removing intermediate container 142108e34fa9 12:19:09 ---> 25f72e1b0b6e 12:19:09 Step 12/26 : RUN $MAKE 12:19:09 ---> Running in 54ab3a0d8431 12:19:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.6 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:21:17 Removing intermediate container 54ab3a0d8431 12:21:17 ---> cf78a1cd778f 12:21:17 Step 13/26 : FROM alpine:3.17 12:21:17 3.17: Pulling from library/alpine 12:21:17 edb6bdbacee9: Already exists 12:21:17 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:21:17 Status: Downloaded newer image for alpine:3.17 12:21:17 ---> 779605e5fbc0 12:21:17 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:21:17 ---> Running in 5960cc6ba8c2 12:21:17 Removing intermediate container 5960cc6ba8c2 12:21:17 ---> 7625329bd25b 12:21:17 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:21:17 ---> Running in ed456c0f8194 12:21:17 Removing intermediate container ed456c0f8194 12:21:17 ---> ef603f4b6444 12:21:17 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:21:17 ---> Running in db45cbf9b70e 12:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:21:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:21:17 (1/2) Installing ca-certificates (20230506-r0) 12:21:17 (2/2) Installing dumb-init (1.2.5-r2) 12:21:17 Executing busybox-1.35.0-r29.trigger 12:21:17 Executing ca-certificates-20230506-r0.trigger 12:21:17 OK: 8 MiB in 17 packages 12:21:18 Removing intermediate container db45cbf9b70e 12:21:18 ---> ab63f33bbc0b 12:21:18 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:21:19 ---> b4e0dbf98526 12:21:19 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:21:19 ---> b29c3df54f29 12:21:19 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:21:20 ---> 7507991d44a4 12:21:20 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:21:21 ---> 4f1e07edbcac 12:21:21 Step 21/26 : EXPOSE 48095 12:21:21 ---> Running in 285b6cfe858f 12:21:21 Removing intermediate container 285b6cfe858f 12:21:21 ---> e5bf2ed5ad31 12:21:21 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:21:21 ---> Running in 104bd2a89ea0 12:21:21 Removing intermediate container 104bd2a89ea0 12:21:21 ---> b39d97bd52fb 12:21:21 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:21:22 ---> Running in 43860f3051d4 12:21:22 Removing intermediate container 43860f3051d4 12:21:22 ---> e84d4775440b 12:21:22 Step 24/26 : LABEL arch=arm64 12:21:22 ---> Running in 457a2af60af5 12:21:22 Removing intermediate container 457a2af60af5 12:21:22 ---> 1d6cb8bb1c09 12:21:22 Step 25/26 : LABEL git_sha=6cefd742d83ac7ab52e22cca5e62c63bc8f23562 12:21:22 ---> Running in 401dfab5d103 12:21:22 Removing intermediate container 401dfab5d103 12:21:22 ---> 01e0efba1438 12:21:22 Step 26/26 : LABEL version=0.0.0 12:21:23 ---> Running in 7b60dcefcc5d 12:21:23 Removing intermediate container 7b60dcefcc5d 12:21:23 ---> 8a5964ddfb42 12:21:23 [Warning] One or more build-args [ARCH] were not consumed 12:21:23 Successfully built 8a5964ddfb42 12:21:23 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:24 12:21:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:21:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:24 arm64: Pulling from edgex-lftools-log-publisher 12:21:24 8998bd30e6a1: Pulling fs layer 12:21:24 04944245beec: Pulling fs layer 12:21:24 699f458cf7ca: Pulling fs layer 12:21:24 765212b225bb: Pulling fs layer 12:21:24 f23df028b6ca: Pulling fs layer 12:21:24 d65c8cfc05b1: Pulling fs layer 12:21:24 2437ff75d9bd: Pulling fs layer 12:21:24 765212b225bb: Waiting 12:21:24 f23df028b6ca: Waiting 12:21:24 d65c8cfc05b1: Waiting 12:21:24 2437ff75d9bd: Waiting 12:21:24 04944245beec: Verifying Checksum 12:21:24 04944245beec: Download complete 12:21:24 765212b225bb: Download complete 12:21:24 f23df028b6ca: Verifying Checksum 12:21:24 f23df028b6ca: Download complete 12:21:24 d65c8cfc05b1: Verifying Checksum 12:21:24 d65c8cfc05b1: Download complete 12:21:24 699f458cf7ca: Verifying Checksum 12:21:24 699f458cf7ca: Download complete 12:21:25 8998bd30e6a1: Verifying Checksum 12:21:25 8998bd30e6a1: Download complete 12:21:27 2437ff75d9bd: Verifying Checksum 12:21:27 2437ff75d9bd: Download complete 12:21:29 8998bd30e6a1: Pull complete 12:21:29 04944245beec: Pull complete 12:21:31 699f458cf7ca: Pull complete 12:21:31 765212b225bb: Pull complete 12:21:31 f23df028b6ca: Pull complete 12:21:32 d65c8cfc05b1: Pull complete 12:21:47 2437ff75d9bd: Pull complete 12:21:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:21:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:21:47 prd-ubuntu20.04-docker-arm64-4c-16g-1157 does not seem to be running inside a container 12:21:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:21:50 $ docker top b0ae5bc749abd965fd450608c457757c6612a0f154f12189ac15e13029dddc7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:21:50 ---> job-cost.sh 12:21:50 lf-activate-venv: SKIPPING 12:21:50 INFO: No Stack... 12:21:51 INFO: Retrieving Pricing Info for: v3-standard-4 12:21:52 INFO: Archiving Costs [Pipeline] sh 12:21:52 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:21:52 + cut -d, -f6 [Pipeline] lock 12:21:53 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-572-1-stack-cost] 12:21:53 Resource [jenkins-edgexfoundry-app-service-configurable-PR-572-1-stack-cost] did not exist. Created. 12:21:53 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-572-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:21:53 /w/workspace/app-service-configurable/1@tmp/durable-492eb2c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:21:53 + echo total: 0.10999999940395355 [Pipeline] stash 12:21:53 Warning: overwriting stash ‘stack-cost’ 12:21:53 Stashed 1 file(s) [Pipeline] } 12:21:53 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-572-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:21:54 $ docker stop --time=1 b0ae5bc749abd965fd450608c457757c6612a0f154f12189ac15e13029dddc7b 12:21:55 $ docker rm -f --volumes b0ae5bc749abd965fd450608c457757c6612a0f154f12189ac15e13029dddc7b [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 12:21:56 provisioning config files... 12:21:56 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-572@tmp/config2225093246045374452tmp [Pipeline] { [Pipeline] sh 12:21:56 + set +x 12:21:56 + bash -s -- 12:21:56 + curl -s https://codecov.io/bash 12:21:56 12:21:56 _____ _ 12:21:56 / ____| | | 12:21:56 | | ___ __| | ___ ___ _____ __ 12:21:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:21:56 | |___| (_) | (_| | __/ (_| (_) \ V / 12:21:56 \_____\___/ \__,_|\___|\___\___/ \_/ 12:21:56 Bash-1.0.6 12:21:56 12:21:56 12:21:56 ==> git version 2.25.1 found 12:21:56 ==> 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 12:21:56 Release-Date: 2020-01-08 12:21:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:21:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:21:56 ==> Jenkins CI detected. 12:21:56 current dir:  /w/workspace/_app-service-configurable_PR-572 12:21:56 project root: . 12:21:56 --> token set from env 12:21:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:21:56 ==> Running gcov in . (disable via -X gcov) 12:21:56 ==> Python coveragepy not found 12:21:56 ==> Searching for coverage reports in: 12:21:56 + . 12:21:56 -> Found 1 reports 12:21:56 ==> Detecting git/mercurial file structure 12:21:56 ==> Reading reports 12:21:56 + ./coverage.out bytes=13 12:21:57 ==> Appending adjustments 12:21:57 https://docs.codecov.io/docs/fixing-reports 12:21:57 + Found adjustments 12:21:57 ==> Gzipping contents 12:21:57 4.0K /tmp/codecov.GUR5MT.gz 12:21:57 ==> Uploading reports 12:21:57 url: https://codecov.io 12:21:57 query: branch=PR-572&commit=6cefd742d83ac7ab52e22cca5e62c63bc8f23562&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-572%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=572&job=&cmd_args= 12:21:57 -> Pinging Codecov 12:21:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-572&commit=6cefd742d83ac7ab52e22cca5e62c63bc8f23562&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-572%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=572&job=&cmd_args= 12:21:57 -> Uploading to 12:21:57 https://storage.googleapis.com/codecov/v4/raw/2023-07-14/A97CA9966030D2A3747ED39772930CCE/6cefd742d83ac7ab52e22cca5e62c63bc8f23562/2e276e34-025c-4b9e-8654-d0ab6dd1fbc1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230714%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230714T122157Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2b098d38cd11a7bdc02d37ccf457ece82b49b1e4b881040bfcb8ce16c30e83fe 12:21:57 % Total % Received % Xferd Average Speed Time Time Time Current 12:21:57 Dload Upload Total Spent Left Speed 12:21:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2072 --:--:-- --:--:-- --:--:-- 2072 12:21:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/6cefd742d83ac7ab52e22cca5e62c63bc8f23562 [Pipeline] } 12:21:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:21:59 + [ -d /w/workspace/_app-service-configurable_PR-572/archives ] 12:21:59 + ls -al /w/workspace/_app-service-configurable_PR-572/archives 12:21:59 total 16 12:21:59 drwxr-xr-x 3 root root 4096 Jul 14 12:12 . 12:21:59 drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 12:12 .. 12:21:59 drwxr-xr-x 2 root root 4096 Jul 14 12:12 cost 12:21:59 -rw-r--r-- 1 root root 96 Jul 14 12:12 cost.csv 12:21:59 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-572/archives 12:21:59 + ls -al /w/workspace/_app-service-configurable_PR-572/archives 12:21:59 total 16 12:21:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 12:12 . 12:21:59 drwxrwxr-x 9 jenkins jenkins 4096 Jul 14 12:12 .. 12:21:59 drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 12:12 cost 12:21:59 -rw-r--r-- 1 jenkins jenkins 96 Jul 14 12:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:21:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:22:00 ---> package-listing.sh 12:22:00 ++ tr '[:upper:]' '[:lower:]' 12:22:00 ++ facter osfamily 12:22:00 + OS_FAMILY=debian 12:22:00 + workspace=/w/workspace/_app-service-configurable_PR-572 12:22:00 + START_PACKAGES=/tmp/packages_start.txt 12:22:00 + END_PACKAGES=/tmp/packages_end.txt 12:22:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:22:00 + PACKAGES=/tmp/packages_start.txt 12:22:00 + '[' /w/workspace/_app-service-configurable_PR-572 ']' 12:22:00 + PACKAGES=/tmp/packages_end.txt 12:22:00 + case "${OS_FAMILY}" in 12:22:00 + dpkg -l 12:22:00 + grep '^ii' 12:22:00 + '[' -f /tmp/packages_start.txt ']' 12:22:00 + '[' -f /tmp/packages_end.txt ']' 12:22:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:22:00 + '[' /w/workspace/_app-service-configurable_PR-572 ']' 12:22:00 + mkdir -p /w/workspace/_app-service-configurable_PR-572/archives/ 12:22:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-572/archives/ [Pipeline] echo 12:22:00 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-572/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:22:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:22:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:01 prd-ubuntu20.04-docker-8c-8g-1156 does not seem to be running inside a container 12:22:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-572/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-572 -v /w/workspace/_app-service-configurable_PR-572:/w/workspace/_app-service-configurable_PR-572:rw,z -v /w/workspace/_app-service-configurable_PR-572@tmp:/w/workspace/_app-service-configurable_PR-572@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:22:01 $ docker top 260363654b6b694ff691267a54442d583e654d8050bee49ecba59b8c1742bf79 -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:02 + touch /tmp/pre-build-complete [Pipeline] sh 12:22:02 + mkdir -p /var/log/sysstat [Pipeline] sh 12:22:02 + ls /var/log/sa-host 12:22:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:22:03 provisioning config files... 12:22:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-572@tmp/config17609981355066635929tmp [Pipeline] { [Pipeline] echo 12:22:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:22:03 ---> create-netrc.sh [Pipeline] } 12:22:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:22:03 ---> python-tools-install.sh [Pipeline] echo 12:22:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:22:04 ---> sudo-logs.sh 12:22:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:22:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:22:04 ---> job-cost.sh 12:22:04 lf-activate-venv: SKIPPING 12:22:04 DEBUG: total: 0.2199999988079071 12:22:04 INFO: Retrieving Stack Cost... 12:22:05 INFO: Retrieving Pricing Info for: v3-standard-8 12:22:05 INFO: Archiving Costs [Pipeline] echo 12:22:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:22:05 ---> logs-deploy.sh 12:22:05 lf-activate-venv: SKIPPING 12:22:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-572/1 12:22:05 INFO: archiving workspace using pattern(s): 12:22:06 Archives upload complete. 12:22:06 INFO: archiving logs to Nexus