Pull request #582 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 51692767299c85358170ee308925a9831d166441+d26351ee030fdea045c7f8955b5650a87ad9db10 (6c96cf20219b77e05c2524106e661286480cf82b) 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-ssh6314077799059497920.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-ssh2558267520552008232.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-582/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-582/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6729070610087682976.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-582/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5648614905307865237.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-ssh10767872658647454363.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-582/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-582/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh893226298815517683.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-2654 in /w/workspace/_app-service-configurable_PR-582 [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-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d26351ee030fdea045c7f8955b5650a87ad9db10 into PR head commit 51692767299c85358170ee308925a9831d166441 Merge succeeded, producing 51692767299c85358170ee308925a9831d166441 Checking out Revision 51692767299c85358170ee308925a9831d166441 (PR-582) 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] { > 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/582/head:refs/remotes/origin/PR-582 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51692767299c85358170ee308925a9831d166441 # 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 d26351ee030fdea045c7f8955b5650a87ad9db10 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51692767299c85358170ee308925a9831d166441 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:33:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:33:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:33:15 ========================================================= 12:33:15 EdgeX Global Pipelines Version Info 12:33:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:33:16 ------------------- 12:33:16 stable info: 12:33:16 ------------------- 12:33:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:33:16 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:33:16 Message: update stable to v1.0.250 12:33:17 ------------------- 12:33:17 experimental info: 12:33:17 ------------------- 12:33:17 Commited By: **** collab-it+edgex@linuxfoundation.org 12:33:17 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:33:17 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:33:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51692767299c85358170ee308925a9831d166441 [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5169276 [Pipeline] echo 12:33:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:33:19 provisioning config files... 12:33:19 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-582@tmp/config9310313155778924951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:33:19 ---> docker-login.sh 12:33:19 nexus3.edgexfoundry.org:10001 12:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:19 Configure a credential helper to remove this warning. See 12:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:19 12:33:19 Login Succeeded 12:33:19 nexus3.edgexfoundry.org:10002 12:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:19 Configure a credential helper to remove this warning. See 12:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:19 12:33:19 Login Succeeded 12:33:19 nexus3.edgexfoundry.org:10003 12:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:19 Configure a credential helper to remove this warning. See 12:33:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:19 12:33:19 Login Succeeded 12:33:19 nexus3.edgexfoundry.org:10004 12:33:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:20 Configure a credential helper to remove this warning. See 12:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:20 12:33:20 Login Succeeded 12:33:20 docker.io 12:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:20 Configure a credential helper to remove this warning. See 12:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:20 12:33:20 Login Succeeded 12:33:20 ---> docker-login.sh ends [Pipeline] } 12:33:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:33:21 + git rev-list -1 --merges 51692767299c85358170ee308925a9831d166441~1..51692767299c85358170ee308925a9831d166441 [Pipeline] echo 12:33:21 -----------> git rev-list -1 --merges 51692767299c85358170ee308925a9831d166441~1..51692767299c85358170ee308925a9831d166441 51692767299c85358170ee308925a9831d166441 [false] [Pipeline] sh 12:33:21 + git log --format=format:%s -1 51692767299c85358170ee308925a9831d166441 [Pipeline] echo 12:33:21 ========================================================= 12:33:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:33:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:33:21 + git log --format=format:%s -1 51692767299c85358170ee308925a9831d166441 [Pipeline] echo 12:33:21 [semverPrep] GIT_COMMIT: 51692767299c85358170ee308925a9831d166441, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:33:21 [semverPrep] This is not a build commit. [Pipeline] sh 12:33:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:33:22 + grep -v github /etc/ssh/ssh_known_hosts 12:33:22 + [ -e /tmp/ssh_known_hosts ] 12:33:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:33:22 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 12:33:22 -a /etc/ssh/ssh_known_hosts 12:33:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:33:22 12:33:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:33:23 0.1.4: Pulling from edgex-devops/py-git-semver 12:33:23 b85a868b505f: Pulling fs layer 12:33:23 e2be974225ed: Pulling fs layer 12:33:23 339a4e72a1f5: Pulling fs layer 12:33:23 988bab9f4d93: Pulling fs layer 12:33:23 1469e6f7b9e6: Pulling fs layer 12:33:23 eaf3925da568: Pulling fs layer 12:33:23 bab4dde63d76: Pulling fs layer 12:33:23 bde34c3a00c8: Pulling fs layer 12:33:23 b352a97aabf1: Pulling fs layer 12:33:23 4872d77fe225: Pulling fs layer 12:33:23 5851b861e8e6: Pulling fs layer 12:33:23 988bab9f4d93: Waiting 12:33:23 4872d77fe225: Waiting 12:33:23 5851b861e8e6: Waiting 12:33:23 bab4dde63d76: Waiting 12:33:23 b352a97aabf1: Waiting 12:33:23 bde34c3a00c8: Waiting 12:33:23 eaf3925da568: Waiting 12:33:23 e2be974225ed: Download complete 12:33:23 988bab9f4d93: Verifying Checksum 12:33:23 988bab9f4d93: Download complete 12:33:23 1469e6f7b9e6: Verifying Checksum 12:33:23 1469e6f7b9e6: Download complete 12:33:23 339a4e72a1f5: Verifying Checksum 12:33:23 339a4e72a1f5: Download complete 12:33:23 eaf3925da568: Verifying Checksum 12:33:23 eaf3925da568: Download complete 12:33:23 bde34c3a00c8: Download complete 12:33:23 b352a97aabf1: Verifying Checksum 12:33:23 b352a97aabf1: Download complete 12:33:23 4872d77fe225: Verifying Checksum 12:33:23 4872d77fe225: Download complete 12:33:23 5851b861e8e6: Download complete 12:33:23 b85a868b505f: Verifying Checksum 12:33:23 b85a868b505f: Download complete 12:33:23 bab4dde63d76: Verifying Checksum 12:33:23 bab4dde63d76: Download complete 12:33:25 b85a868b505f: Pull complete 12:33:25 e2be974225ed: Pull complete 12:33:25 339a4e72a1f5: Pull complete 12:33:25 988bab9f4d93: Pull complete 12:33:25 1469e6f7b9e6: Pull complete 12:33:25 eaf3925da568: Pull complete 12:33:27 bab4dde63d76: Pull complete 12:33:27 bde34c3a00c8: Pull complete 12:33:27 b352a97aabf1: Pull complete 12:33:27 4872d77fe225: Pull complete 12:33:27 5851b861e8e6: Pull complete 12:33:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:33:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:33:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:33:28 prd-ubuntu20.04-docker-8c-8g-2654 does not seem to be running inside a container 12:33:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-582 -v /w/workspace/_app-service-configurable_PR-582:/w/workspace/_app-service-configurable_PR-582:rw,z -v /w/workspace/_app-service-configurable_PR-582@tmp:/w/workspace/_app-service-configurable_PR-582@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:33:31 $ docker top 77a72b78ca623d432ba7c65d8b814ef230e0f91b68e6e760396982cddb88cd84 -eo pid,comm 12:33:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:33:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:33:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:33:31 [ssh-agent] Looking for ssh-agent implementation... 12:33:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:33:31 $ docker exec 77a72b78ca623d432ba7c65d8b814ef230e0f91b68e6e760396982cddb88cd84 ssh-agent 12:33:31 SSH_AUTH_SOCK=/tmp/ssh-37ngRMZpPB22/agent.32 12:33:31 SSH_AGENT_PID=38 12:33:31 Running ssh-add (command line suppressed) 12:33:31 Identity added: /w/workspace/_app-service-configurable_PR-582@tmp/private_key_14271451995230469996.key (/w/workspace/_app-service-configurable_PR-582@tmp/private_key_14271451995230469996.key) 12:33:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:33:32 + git tag --points-at HEAD [Pipeline] } 12:33:32 $ docker exec --env ******** --env ******** 77a72b78ca623d432ba7c65d8b814ef230e0f91b68e6e760396982cddb88cd84 ssh-agent -k 12:33:32 unset SSH_AUTH_SOCK; 12:33:32 unset SSH_AGENT_PID; 12:33:32 echo Agent pid 38 killed; 12:33:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:33:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:33:32 [ssh-agent] Looking for ssh-agent implementation... 12:33:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:33:32 $ docker exec 77a72b78ca623d432ba7c65d8b814ef230e0f91b68e6e760396982cddb88cd84 ssh-agent 12:33:32 SSH_AUTH_SOCK=/tmp/ssh-WRaIxCpXbOFM/agent.69 12:33:32 SSH_AGENT_PID=75 12:33:32 Running ssh-add (command line suppressed) 12:33:32 Identity added: /w/workspace/_app-service-configurable_PR-582@tmp/private_key_9601021594347619958.key (/w/workspace/_app-service-configurable_PR-582@tmp/private_key_9601021594347619958.key) 12:33:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:33:33 + git semver init 12:33:33 2023-08-01 12:33:33,289 [run_init] DEBUG init version:0.0.0 force:False 12:33:33 2023-08-01 12:33:33,290 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-582/.semver 12:33:33 2023-08-01 12:33:33,290 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-582/.semver 12:33:33 2023-08-01 12:33:33,290 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-582/.semver'], cwd=/w/workspace/_app-service-configurable_PR-582, universal_newlines=False, shell=None, istream=None) 12:33:34 2023-08-01 12:33:34,081 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-582/.git/info/exclude 12:33:34 2023-08-01 12:33:34,082 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-582/.semver/PR-582 with force:False 12:33:34 2023-08-01 12:33:34,082 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-582/.semver/PR-582 12:33:34 2023-08-01 12:33:34,086 [execute] INFO git cat-file --batch-check 12:33:34 2023-08-01 12:33:34,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-582/.semver, universal_newlines=False, shell=None, istream=) 12:33:34 2023-08-01 12:33:34,091 [execute] INFO git cat-file --batch 12:33:34 2023-08-01 12:33:34,091 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-582/.semver, universal_newlines=False, shell=None, istream=) 12:33:34 2023-08-01 12:33:34,095 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-582/.semver/PR-582 12:33:34 0.0.0 [Pipeline] } 12:33:34 $ docker exec --env ******** --env ******** 77a72b78ca623d432ba7c65d8b814ef230e0f91b68e6e760396982cddb88cd84 ssh-agent -k 12:33:34 unset SSH_AUTH_SOCK; 12:33:34 unset SSH_AGENT_PID; 12:33:34 echo Agent pid 75 killed; 12:33:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:33:34 + git semver [Pipeline] } 12:33:35 $ docker stop --time=1 77a72b78ca623d432ba7c65d8b814ef230e0f91b68e6e760396982cddb88cd84 12:33:36 $ docker rm -f --volumes 77a72b78ca623d432ba7c65d8b814ef230e0f91b68e6e760396982cddb88cd84 [Pipeline] // withDockerContainer [Pipeline] sh 12:33:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:33:37 Stashed 1 file(s) [Pipeline] echo 12:33:37 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:33:37 provisioning config files... 12:33:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-582@tmp/config15460844563747210226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:33:38 ---> docker-login.sh 12:33:38 nexus3.edgexfoundry.org:10001 12:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:38 Configure a credential helper to remove this warning. See 12:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:38 12:33:38 Login Succeeded 12:33:38 nexus3.edgexfoundry.org:10002 12:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:38 Configure a credential helper to remove this warning. See 12:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:38 12:33:38 Login Succeeded 12:33:38 nexus3.edgexfoundry.org:10003 12:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:38 Configure a credential helper to remove this warning. See 12:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:38 12:33:38 Login Succeeded 12:33:38 nexus3.edgexfoundry.org:10004 12:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:38 Configure a credential helper to remove this warning. See 12:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:38 12:33:38 Login Succeeded 12:33:38 docker.io 12:33:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:38 Configure a credential helper to remove this warning. See 12:33:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:38 12:33:38 Login Succeeded 12:33:38 ---> docker-login.sh ends [Pipeline] } 12:33:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:33:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:33:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:33:38 ========================================================= 12:33:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:33:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:33:39 + 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:33:39 Sending build context to Docker daemon 3.314MB 12:33:39 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:33:39 Step 2/12 : FROM ${BASE} AS builder 12:33:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:33:39 4db1b89c0bd1: Pulling fs layer 12:33:39 6911f1a30b25: Pulling fs layer 12:33:39 e194b8c5c2a9: Pulling fs layer 12:33:39 6863d3e3a2b1: Pulling fs layer 12:33:39 ec0bb842ea78: Pulling fs layer 12:33:39 40a00589a448: Pulling fs layer 12:33:39 6c08303d61cc: Pulling fs layer 12:33:39 798269fcf238: Pulling fs layer 12:33:39 ec0bb842ea78: Waiting 12:33:39 40a00589a448: Waiting 12:33:39 6c08303d61cc: Waiting 12:33:39 798269fcf238: Waiting 12:33:39 6863d3e3a2b1: Waiting 12:33:39 6911f1a30b25: Download complete 12:33:39 6863d3e3a2b1: Download complete 12:33:39 ec0bb842ea78: Verifying Checksum 12:33:39 ec0bb842ea78: Download complete 12:33:39 4db1b89c0bd1: Verifying Checksum 12:33:39 4db1b89c0bd1: Download complete 12:33:39 40a00589a448: Verifying Checksum 12:33:39 40a00589a448: Download complete 12:33:39 4db1b89c0bd1: Pull complete 12:33:39 6911f1a30b25: Pull complete 12:33:39 798269fcf238: Download complete 12:33:40 e194b8c5c2a9: Verifying Checksum 12:33:40 e194b8c5c2a9: Download complete 12:33:40 6c08303d61cc: Verifying Checksum 12:33:40 6c08303d61cc: Download complete 12:33:42 e194b8c5c2a9: Pull complete 12:33:43 6863d3e3a2b1: Pull complete 12:33:43 ec0bb842ea78: Pull complete 12:33:43 40a00589a448: Pull complete 12:33:45 6c08303d61cc: Pull complete 12:33:46 798269fcf238: Pull complete 12:33:46 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 12:33:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:33:46 ---> ec979cd7f677 12:33:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:33:51 ---> Running in c373dc396d5f 12:33:51 Removing intermediate container c373dc396d5f 12:33:51 ---> 045521d8fc6d 12:33:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:33:51 ---> Running in d2916ad29dcb 12:33:51 Removing intermediate container d2916ad29dcb 12:33:51 ---> fecd99b98d03 12:33:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:33:51 ---> Running in ae3544ed85de 12:33:51 Removing intermediate container ae3544ed85de 12:33:51 ---> 2b48e740b2d2 12:33:51 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:33:51 ---> Running in 3a43fb526403 12:33:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:33:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:33:51 OK: 265 MiB in 53 packages 12:33:52 Removing intermediate container 3a43fb526403 12:33:52 ---> 972bcae9cd13 12:33:52 Step 7/12 : WORKDIR /app 12:33:52 ---> Running in dec803715fed 12:33:52 Removing intermediate container dec803715fed 12:33:52 ---> bbaa41e79149 12:33:52 Step 8/12 : COPY go.mod vendor* ./ 12:33:52 ---> d2b0e661ea7e 12:33:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:33:52 ---> Running in 00217e18f562 12:33:52 Still waiting to schedule task 12:33:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:34:39 Removing intermediate container 00217e18f562 12:34:39 ---> befd74061416 12:34:39 Step 10/12 : COPY . . 12:34:39 ---> b2e92ae02b3f 12:34:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:34:39 ---> Running in 238ab2444a99 12:34:39 Removing intermediate container 238ab2444a99 12:34:39 ---> 9757e4a7330b 12:34:39 Step 12/12 : RUN $MAKE 12:34:39 ---> Running in 602cc2f8bb01 12:34:39 noop 12:34:39 Removing intermediate container 602cc2f8bb01 12:34:39 ---> fa3b94f76182 12:34:39 Successfully built fa3b94f76182 12:34:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:34:39 + docker inspect -f . ci-base-image-x86_64 12:34:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:34:39 prd-ubuntu20.04-docker-8c-8g-2654 does not seem to be running inside a container 12:34:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-582 -v /w/workspace/_app-service-configurable_PR-582:/w/workspace/_app-service-configurable_PR-582:rw,z -v /w/workspace/_app-service-configurable_PR-582@tmp:/w/workspace/_app-service-configurable_PR-582@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:34:39 $ docker top 72dc2283b458270663faac39ea0f0f4d0bee21eb706b57070a4a8a464da2c0d3 -eo pid,comm [Pipeline] { [Pipeline] sh 12:34:40 + go version 12:34:40 go version go1.20.6 linux/amd64 [Pipeline] } 12:34:40 $ docker stop --time=1 72dc2283b458270663faac39ea0f0f4d0bee21eb706b57070a4a8a464da2c0d3 12:34:41 $ docker rm -f --volumes 72dc2283b458270663faac39ea0f0f4d0bee21eb706b57070a4a8a464da2c0d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:34:42 + docker inspect -f . ci-base-image-x86_64 12:34:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:34:42 prd-ubuntu20.04-docker-8c-8g-2654 does not seem to be running inside a container 12:34:42 $ 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-582 -v /w/workspace/_app-service-configurable_PR-582:/w/workspace/_app-service-configurable_PR-582:rw,z -v /w/workspace/_app-service-configurable_PR-582@tmp:/w/workspace/_app-service-configurable_PR-582@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:34:42 $ docker top 7380e22b3153ecededeeba403c7630621913e6f773019872d2a405a29a26b111 -eo pid,comm [Pipeline] { [Pipeline] sh 12:34:43 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-582 [Pipeline] fileExists [Pipeline] sh 12:34:43 + make test 12:34:43 go test -race -coverprofile=coverage.out ./... 12:35:01 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:35:19 go vet ./... 12:35:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2655 in /w/workspace/_app-service-configurable_PR-582 [Pipeline] { [Pipeline] ws 12:35:21 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:35:21 Selected Git installation does not exist. Using Default 12:35:21 The recommended git tool is: NONE 12:35:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:35:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:35:23 ./bin/test-attribution-txt.sh [Pipeline] echo 12:35:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:35:23 $ docker stop --time=1 7380e22b3153ecededeeba403c7630621913e6f773019872d2a405a29a26b111 12:35:26 using credential edgex-jenkins-ssh 12:35:26 Cloning the remote Git repository 12:35:26 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:35:26 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:35:26 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:35:26 > git --version # timeout=10 12:35:26 > git --version # 'git version 2.25.1' 12:35:26 using GIT_SSH to set credentials SSH Credentials for GitHub 12:35:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:35:27 $ docker rm -f --volumes 7380e22b3153ecededeeba403c7630621913e6f773019872d2a405a29a26b111 [Pipeline] // withDockerContainer [Pipeline] sh 12:35:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:35:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:35:27 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:35:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:35:28 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:35:28 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:35:28 using GIT_SSH to set credentials SSH Credentials for GitHub 12:35:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:35:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:35:29 Merging remotes/origin/main commit d26351ee030fdea045c7f8955b5650a87ad9db10 into PR head commit 51692767299c85358170ee308925a9831d166441 12:35:29 + ls -al . 12:35:29 total 180 12:35:29 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 12:34 . 12:35:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 12:33 .. 12:35:29 -rw-rw-r-- 1 jenkins jenkins 119 Aug 1 12:33 .dockerignore 12:35:29 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 12:33 .git 12:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 12:33 .github 12:35:29 -rw-rw-r-- 1 jenkins jenkins 171 Aug 1 12:33 .gitignore 12:35:29 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 12:33 .golangci.yml 12:35:29 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 12:33 .semver 12:35:29 -rw-rw-r-- 1 jenkins jenkins 9736 Aug 1 12:33 Attribution.txt 12:35:29 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 1 12:33 CHANGELOG.md 12:35:29 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 1 12:33 Dockerfile 12:35:29 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 12:33 GOVERNANCE.md 12:35:29 -rw-rw-r-- 1 jenkins jenkins 688 Aug 1 12:33 Jenkinsfile 12:35:29 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 1 12:33 LICENSE 12:35:29 -rw-rw-r-- 1 jenkins jenkins 618 Aug 1 12:33 OWNERS.md 12:35:29 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 1 12:33 README.md 12:35:29 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 12:33 VERSION 12:35:29 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 12:33 bin 12:35:29 -rw-r--r-- 1 jenkins jenkins 13 Aug 1 12:34 coverage.out 12:35:29 -rw-rw-r-- 1 jenkins jenkins 3469 Aug 1 12:33 go.mod 12:35:29 -rw-rw-r-- 1 jenkins jenkins 32452 Aug 1 12:33 go.sum 12:35:29 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 1 12:33 main.go 12:35:29 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 1 12:33 makefile 12:35:29 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 12:33 res 12:35:29 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 12:33 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:35:29 Merge succeeded, producing 51692767299c85358170ee308925a9831d166441 12:35:29 Checking out Revision 51692767299c85358170ee308925a9831d166441 (PR-582) 12:35:29 + 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=51692767299c85358170ee308925a9831d166441 --label arch=amd64 --label version=0.0.0 . 12:35:29 Sending build context to Docker daemon 3.315MB 12:35:29 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:35:29 Step 2/26 : FROM ${BASE} AS builder 12:35:29 ---> fa3b94f76182 12:35:29 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:35:29 ---> Running in 6dab2eba48e3 12:35:29 Removing intermediate container 6dab2eba48e3 12:35:29 ---> 800b7c6aabed 12:35:29 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:35:29 ---> Running in 598b71cf165e 12:35:29 Removing intermediate container 598b71cf165e 12:35:29 ---> 38e75608199e 12:35:29 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:35:29 ---> Running in 01e467572367 12:35:29 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:35:29 > git --version # timeout=10 12:35:29 > git --version # 'git version 2.25.1' 12:35:29 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 12:35:29 > git config core.sparsecheckout # timeout=10 12:35:29 > git checkout -f 51692767299c85358170ee308925a9831d166441 # timeout=10 12:35:29 > git remote # timeout=10 12:35:29 > git config --get remote.origin.url # timeout=10 12:35:29 using GIT_SSH to set credentials SSH Credentials for GitHub 12:35:29 > git merge d26351ee030fdea045c7f8955b5650a87ad9db10 # timeout=10 12:35:29 > git rev-parse HEAD^{commit} # timeout=10 12:35:29 > git config core.sparsecheckout # timeout=10 12:35:29 > git checkout -f 51692767299c85358170ee308925a9831d166441 # timeout=10 12:35:30 Removing intermediate container 01e467572367 12:35:30 ---> f5c2838aa48e 12:35:30 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:35:30 ---> Running in 8b490ad9c14b 12:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:35:30 OK: 265 MiB in 53 packages 12:35:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:35:31 % Total % Received % Xferd Average Speed Time Time Time Current 12:35:31 Dload Upload Total Spent Left Speed 12:35:31 Removing intermediate container 8b490ad9c14b 12:35:31 ---> 7162dc97aaaf 12:35:31 Step 7/26 : WORKDIR /app 12:35:31 ---> Running in c91942c26984 12:35:31 Removing intermediate container c91942c26984 12:35:31 ---> 4d360c84822b 12:35:31 Step 8/26 : COPY go.mod vendor* ./ 12:35:31 ---> 10773bc3bd6c 12:35:31 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:35:31 ---> Running in 15a65108cbcb 12:35:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 23099 0 --:--:-- --:--:-- --:--:-- 23099 [Pipeline] sh 12:35:31 Removing intermediate container 15a65108cbcb 12:35:31 ---> b3b311e96f7f 12:35:31 Step 10/26 : COPY . . 12:35:32 ---> 2286b1e4fe16 12:35:32 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:35:32 ---> Running in 09431fed1af4 12:35:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:35:32 Removing intermediate container 09431fed1af4 12:35:32 ---> 77791b76a321 12:35:32 Step 12/26 : RUN $MAKE 12:35:32 ---> Running in 183ae696f63a 12:35:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:35:32 + sudo tee /etc/docker/daemon.new 12:35:32 { 12:35:32 "registry-mirrors": [ 12:35:32 "https://nexus3.edgexfoundry.org:10001" 12:35:32 ], 12:35:32 "bip": "10.250.0.254/24", 12:35:32 "hosts": [ 12:35:32 "tcp://0.0.0.0:5555", 12:35:32 "unix:///var/run/docker.sock" 12:35:32 ], 12:35:32 "mtu": 1458, 12:35:32 "selinux-enabled": true, 12:35:32 "seccomp-profile": "/etc/docker/seccomp.json" 12:35:32 } [Pipeline] sh 12:35:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:35:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:35:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:35:51 provisioning config files... 12:35:51 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7460521982240372891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:35:51 ---> docker-login.sh 12:35:51 nexus3.edgexfoundry.org:10001 12:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:52 Configure a credential helper to remove this warning. See 12:35:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:52 12:35:52 Login Succeeded 12:35:52 nexus3.edgexfoundry.org:10002 12:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:52 Configure a credential helper to remove this warning. See 12:35:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:52 12:35:52 Login Succeeded 12:35:52 nexus3.edgexfoundry.org:10003 12:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:53 Configure a credential helper to remove this warning. See 12:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:53 12:35:53 Login Succeeded 12:35:53 nexus3.edgexfoundry.org:10004 12:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:53 Configure a credential helper to remove this warning. See 12:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:53 12:35:53 Login Succeeded 12:35:53 docker.io 12:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:54 Configure a credential helper to remove this warning. See 12:35:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:54 12:35:54 Login Succeeded 12:35:54 ---> docker-login.sh ends [Pipeline] } 12:35:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:35:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:35:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 12:35:54 Removing intermediate container 183ae696f63a 12:35:54 ---> 9981537deed2 12:35:54 Step 13/26 : FROM alpine:3.17 12:35:54 3.17: Pulling from library/alpine 12:35:54 4db1b89c0bd1: Already exists 12:35:54 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:35:54 Status: Downloaded newer image for alpine:3.17 12:35:54 ---> 1f73a9d63274 12:35:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:35:54 ---> Running in d4a22972d638 12:35:54 Removing intermediate container d4a22972d638 12:35:54 ---> d65aa7e14db1 12:35:54 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:35:54 ---> Running in 02293da566cf 12:35:54 Removing intermediate container 02293da566cf 12:35:54 ---> f21eedbd2723 12:35:54 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:35:54 ---> Running in 24ae11564069 12:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:35:54 (1/2) Installing ca-certificates (20230506-r0) 12:35:54 (2/2) Installing dumb-init (1.2.5-r2) 12:35:54 Executing busybox-1.35.0-r29.trigger 12:35:54 Executing ca-certificates-20230506-r0.trigger 12:35:54 OK: 8 MiB in 17 packages [Pipeline] echo 12:35:54 ========================================================= 12:35:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:35:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:35:54 Removing intermediate container 24ae11564069 12:35:54 ---> 29a94ad806b1 12:35:54 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:35:54 ---> b8090ab2d6b1 12:35:54 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:35:55 ---> 2d50a71bf728 12:35:55 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:35:55 ---> c92ddd778875 12:35:55 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:35:55 + 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:35:55 Sending build context to Docker daemon 176.6kB 12:35:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:35:55 Step 2/12 : FROM ${BASE} AS builder 12:35:56 ---> 5bb6ad9a07f5 12:35:56 Step 21/26 : EXPOSE 48095 12:35:56 ---> Running in f253e7bfa7c4 12:35:56 Removing intermediate container f253e7bfa7c4 12:35:56 ---> 3e71a47413a5 12:35:56 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:35:56 ---> Running in 9e7b2789b80d 12:35:56 Removing intermediate container 9e7b2789b80d 12:35:56 ---> 165661b6761d 12:35:56 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:35:56 ---> Running in 1fd2251cc8b4 12:35:56 Removing intermediate container 1fd2251cc8b4 12:35:56 ---> 7620b6b31755 12:35:56 Step 24/26 : LABEL arch=amd64 12:35:56 ---> Running in 4f37c24f6574 12:35:56 Removing intermediate container 4f37c24f6574 12:35:56 ---> 7e4c7d9eff37 12:35:56 Step 25/26 : LABEL git_sha=51692767299c85358170ee308925a9831d166441 12:35:56 ---> Running in 867f52a70ec6 12:35:56 Removing intermediate container 867f52a70ec6 12:35:56 ---> e8125dd3a4f4 12:35:56 Step 26/26 : LABEL version=0.0.0 12:35:56 ---> Running in 7b1de786bbe7 12:35:56 Removing intermediate container 7b1de786bbe7 12:35:56 ---> de66c85c87ba 12:35:56 [Warning] One or more build-args [ARCH] were not consumed 12:35:56 Successfully built de66c85c87ba 12:35:56 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:35:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:35:57 12:35:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:35:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:35:57 latest: Pulling from edgex-lftools-log-publisher 12:35:57 5eb5b503b376: Pulling fs layer 12:35:57 5c69ac0246d0: Pulling fs layer 12:35:57 ec43610c2a17: Pulling fs layer 12:35:57 3a2ae6a8a46f: Pulling fs layer 12:35:57 33b1e0a273af: Pulling fs layer 12:35:57 5d3b04190fa2: Pulling fs layer 12:35:57 2f39f015ded8: Pulling fs layer 12:35:57 33b1e0a273af: Waiting 12:35:57 5d3b04190fa2: Waiting 12:35:57 2f39f015ded8: Waiting 12:35:57 3a2ae6a8a46f: Waiting 12:35:57 5c69ac0246d0: Verifying Checksum 12:35:57 5c69ac0246d0: Download complete 12:35:57 3a2ae6a8a46f: Verifying Checksum 12:35:57 3a2ae6a8a46f: Download complete 12:35:57 33b1e0a273af: Verifying Checksum 12:35:57 33b1e0a273af: Download complete 12:35:57 ec43610c2a17: Verifying Checksum 12:35:57 ec43610c2a17: Download complete 12:35:57 5d3b04190fa2: Download complete 12:35:58 5eb5b503b376: Verifying Checksum 12:35:58 5eb5b503b376: Download complete 12:35:58 2f39f015ded8: Verifying Checksum 12:35:58 2f39f015ded8: Download complete 12:35:59 5eb5b503b376: Pull complete 12:35:59 5c69ac0246d0: Pull complete 12:35:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:35:59 edb6bdbacee9: Pulling fs layer 12:35:59 5f9638ab2659: Pulling fs layer 12:35:59 8d51d6327a98: Pulling fs layer 12:35:59 8b374f2dd631: Pulling fs layer 12:35:59 ec14aa9079de: Pulling fs layer 12:35:59 2f466654f4bb: Pulling fs layer 12:35:59 554e91adad29: Pulling fs layer 12:35:59 ec14aa9079de: Waiting 12:35:59 2f466654f4bb: Waiting 12:35:59 554e91adad29: Waiting 12:35:59 8b374f2dd631: Waiting 12:35:59 5f9638ab2659: Download complete 12:35:59 8b374f2dd631: Verifying Checksum 12:35:59 8b374f2dd631: Download complete 12:35:59 ec14aa9079de: Verifying Checksum 12:35:59 ec14aa9079de: Download complete 12:35:59 edb6bdbacee9: Verifying Checksum 12:35:59 edb6bdbacee9: Download complete 12:35:59 ec43610c2a17: Pull complete 12:36:00 edb6bdbacee9: Pull complete 12:36:00 3a2ae6a8a46f: Pull complete 12:36:00 33b1e0a273af: Pull complete 12:36:00 554e91adad29: Verifying Checksum 12:36:00 554e91adad29: Download complete 12:36:00 5d3b04190fa2: Pull complete 12:36:00 5f9638ab2659: Pull complete 12:36:01 8d51d6327a98: Verifying Checksum 12:36:01 8d51d6327a98: Download complete 12:36:01 2f466654f4bb: Verifying Checksum 12:36:01 2f466654f4bb: Download complete 12:36:04 2f39f015ded8: Pull complete 12:36:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:36:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:36:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:36:04 prd-ubuntu20.04-docker-8c-8g-2654 does not seem to be running inside a container 12:36:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-582 -v /w/workspace/_app-service-configurable_PR-582:/w/workspace/_app-service-configurable_PR-582:rw,z -v /w/workspace/_app-service-configurable_PR-582@tmp:/w/workspace/_app-service-configurable_PR-582@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:36:08 $ docker top fcfac2f45ab2538fbe6db1c641ac44287b43d6153e8e09345198f9077c11627a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:08 ---> job-cost.sh 12:36:08 lf-activate-venv: SKIPPING 12:36:08 INFO: No Stack... 12:36:09 INFO: Retrieving Pricing Info for: v3-standard-8 12:36:09 INFO: Archiving Costs [Pipeline] sh 12:36:09 + cat /w/workspace/_app-service-configurable_PR-582/archives/cost.csv 12:36:09 + cut -d, -f6 [Pipeline] lock 12:36:09 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-582-1-stack-cost] 12:36:09 Resource [jenkins-edgexfoundry-app-service-configurable-PR-582-1-stack-cost] did not exist. Created. 12:36:09 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-582-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:36:10 + echo total: 0.2199999988079071 [Pipeline] stash 12:36:10 Stashed 1 file(s) [Pipeline] } 12:36:10 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-582-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:36:10 $ docker stop --time=1 fcfac2f45ab2538fbe6db1c641ac44287b43d6153e8e09345198f9077c11627a 12:36:11 $ docker rm -f --volumes fcfac2f45ab2538fbe6db1c641ac44287b43d6153e8e09345198f9077c11627a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:36:14 8d51d6327a98: Pull complete 12:36:14 8b374f2dd631: Pull complete 12:36:14 ec14aa9079de: Pull complete 12:36:20 2f466654f4bb: Pull complete 12:36:22 554e91adad29: Pull complete 12:36:22 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 12:36:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:36:22 ---> 1e15ea492957 12:36:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:36:23 ---> Running in f4790f726522 12:36:23 Removing intermediate container f4790f726522 12:36:23 ---> c6cf422f33e1 12:36:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:36:24 ---> Running in ef091910822e 12:36:24 Removing intermediate container ef091910822e 12:36:24 ---> 595a5071da0e 12:36:24 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:36:24 ---> Running in 47916a6877c4 12:36:24 Removing intermediate container 47916a6877c4 12:36:24 ---> 2e49ffd3f497 12:36:24 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:36:24 ---> Running in c49be05f8030 12:36:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:36:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:36:27 OK: 263 MiB in 53 packages 12:36:27 Removing intermediate container c49be05f8030 12:36:27 ---> 56ab85114d15 12:36:27 Step 7/12 : WORKDIR /app 12:36:28 ---> Running in 8cafcb4fff1d 12:36:28 Removing intermediate container 8cafcb4fff1d 12:36:28 ---> 3a8b63a7c8a7 12:36:28 Step 8/12 : COPY go.mod vendor* ./ 12:36:28 ---> d74e9875e24a 12:36:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:36:28 ---> Running in b028b03e3a39 12:37:36 Removing intermediate container b028b03e3a39 12:37:36 ---> e984b3bf196a 12:37:36 Step 10/12 : COPY . . 12:37:36 ---> a7bb253f6668 12:37:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:37:36 ---> Running in 025e13719c1f 12:37:36 Removing intermediate container 025e13719c1f 12:37:36 ---> c160adb7b5ae 12:37:36 Step 12/12 : RUN $MAKE 12:37:36 ---> Running in 564008a04ab2 12:37:36 noop 12:37:36 Removing intermediate container 564008a04ab2 12:37:36 ---> ea85a2d6fed3 12:37:36 Successfully built ea85a2d6fed3 12:37:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:37 + docker inspect -f . ci-base-image-arm64 12:37:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:37:37 prd-ubuntu20.04-docker-arm64-4c-16g-2655 does not seem to be running inside a container 12:37:37 $ 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:37:38 $ docker top 651b358f3bd05c27be44b67c00b86e65c59a312f6c7d18da4a7d340640fcdafb -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:39 + go version 12:37:39 go version go1.20.6 linux/arm64 [Pipeline] } 12:37:39 $ docker stop --time=1 651b358f3bd05c27be44b67c00b86e65c59a312f6c7d18da4a7d340640fcdafb 12:37:41 $ docker rm -f --volumes 651b358f3bd05c27be44b67c00b86e65c59a312f6c7d18da4a7d340640fcdafb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:41 + docker inspect -f . ci-base-image-arm64 12:37:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:37:42 prd-ubuntu20.04-docker-arm64-4c-16g-2655 does not seem to be running inside a container 12:37:42 $ 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:37:43 $ docker top 630fdff66f9baa6409527f5e32e5a4141900c23ec978f34ca8cdcae67bc56933 -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:43 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:37:44 + make test 12:37:44 go test -race -coverprofile=coverage.out ./... 12:40:21 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:40:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:40:21 go vet ./... 12:42:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:42:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:42:42 ./bin/test-attribution-txt.sh [Pipeline] echo 12:42:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:42:42 $ docker stop --time=1 630fdff66f9baa6409527f5e32e5a4141900c23ec978f34ca8cdcae67bc56933 12:42:44 $ docker rm -f --volumes 630fdff66f9baa6409527f5e32e5a4141900c23ec978f34ca8cdcae67bc56933 [Pipeline] // withDockerContainer [Pipeline] sh 12:42:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:42:46 Warning: overwriting stash ‘coverage-report’ 12:42:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:42:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:42:47 + ls -al . 12:42:47 total 176 12:42:47 drwxrwxr-x 7 jenkins jenkins 4096 Aug 1 12:37 . 12:42:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 12:35 .. 12:42:47 -rw-rw-r-- 1 jenkins jenkins 119 Aug 1 12:35 .dockerignore 12:42:47 drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 12:35 .git 12:42:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 12:35 .github 12:42:47 -rw-rw-r-- 1 jenkins jenkins 171 Aug 1 12:35 .gitignore 12:42:47 -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 12:35 .golangci.yml 12:42:47 -rw-rw-r-- 1 jenkins jenkins 9736 Aug 1 12:35 Attribution.txt 12:42:47 -rw-rw-r-- 1 jenkins jenkins 35039 Aug 1 12:35 CHANGELOG.md 12:42:47 -rw-rw-r-- 1 jenkins jenkins 1898 Aug 1 12:35 Dockerfile 12:42:47 -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 12:35 GOVERNANCE.md 12:42:47 -rw-rw-r-- 1 jenkins jenkins 688 Aug 1 12:35 Jenkinsfile 12:42:47 -rw-rw-r-- 1 jenkins jenkins 10174 Aug 1 12:35 LICENSE 12:42:47 -rw-rw-r-- 1 jenkins jenkins 618 Aug 1 12:35 OWNERS.md 12:42:47 -rw-rw-r-- 1 jenkins jenkins 4885 Aug 1 12:35 README.md 12:42:47 -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 12:33 VERSION 12:42:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 12:35 bin 12:42:47 -rw-r--r-- 1 jenkins jenkins 13 Aug 1 12:37 coverage.out 12:42:47 -rw-rw-r-- 1 jenkins jenkins 3469 Aug 1 12:35 go.mod 12:42:47 -rw-rw-r-- 1 jenkins jenkins 32452 Aug 1 12:35 go.sum 12:42:47 -rw-rw-r-- 1 jenkins jenkins 1937 Aug 1 12:35 main.go 12:42:47 -rw-rw-r-- 1 jenkins jenkins 2569 Aug 1 12:35 makefile 12:42:47 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 12:35 res 12:42:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 12:35 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:47 + 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=51692767299c85358170ee308925a9831d166441 --label arch=arm64 --label version=0.0.0 . 12:42:47 Sending build context to Docker daemon 177.7kB 12:42:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 12:42:48 Step 2/26 : FROM ${BASE} AS builder 12:42:48 ---> ea85a2d6fed3 12:42:48 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:42:48 ---> Running in aab2273d76a2 12:42:48 Removing intermediate container aab2273d76a2 12:42:48 ---> ff6ee591f84e 12:42:48 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:42:48 ---> Running in f10e9e510b82 12:42:48 Removing intermediate container f10e9e510b82 12:42:48 ---> f92dcbcc7950 12:42:48 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:42:49 ---> Running in dce24cdc1660 12:42:49 Removing intermediate container dce24cdc1660 12:42:49 ---> 3c3b336de0ad 12:42:49 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:42:49 ---> Running in 986799674bf0 12:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:42:51 OK: 263 MiB in 53 packages 12:42:52 Removing intermediate container 986799674bf0 12:42:52 ---> ca515c1a22b8 12:42:52 Step 7/26 : WORKDIR /app 12:42:52 ---> Running in 9c75d2712e69 12:42:52 Removing intermediate container 9c75d2712e69 12:42:52 ---> 91891cb89cc7 12:42:52 Step 8/26 : COPY go.mod vendor* ./ 12:42:53 ---> 2c60cc7102e9 12:42:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:42:53 ---> Running in ef8e2ae1a8d2 12:42:55 Removing intermediate container ef8e2ae1a8d2 12:42:55 ---> 4a848e3eedd9 12:42:55 Step 10/26 : COPY . . 12:42:56 ---> e11d16950e96 12:42:56 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:42:56 ---> Running in 996aa9ced5fe 12:42:56 Removing intermediate container 996aa9ced5fe 12:42:56 ---> 44bb62004a45 12:42:56 Step 12/26 : RUN $MAKE 12:42:56 ---> Running in 46933dd308b3 12:42:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:45:03 Removing intermediate container 46933dd308b3 12:45:03 ---> ec291f0a4f0d 12:45:03 Step 13/26 : FROM alpine:3.17 12:45:03 3.17: Pulling from library/alpine 12:45:03 edb6bdbacee9: Already exists 12:45:03 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 12:45:03 Status: Downloaded newer image for alpine:3.17 12:45:03 ---> 779605e5fbc0 12:45:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:45:03 ---> Running in e46ee5b79726 12:45:03 Removing intermediate container e46ee5b79726 12:45:03 ---> 3204934b69b1 12:45:03 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:45:03 ---> Running in 23bd39c870d6 12:45:03 Removing intermediate container 23bd39c870d6 12:45:03 ---> 6d68459e0672 12:45:03 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:45:03 ---> Running in 552db1f2f305 12:45:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:45:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:45:04 (1/2) Installing ca-certificates (20230506-r0) 12:45:04 (2/2) Installing dumb-init (1.2.5-r2) 12:45:04 Executing busybox-1.35.0-r29.trigger 12:45:04 Executing ca-certificates-20230506-r0.trigger 12:45:04 OK: 8 MiB in 17 packages 12:45:05 Removing intermediate container 552db1f2f305 12:45:05 ---> 6f756d024a94 12:45:05 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:45:06 ---> 3d084770c9d5 12:45:06 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:45:07 ---> b20e77cfbd51 12:45:07 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:45:07 ---> ce17609fb4f3 12:45:07 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:45:08 ---> e9ed04416cf2 12:45:08 Step 21/26 : EXPOSE 48095 12:45:08 ---> Running in bd7f4e188cc1 12:45:08 Removing intermediate container bd7f4e188cc1 12:45:08 ---> 499b67fc0297 12:45:08 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:45:09 ---> Running in ac4fe9639feb 12:45:09 Removing intermediate container ac4fe9639feb 12:45:09 ---> 6b466048f302 12:45:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:45:09 ---> Running in 4e26b10dbf57 12:45:09 Removing intermediate container 4e26b10dbf57 12:45:09 ---> 38e31006441e 12:45:09 Step 24/26 : LABEL arch=arm64 12:45:09 ---> Running in b58ba0ff5bcd 12:45:10 Removing intermediate container b58ba0ff5bcd 12:45:10 ---> 987d162a4c98 12:45:10 Step 25/26 : LABEL git_sha=51692767299c85358170ee308925a9831d166441 12:45:10 ---> Running in b409ce069ea8 12:45:10 Removing intermediate container b409ce069ea8 12:45:10 ---> 67af9e73d28b 12:45:10 Step 26/26 : LABEL version=0.0.0 12:45:10 ---> Running in 3ec1841c5504 12:45:10 Removing intermediate container 3ec1841c5504 12:45:10 ---> b635095c32cb 12:45:10 [Warning] One or more build-args [ARCH] were not consumed 12:45:10 Successfully built b635095c32cb 12:45:10 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:45:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:45:11 12:45:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:45:12 arm64: Pulling from edgex-lftools-log-publisher 12:45:12 8998bd30e6a1: Pulling fs layer 12:45:12 04944245beec: Pulling fs layer 12:45:12 699f458cf7ca: Pulling fs layer 12:45:12 765212b225bb: Pulling fs layer 12:45:12 f23df028b6ca: Pulling fs layer 12:45:12 d65c8cfc05b1: Pulling fs layer 12:45:12 2437ff75d9bd: Pulling fs layer 12:45:12 765212b225bb: Waiting 12:45:12 d65c8cfc05b1: Waiting 12:45:12 2437ff75d9bd: Waiting 12:45:12 f23df028b6ca: Waiting 12:45:12 04944245beec: Verifying Checksum 12:45:12 04944245beec: Download complete 12:45:12 765212b225bb: Verifying Checksum 12:45:12 765212b225bb: Download complete 12:45:12 f23df028b6ca: Verifying Checksum 12:45:12 f23df028b6ca: Download complete 12:45:12 d65c8cfc05b1: Verifying Checksum 12:45:12 d65c8cfc05b1: Download complete 12:45:12 699f458cf7ca: Verifying Checksum 12:45:12 699f458cf7ca: Download complete 12:45:12 8998bd30e6a1: Verifying Checksum 12:45:12 8998bd30e6a1: Download complete 12:45:15 2437ff75d9bd: Verifying Checksum 12:45:15 2437ff75d9bd: Download complete 12:45:19 8998bd30e6a1: Pull complete 12:45:19 04944245beec: Pull complete 12:45:20 699f458cf7ca: Pull complete 12:45:20 765212b225bb: Pull complete 12:45:21 f23df028b6ca: Pull complete 12:45:21 d65c8cfc05b1: Pull complete 12:45:36 2437ff75d9bd: Pull complete 12:45:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:45:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:45:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:36 prd-ubuntu20.04-docker-arm64-4c-16g-2655 does not seem to be running inside a container 12:45:36 $ 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:45:39 $ docker top 52b1eb679c5982357f2c11f4cb8a35b077bdc9b05a918004521b7696deea1c6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:45:40 ---> job-cost.sh 12:45:40 lf-activate-venv: SKIPPING 12:45:40 INFO: No Stack... 12:45:40 INFO: Retrieving Pricing Info for: v3-standard-4 12:45:41 INFO: Archiving Costs [Pipeline] sh 12:45:41 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:45:41 + cut -d, -f6 [Pipeline] lock 12:45:42 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-582-1-stack-cost] 12:45:42 Resource [jenkins-edgexfoundry-app-service-configurable-PR-582-1-stack-cost] did not exist. Created. 12:45:42 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-582-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:45:42 /w/workspace/app-service-configurable/1@tmp/durable-b8af6ba8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:45:43 + echo total: 0.10999999940395355 [Pipeline] stash 12:45:43 Warning: overwriting stash ‘stack-cost’ 12:45:43 Stashed 1 file(s) [Pipeline] } 12:45:43 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-582-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:45:43 $ docker stop --time=1 52b1eb679c5982357f2c11f4cb8a35b077bdc9b05a918004521b7696deea1c6d 12:45:45 $ docker rm -f --volumes 52b1eb679c5982357f2c11f4cb8a35b077bdc9b05a918004521b7696deea1c6d [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:45:46 provisioning config files... 12:45:46 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-582@tmp/config5455098719102874151tmp [Pipeline] { [Pipeline] sh 12:45:47 + set +x 12:45:47 + curl -s https://codecov.io/bash 12:45:47 + bash -s -- 12:45:47 12:45:47 _____ _ 12:45:47 / ____| | | 12:45:47 | | ___ __| | ___ ___ _____ __ 12:45:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:45:47 | |___| (_) | (_| | __/ (_| (_) \ V / 12:45:47 \_____\___/ \__,_|\___|\___\___/ \_/ 12:45:47 Bash-1.0.6 12:45:47 12:45:47 12:45:47 ==> git version 2.25.1 found 12:45:47 ==> 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:45:47 Release-Date: 2020-01-08 12:45:47 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:45:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:45:47 ==> Jenkins CI detected. 12:45:47 current dir:  /w/workspace/_app-service-configurable_PR-582 12:45:47 project root: . 12:45:47 --> token set from env 12:45:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:45:47 ==> Running gcov in . (disable via -X gcov) 12:45:47 ==> Python coveragepy not found 12:45:47 ==> Searching for coverage reports in: 12:45:47 + . 12:45:47 -> Found 1 reports 12:45:47 ==> Detecting git/mercurial file structure 12:45:47 ==> Reading reports 12:45:47 + ./coverage.out bytes=13 12:45:47 ==> Appending adjustments 12:45:47 https://docs.codecov.io/docs/fixing-reports 12:45:47 + Found adjustments 12:45:47 ==> Gzipping contents 12:45:47 4.0K /tmp/codecov.uHHn61.gz 12:45:47 ==> Uploading reports 12:45:47 url: https://codecov.io 12:45:47 query: branch=PR-582&commit=51692767299c85358170ee308925a9831d166441&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-582%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=582&job=&cmd_args= 12:45:47 -> Pinging Codecov 12:45:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-582&commit=51692767299c85358170ee308925a9831d166441&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-582%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=582&job=&cmd_args= 12:45:47 -> Uploading to 12:45:47 https://storage.googleapis.com/codecov/v4/raw/2023-08-01/A97CA9966030D2A3747ED39772930CCE/51692767299c85358170ee308925a9831d166441/06875b57-c8d7-420d-a803-ba717fdefa8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230801T124547Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f43bf3eaf8881f7c0ea6710d9621f4c3e2e567064b943807dfea2fc1d707d9d 12:45:47 % Total % Received % Xferd Average Speed Time Time Time Current 12:45:47 Dload Upload Total Spent Left Speed 12:45:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 2396 --:--:-- --:--:-- --:--:-- 2396 12:45:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/51692767299c85358170ee308925a9831d166441 [Pipeline] } 12:45:48 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:45:49 + [ -d /w/workspace/_app-service-configurable_PR-582/archives ] 12:45:49 + ls -al /w/workspace/_app-service-configurable_PR-582/archives 12:45:49 total 16 12:45:49 drwxr-xr-x 3 root root 4096 Aug 1 12:36 . 12:45:49 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 12:36 .. 12:45:49 drwxr-xr-x 2 root root 4096 Aug 1 12:36 cost 12:45:49 -rw-r--r-- 1 root root 96 Aug 1 12:36 cost.csv 12:45:49 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-582/archives 12:45:49 + ls -al /w/workspace/_app-service-configurable_PR-582/archives 12:45:49 total 16 12:45:49 drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 12:36 . 12:45:49 drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 12:36 .. 12:45:49 drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 12:36 cost 12:45:49 -rw-r--r-- 1 jenkins jenkins 96 Aug 1 12:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:45:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:45:50 ---> package-listing.sh 12:45:50 ++ facter osfamily 12:45:50 ++ tr '[:upper:]' '[:lower:]' 12:45:51 + OS_FAMILY=debian 12:45:51 + workspace=/w/workspace/_app-service-configurable_PR-582 12:45:51 + START_PACKAGES=/tmp/packages_start.txt 12:45:51 + END_PACKAGES=/tmp/packages_end.txt 12:45:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:45:51 + PACKAGES=/tmp/packages_start.txt 12:45:51 + '[' /w/workspace/_app-service-configurable_PR-582 ']' 12:45:51 + PACKAGES=/tmp/packages_end.txt 12:45:51 + case "${OS_FAMILY}" in 12:45:51 + dpkg -l 12:45:51 + grep '^ii' 12:45:51 + '[' -f /tmp/packages_start.txt ']' 12:45:51 + '[' -f /tmp/packages_end.txt ']' 12:45:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:45:51 + '[' /w/workspace/_app-service-configurable_PR-582 ']' 12:45:51 + mkdir -p /w/workspace/_app-service-configurable_PR-582/archives/ 12:45:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-582/archives/ [Pipeline] echo 12:45:51 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-582/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:45:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:45:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:52 prd-ubuntu20.04-docker-8c-8g-2654 does not seem to be running inside a container 12:45:52 $ 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-582/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-582 -v /w/workspace/_app-service-configurable_PR-582:/w/workspace/_app-service-configurable_PR-582:rw,z -v /w/workspace/_app-service-configurable_PR-582@tmp:/w/workspace/_app-service-configurable_PR-582@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:45:52 $ docker top 8d6cd2a42bf1f20d9ae99facce33afa5e7f90296aecacc80df1df4239d38ce49 -eo pid,comm [Pipeline] { [Pipeline] sh 12:45:52 + touch /tmp/pre-build-complete [Pipeline] sh 12:45:53 + mkdir -p /var/log/sysstat [Pipeline] sh 12:45:53 + ls /var/log/sa-host 12:45:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:45:53 provisioning config files... 12:45:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-582@tmp/config2922960258011233978tmp [Pipeline] { [Pipeline] echo 12:45:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:45:54 ---> create-netrc.sh [Pipeline] } 12:45:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:45:54 ---> python-tools-install.sh [Pipeline] echo 12:45:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:45:54 ---> sudo-logs.sh 12:45:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:45:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:45:55 ---> job-cost.sh 12:45:55 lf-activate-venv: SKIPPING 12:45:55 DEBUG: total: 0.2199999988079071 12:45:55 INFO: Retrieving Stack Cost... 12:45:55 INFO: Retrieving Pricing Info for: v3-standard-8 12:45:56 INFO: Archiving Costs [Pipeline] echo 12:45:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:45:56 ---> logs-deploy.sh 12:45:56 lf-activate-venv: SKIPPING 12:45:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-582/1 12:45:56 INFO: archiving workspace using pattern(s): 12:45:57 Archives upload complete. 12:45:57 INFO: archiving logs to Nexus