Pull request #535 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 11af183f2194c3fd12bdcc9d8b6be264b57aff6c rather than 78dc8175e49f032a2275215ceef5725bce8cddb0 Obtained Jenkinsfile from 11af183f2194c3fd12bdcc9d8b6be264b57aff6c 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-ssh5738007504119695130.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15247450487783908866.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8722796671873570532.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9729576716381627664.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4555627926961201280.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, 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-5433 in /w/workspace/_app-service-configurable_PR-535 [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-535 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit 78dc8175e49f032a2275215ceef5725bce8cddb0 Merge succeeded, producing 78dc8175e49f032a2275215ceef5725bce8cddb0 Checking out Revision 78dc8175e49f032a2275215ceef5725bce8cddb0 (PR-535) > git config core.sparsecheckout # timeout=10 > git checkout -f 78dc8175e49f032a2275215ceef5725bce8cddb0 # 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 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78dc8175e49f032a2275215ceef5725bce8cddb0 # timeout=10 Commit message: "refactor!:Change configuration profile formats to YAML" First time build. Skipping changelog. > git rev-list --no-walk e4128b23ac1a9fc7236503158b55226b4e236dc8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:25:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:25:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:25:33 ========================================================= 08:25:33 EdgeX Global Pipelines Version Info 08:25:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:25:34 ------------------- 08:25:34 stable info: 08:25:34 ------------------- 08:25:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:25:34 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:25:34 Message: update stable to v1.0.245 08:25:34 ------------------- 08:25:34 experimental info: 08:25:34 ------------------- 08:25:34 Commited By: **** collab-it+edgex@linuxfoundation.org 08:25:34 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 08:25:34 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:25:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78dc8175e49f032a2275215ceef5725bce8cddb0 [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78dc817 [Pipeline] echo 08:25:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:25:35 provisioning config files... 08:25:35 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config17163141205118450521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:35 ---> docker-login.sh 08:25:35 nexus3.edgexfoundry.org:10001 08:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:35 Configure a credential helper to remove this warning. See 08:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:35 08:25:35 Login Succeeded 08:25:35 nexus3.edgexfoundry.org:10002 08:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:36 Configure a credential helper to remove this warning. See 08:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:36 08:25:36 Login Succeeded 08:25:36 nexus3.edgexfoundry.org:10003 08:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:36 Configure a credential helper to remove this warning. See 08:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:36 08:25:36 Login Succeeded 08:25:36 nexus3.edgexfoundry.org:10004 08:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:36 Configure a credential helper to remove this warning. See 08:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:36 08:25:36 Login Succeeded 08:25:36 docker.io 08:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:36 Configure a credential helper to remove this warning. See 08:25:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:36 08:25:36 Login Succeeded 08:25:36 ---> docker-login.sh ends [Pipeline] } 08:25:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:25:37 + git rev-list -1 --merges 78dc8175e49f032a2275215ceef5725bce8cddb0~1..78dc8175e49f032a2275215ceef5725bce8cddb0 [Pipeline] echo 08:25:37 -----------> git rev-list -1 --merges 78dc8175e49f032a2275215ceef5725bce8cddb0~1..78dc8175e49f032a2275215ceef5725bce8cddb0 78dc8175e49f032a2275215ceef5725bce8cddb0 [false] [Pipeline] sh 08:25:37 + git log --format=format:%s -1 78dc8175e49f032a2275215ceef5725bce8cddb0 [Pipeline] echo 08:25:37 ========================================================= 08:25:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:25:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:25:37 + git log --format=format:%s -1 78dc8175e49f032a2275215ceef5725bce8cddb0 [Pipeline] echo 08:25:37 [semverPrep] GIT_COMMIT: 78dc8175e49f032a2275215ceef5725bce8cddb0, Commit Message: refactor!:Change configuration profile formats to YAML [Pipeline] echo 08:25:37 [semverPrep] This is not a build commit. [Pipeline] sh 08:25:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:25:38 + grep -v github /etc/ssh/ssh_known_hosts 08:25:38 + [ -e /tmp/ssh_known_hosts ] 08:25:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:25:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:25:38 + sudo tee -a /etc/ssh/ssh_known_hosts 08:25:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:25:38 08:25:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:25:38 0.1.4: Pulling from edgex-devops/py-git-semver 08:25:38 b85a868b505f: Pulling fs layer 08:25:38 e2be974225ed: Pulling fs layer 08:25:38 339a4e72a1f5: Pulling fs layer 08:25:38 988bab9f4d93: Pulling fs layer 08:25:38 1469e6f7b9e6: Pulling fs layer 08:25:38 eaf3925da568: Pulling fs layer 08:25:38 bab4dde63d76: Pulling fs layer 08:25:38 bde34c3a00c8: Pulling fs layer 08:25:38 b352a97aabf1: Pulling fs layer 08:25:38 4872d77fe225: Pulling fs layer 08:25:38 5851b861e8e6: Pulling fs layer 08:25:38 bab4dde63d76: Waiting 08:25:38 bde34c3a00c8: Waiting 08:25:38 b352a97aabf1: Waiting 08:25:38 4872d77fe225: Waiting 08:25:38 5851b861e8e6: Waiting 08:25:38 eaf3925da568: Waiting 08:25:38 1469e6f7b9e6: Waiting 08:25:38 988bab9f4d93: Waiting 08:25:38 e2be974225ed: Download complete 08:25:38 988bab9f4d93: Verifying Checksum 08:25:38 988bab9f4d93: Download complete 08:25:39 1469e6f7b9e6: Verifying Checksum 08:25:39 1469e6f7b9e6: Download complete 08:25:39 eaf3925da568: Verifying Checksum 08:25:39 eaf3925da568: Download complete 08:25:39 339a4e72a1f5: Verifying Checksum 08:25:39 339a4e72a1f5: Download complete 08:25:39 bde34c3a00c8: Verifying Checksum 08:25:39 bde34c3a00c8: Download complete 08:25:39 b352a97aabf1: Verifying Checksum 08:25:39 b352a97aabf1: Download complete 08:25:39 4872d77fe225: Download complete 08:25:39 5851b861e8e6: Download complete 08:25:39 b85a868b505f: Verifying Checksum 08:25:39 b85a868b505f: Download complete 08:25:39 bab4dde63d76: Verifying Checksum 08:25:39 bab4dde63d76: Download complete 08:25:40 b85a868b505f: Pull complete 08:25:40 e2be974225ed: Pull complete 08:25:41 339a4e72a1f5: Pull complete 08:25:41 988bab9f4d93: Pull complete 08:25:41 1469e6f7b9e6: Pull complete 08:25:41 eaf3925da568: Pull complete 08:25:43 bab4dde63d76: Pull complete 08:25:43 bde34c3a00c8: Pull complete 08:25:43 b352a97aabf1: Pull complete 08:25:43 4872d77fe225: Pull complete 08:25:43 5851b861e8e6: Pull complete 08:25:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:25:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:25:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:25:43 prd-ubuntu20.04-docker-8c-8g-5433 does not seem to be running inside a container 08:25:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:25:45 $ docker top a43c95d384ce34efd0abfe1060f95543719cb373b86031820dcca01873a3e365 -eo pid,comm 08:25:45 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). 08:25:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:25:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:25:45 [ssh-agent] Looking for ssh-agent implementation... 08:25:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:25:45 $ docker exec a43c95d384ce34efd0abfe1060f95543719cb373b86031820dcca01873a3e365 ssh-agent 08:25:45 SSH_AUTH_SOCK=/tmp/ssh-Ckd0k69Q5jp8/agent.32 08:25:45 SSH_AGENT_PID=39 08:25:45 Running ssh-add (command line suppressed) 08:25:45 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_1962144483570662097.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_1962144483570662097.key) 08:25:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:25:46 + git tag --points-at HEAD [Pipeline] } 08:25:46 $ docker exec --env ******** --env ******** a43c95d384ce34efd0abfe1060f95543719cb373b86031820dcca01873a3e365 ssh-agent -k 08:25:46 unset SSH_AUTH_SOCK; 08:25:46 unset SSH_AGENT_PID; 08:25:46 echo Agent pid 39 killed; 08:25:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:25:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:25:46 [ssh-agent] Looking for ssh-agent implementation... 08:25:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:25:46 $ docker exec a43c95d384ce34efd0abfe1060f95543719cb373b86031820dcca01873a3e365 ssh-agent 08:25:46 SSH_AUTH_SOCK=/tmp/ssh-mMJ1zi8D6sb4/agent.71 08:25:46 SSH_AGENT_PID=78 08:25:46 Running ssh-add (command line suppressed) 08:25:46 Identity added: /w/workspace/_app-service-configurable_PR-535@tmp/private_key_2382462606572372457.key (/w/workspace/_app-service-configurable_PR-535@tmp/private_key_2382462606572372457.key) 08:25:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:25:46 + git semver init 08:25:47 2023-03-23 08:25:47,198 [run_init] DEBUG init version:0.0.0 force:False 08:25:47 2023-03-23 08:25:47,199 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-535/.semver 08:25:47 2023-03-23 08:25:47,199 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-535/.semver 08:25:47 2023-03-23 08:25:47,199 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-535/.semver'], cwd=/w/workspace/_app-service-configurable_PR-535, universal_newlines=False, shell=None, istream=None) 08:25:48 2023-03-23 08:25:47,953 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-535/.git/info/exclude 08:25:48 2023-03-23 08:25:47,954 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 with force:False 08:25:48 2023-03-23 08:25:47,954 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-535/.semver/PR-535 08:25:48 2023-03-23 08:25:47,959 [execute] INFO git cat-file --batch-check 08:25:48 2023-03-23 08:25:47,960 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 08:25:48 2023-03-23 08:25:47,965 [execute] INFO git cat-file --batch 08:25:48 2023-03-23 08:25:47,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-535/.semver, universal_newlines=False, shell=None, istream=) 08:25:48 2023-03-23 08:25:47,972 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-535/.semver/PR-535 08:25:48 0.0.0 [Pipeline] } 08:25:48 $ docker exec --env ******** --env ******** a43c95d384ce34efd0abfe1060f95543719cb373b86031820dcca01873a3e365 ssh-agent -k 08:25:48 unset SSH_AUTH_SOCK; 08:25:48 unset SSH_AGENT_PID; 08:25:48 echo Agent pid 78 killed; 08:25:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:25:48 + git semver [Pipeline] } 08:25:48 $ docker stop --time=1 a43c95d384ce34efd0abfe1060f95543719cb373b86031820dcca01873a3e365 08:25:50 $ docker rm -f --volumes a43c95d384ce34efd0abfe1060f95543719cb373b86031820dcca01873a3e365 [Pipeline] // withDockerContainer [Pipeline] sh 08:25:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:25:50 Stashed 1 file(s) [Pipeline] echo 08:25:50 [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 08:25:51 provisioning config files... 08:25:51 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config13818109572928111703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:25:51 ---> docker-login.sh 08:25:51 nexus3.edgexfoundry.org:10001 08:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:51 Configure a credential helper to remove this warning. See 08:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:51 08:25:51 Login Succeeded 08:25:51 nexus3.edgexfoundry.org:10002 08:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:51 Configure a credential helper to remove this warning. See 08:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:51 08:25:51 Login Succeeded 08:25:51 nexus3.edgexfoundry.org:10003 08:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:51 Configure a credential helper to remove this warning. See 08:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:51 08:25:51 Login Succeeded 08:25:51 nexus3.edgexfoundry.org:10004 08:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:51 Configure a credential helper to remove this warning. See 08:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:51 08:25:51 Login Succeeded 08:25:51 docker.io 08:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:25:52 Configure a credential helper to remove this warning. See 08:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:25:52 08:25:52 Login Succeeded 08:25:52 ---> docker-login.sh ends [Pipeline] } 08:25:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:25:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:25:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:25:52 ========================================================= 08:25:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:25:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:52 + 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 . 08:25:52 Sending build context to Docker daemon 3.241MB 08:25:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:25:52 Step 2/12 : FROM ${BASE} AS builder 08:25:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:25:52 63b65145d645: Pulling fs layer 08:25:52 a2d21d5440eb: Pulling fs layer 08:25:52 935e6c44a52c: Pulling fs layer 08:25:52 94cc34f8dd06: Pulling fs layer 08:25:52 30dea6a524f1: Pulling fs layer 08:25:52 a2aff8979fd8: Pulling fs layer 08:25:52 94cc34f8dd06: Waiting 08:25:52 30dea6a524f1: Waiting 08:25:52 6808be2612f2: Pulling fs layer 08:25:52 f25807f1079a: Pulling fs layer 08:25:52 6808be2612f2: Waiting 08:25:52 a2aff8979fd8: Waiting 08:25:52 f25807f1079a: Waiting 08:25:52 a2d21d5440eb: Verifying Checksum 08:25:52 a2d21d5440eb: Download complete 08:25:52 94cc34f8dd06: Download complete 08:25:52 30dea6a524f1: Verifying Checksum 08:25:52 30dea6a524f1: Download complete 08:25:52 63b65145d645: Verifying Checksum 08:25:52 63b65145d645: Download complete 08:25:52 a2aff8979fd8: Verifying Checksum 08:25:52 a2aff8979fd8: Download complete 08:25:52 63b65145d645: Pull complete 08:25:53 a2d21d5440eb: Pull complete 08:25:53 935e6c44a52c: Verifying Checksum 08:25:53 935e6c44a52c: Download complete 08:25:53 f25807f1079a: Verifying Checksum 08:25:53 f25807f1079a: Download complete 08:25:53 6808be2612f2: Verifying Checksum 08:25:53 6808be2612f2: Download complete 08:25:56 935e6c44a52c: Pull complete 08:25:57 94cc34f8dd06: Pull complete 08:25:57 30dea6a524f1: Pull complete 08:25:57 a2aff8979fd8: Pull complete 08:25:59 6808be2612f2: Pull complete 08:26:00 f25807f1079a: Pull complete 08:26:00 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:26:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:26:00 ---> 3b553350e43f 08:26:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 08:26:02 ---> Running in 7ec0c6647e93 08:26:02 Removing intermediate container 7ec0c6647e93 08:26:02 ---> ddb2b2ff7da9 08:26:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:26:02 ---> Running in 17b7cab9ca55 08:26:02 Removing intermediate container 17b7cab9ca55 08:26:02 ---> 292b77bc6de3 08:26:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:26:02 ---> Running in 0ed0fb714c8b 08:26:02 Removing intermediate container 0ed0fb714c8b 08:26:02 ---> 82d78bd54969 08:26:02 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:26:02 ---> Running in 7b8f57b9fff1 08:26:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:26:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:26:03 OK: 265 MiB in 53 packages 08:26:03 Removing intermediate container 7b8f57b9fff1 08:26:03 ---> e64b0e069289 08:26:03 Step 7/12 : WORKDIR /app 08:26:03 ---> Running in 255d1bf741d7 08:26:03 Removing intermediate container 255d1bf741d7 08:26:03 ---> 85fbc6252a15 08:26:03 Step 8/12 : COPY go.mod vendor* ./ 08:26:04 ---> ebef5fb961d4 08:26:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:26:04 ---> Running in a358ad73ef80 08:26:05 Still waiting to schedule task 08:26:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:26:50 Removing intermediate container a358ad73ef80 08:26:50 ---> 1b73e3243d60 08:26:50 Step 10/12 : COPY . . 08:26:50 ---> 215e58f3ddc5 08:26:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:26:50 ---> Running in 6558fd21f44e 08:26:50 Removing intermediate container 6558fd21f44e 08:26:50 ---> 56b392b7bd66 08:26:50 Step 12/12 : RUN $MAKE 08:26:50 ---> Running in 4ec7518b347b 08:26:50 noop 08:26:50 Removing intermediate container 4ec7518b347b 08:26:50 ---> 14987f619656 08:26:50 Successfully built 14987f619656 08:26:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:51 + docker inspect -f . ci-base-image-x86_64 08:26:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:26:51 prd-ubuntu20.04-docker-8c-8g-5433 does not seem to be running inside a container 08:26:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:26:51 $ docker top 76cb8c636f0ffc9b7606e4bc64eadb5333672ecb61fe0998be219c94603d14fc -eo pid,comm [Pipeline] { [Pipeline] sh 08:26:52 + go version 08:26:52 go version go1.20.2 linux/amd64 [Pipeline] } 08:26:52 $ docker stop --time=1 76cb8c636f0ffc9b7606e4bc64eadb5333672ecb61fe0998be219c94603d14fc 08:26:53 $ docker rm -f --volumes 76cb8c636f0ffc9b7606e4bc64eadb5333672ecb61fe0998be219c94603d14fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:53 + docker inspect -f . ci-base-image-x86_64 08:26:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:26:53 prd-ubuntu20.04-docker-8c-8g-5433 does not seem to be running inside a container 08:26:53 $ 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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:26:54 $ docker top 67871f9bd08ee7c55eb967e6a42c780252b7860d3e4c4887cae7f130cb0ec4c3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:26:54 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-535 [Pipeline] fileExists [Pipeline] sh 08:26:54 + make test 08:26:54 go test -race -coverprofile=coverage.out ./... 08:27:16 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:27:38 go vet ./... 08:27:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:27:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:27:39 ./bin/test-attribution-txt.sh 08:27:39 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 08:27:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:27:39 $ docker stop --time=1 67871f9bd08ee7c55eb967e6a42c780252b7860d3e4c4887cae7f130cb0ec4c3 08:27:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5434 in /w/workspace/_app-service-configurable_PR-535 08:27:42 $ docker rm -f --volumes 67871f9bd08ee7c55eb967e6a42c780252b7860d3e4c4887cae7f130cb0ec4c3 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 08:27:42 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 08:27:42 Selected Git installation does not exist. Using Default 08:27:42 The recommended git tool is: NONE 08:27:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:27:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:27:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:27:43 + ls -al . 08:27:43 total 176 08:27:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 08:26 . 08:27:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 08:25 .. 08:27:43 -rw-rw-r-- 1 jenkins jenkins 119 Mar 23 08:25 .dockerignore 08:27:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 08:25 .git 08:27:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 08:25 .github 08:27:43 -rw-rw-r-- 1 jenkins jenkins 171 Mar 23 08:25 .gitignore 08:27:43 -rw-rw-r-- 1 jenkins jenkins 41 Mar 23 08:25 .golangci.yml 08:27:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 08:25 .semver 08:27:43 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 23 08:25 Attribution.txt 08:27:43 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 23 08:25 CHANGELOG.md 08:27:43 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 23 08:25 Dockerfile 08:27:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 08:25 GOVERNANCE.md 08:27:43 -rw-rw-r-- 1 jenkins jenkins 688 Mar 23 08:25 Jenkinsfile 08:27:43 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 23 08:25 LICENSE 08:27:43 -rw-rw-r-- 1 jenkins jenkins 618 Mar 23 08:25 OWNERS.md 08:27:43 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 23 08:25 README.md 08:27:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 08:25 VERSION 08:27:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 08:25 bin 08:27:43 -rw-r--r-- 1 jenkins jenkins 13 Mar 23 08:26 coverage.out 08:27:43 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 23 08:25 go.mod 08:27:43 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 23 08:25 go.sum 08:27:43 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 23 08:25 main.go 08:27:43 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 23 08:25 makefile 08:27:43 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 08:25 res 08:27:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 08:25 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:43 + 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=78dc8175e49f032a2275215ceef5725bce8cddb0 --label arch=amd64 --label version=0.0.0 . 08:27:43 Sending build context to Docker daemon 3.242MB 08:27:43 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:27:43 Step 2/26 : FROM ${BASE} AS builder 08:27:43 ---> 14987f619656 08:27:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 08:27:43 ---> Running in bd7d6f98dbbf 08:27:44 Removing intermediate container bd7d6f98dbbf 08:27:44 ---> a56f60fccff1 08:27:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:27:44 ---> Running in eea3ad67c442 08:27:44 Removing intermediate container eea3ad67c442 08:27:44 ---> 3f852e1eef6f 08:27:44 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:27:44 ---> Running in 61a0a8f3dbdb 08:27:44 Removing intermediate container 61a0a8f3dbdb 08:27:44 ---> 0f73b5ab5a81 08:27:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:27:44 ---> Running in 9167981c161d 08:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:27:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:27:45 OK: 265 MiB in 53 packages 08:27:45 Removing intermediate container 9167981c161d 08:27:45 ---> 9d902d58e2fd 08:27:45 Step 7/26 : WORKDIR /app 08:27:45 ---> Running in 2fe33cc79a73 08:27:45 Removing intermediate container 2fe33cc79a73 08:27:45 ---> f9558fcd0fe3 08:27:45 Step 8/26 : COPY go.mod vendor* ./ 08:27:45 ---> 7bee922759b0 08:27:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:27:45 ---> Running in 921cd6e5df04 08:27:46 Removing intermediate container 921cd6e5df04 08:27:46 ---> de70be5b651d 08:27:46 Step 10/26 : COPY . . 08:27:47 ---> a4c059a92b9a 08:27:47 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:27:47 ---> Running in 0c0b537cdf93 08:27:47 Removing intermediate container 0c0b537cdf93 08:27:47 ---> 278b387e018b 08:27:47 Step 12/26 : RUN $MAKE 08:27:47 ---> Running in 31bf00a76adf 08:27:47 using credential edgex-jenkins-ssh 08:27:47 Cloning the remote Git repository 08:27:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 08:27:47 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 08:27:47 > git init /w/workspace/app-service-configurable/3 # timeout=10 08:27:47 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 08:27:47 > git --version # timeout=10 08:27:47 > git --version # 'git version 2.25.1' 08:27:47 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:27:49 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 08:27:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:27:50 Merging remotes/origin/main commit 11af183f2194c3fd12bdcc9d8b6be264b57aff6c into PR head commit 78dc8175e49f032a2275215ceef5725bce8cddb0 08:27:51 Merge succeeded, producing 78dc8175e49f032a2275215ceef5725bce8cddb0 08:27:51 Checking out Revision 78dc8175e49f032a2275215ceef5725bce8cddb0 (PR-535) 08:27:50 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 08:27:50 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 08:27:50 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:27:50 > git config core.sparsecheckout # timeout=10 08:27:50 > git checkout -f 78dc8175e49f032a2275215ceef5725bce8cddb0 # timeout=10 08:27:50 > git remote # timeout=10 08:27:51 > git config --get remote.origin.url # timeout=10 08:27:51 using GIT_SSH to set credentials SSH Credentials for GitHub 08:27:51 > git merge 11af183f2194c3fd12bdcc9d8b6be264b57aff6c # timeout=10 08:27:51 > git rev-parse HEAD^{commit} # timeout=10 08:27:51 > git config core.sparsecheckout # timeout=10 08:27:51 > git checkout -f 78dc8175e49f032a2275215ceef5725bce8cddb0 # timeout=10 08:27:54 Commit message: "refactor!:Change configuration profile formats to YAML" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:27:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:27:55 % Total % Received % Xferd Average Speed Time Time Time Current 08:27:55 Dload Upload Total Spent Left Speed 08:27:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 08:27:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:27:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:27:56 + sudo tee /etc/docker/daemon.new 08:27:56 { 08:27:56 "registry-mirrors": [ 08:27:56 "https://nexus3.edgexfoundry.org:10001" 08:27:56 ], 08:27:56 "bip": "10.250.0.254/24", 08:27:56 "hosts": [ 08:27:56 "tcp://0.0.0.0:5555", 08:27:56 "unix:///var/run/docker.sock" 08:27:56 ], 08:27:56 "mtu": 1458, 08:27:56 "selinux-enabled": true, 08:27:56 "seccomp-profile": "/etc/docker/seccomp.json" 08:27:56 } [Pipeline] sh 08:27:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:27:57 + sudo service docker restart 08:28:05 Removing intermediate container 31bf00a76adf 08:28:05 ---> 84e8eb2a23ff 08:28:05 Step 13/26 : FROM alpine:3.17 08:28:06 3.17: Pulling from library/alpine 08:28:06 63b65145d645: Already exists 08:28:06 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 08:28:06 Status: Downloaded newer image for alpine:3.17 08:28:06 ---> b2aa39c304c2 08:28:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:28:06 ---> Running in 9bf9efdc89a3 08:28:06 Removing intermediate container 9bf9efdc89a3 08:28:06 ---> fc82e1e50b3a 08:28:06 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 08:28:06 ---> Running in b616d8604f09 08:28:06 Removing intermediate container b616d8604f09 08:28:06 ---> 107ced0da392 08:28:06 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 08:28:06 ---> Running in 5cf40a04bd3c 08:28:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:28:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:28:07 (1/2) Installing ca-certificates (20220614-r4) 08:28:07 (2/2) Installing dumb-init (1.2.5-r2) 08:28:07 Executing busybox-1.35.0-r29.trigger 08:28:07 Executing ca-certificates-20220614-r4.trigger 08:28:07 OK: 8 MiB in 17 packages 08:28:08 Removing intermediate container 5cf40a04bd3c 08:28:08 ---> 59bb4217d84c 08:28:08 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:28:08 ---> 97e431244d6c 08:28:08 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 08:28:08 ---> a9da28d2d07d 08:28:08 Step 19/26 : COPY --from=builder /app/res/ /res/ 08:28:08 ---> 5dd4e814802d 08:28:08 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:28:09 ---> 7f4f7ff91a21 08:28:09 Step 21/26 : EXPOSE 48095 08:28:09 ---> Running in 3562984a3805 08:28:09 Removing intermediate container 3562984a3805 08:28:09 ---> a60e9f1f702c 08:28:09 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 08:28:09 ---> Running in d4686367b004 08:28:09 Removing intermediate container d4686367b004 08:28:09 ---> 38e5c7b660a7 08:28:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:28:09 ---> Running in 1eb3a0a5ddcb 08:28:09 Removing intermediate container 1eb3a0a5ddcb 08:28:09 ---> db30da376c9c 08:28:09 Step 24/26 : LABEL arch=amd64 08:28:09 ---> Running in e2b14bda4c47 08:28:09 Removing intermediate container e2b14bda4c47 08:28:09 ---> 533dd6a0d6e4 08:28:09 Step 25/26 : LABEL git_sha=78dc8175e49f032a2275215ceef5725bce8cddb0 08:28:09 ---> Running in a636a597affd 08:28:09 Removing intermediate container a636a597affd 08:28:09 ---> a9243853e93e 08:28:09 Step 26/26 : LABEL version=0.0.0 08:28:09 ---> Running in 9cd5ae4ec093 08:28:10 Removing intermediate container 9cd5ae4ec093 08:28:10 ---> 632e993e89c4 08:28:10 [Warning] One or more build-args [ARCH] were not consumed 08:28:10 Successfully built 632e993e89c4 08:28:10 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 08:28:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:28:10 08:28:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:28:10 latest: Pulling from edgex-lftools-log-publisher 08:28:10 5eb5b503b376: Pulling fs layer 08:28:10 5c69ac0246d0: Pulling fs layer 08:28:10 ec43610c2a17: Pulling fs layer 08:28:10 3a2ae6a8a46f: Pulling fs layer 08:28:10 33b1e0a273af: Pulling fs layer 08:28:10 5d3b04190fa2: Pulling fs layer 08:28:10 2f39f015ded8: Pulling fs layer 08:28:10 5d3b04190fa2: Waiting 08:28:10 33b1e0a273af: Waiting 08:28:10 2f39f015ded8: Waiting 08:28:10 3a2ae6a8a46f: Waiting 08:28:10 5c69ac0246d0: Verifying Checksum 08:28:10 5c69ac0246d0: Download complete 08:28:10 3a2ae6a8a46f: Verifying Checksum 08:28:10 3a2ae6a8a46f: Download complete 08:28:11 33b1e0a273af: Verifying Checksum 08:28:11 33b1e0a273af: Download complete 08:28:11 5d3b04190fa2: Download complete 08:28:11 ec43610c2a17: Verifying Checksum 08:28:11 ec43610c2a17: Download complete 08:28:11 5eb5b503b376: Verifying Checksum 08:28:11 5eb5b503b376: Download complete 08:28:12 5eb5b503b376: Pull complete 08:28:12 5c69ac0246d0: Pull complete 08:28:13 ec43610c2a17: Pull complete 08:28:13 3a2ae6a8a46f: Pull complete 08:28:13 33b1e0a273af: Pull complete 08:28:13 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:28:15 provisioning config files... 08:28:15 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config2872416080684701084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:28:16 ---> docker-login.sh 08:28:16 nexus3.edgexfoundry.org:10001 08:28:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:16 Configure a credential helper to remove this warning. See 08:28:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:16 08:28:16 Login Succeeded 08:28:16 nexus3.edgexfoundry.org:10002 08:28:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:16 Configure a credential helper to remove this warning. See 08:28:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:16 08:28:16 Login Succeeded 08:28:17 nexus3.edgexfoundry.org:10003 08:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:17 Configure a credential helper to remove this warning. See 08:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:17 08:28:17 Login Succeeded 08:28:17 nexus3.edgexfoundry.org:10004 08:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:17 Configure a credential helper to remove this warning. See 08:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:17 08:28:17 Login Succeeded 08:28:17 docker.io 08:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:28:18 Configure a credential helper to remove this warning. See 08:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:28:18 08:28:18 Login Succeeded 08:28:18 ---> docker-login.sh ends [Pipeline] } 08:28:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:28:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:28:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:28:18 ========================================================= 08:28:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:28:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:18 2f39f015ded8: Pull complete 08:28:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:28:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:28:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:28:18 prd-ubuntu20.04-docker-8c-8g-5433 does not seem to be running inside a container 08:28:18 + 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 . 08:28:18 Sending build context to Docker daemon 170.5kB 08:28:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:28:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:28:19 Step 2/12 : FROM ${BASE} AS builder 08:28:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:28:19 af6eaf76a39c: Pulling fs layer 08:28:19 55522c791124: Pulling fs layer 08:28:19 ce5c4a1c91eb: Pulling fs layer 08:28:19 169dfbe0d373: Pulling fs layer 08:28:19 e1ff8fa3b103: Pulling fs layer 08:28:19 52ebb69f0ebf: Pulling fs layer 08:28:19 5abe8eddf0d5: Pulling fs layer 08:28:19 e1ff8fa3b103: Waiting 08:28:19 52ebb69f0ebf: Waiting 08:28:19 5abe8eddf0d5: Waiting 08:28:19 169dfbe0d373: Waiting 08:28:19 55522c791124: Verifying Checksum 08:28:19 55522c791124: Download complete 08:28:19 169dfbe0d373: Verifying Checksum 08:28:19 169dfbe0d373: Download complete 08:28:19 e1ff8fa3b103: Verifying Checksum 08:28:19 e1ff8fa3b103: Download complete 08:28:19 af6eaf76a39c: Verifying Checksum 08:28:20 af6eaf76a39c: Pull complete 08:28:20 5abe8eddf0d5: Verifying Checksum 08:28:20 5abe8eddf0d5: Download complete 08:28:20 55522c791124: Pull complete 08:28:21 $ docker top 3cad31b14b4324550b64266a39ec451e962fa0f33ab2561f185af94bfb8447cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:28:21 ---> job-cost.sh 08:28:21 lf-activate-venv: SKIPPING 08:28:21 INFO: No Stack... 08:28:21 INFO: Retrieving Pricing Info for: v3-standard-8 08:28:21 ce5c4a1c91eb: Verifying Checksum 08:28:21 ce5c4a1c91eb: Download complete 08:28:21 52ebb69f0ebf: Download complete 08:28:22 INFO: Archiving Costs [Pipeline] sh 08:28:22 + cat /w/workspace/_app-service-configurable_PR-535/archives/cost.csv 08:28:22 + cut -d, -f6 [Pipeline] lock 08:28:22 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-3-stack-cost] 08:28:22 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-3-stack-cost] did not exist. Created. 08:28:22 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:28:22 + echo total: 0.2199999988079071 [Pipeline] stash 08:28:22 Stashed 1 file(s) [Pipeline] } 08:28:22 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:28:22 $ docker stop --time=1 3cad31b14b4324550b64266a39ec451e962fa0f33ab2561f185af94bfb8447cf 08:28:24 $ docker rm -f --volumes 3cad31b14b4324550b64266a39ec451e962fa0f33ab2561f185af94bfb8447cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:28:33 ce5c4a1c91eb: Pull complete 08:28:33 169dfbe0d373: Pull complete 08:28:33 e1ff8fa3b103: Pull complete 08:28:40 52ebb69f0ebf: Pull complete 08:28:41 5abe8eddf0d5: Pull complete 08:28:41 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 08:28:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:28:41 ---> 6cb57ee374ae 08:28:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 08:28:43 ---> Running in b00515748e54 08:28:43 Removing intermediate container b00515748e54 08:28:43 ---> 693669e2af30 08:28:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:28:43 ---> Running in f374798dce62 08:28:44 Removing intermediate container f374798dce62 08:28:44 ---> d0f537f85d93 08:28:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:28:44 ---> Running in fe909881dbec 08:28:44 Removing intermediate container fe909881dbec 08:28:44 ---> bc94e129b485 08:28:44 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:28:44 ---> Running in 58fa10377ba0 08:28:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:28:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:28:47 OK: 263 MiB in 53 packages 08:28:48 Removing intermediate container 58fa10377ba0 08:28:48 ---> 78e9b37d743e 08:28:48 Step 7/12 : WORKDIR /app 08:28:48 ---> Running in a3ce532a63b3 08:28:48 Removing intermediate container a3ce532a63b3 08:28:48 ---> b23bee966230 08:28:48 Step 8/12 : COPY go.mod vendor* ./ 08:28:49 ---> 97ef18f6d5c9 08:28:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:28:49 ---> Running in 6acdd054e10b 08:29:57 Removing intermediate container 6acdd054e10b 08:29:57 ---> 5db3cf4757ed 08:29:57 Step 10/12 : COPY . . 08:29:57 ---> c9365b1c1bfd 08:29:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:29:57 ---> Running in 4a2d8484b325 08:29:57 Removing intermediate container 4a2d8484b325 08:29:57 ---> 60f9ab99a83a 08:29:57 Step 12/12 : RUN $MAKE 08:29:57 ---> Running in 91c4ec1c8f43 08:29:57 noop 08:29:57 Removing intermediate container 91c4ec1c8f43 08:29:57 ---> 168ac09d6c7e 08:29:57 Successfully built 168ac09d6c7e 08:29:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:57 + docker inspect -f . ci-base-image-arm64 08:29:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:57 prd-ubuntu20.04-docker-arm64-4c-16g-5434 does not seem to be running inside a container 08:29:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:29:59 $ docker top 69f3099432fe081d7f48f67670bec61b6ed1c23cbcfcc5d0efa608eded52a596 -eo pid,comm [Pipeline] { [Pipeline] sh 08:30:00 + go version 08:30:00 go version go1.20.2 linux/arm64 [Pipeline] } 08:30:00 $ docker stop --time=1 69f3099432fe081d7f48f67670bec61b6ed1c23cbcfcc5d0efa608eded52a596 08:30:02 $ docker rm -f --volumes 69f3099432fe081d7f48f67670bec61b6ed1c23cbcfcc5d0efa608eded52a596 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:30:02 + docker inspect -f . ci-base-image-arm64 08:30:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:30:02 prd-ubuntu20.04-docker-arm64-4c-16g-5434 does not seem to be running inside a container 08:30:02 $ 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/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:30:04 $ docker top d6835c91fb8c5609288c0606a51ff9d4ab3a04670d84093fe9576dcf72228e68 -eo pid,comm [Pipeline] { [Pipeline] sh 08:30:04 + git config --global --add safe.directory /w/workspace/app-service-configurable/3 [Pipeline] fileExists [Pipeline] sh 08:30:04 + make test 08:30:04 go test -race -coverprofile=coverage.out ./... 08:32:41 ? github.com/edgexfoundry/app-service-configurable [no test files] 08:32:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:32:41 go vet ./... 08:35:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:35:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:35:03 ./bin/test-attribution-txt.sh 08:35:03 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 08:35:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:35:03 $ docker stop --time=1 d6835c91fb8c5609288c0606a51ff9d4ab3a04670d84093fe9576dcf72228e68 08:35:06 $ docker rm -f --volumes d6835c91fb8c5609288c0606a51ff9d4ab3a04670d84093fe9576dcf72228e68 [Pipeline] // withDockerContainer [Pipeline] sh 08:35:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:35:08 Warning: overwriting stash ‘coverage-report’ 08:35:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:35:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:35:09 + ls -al . 08:35:09 total 172 08:35:09 drwxrwxr-x 7 jenkins jenkins 4096 Mar 23 08:30 . 08:35:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 08:27 .. 08:35:09 -rw-rw-r-- 1 jenkins jenkins 119 Mar 23 08:27 .dockerignore 08:35:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 08:27 .git 08:35:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 08:27 .github 08:35:09 -rw-rw-r-- 1 jenkins jenkins 171 Mar 23 08:27 .gitignore 08:35:09 -rw-rw-r-- 1 jenkins jenkins 41 Mar 23 08:27 .golangci.yml 08:35:09 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 23 08:27 Attribution.txt 08:35:09 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 23 08:27 CHANGELOG.md 08:35:09 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 23 08:27 Dockerfile 08:35:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 08:27 GOVERNANCE.md 08:35:09 -rw-rw-r-- 1 jenkins jenkins 688 Mar 23 08:27 Jenkinsfile 08:35:09 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 23 08:27 LICENSE 08:35:09 -rw-rw-r-- 1 jenkins jenkins 618 Mar 23 08:27 OWNERS.md 08:35:09 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 23 08:27 README.md 08:35:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 08:25 VERSION 08:35:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 08:27 bin 08:35:09 -rw-r--r-- 1 jenkins jenkins 13 Mar 23 08:30 coverage.out 08:35:09 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 23 08:27 go.mod 08:35:09 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 23 08:27 go.sum 08:35:09 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 23 08:27 main.go 08:35:09 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 23 08:27 makefile 08:35:09 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 08:27 res 08:35:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 08:27 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:09 + 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=78dc8175e49f032a2275215ceef5725bce8cddb0 --label arch=arm64 --label version=0.0.0 . 08:35:09 Sending build context to Docker daemon 171.5kB 08:35:10 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 08:35:10 Step 2/26 : FROM ${BASE} AS builder 08:35:10 ---> 168ac09d6c7e 08:35:10 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 08:35:10 ---> Running in 6408717d1829 08:35:10 Removing intermediate container 6408717d1829 08:35:10 ---> 8eb3f085e2f7 08:35:10 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 08:35:10 ---> Running in 7848e27663b8 08:35:10 Removing intermediate container 7848e27663b8 08:35:10 ---> 073e8da3cf21 08:35:10 Step 5/26 : ARG ADD_BUILD_TAGS="" 08:35:10 ---> Running in b5691cba1b53 08:35:11 Removing intermediate container b5691cba1b53 08:35:11 ---> 748e5c4400f2 08:35:11 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:35:11 ---> Running in bdc9c3d6dbbc 08:35:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:35:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:35:14 OK: 263 MiB in 53 packages 08:35:14 Removing intermediate container bdc9c3d6dbbc 08:35:14 ---> c363c64d768a 08:35:14 Step 7/26 : WORKDIR /app 08:35:15 ---> Running in 51187d6b1e42 08:35:15 Removing intermediate container 51187d6b1e42 08:35:15 ---> cfb1803c0798 08:35:15 Step 8/26 : COPY go.mod vendor* ./ 08:35:15 ---> 428f9e7a91e2 08:35:15 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:35:15 ---> Running in 917adf1ede76 08:35:21 Removing intermediate container 917adf1ede76 08:35:21 ---> 49ae51b7e422 08:35:21 Step 10/26 : COPY . . 08:35:21 ---> 6d35184c9cb4 08:35:21 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:35:21 ---> Running in af908727d32f 08:35:22 Removing intermediate container af908727d32f 08:35:22 ---> 4f8cd970b32f 08:35:22 Step 12/26 : RUN $MAKE 08:35:22 ---> Running in 6f4193ee4f36 08:35:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 08:37:44 Removing intermediate container 6f4193ee4f36 08:37:44 ---> ac0fb2be3c44 08:37:44 Step 13/26 : FROM alpine:3.17 08:37:44 3.17: Pulling from library/alpine 08:37:44 af6eaf76a39c: Already exists 08:37:44 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 08:37:44 Status: Downloaded newer image for alpine:3.17 08:37:44 ---> d74e625d9115 08:37:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:37:44 ---> Running in fb8a9d393339 08:37:44 Removing intermediate container fb8a9d393339 08:37:44 ---> 90cb09d2678a 08:37:44 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 08:37:44 ---> Running in 19f7d9d4ea06 08:37:44 Removing intermediate container 19f7d9d4ea06 08:37:44 ---> adfebe12803f 08:37:44 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 08:37:44 ---> Running in 9c5745d3fb25 08:37:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:37:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:37:44 (1/2) Installing ca-certificates (20220614-r4) 08:37:44 (2/2) Installing dumb-init (1.2.5-r2) 08:37:44 Executing busybox-1.35.0-r29.trigger 08:37:44 Executing ca-certificates-20220614-r4.trigger 08:37:44 OK: 8 MiB in 17 packages 08:37:44 Removing intermediate container 9c5745d3fb25 08:37:44 ---> 77515f426e8a 08:37:44 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 08:37:44 ---> 14b961e79694 08:37:44 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 08:37:44 ---> fdf6b6c6bcbd 08:37:44 Step 19/26 : COPY --from=builder /app/res/ /res/ 08:37:44 ---> d4c020ab2ead 08:37:44 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 08:37:44 ---> 55331960c3a6 08:37:44 Step 21/26 : EXPOSE 48095 08:37:44 ---> Running in 90aabac97a07 08:37:44 Removing intermediate container 90aabac97a07 08:37:44 ---> aedc36defe6b 08:37:44 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 08:37:44 ---> Running in 149e9c746ec9 08:37:44 Removing intermediate container 149e9c746ec9 08:37:44 ---> 39dc69e8aa35 08:37:44 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:37:44 ---> Running in 47a2cfeefed1 08:37:45 Removing intermediate container 47a2cfeefed1 08:37:45 ---> 3cc527556d31 08:37:45 Step 24/26 : LABEL arch=arm64 08:37:45 ---> Running in 088ced688c81 08:37:45 Removing intermediate container 088ced688c81 08:37:45 ---> 927e9b8e8535 08:37:45 Step 25/26 : LABEL git_sha=78dc8175e49f032a2275215ceef5725bce8cddb0 08:37:45 ---> Running in d00017f62812 08:37:45 Removing intermediate container d00017f62812 08:37:45 ---> b33f66b0670c 08:37:45 Step 26/26 : LABEL version=0.0.0 08:37:45 ---> Running in 975ec652e5a0 08:37:46 Removing intermediate container 975ec652e5a0 08:37:46 ---> 906884c5e0e5 08:37:46 [Warning] One or more build-args [ARCH] were not consumed 08:37:46 Successfully built 906884c5e0e5 08:37:46 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 08:37:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:37:46 08:37:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:37:46 arm64: Pulling from edgex-lftools-log-publisher 08:37:46 8998bd30e6a1: Pulling fs layer 08:37:46 04944245beec: Pulling fs layer 08:37:46 699f458cf7ca: Pulling fs layer 08:37:46 765212b225bb: Pulling fs layer 08:37:46 f23df028b6ca: Pulling fs layer 08:37:46 d65c8cfc05b1: Pulling fs layer 08:37:46 2437ff75d9bd: Pulling fs layer 08:37:46 f23df028b6ca: Waiting 08:37:46 d65c8cfc05b1: Waiting 08:37:46 765212b225bb: Waiting 08:37:46 2437ff75d9bd: Waiting 08:37:47 04944245beec: Verifying Checksum 08:37:47 04944245beec: Download complete 08:37:47 765212b225bb: Verifying Checksum 08:37:47 765212b225bb: Download complete 08:37:47 f23df028b6ca: Verifying Checksum 08:37:47 f23df028b6ca: Download complete 08:37:47 d65c8cfc05b1: Verifying Checksum 08:37:47 d65c8cfc05b1: Download complete 08:37:47 699f458cf7ca: Verifying Checksum 08:37:47 699f458cf7ca: Download complete 08:37:47 8998bd30e6a1: Download complete 08:37:49 2437ff75d9bd: Verifying Checksum 08:37:49 2437ff75d9bd: Download complete 08:37:51 8998bd30e6a1: Pull complete 08:37:51 04944245beec: Pull complete 08:37:53 699f458cf7ca: Pull complete 08:37:53 765212b225bb: Pull complete 08:37:54 f23df028b6ca: Pull complete 08:37:54 d65c8cfc05b1: Pull complete 08:38:09 2437ff75d9bd: Pull complete 08:38:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:38:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:38:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:09 prd-ubuntu20.04-docker-arm64-4c-16g-5434 does not seem to be running inside a container 08:38:09 $ 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/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:38:12 $ docker top a9d9fe80f26de21df4ba59fa581284e801967beabb7f7b8b1c1bb37b5c31a6c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:38:12 ---> job-cost.sh 08:38:13 lf-activate-venv: SKIPPING 08:38:13 INFO: No Stack... 08:38:13 INFO: Retrieving Pricing Info for: v3-standard-4 08:38:14 INFO: Archiving Costs [Pipeline] sh 08:38:14 + cut -d, -f6+ 08:38:14 cat /w/workspace/app-service-configurable/3/archives/cost.csv [Pipeline] lock 08:38:14 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-535-3-stack-cost] 08:38:14 Resource [jenkins-edgexfoundry-app-service-configurable-PR-535-3-stack-cost] did not exist. Created. 08:38:14 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-535-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:38:15 /w/workspace/app-service-configurable/3@tmp/durable-0d448812/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:38:15 + echo total: 0.10999999940395355 [Pipeline] stash 08:38:15 Warning: overwriting stash ‘stack-cost’ 08:38:15 Stashed 1 file(s) [Pipeline] } 08:38:15 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-535-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:38:15 $ docker stop --time=1 a9d9fe80f26de21df4ba59fa581284e801967beabb7f7b8b1c1bb37b5c31a6c1 08:38:17 $ docker rm -f --volumes a9d9fe80f26de21df4ba59fa581284e801967beabb7f7b8b1c1bb37b5c31a6c1 [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 08:38:17 provisioning config files... 08:38:17 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config6586210301482903589tmp [Pipeline] { [Pipeline] sh 08:38:17 + set +x 08:38:17 + curl -s https://codecov.io/bash 08:38:17 + bash -s -- 08:38:17 08:38:17 _____ _ 08:38:17 / ____| | | 08:38:17 | | ___ __| | ___ ___ _____ __ 08:38:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:38:17 | |___| (_) | (_| | __/ (_| (_) \ V / 08:38:17 \_____\___/ \__,_|\___|\___\___/ \_/ 08:38:17 Bash-1.0.6 08:38:17 08:38:17 08:38:17 ==> git version 2.25.1 found 08:38:17 ==> 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 08:38:17 Release-Date: 2020-01-08 08:38:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:38:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:38:17 ==> Jenkins CI detected. 08:38:17 current dir:  /w/workspace/_app-service-configurable_PR-535 08:38:17 project root: . 08:38:17 --> token set from env 08:38:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:38:17 ==> Running gcov in . (disable via -X gcov) 08:38:17 ==> Python coveragepy not found 08:38:17 ==> Searching for coverage reports in: 08:38:17 + . 08:38:17 -> Found 1 reports 08:38:17 ==> Detecting git/mercurial file structure 08:38:17 ==> Reading reports 08:38:17 + ./coverage.out bytes=13 08:38:17 ==> Appending adjustments 08:38:17 https://docs.codecov.io/docs/fixing-reports 08:38:17 + Found adjustments 08:38:17 ==> Gzipping contents 08:38:17 4.0K /tmp/codecov.fh8NhU.gz 08:38:17 ==> Uploading reports 08:38:17 url: https://codecov.io 08:38:17 query: branch=PR-535&commit=78dc8175e49f032a2275215ceef5725bce8cddb0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 08:38:17 -> Pinging Codecov 08:38:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-535&commit=78dc8175e49f032a2275215ceef5725bce8cddb0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-535%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=535&job=&cmd_args= 08:38:17 -> Uploading to 08:38:17 https://storage.googleapis.com/codecov/v4/raw/2023-03-23/A97CA9966030D2A3747ED39772930CCE/78dc8175e49f032a2275215ceef5725bce8cddb0/8790c480-35ad-428c-9386-f71e39916ce0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230323T083817Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8917e7f438e70387919e7175b247f00cbad3b061d3fb8a3373a624a384370031 08:38:17 % Total % Received % Xferd Average Speed Time Time Time Current 08:38:17 Dload Upload Total Spent Left Speed 08:38:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1643 --:--:-- --:--:-- --:--:-- 1643 08:38:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/78dc8175e49f032a2275215ceef5725bce8cddb0 [Pipeline] } 08:38:18 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 08:38:18 + [ -d /w/workspace/_app-service-configurable_PR-535/archives ] 08:38:18 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 08:38:18 total 16 08:38:18 drwxr-xr-x 3 root root 4096 Mar 23 08:28 . 08:38:18 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 08:28 .. 08:38:18 drwxr-xr-x 2 root root 4096 Mar 23 08:28 cost 08:38:18 -rw-r--r-- 1 root root 96 Mar 23 08:28 cost.csv 08:38:18 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-535/archives 08:38:18 + ls -al /w/workspace/_app-service-configurable_PR-535/archives 08:38:18 total 16 08:38:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 08:28 . 08:38:18 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 08:28 .. 08:38:18 drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 08:28 cost 08:38:18 -rw-r--r-- 1 jenkins jenkins 96 Mar 23 08:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:38:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:38:20 ---> package-listing.sh 08:38:20 ++ facter osfamily 08:38:20 ++ tr '[:upper:]' '[:lower:]' 08:38:20 + OS_FAMILY=debian 08:38:20 + workspace=/w/workspace/_app-service-configurable_PR-535 08:38:20 + START_PACKAGES=/tmp/packages_start.txt 08:38:20 + END_PACKAGES=/tmp/packages_end.txt 08:38:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:38:20 + PACKAGES=/tmp/packages_start.txt 08:38:20 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 08:38:20 + PACKAGES=/tmp/packages_end.txt 08:38:20 + case "${OS_FAMILY}" in 08:38:20 + dpkg -l 08:38:20 + grep '^ii' 08:38:20 + '[' -f /tmp/packages_start.txt ']' 08:38:20 + '[' -f /tmp/packages_end.txt ']' 08:38:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:38:20 + '[' /w/workspace/_app-service-configurable_PR-535 ']' 08:38:20 + mkdir -p /w/workspace/_app-service-configurable_PR-535/archives/ 08:38:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-535/archives/ [Pipeline] echo 08:38:20 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-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:38:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:20 prd-ubuntu20.04-docker-8c-8g-5433 does not seem to be running inside a container 08:38:20 $ 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-535/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-535 -v /w/workspace/_app-service-configurable_PR-535:/w/workspace/_app-service-configurable_PR-535:rw,z -v /w/workspace/_app-service-configurable_PR-535@tmp:/w/workspace/_app-service-configurable_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:38:21 $ docker top 961ce565c1779ae5f05dd110f0d51577495e6833712fb9b9e709721396fa8eb9 -eo pid,comm [Pipeline] { [Pipeline] sh 08:38:21 + touch /tmp/pre-build-complete [Pipeline] sh 08:38:21 + mkdir -p /var/log/sysstat [Pipeline] sh 08:38:22 + ls /var/log/sa-host 08:38:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:38:22 provisioning config files... 08:38:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-535@tmp/config18288245633133283724tmp [Pipeline] { [Pipeline] echo 08:38:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:38:22 ---> create-netrc.sh [Pipeline] } 08:38:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:38:22 ---> python-tools-install.sh [Pipeline] echo 08:38:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:38:23 ---> sudo-logs.sh 08:38:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:38:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:38:23 ---> job-cost.sh 08:38:23 lf-activate-venv: SKIPPING 08:38:23 DEBUG: total: 0.2199999988079071 08:38:23 INFO: Retrieving Stack Cost... 08:38:23 INFO: Retrieving Pricing Info for: v3-standard-8 08:38:24 INFO: Archiving Costs [Pipeline] echo 08:38:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:38:24 ---> logs-deploy.sh 08:38:24 lf-activate-venv: SKIPPING 08:38:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-535/3 08:38:24 INFO: archiving workspace using pattern(s): 08:38:25 Archives upload complete. 08:38:25 INFO: archiving logs to Nexus