Pull request #536 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 82fccffbfea0d20424c1e53b4d624464a438dda0+dd1354e29c7435bb79278fb9ff8e460793054574 (3de5925e2e0cd27b60d5487b7fb4f30562e3bf8f) 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-ssh12689542522359461196.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-ssh7331898167269757264.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-536/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-536/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh343471301511296751.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-536/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16691331364007705836.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16571986646284271638.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-536/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-536/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10250479592748873345.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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-5471 in /w/workspace/_app-service-configurable_PR-536 [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-536 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dd1354e29c7435bb79278fb9ff8e460793054574 into PR head commit 82fccffbfea0d20424c1e53b4d624464a438dda0 Merge succeeded, producing 82fccffbfea0d20424c1e53b4d624464a438dda0 Checking out Revision 82fccffbfea0d20424c1e53b4d624464a438dda0 (PR-536) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a > 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/536/head:refs/remotes/origin/PR-536 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 82fccffbfea0d20424c1e53b4d624464a438dda0 # 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 dd1354e29c7435bb79278fb9ff8e460793054574 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 82fccffbfea0d20424c1e53b4d624464a438dda0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:00:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:00:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:00:26 ========================================================= 13:00:26 EdgeX Global Pipelines Version Info 13:00:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:00:27 ------------------- 13:00:27 stable info: 13:00:27 ------------------- 13:00:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:00:27 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 13:00:27 Message: update stable to v1.0.245 13:00:27 ------------------- 13:00:27 experimental info: 13:00:27 ------------------- 13:00:27 Commited By: **** collab-it+edgex@linuxfoundation.org 13:00:27 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 13:00:27 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:00:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:00:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:00:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:00:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:00:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-536 [Pipeline] echo 13:00:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-536 [Pipeline] echo 13:00:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-536 [Pipeline] echo 13:00:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 82fccffbfea0d20424c1e53b4d624464a438dda0 [Pipeline] echo 13:00:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 82fccff [Pipeline] echo 13:00:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:00:29 provisioning config files... 13:00:29 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-536@tmp/config4318436637474365122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:29 ---> docker-login.sh 13:00:29 nexus3.edgexfoundry.org:10001 13:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:30 Configure a credential helper to remove this warning. See 13:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:30 13:00:30 Login Succeeded 13:00:30 nexus3.edgexfoundry.org:10002 13:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:30 Configure a credential helper to remove this warning. See 13:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:30 13:00:30 Login Succeeded 13:00:30 nexus3.edgexfoundry.org:10003 13:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:30 Configure a credential helper to remove this warning. See 13:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:30 13:00:30 Login Succeeded 13:00:30 nexus3.edgexfoundry.org:10004 13:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:30 Configure a credential helper to remove this warning. See 13:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:30 13:00:30 Login Succeeded 13:00:30 docker.io 13:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:30 Configure a credential helper to remove this warning. See 13:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:30 13:00:30 Login Succeeded 13:00:30 ---> docker-login.sh ends [Pipeline] } 13:00:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:00:31 + git rev-list -1 --merges 82fccffbfea0d20424c1e53b4d624464a438dda0~1..82fccffbfea0d20424c1e53b4d624464a438dda0 [Pipeline] echo 13:00:31 -----------> git rev-list -1 --merges 82fccffbfea0d20424c1e53b4d624464a438dda0~1..82fccffbfea0d20424c1e53b4d624464a438dda0 82fccffbfea0d20424c1e53b4d624464a438dda0 [false] [Pipeline] sh 13:00:31 + git log --format=format:%s -1 82fccffbfea0d20424c1e53b4d624464a438dda0 [Pipeline] echo 13:00:31 ========================================================= 13:00:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:00:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:32 + git log --format=format:%s -1 82fccffbfea0d20424c1e53b4d624464a438dda0 [Pipeline] echo 13:00:32 [semverPrep] GIT_COMMIT: 82fccffbfea0d20424c1e53b4d624464a438dda0, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 13:00:32 [semverPrep] This is not a build commit. [Pipeline] sh 13:00:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:00:32 + grep -v github /etc/ssh/ssh_known_hosts 13:00:32 + [ -e /tmp/ssh_known_hosts ] 13:00:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:00:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:00:32 + sudo tee -a /etc/ssh/ssh_known_hosts 13:00:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:00:33 13:00:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:00:33 0.1.4: Pulling from edgex-devops/py-git-semver 13:00:33 b85a868b505f: Pulling fs layer 13:00:33 e2be974225ed: Pulling fs layer 13:00:33 339a4e72a1f5: Pulling fs layer 13:00:33 988bab9f4d93: Pulling fs layer 13:00:33 1469e6f7b9e6: Pulling fs layer 13:00:33 eaf3925da568: Pulling fs layer 13:00:33 bab4dde63d76: Pulling fs layer 13:00:33 bde34c3a00c8: Pulling fs layer 13:00:33 b352a97aabf1: Pulling fs layer 13:00:33 4872d77fe225: Pulling fs layer 13:00:33 5851b861e8e6: Pulling fs layer 13:00:33 bde34c3a00c8: Waiting 13:00:33 bab4dde63d76: Waiting 13:00:33 b352a97aabf1: Waiting 13:00:33 988bab9f4d93: Waiting 13:00:33 4872d77fe225: Waiting 13:00:33 1469e6f7b9e6: Waiting 13:00:33 5851b861e8e6: Waiting 13:00:33 eaf3925da568: Waiting 13:00:33 e2be974225ed: Download complete 13:00:33 988bab9f4d93: Verifying Checksum 13:00:33 988bab9f4d93: Download complete 13:00:33 1469e6f7b9e6: Verifying Checksum 13:00:33 1469e6f7b9e6: Download complete 13:00:33 eaf3925da568: Download complete 13:00:33 339a4e72a1f5: Verifying Checksum 13:00:33 339a4e72a1f5: Download complete 13:00:33 bde34c3a00c8: Verifying Checksum 13:00:33 bde34c3a00c8: Download complete 13:00:33 b352a97aabf1: Verifying Checksum 13:00:33 b352a97aabf1: Download complete 13:00:33 4872d77fe225: Verifying Checksum 13:00:33 4872d77fe225: Download complete 13:00:33 5851b861e8e6: Verifying Checksum 13:00:33 5851b861e8e6: Download complete 13:00:34 b85a868b505f: Verifying Checksum 13:00:34 b85a868b505f: Download complete 13:00:34 bab4dde63d76: Verifying Checksum 13:00:34 bab4dde63d76: Download complete 13:00:35 b85a868b505f: Pull complete 13:00:35 e2be974225ed: Pull complete 13:00:35 339a4e72a1f5: Pull complete 13:00:36 988bab9f4d93: Pull complete 13:00:36 1469e6f7b9e6: Pull complete 13:00:36 eaf3925da568: Pull complete 13:00:38 bab4dde63d76: Pull complete 13:00:38 bde34c3a00c8: Pull complete 13:00:38 b352a97aabf1: Pull complete 13:00:38 4872d77fe225: Pull complete 13:00:38 5851b861e8e6: Pull complete 13:00:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:00:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:00:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:39 prd-ubuntu20.04-docker-8c-8g-5471 does not seem to be running inside a container 13:00:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-536 -v /w/workspace/_app-service-configurable_PR-536:/w/workspace/_app-service-configurable_PR-536:rw,z -v /w/workspace/_app-service-configurable_PR-536@tmp:/w/workspace/_app-service-configurable_PR-536@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:00:42 $ docker top 5116269a55639aa0bc47b4e162a0b9c4b815107046c5d06c002eb5e8ccc91000 -eo pid,comm 13:00:42 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). 13:00:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:00:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:00:42 [ssh-agent] Looking for ssh-agent implementation... 13:00:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:00:42 $ docker exec 5116269a55639aa0bc47b4e162a0b9c4b815107046c5d06c002eb5e8ccc91000 ssh-agent 13:00:42 SSH_AUTH_SOCK=/tmp/ssh-hRq7JysmWe34/agent.14 13:00:42 SSH_AGENT_PID=27 13:00:42 Running ssh-add (command line suppressed) 13:00:42 Identity added: /w/workspace/_app-service-configurable_PR-536@tmp/private_key_7898544911929970694.key (/w/workspace/_app-service-configurable_PR-536@tmp/private_key_7898544911929970694.key) 13:00:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:00:43 + git tag --points-at HEAD [Pipeline] } 13:00:43 $ docker exec --env ******** --env ******** 5116269a55639aa0bc47b4e162a0b9c4b815107046c5d06c002eb5e8ccc91000 ssh-agent -k 13:00:43 unset SSH_AUTH_SOCK; 13:00:43 unset SSH_AGENT_PID; 13:00:43 echo Agent pid 27 killed; 13:00:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:00:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:00:43 [ssh-agent] Looking for ssh-agent implementation... 13:00:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:00:43 $ docker exec 5116269a55639aa0bc47b4e162a0b9c4b815107046c5d06c002eb5e8ccc91000 ssh-agent 13:00:43 SSH_AUTH_SOCK=/tmp/ssh-uNOsY97JnCR4/agent.70 13:00:43 SSH_AGENT_PID=76 13:00:43 Running ssh-add (command line suppressed) 13:00:43 Identity added: /w/workspace/_app-service-configurable_PR-536@tmp/private_key_18265300904919737753.key (/w/workspace/_app-service-configurable_PR-536@tmp/private_key_18265300904919737753.key) 13:00:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:00:44 + git semver init 13:00:44 2023-03-23 13:00:44,362 [run_init] DEBUG init version:0.0.0 force:False 13:00:44 2023-03-23 13:00:44,363 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-536/.semver 13:00:44 2023-03-23 13:00:44,363 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-536/.semver 13:00:44 2023-03-23 13:00:44,363 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-536/.semver'], cwd=/w/workspace/_app-service-configurable_PR-536, universal_newlines=False, shell=None, istream=None) 13:00:45 2023-03-23 13:00:45,239 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-536/.git/info/exclude 13:00:45 2023-03-23 13:00:45,240 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-536/.semver/PR-536 with force:False 13:00:45 2023-03-23 13:00:45,240 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-536/.semver/PR-536 13:00:45 2023-03-23 13:00:45,246 [execute] INFO git cat-file --batch-check 13:00:45 2023-03-23 13:00:45,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-536/.semver, universal_newlines=False, shell=None, istream=) 13:00:45 2023-03-23 13:00:45,256 [execute] INFO git cat-file --batch 13:00:45 2023-03-23 13:00:45,256 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-536/.semver, universal_newlines=False, shell=None, istream=) 13:00:45 2023-03-23 13:00:45,263 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-536/.semver/PR-536 13:00:45 0.0.0 [Pipeline] } 13:00:45 $ docker exec --env ******** --env ******** 5116269a55639aa0bc47b4e162a0b9c4b815107046c5d06c002eb5e8ccc91000 ssh-agent -k 13:00:45 unset SSH_AUTH_SOCK; 13:00:45 unset SSH_AGENT_PID; 13:00:45 echo Agent pid 76 killed; 13:00:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:00:45 + git semver [Pipeline] } 13:00:46 $ docker stop --time=1 5116269a55639aa0bc47b4e162a0b9c4b815107046c5d06c002eb5e8ccc91000 13:00:47 $ docker rm -f --volumes 5116269a55639aa0bc47b4e162a0b9c4b815107046c5d06c002eb5e8ccc91000 [Pipeline] // withDockerContainer [Pipeline] sh 13:00:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:00:48 Stashed 1 file(s) [Pipeline] echo 13:00:48 [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 13:00:48 provisioning config files... 13:00:48 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-536@tmp/config15534893741308131400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:00:49 ---> docker-login.sh 13:00:49 nexus3.edgexfoundry.org:10001 13:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:49 Configure a credential helper to remove this warning. See 13:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:49 13:00:49 Login Succeeded 13:00:49 nexus3.edgexfoundry.org:10002 13:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:49 Configure a credential helper to remove this warning. See 13:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:49 13:00:49 Login Succeeded 13:00:49 nexus3.edgexfoundry.org:10003 13:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:49 Configure a credential helper to remove this warning. See 13:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:49 13:00:49 Login Succeeded 13:00:49 nexus3.edgexfoundry.org:10004 13:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:49 Configure a credential helper to remove this warning. See 13:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:49 13:00:49 Login Succeeded 13:00:49 docker.io 13:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:00:49 Configure a credential helper to remove this warning. See 13:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:00:49 13:00:49 Login Succeeded 13:00:49 ---> docker-login.sh ends [Pipeline] } 13:00:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:00:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:00:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:00:50 ========================================================= 13:00:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:00:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:50 + 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 . 13:00:50 Sending build context to Docker daemon 3.249MB 13:00:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:00:50 Step 2/12 : FROM ${BASE} AS builder 13:00:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:00:50 63b65145d645: Pulling fs layer 13:00:50 a2d21d5440eb: Pulling fs layer 13:00:50 935e6c44a52c: Pulling fs layer 13:00:50 94cc34f8dd06: Pulling fs layer 13:00:50 30dea6a524f1: Pulling fs layer 13:00:50 a2aff8979fd8: Pulling fs layer 13:00:50 6808be2612f2: Pulling fs layer 13:00:50 f25807f1079a: Pulling fs layer 13:00:50 94cc34f8dd06: Waiting 13:00:50 a2aff8979fd8: Waiting 13:00:50 30dea6a524f1: Waiting 13:00:50 6808be2612f2: Waiting 13:00:50 f25807f1079a: Waiting 13:00:50 a2d21d5440eb: Verifying Checksum 13:00:50 a2d21d5440eb: Download complete 13:00:50 94cc34f8dd06: Verifying Checksum 13:00:50 94cc34f8dd06: Download complete 13:00:50 30dea6a524f1: Verifying Checksum 13:00:50 30dea6a524f1: Download complete 13:00:50 63b65145d645: Verifying Checksum 13:00:50 63b65145d645: Download complete 13:00:50 a2aff8979fd8: Verifying Checksum 13:00:50 a2aff8979fd8: Download complete 13:00:50 63b65145d645: Pull complete 13:00:51 a2d21d5440eb: Pull complete 13:00:51 f25807f1079a: Verifying Checksum 13:00:51 f25807f1079a: Download complete 13:00:51 935e6c44a52c: Download complete 13:00:51 6808be2612f2: Verifying Checksum 13:00:51 6808be2612f2: Download complete 13:00:54 935e6c44a52c: Pull complete 13:00:54 94cc34f8dd06: Pull complete 13:00:54 30dea6a524f1: Pull complete 13:00:55 a2aff8979fd8: Pull complete 13:00:57 6808be2612f2: Pull complete 13:00:58 f25807f1079a: Pull complete 13:00:58 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 13:00:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:00:58 ---> 3b553350e43f 13:00:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:01 ---> Running in 2a418d62a663 13:01:01 Removing intermediate container 2a418d62a663 13:01:01 ---> 79c923bf5005 13:01:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:01 ---> Running in a28a7b1935d9 13:01:01 Removing intermediate container a28a7b1935d9 13:01:01 ---> 81fb0545cdd1 13:01:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:01 ---> Running in 737c4c626e51 13:01:01 Removing intermediate container 737c4c626e51 13:01:01 ---> 4df4e83cfa93 13:01:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:01 ---> Running in 2cee2b73b196 13:01:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:01:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:01:02 OK: 265 MiB in 53 packages 13:01:03 Removing intermediate container 2cee2b73b196 13:01:03 ---> 2ef59a616166 13:01:03 Step 7/12 : WORKDIR /app 13:01:03 ---> Running in 8677527b5b3d 13:01:03 Removing intermediate container 8677527b5b3d 13:01:03 ---> 59ea5675ffb8 13:01:03 Step 8/12 : COPY go.mod vendor* ./ 13:01:03 ---> fa5caeada0ce 13:01:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:03 ---> Running in 1d2f40f9e9ce 13:01:03 Still waiting to schedule task 13:01:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:01:35 Removing intermediate container 1d2f40f9e9ce 13:01:35 ---> f2cd36c62788 13:01:35 Step 10/12 : COPY . . 13:01:35 ---> b32e5cd51417 13:01:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:01:35 ---> Running in bdda562c61c1 13:01:35 Removing intermediate container bdda562c61c1 13:01:35 ---> e3e1462eed61 13:01:35 Step 12/12 : RUN $MAKE 13:01:35 ---> Running in e3960d5e6d23 13:01:35 noop 13:01:35 Removing intermediate container e3960d5e6d23 13:01:35 ---> 245fd762a459 13:01:35 Successfully built 245fd762a459 13:01:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:36 + docker inspect -f . ci-base-image-x86_64 13:01:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:36 prd-ubuntu20.04-docker-8c-8g-5471 does not seem to be running inside a container 13:01:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-536 -v /w/workspace/_app-service-configurable_PR-536:/w/workspace/_app-service-configurable_PR-536:rw,z -v /w/workspace/_app-service-configurable_PR-536@tmp:/w/workspace/_app-service-configurable_PR-536@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 ******** ci-base-image-x86_64 cat 13:01:36 $ docker top 3c627526e7adae1a027b585ad2e45fd6b0a961018b9e27937e59761bfd0babed -eo pid,comm [Pipeline] { [Pipeline] sh 13:01:37 + go version 13:01:37 go version go1.20.2 linux/amd64 [Pipeline] } 13:01:37 $ docker stop --time=1 3c627526e7adae1a027b585ad2e45fd6b0a961018b9e27937e59761bfd0babed 13:01:38 $ docker rm -f --volumes 3c627526e7adae1a027b585ad2e45fd6b0a961018b9e27937e59761bfd0babed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:39 + docker inspect -f . ci-base-image-x86_64 13:01:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:39 prd-ubuntu20.04-docker-8c-8g-5471 does not seem to be running inside a container 13:01:39 $ 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-536 -v /w/workspace/_app-service-configurable_PR-536:/w/workspace/_app-service-configurable_PR-536:rw,z -v /w/workspace/_app-service-configurable_PR-536@tmp:/w/workspace/_app-service-configurable_PR-536@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 ******** ci-base-image-x86_64 cat 13:01:39 $ docker top 548863fe4fe0019697847aa81f6c71028d2b02aaa78766586c778ae9a79d1223 -eo pid,comm [Pipeline] { [Pipeline] sh 13:01:40 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-536 [Pipeline] fileExists [Pipeline] sh 13:01:40 + make test 13:01:40 go test -race -coverprofile=coverage.out ./... 13:02:02 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:02:17 go vet ./... 13:02:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:02:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:02:20 ./bin/test-attribution-txt.sh 13:02:21 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:02:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:02:21 $ docker stop --time=1 548863fe4fe0019697847aa81f6c71028d2b02aaa78766586c778ae9a79d1223 13:02:24 $ docker rm -f --volumes 548863fe4fe0019697847aa81f6c71028d2b02aaa78766586c778ae9a79d1223 [Pipeline] // withDockerContainer [Pipeline] sh 13:02:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:02:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:02:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:02:25 + ls -al . 13:02:25 total 176 13:02:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 13:01 . 13:02:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 13:00 .. 13:02:25 -rw-rw-r-- 1 jenkins jenkins 119 Mar 23 13:00 .dockerignore 13:02:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 13:00 .git 13:02:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 13:00 .github 13:02:25 -rw-rw-r-- 1 jenkins jenkins 171 Mar 23 13:00 .gitignore 13:02:25 -rw-rw-r-- 1 jenkins jenkins 41 Mar 23 13:00 .golangci.yml 13:02:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 13:00 .semver 13:02:25 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 23 13:00 Attribution.txt 13:02:25 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 23 13:00 CHANGELOG.md 13:02:25 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 23 13:00 Dockerfile 13:02:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 13:00 GOVERNANCE.md 13:02:25 -rw-rw-r-- 1 jenkins jenkins 688 Mar 23 13:00 Jenkinsfile 13:02:25 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 23 13:00 LICENSE 13:02:25 -rw-rw-r-- 1 jenkins jenkins 618 Mar 23 13:00 OWNERS.md 13:02:25 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 23 13:00 README.md 13:02:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 13:00 VERSION 13:02:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 13:00 bin 13:02:25 -rw-r--r-- 1 jenkins jenkins 13 Mar 23 13:01 coverage.out 13:02:25 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 23 13:00 go.mod 13:02:25 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 23 13:00 go.sum 13:02:25 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 23 13:00 main.go 13:02:25 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 23 13:00 makefile 13:02:25 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 13:00 res 13:02:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:26 + 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=82fccffbfea0d20424c1e53b4d624464a438dda0 --label arch=amd64 --label version=0.0.0 . 13:02:26 Sending build context to Docker daemon 3.25MB 13:02:26 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:02:26 Step 2/26 : FROM ${BASE} AS builder 13:02:26 ---> 245fd762a459 13:02:26 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:02:26 ---> Running in 4c432bf34705 13:02:26 Removing intermediate container 4c432bf34705 13:02:26 ---> 1320622e401d 13:02:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:02:26 ---> Running in efc24bb93578 13:02:26 Removing intermediate container efc24bb93578 13:02:26 ---> ac4da974bcc0 13:02:26 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:02:26 ---> Running in a4601e33ee13 13:02:26 Removing intermediate container a4601e33ee13 13:02:26 ---> 6e5f34a513e7 13:02:26 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:02:26 ---> Running in ae1562d135c1 13:02:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:02:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:02:27 OK: 265 MiB in 53 packages 13:02:27 Removing intermediate container ae1562d135c1 13:02:27 ---> c04db214686d 13:02:27 Step 7/26 : WORKDIR /app 13:02:27 ---> Running in 1bc274f8b0f8 13:02:28 Removing intermediate container 1bc274f8b0f8 13:02:28 ---> 148ee62bd755 13:02:28 Step 8/26 : COPY go.mod vendor* ./ 13:02:28 ---> 656c4b148407 13:02:28 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:02:28 ---> Running in d85e1210bc81 13:02:29 Removing intermediate container d85e1210bc81 13:02:29 ---> 93cc5d93c4d9 13:02:29 Step 10/26 : COPY . . 13:02:29 ---> 12ed786bbf31 13:02:29 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:29 ---> Running in a641ee76993c 13:02:29 Removing intermediate container a641ee76993c 13:02:29 ---> 40f44f9b48b2 13:02:29 Step 12/26 : RUN $MAKE 13:02:29 ---> Running in a0c2f9d4794f 13:02:29 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 13:02:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5473 in /w/workspace/_app-service-configurable_PR-536 [Pipeline] { [Pipeline] ws 13:02:37 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:02:37 Selected Git installation does not exist. Using Default 13:02:37 The recommended git tool is: NONE 13:02:42 using credential edgex-jenkins-ssh 13:02:42 Cloning the remote Git repository 13:02:42 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:02:42 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:02:42 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:02:42 > git --version # timeout=10 13:02:42 > git --version # 'git version 2.25.1' 13:02:42 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:02:44 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:02:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:02:45 Merging remotes/origin/main commit dd1354e29c7435bb79278fb9ff8e460793054574 into PR head commit 82fccffbfea0d20424c1e53b4d624464a438dda0 13:02:45 Merge succeeded, producing 82fccffbfea0d20424c1e53b4d624464a438dda0 13:02:45 Checking out Revision 82fccffbfea0d20424c1e53b4d624464a438dda0 (PR-536) 13:02:45 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:02:45 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:02:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/536/head:refs/remotes/origin/PR-536 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:02:45 > git config core.sparsecheckout # timeout=10 13:02:45 > git checkout -f 82fccffbfea0d20424c1e53b4d624464a438dda0 # timeout=10 13:02:45 > git remote # timeout=10 13:02:45 > git config --get remote.origin.url # timeout=10 13:02:45 using GIT_SSH to set credentials SSH Credentials for GitHub 13:02:45 > git merge dd1354e29c7435bb79278fb9ff8e460793054574 # timeout=10 13:02:45 > git rev-parse HEAD^{commit} # timeout=10 13:02:45 > git config core.sparsecheckout # timeout=10 13:02:45 > git checkout -f 82fccffbfea0d20424c1e53b4d624464a438dda0 # timeout=10 13:02:46 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:02:46 > git --version # timeout=10 13:02:46 > git --version # 'git version 2.25.1' 13:02:46 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:02:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:02:47 % Total % Received % Xferd Average Speed Time Time Time Current 13:02:47 Dload Upload Total Spent Left Speed 13:02:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 55199 0 --:--:-- --:--:-- --:--:-- 55199 13:02:48 Removing intermediate container a0c2f9d4794f 13:02:48 ---> 488b93100dd2 13:02:48 Step 13/26 : FROM alpine:3.17 13:02:48 3.17: Pulling from library/alpine 13:02:48 63b65145d645: Already exists 13:02:48 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:02:48 Status: Downloaded newer image for alpine:3.17 13:02:48 ---> b2aa39c304c2 13:02:48 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:02:48 ---> Running in fd8ebe943d49 13:02:48 Removing intermediate container fd8ebe943d49 13:02:48 ---> e3a8e8a1b4b2 13:02:48 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:02:48 ---> Running in f456a901f069 13:02:48 Removing intermediate container f456a901f069 13:02:48 ---> 43331dc95cea 13:02:48 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init [Pipeline] sh 13:02:48 ---> Running in 525641ee2c00 13:02:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:02:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:02:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:02:48 + sudo tee /etc/docker/daemon.new 13:02:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:02:48 { 13:02:48 "registry-mirrors": [ 13:02:48 "https://nexus3.edgexfoundry.org:10001" 13:02:48 ], 13:02:48 "bip": "10.250.0.254/24", 13:02:48 "hosts": [ 13:02:48 "tcp://0.0.0.0:5555", 13:02:48 "unix:///var/run/docker.sock" 13:02:48 ], 13:02:48 "mtu": 1458, 13:02:48 "selinux-enabled": true, 13:02:48 "seccomp-profile": "/etc/docker/seccomp.json" 13:02:48 } [Pipeline] sh 13:02:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:02:49 (1/2) Installing ca-certificates (20220614-r4) 13:02:49 (2/2) Installing dumb-init (1.2.5-r2) 13:02:49 Executing busybox-1.35.0-r29.trigger 13:02:49 Executing ca-certificates-20220614-r4.trigger 13:02:49 OK: 8 MiB in 17 packages 13:02:49 + sudo service docker restart 13:02:49 Removing intermediate container 525641ee2c00 13:02:49 ---> f8c6af90fd5e 13:02:49 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:02:49 ---> 11bbf9afc904 13:02:49 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:02:49 ---> cb019c8feb10 13:02:49 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:02:50 ---> eb4c13a83b2b 13:02:50 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:02:50 ---> cd9b70f011e3 13:02:50 Step 21/26 : EXPOSE 48095 13:02:50 ---> Running in f470b455fa72 13:02:50 Removing intermediate container f470b455fa72 13:02:50 ---> 31ceaed6008a 13:02:50 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:02:50 ---> Running in 148aa4ec56d1 13:02:51 Removing intermediate container 148aa4ec56d1 13:02:51 ---> ca92363f2090 13:02:51 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:02:51 ---> Running in dd927dea53db 13:02:51 Removing intermediate container dd927dea53db 13:02:51 ---> f0f576cf544f 13:02:51 Step 24/26 : LABEL arch=amd64 13:02:51 ---> Running in 06155b0ac74d 13:02:51 Removing intermediate container 06155b0ac74d 13:02:51 ---> 8e6491d8e681 13:02:51 Step 25/26 : LABEL git_sha=82fccffbfea0d20424c1e53b4d624464a438dda0 13:02:51 ---> Running in f86be75203c5 13:02:51 Removing intermediate container f86be75203c5 13:02:51 ---> 6472da3b0d00 13:02:51 Step 26/26 : LABEL version=0.0.0 13:02:51 ---> Running in 5239bd515b8d 13:02:51 Removing intermediate container 5239bd515b8d 13:02:51 ---> b5d5f936a286 13:02:51 [Warning] One or more build-args [ARCH] were not consumed 13:02:51 Successfully built b5d5f936a286 13:02:51 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 13:02:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:52 13:02:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:52 latest: Pulling from edgex-lftools-log-publisher 13:02:52 5eb5b503b376: Pulling fs layer 13:02:52 5c69ac0246d0: Pulling fs layer 13:02:52 ec43610c2a17: Pulling fs layer 13:02:52 3a2ae6a8a46f: Pulling fs layer 13:02:52 33b1e0a273af: Pulling fs layer 13:02:52 5d3b04190fa2: Pulling fs layer 13:02:52 2f39f015ded8: Pulling fs layer 13:02:52 3a2ae6a8a46f: Waiting 13:02:52 33b1e0a273af: Waiting 13:02:52 5d3b04190fa2: Waiting 13:02:52 2f39f015ded8: Waiting 13:02:52 5c69ac0246d0: Verifying Checksum 13:02:52 5c69ac0246d0: Download complete 13:02:52 3a2ae6a8a46f: Verifying Checksum 13:02:52 3a2ae6a8a46f: Download complete 13:02:53 33b1e0a273af: Download complete 13:02:53 5d3b04190fa2: Verifying Checksum 13:02:53 5d3b04190fa2: Download complete 13:02:53 ec43610c2a17: Verifying Checksum 13:02:53 ec43610c2a17: Download complete 13:02:53 5eb5b503b376: Verifying Checksum 13:02:53 5eb5b503b376: Download complete 13:02:54 5eb5b503b376: Pull complete 13:02:54 5c69ac0246d0: Pull complete 13:02:54 ec43610c2a17: Pull complete 13:02:54 3a2ae6a8a46f: Pull complete 13:02:54 33b1e0a273af: Pull complete 13:02:55 5d3b04190fa2: Pull complete 13:02:59 2f39f015ded8: Pull complete 13:02:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:02:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:02:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:59 prd-ubuntu20.04-docker-8c-8g-5471 does not seem to be running inside a container 13:02:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-536 -v /w/workspace/_app-service-configurable_PR-536:/w/workspace/_app-service-configurable_PR-536:rw,z -v /w/workspace/_app-service-configurable_PR-536@tmp:/w/workspace/_app-service-configurable_PR-536@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:03:02 $ docker top 5dc30ce8061fca8079f88a38ee8ffbff4807296d46ed9d0b7fd6cd469a65b56d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:03:02 ---> job-cost.sh 13:03:02 lf-activate-venv: SKIPPING 13:03:02 INFO: No Stack... 13:03:03 INFO: Retrieving Pricing Info for: v3-standard-8 13:03:03 INFO: Archiving Costs [Pipeline] sh 13:03:03 + cat /w/workspace/_app-service-configurable_PR-536/archives/cost.csv 13:03:03 + cut -d, -f6 [Pipeline] lock 13:03:03 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-536-1-stack-cost] 13:03:03 Resource [jenkins-edgexfoundry-app-service-configurable-PR-536-1-stack-cost] did not exist. Created. 13:03:03 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-536-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:03:04 + echo total: 0.2199999988079071 [Pipeline] stash 13:03:04 Stashed 1 file(s) [Pipeline] } 13:03:04 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-536-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:03:04 $ docker stop --time=1 5dc30ce8061fca8079f88a38ee8ffbff4807296d46ed9d0b7fd6cd469a65b56d 13:03:05 $ docker rm -f --volumes 5dc30ce8061fca8079f88a38ee8ffbff4807296d46ed9d0b7fd6cd469a65b56d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:03:07 provisioning config files... 13:03:07 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config17240712934555520603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:03:08 ---> docker-login.sh 13:03:08 nexus3.edgexfoundry.org:10001 13:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:08 Configure a credential helper to remove this warning. See 13:03:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:08 13:03:08 Login Succeeded 13:03:08 nexus3.edgexfoundry.org:10002 13:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:09 Configure a credential helper to remove this warning. See 13:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:09 13:03:09 Login Succeeded 13:03:09 nexus3.edgexfoundry.org:10003 13:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:09 Configure a credential helper to remove this warning. See 13:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:09 13:03:09 Login Succeeded 13:03:09 nexus3.edgexfoundry.org:10004 13:03:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:09 Configure a credential helper to remove this warning. See 13:03:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:09 13:03:09 Login Succeeded 13:03:09 docker.io 13:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:03:10 Configure a credential helper to remove this warning. See 13:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:03:10 13:03:10 Login Succeeded 13:03:10 ---> docker-login.sh ends [Pipeline] } 13:03:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:03:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:03:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:03:10 ========================================================= 13:03:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:03:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:11 + 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 . 13:03:11 Sending build context to Docker daemon 173.6kB 13:03:11 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:03:11 Step 2/12 : FROM ${BASE} AS builder 13:03:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:03:11 af6eaf76a39c: Pulling fs layer 13:03:11 55522c791124: Pulling fs layer 13:03:11 ce5c4a1c91eb: Pulling fs layer 13:03:11 169dfbe0d373: Pulling fs layer 13:03:11 e1ff8fa3b103: Pulling fs layer 13:03:11 52ebb69f0ebf: Pulling fs layer 13:03:11 5abe8eddf0d5: Pulling fs layer 13:03:11 e1ff8fa3b103: Waiting 13:03:11 52ebb69f0ebf: Waiting 13:03:11 5abe8eddf0d5: Waiting 13:03:11 169dfbe0d373: Waiting 13:03:11 55522c791124: Verifying Checksum 13:03:11 55522c791124: Download complete 13:03:11 169dfbe0d373: Verifying Checksum 13:03:11 169dfbe0d373: Download complete 13:03:11 e1ff8fa3b103: Verifying Checksum 13:03:11 e1ff8fa3b103: Download complete 13:03:11 af6eaf76a39c: Download complete 13:03:12 af6eaf76a39c: Pull complete 13:03:12 5abe8eddf0d5: Verifying Checksum 13:03:12 5abe8eddf0d5: Download complete 13:03:13 55522c791124: Pull complete 13:03:14 ce5c4a1c91eb: Verifying Checksum 13:03:14 ce5c4a1c91eb: Download complete 13:03:14 52ebb69f0ebf: Verifying Checksum 13:03:14 52ebb69f0ebf: Download complete 13:03:24 ce5c4a1c91eb: Pull complete 13:03:24 169dfbe0d373: Pull complete 13:03:24 e1ff8fa3b103: Pull complete 13:03:31 52ebb69f0ebf: Pull complete 13:03:31 5abe8eddf0d5: Pull complete 13:03:31 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:03:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:03:31 ---> 6cb57ee374ae 13:03:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:03:33 ---> Running in 5dcbd8d74e3d 13:03:33 Removing intermediate container 5dcbd8d74e3d 13:03:33 ---> ca9267969f3b 13:03:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:03:33 ---> Running in c1ea1411bf75 13:03:34 Removing intermediate container c1ea1411bf75 13:03:34 ---> 58042654a5dd 13:03:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:03:34 ---> Running in be30cc210829 13:03:34 Removing intermediate container be30cc210829 13:03:34 ---> 39723e4667af 13:03:34 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:03:34 ---> Running in c362a4d3c741 13:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:03:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:03:36 OK: 263 MiB in 53 packages 13:03:37 Removing intermediate container c362a4d3c741 13:03:37 ---> 6fd3caa44a69 13:03:37 Step 7/12 : WORKDIR /app 13:03:37 ---> Running in 0f388cd41420 13:03:38 Removing intermediate container 0f388cd41420 13:03:38 ---> 7fc24da48a6d 13:03:38 Step 8/12 : COPY go.mod vendor* ./ 13:03:38 ---> a32b04c1e0a0 13:03:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:03:38 ---> Running in 6ed07c924f11 13:04:46 Removing intermediate container 6ed07c924f11 13:04:46 ---> f4f801c8132b 13:04:46 Step 10/12 : COPY . . 13:04:46 ---> 8df45f335d09 13:04:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:04:46 ---> Running in a8f6f87c230e 13:04:46 Removing intermediate container a8f6f87c230e 13:04:46 ---> cffcc71b213e 13:04:46 Step 12/12 : RUN $MAKE 13:04:46 ---> Running in c32efefe2ea1 13:04:46 noop 13:04:46 Removing intermediate container c32efefe2ea1 13:04:46 ---> af10d34df98c 13:04:46 Successfully built af10d34df98c 13:04:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:47 + docker inspect -f . ci-base-image-arm64 13:04:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:47 prd-ubuntu20.04-docker-arm64-4c-16g-5473 does not seem to be running inside a container 13:04:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:04:48 $ docker top 88f707f024a256c50d29f8bebdb1f1001c0196ca2adf37452f970c966131d12c -eo pid,comm [Pipeline] { [Pipeline] sh 13:04:49 + go version 13:04:49 go version go1.20.2 linux/arm64 [Pipeline] } 13:04:49 $ docker stop --time=1 88f707f024a256c50d29f8bebdb1f1001c0196ca2adf37452f970c966131d12c 13:04:51 $ docker rm -f --volumes 88f707f024a256c50d29f8bebdb1f1001c0196ca2adf37452f970c966131d12c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:04:54 + docker inspect -f . ci-base-image-arm64 13:04:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:04:55 prd-ubuntu20.04-docker-arm64-4c-16g-5473 does not seem to be running inside a container 13:04:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:04:56 $ docker top e6e1b848419e50db96ed274d367e0acece78fc6783fa44c58efd9b1b7d7fee1f -eo pid,comm [Pipeline] { [Pipeline] sh 13:04:57 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:04:57 + make test 13:04:57 go test -race -coverprofile=coverage.out ./... 13:07:34 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:07:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:07:34 go vet ./... 13:09:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:09:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:09:56 ./bin/test-attribution-txt.sh 13:09:56 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:09:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:09:56 $ docker stop --time=1 e6e1b848419e50db96ed274d367e0acece78fc6783fa44c58efd9b1b7d7fee1f 13:09:58 $ docker rm -f --volumes e6e1b848419e50db96ed274d367e0acece78fc6783fa44c58efd9b1b7d7fee1f [Pipeline] // withDockerContainer [Pipeline] sh 13:09:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:09:59 Warning: overwriting stash ‘coverage-report’ 13:09:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:10:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:10:00 + ls -al . 13:10:00 total 172 13:10:00 drwxrwxr-x 7 jenkins jenkins 4096 Mar 23 13:05 . 13:10:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 13:02 .. 13:10:00 -rw-rw-r-- 1 jenkins jenkins 119 Mar 23 13:02 .dockerignore 13:10:00 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 13:02 .git 13:10:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 13:02 .github 13:10:00 -rw-rw-r-- 1 jenkins jenkins 171 Mar 23 13:02 .gitignore 13:10:00 -rw-rw-r-- 1 jenkins jenkins 41 Mar 23 13:02 .golangci.yml 13:10:00 -rw-rw-r-- 1 jenkins jenkins 9320 Mar 23 13:02 Attribution.txt 13:10:00 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 23 13:02 CHANGELOG.md 13:10:00 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 23 13:02 Dockerfile 13:10:00 -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 13:02 GOVERNANCE.md 13:10:00 -rw-rw-r-- 1 jenkins jenkins 688 Mar 23 13:02 Jenkinsfile 13:10:00 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 23 13:02 LICENSE 13:10:00 -rw-rw-r-- 1 jenkins jenkins 618 Mar 23 13:02 OWNERS.md 13:10:00 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 23 13:02 README.md 13:10:00 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 13:00 VERSION 13:10:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 13:02 bin 13:10:00 -rw-r--r-- 1 jenkins jenkins 13 Mar 23 13:05 coverage.out 13:10:00 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 23 13:02 go.mod 13:10:00 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 23 13:02 go.sum 13:10:00 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 23 13:02 main.go 13:10:00 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 23 13:02 makefile 13:10:00 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 13:02 res 13:10:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 13:02 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:01 + docker build -t app-service-configurable-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=82fccffbfea0d20424c1e53b4d624464a438dda0 --label arch=arm64 --label version=0.0.0 . 13:10:01 Sending build context to Docker daemon 174.6kB 13:10:01 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:10:01 Step 2/26 : FROM ${BASE} AS builder 13:10:01 ---> af10d34df98c 13:10:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:10:01 ---> Running in e1bddf556932 13:10:01 Removing intermediate container e1bddf556932 13:10:01 ---> 06e2fb70d380 13:10:01 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:10:01 ---> Running in 50df7a3e7580 13:10:02 Removing intermediate container 50df7a3e7580 13:10:02 ---> 2282e6a89296 13:10:02 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:10:02 ---> Running in 84a0efb93048 13:10:02 Removing intermediate container 84a0efb93048 13:10:02 ---> 2fdbf58d9432 13:10:02 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:10:02 ---> Running in 01dc75829f6e 13:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:10:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:10:05 OK: 263 MiB in 53 packages 13:10:06 Removing intermediate container 01dc75829f6e 13:10:06 ---> 07cadee52ac0 13:10:06 Step 7/26 : WORKDIR /app 13:10:06 ---> Running in 81225d07da2b 13:10:06 Removing intermediate container 81225d07da2b 13:10:06 ---> 57f4a36164e7 13:10:06 Step 8/26 : COPY go.mod vendor* ./ 13:10:08 ---> 57546837f9a8 13:10:08 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:10:08 ---> Running in d1313674df47 13:10:11 Removing intermediate container d1313674df47 13:10:11 ---> 68ed6caebebb 13:10:11 Step 10/26 : COPY . . 13:10:11 ---> 64ab543ded36 13:10:11 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:10:11 ---> Running in 1ec140874965 13:10:11 Removing intermediate container 1ec140874965 13:10:11 ---> b5c1e0e9d4ea 13:10:11 Step 12/26 : RUN $MAKE 13:10:11 ---> Running in 28a64876aa45 13:10:12 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 13:12:34 Removing intermediate container 28a64876aa45 13:12:34 ---> 7fe731035970 13:12:34 Step 13/26 : FROM alpine:3.17 13:12:34 3.17: Pulling from library/alpine 13:12:34 af6eaf76a39c: Already exists 13:12:34 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:12:34 Status: Downloaded newer image for alpine:3.17 13:12:34 ---> d74e625d9115 13:12:34 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:12:34 ---> Running in b80450b6a528 13:12:34 Removing intermediate container b80450b6a528 13:12:34 ---> 66b4ab051589 13:12:34 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:12:34 ---> Running in 1ff42b32da4a 13:12:34 Removing intermediate container 1ff42b32da4a 13:12:34 ---> 828d0dfca096 13:12:34 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:12:34 ---> Running in b48234d54c98 13:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:12:34 (1/2) Installing ca-certificates (20220614-r4) 13:12:34 (2/2) Installing dumb-init (1.2.5-r2) 13:12:34 Executing busybox-1.35.0-r29.trigger 13:12:34 Executing ca-certificates-20220614-r4.trigger 13:12:34 OK: 8 MiB in 17 packages 13:12:34 Removing intermediate container b48234d54c98 13:12:34 ---> 81517f736621 13:12:34 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:12:34 ---> 2a7d67eb0212 13:12:34 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:12:34 ---> b6a7e0496dc6 13:12:34 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:12:34 ---> 04fd067a583e 13:12:34 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:12:34 ---> 020fc5f21a76 13:12:34 Step 21/26 : EXPOSE 48095 13:12:34 ---> Running in d8c4e081a5a6 13:12:34 Removing intermediate container d8c4e081a5a6 13:12:34 ---> 60c76bbb3134 13:12:34 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:12:34 ---> Running in c73ac8f88ef6 13:12:34 Removing intermediate container c73ac8f88ef6 13:12:34 ---> 9b3e761b7b67 13:12:34 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:12:34 ---> Running in 97dedc5a031c 13:12:34 Removing intermediate container 97dedc5a031c 13:12:34 ---> aa9e7cf71063 13:12:34 Step 24/26 : LABEL arch=arm64 13:12:34 ---> Running in ea1b5c4e1e80 13:12:34 Removing intermediate container ea1b5c4e1e80 13:12:34 ---> 70bbc4a185d4 13:12:34 Step 25/26 : LABEL git_sha=82fccffbfea0d20424c1e53b4d624464a438dda0 13:12:34 ---> Running in ee58391a2d84 13:12:34 Removing intermediate container ee58391a2d84 13:12:34 ---> 6b5995e00b3f 13:12:34 Step 26/26 : LABEL version=0.0.0 13:12:34 ---> Running in b1eea2f326ea 13:12:34 Removing intermediate container b1eea2f326ea 13:12:34 ---> ecaf17ccd1f2 13:12:34 [Warning] One or more build-args [ARCH] were not consumed 13:12:34 Successfully built ecaf17ccd1f2 13:12:34 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 13:12:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:12:35 13:12:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:12:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:12:35 arm64: Pulling from edgex-lftools-log-publisher 13:12:35 8998bd30e6a1: Pulling fs layer 13:12:35 04944245beec: Pulling fs layer 13:12:35 699f458cf7ca: Pulling fs layer 13:12:35 765212b225bb: Pulling fs layer 13:12:35 f23df028b6ca: Pulling fs layer 13:12:35 d65c8cfc05b1: Pulling fs layer 13:12:35 2437ff75d9bd: Pulling fs layer 13:12:35 f23df028b6ca: Waiting 13:12:35 765212b225bb: Waiting 13:12:35 d65c8cfc05b1: Waiting 13:12:35 2437ff75d9bd: Waiting 13:12:35 04944245beec: Verifying Checksum 13:12:35 04944245beec: Download complete 13:12:35 765212b225bb: Verifying Checksum 13:12:35 765212b225bb: Download complete 13:12:35 f23df028b6ca: Verifying Checksum 13:12:35 f23df028b6ca: Download complete 13:12:35 d65c8cfc05b1: Verifying Checksum 13:12:35 d65c8cfc05b1: Download complete 13:12:36 699f458cf7ca: Verifying Checksum 13:12:36 699f458cf7ca: Download complete 13:12:36 8998bd30e6a1: Verifying Checksum 13:12:36 8998bd30e6a1: Download complete 13:12:39 2437ff75d9bd: Verifying Checksum 13:12:39 2437ff75d9bd: Download complete 13:12:40 8998bd30e6a1: Pull complete 13:12:41 04944245beec: Pull complete 13:12:42 699f458cf7ca: Pull complete 13:12:42 765212b225bb: Pull complete 13:12:45 f23df028b6ca: Pull complete 13:12:45 d65c8cfc05b1: Pull complete 13:13:00 2437ff75d9bd: Pull complete 13:13:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:13:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:13:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:13:00 prd-ubuntu20.04-docker-arm64-4c-16g-5473 does not seem to be running inside a container 13:13:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:13:03 $ docker top 11b30a94bf2e4338a5f1d7b6bbc8c232bb7f8d3ef3d8417adcfd63ddfc9b03cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:13:04 ---> job-cost.sh 13:13:04 lf-activate-venv: SKIPPING 13:13:04 INFO: No Stack... 13:13:04 INFO: Retrieving Pricing Info for: v3-standard-4 13:13:05 INFO: Archiving Costs [Pipeline] sh 13:13:05 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:13:05 + cut -d, -f6 [Pipeline] lock 13:13:06 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-536-1-stack-cost] 13:13:06 Resource [jenkins-edgexfoundry-app-service-configurable-PR-536-1-stack-cost] did not exist. Created. 13:13:06 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-536-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:13:06 /w/workspace/app-service-configurable/1@tmp/durable-24089fde/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:13:06 + echo total: 0.10999999940395355 [Pipeline] stash 13:13:06 Warning: overwriting stash ‘stack-cost’ 13:13:06 Stashed 1 file(s) [Pipeline] } 13:13:06 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-536-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:13:06 $ docker stop --time=1 11b30a94bf2e4338a5f1d7b6bbc8c232bb7f8d3ef3d8417adcfd63ddfc9b03cd 13:13:08 $ docker rm -f --volumes 11b30a94bf2e4338a5f1d7b6bbc8c232bb7f8d3ef3d8417adcfd63ddfc9b03cd [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 13:13:09 provisioning config files... 13:13:09 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-536@tmp/config12932723120118798118tmp [Pipeline] { [Pipeline] sh 13:13:09 + set +x 13:13:09 + curl -s https://codecov.io/bash 13:13:09 + bash -s -- 13:13:09 13:13:09 _____ _ 13:13:09 / ____| | | 13:13:09 | | ___ __| | ___ ___ _____ __ 13:13:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:13:09 | |___| (_) | (_| | __/ (_| (_) \ V / 13:13:09 \_____\___/ \__,_|\___|\___\___/ \_/ 13:13:09 Bash-1.0.6 13:13:09 13:13:09 13:13:09 ==> git version 2.25.1 found 13:13:09 ==> 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 13:13:09 Release-Date: 2020-01-08 13:13:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:13:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:13:09 ==> Jenkins CI detected. 13:13:09 current dir:  /w/workspace/_app-service-configurable_PR-536 13:13:09 project root: . 13:13:09 --> token set from env 13:13:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:13:09 ==> Running gcov in . (disable via -X gcov) 13:13:09 ==> Python coveragepy not found 13:13:09 ==> Searching for coverage reports in: 13:13:09 + . 13:13:09 -> Found 1 reports 13:13:09 ==> Detecting git/mercurial file structure 13:13:09 ==> Reading reports 13:13:09 + ./coverage.out bytes=13 13:13:09 ==> Appending adjustments 13:13:09 https://docs.codecov.io/docs/fixing-reports 13:13:10 + Found adjustments 13:13:10 ==> Gzipping contents 13:13:10 4.0K /tmp/codecov.GjSv8N.gz 13:13:10 ==> Uploading reports 13:13:10 url: https://codecov.io 13:13:10 query: branch=PR-536&commit=82fccffbfea0d20424c1e53b4d624464a438dda0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-536%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=536&job=&cmd_args= 13:13:10 -> Pinging Codecov 13:13:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-536&commit=82fccffbfea0d20424c1e53b4d624464a438dda0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-536%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=536&job=&cmd_args= 13:13:10 -> Uploading to 13:13:10 https://storage.googleapis.com/codecov/v4/raw/2023-03-23/A97CA9966030D2A3747ED39772930CCE/82fccffbfea0d20424c1e53b4d624464a438dda0/ceac4520-e93d-4174-a827-904703f8ff5c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230323T131309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=44386a0b3c3d9f45165a80fff3a540066e75808b73497cebaacf239d4f560a0c 13:13:10 % Total % Received % Xferd Average Speed Time Time Time Current 13:13:10 Dload Upload Total Spent Left Speed 13:13:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 511 0 0 100 511 0 2094 --:--:-- --:--:-- --:--:-- 2094 13:13:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/82fccffbfea0d20424c1e53b4d624464a438dda0 [Pipeline] } 13:13:10 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 13:13:12 + [ -d /w/workspace/_app-service-configurable_PR-536/archives ] 13:13:12 + ls -al /w/workspace/_app-service-configurable_PR-536/archives 13:13:12 total 16 13:13:12 drwxr-xr-x 3 root root 4096 Mar 23 13:03 . 13:13:12 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 13:03 .. 13:13:12 drwxr-xr-x 2 root root 4096 Mar 23 13:03 cost 13:13:12 -rw-r--r-- 1 root root 96 Mar 23 13:03 cost.csv 13:13:12 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-536/archives 13:13:12 + ls -al /w/workspace/_app-service-configurable_PR-536/archives 13:13:12 total 16 13:13:12 drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 13:03 . 13:13:12 drwxrwxr-x 9 jenkins jenkins 4096 Mar 23 13:03 .. 13:13:12 drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 13:03 cost 13:13:12 -rw-r--r-- 1 jenkins jenkins 96 Mar 23 13:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:13:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:13:13 ---> package-listing.sh 13:13:13 ++ facter osfamily 13:13:13 ++ tr '[:upper:]' '[:lower:]' 13:13:13 + OS_FAMILY=debian 13:13:13 + workspace=/w/workspace/_app-service-configurable_PR-536 13:13:13 + START_PACKAGES=/tmp/packages_start.txt 13:13:13 + END_PACKAGES=/tmp/packages_end.txt 13:13:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:13:13 + PACKAGES=/tmp/packages_start.txt 13:13:13 + '[' /w/workspace/_app-service-configurable_PR-536 ']' 13:13:13 + PACKAGES=/tmp/packages_end.txt 13:13:13 + case "${OS_FAMILY}" in 13:13:13 + dpkg -l 13:13:13 + grep '^ii' 13:13:13 + '[' -f /tmp/packages_start.txt ']' 13:13:13 + '[' -f /tmp/packages_end.txt ']' 13:13:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:13:13 + '[' /w/workspace/_app-service-configurable_PR-536 ']' 13:13:13 + mkdir -p /w/workspace/_app-service-configurable_PR-536/archives/ 13:13:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-536/archives/ [Pipeline] echo 13:13:13 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-536/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:13:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:13:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:13:14 prd-ubuntu20.04-docker-8c-8g-5471 does not seem to be running inside a container 13:13:14 $ 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-536/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-536 -v /w/workspace/_app-service-configurable_PR-536:/w/workspace/_app-service-configurable_PR-536:rw,z -v /w/workspace/_app-service-configurable_PR-536@tmp:/w/workspace/_app-service-configurable_PR-536@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:13:14 $ docker top 9ff98c3bfadd2cbceb29629779520676c73139c75fa5f7a234b2476898f62168 -eo pid,comm [Pipeline] { [Pipeline] sh 13:13:15 + touch /tmp/pre-build-complete [Pipeline] sh 13:13:15 + mkdir -p /var/log/sysstat [Pipeline] sh 13:13:15 + ls /var/log/sa-host 13:13:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:13:16 provisioning config files... 13:13:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-536@tmp/config417768613009644959tmp [Pipeline] { [Pipeline] echo 13:13:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:13:16 ---> create-netrc.sh [Pipeline] } 13:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:13:16 ---> python-tools-install.sh [Pipeline] echo 13:13:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:13:17 ---> sudo-logs.sh 13:13:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:13:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:13:17 ---> job-cost.sh 13:13:17 lf-activate-venv: SKIPPING 13:13:17 DEBUG: total: 0.2199999988079071 13:13:17 INFO: Retrieving Stack Cost... 13:13:18 INFO: Retrieving Pricing Info for: v3-standard-8 13:13:18 INFO: Archiving Costs [Pipeline] echo 13:13:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:13:18 ---> logs-deploy.sh 13:13:18 lf-activate-venv: SKIPPING 13:13:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-536/1 13:13:18 INFO: archiving workspace using pattern(s): 13:13:19 Archives upload complete. 13:13:19 INFO: archiving logs to Nexus