Pull request #562 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a+a1dbe1c6f5ea5927a1bbbb159b0128a49cba2dd0 (4fe6b0207bc1c0e9b6a7bac319f21881afba9611) 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-ssh11357891809983292591.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12640735888160759029.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-562/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-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11324676032289973030.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-562/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8024722402830320146.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10949245231378451410.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-562/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-562/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11674847682479525072.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-15280 in /w/workspace/_app-service-configurable_PR-562 [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-562 # 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 Merging remotes/origin/main commit a1dbe1c6f5ea5927a1bbbb159b0128a49cba2dd0 into PR head commit ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a # 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 a1dbe1c6f5ea5927a1bbbb159b0128a49cba2dd0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a Checking out Revision ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a (PR-562) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:58:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:58:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:27 ========================================================= 12:58:27 EdgeX Global Pipelines Version Info 12:58:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:58:28 ------------------- 12:58:28 stable info: 12:58:28 ------------------- 12:58:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:58:28 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 12:58:28 Message: update stable to v1.0.249 12:58:29 ------------------- 12:58:29 experimental info: 12:58:29 ------------------- 12:58:29 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:29 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 12:58:29 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-562 [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-562 [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-562 [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ccb24d6 [Pipeline] echo 12:58:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:31 provisioning config files... 12:58:31 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-562@tmp/config7130484557582837815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:31 ---> docker-login.sh 12:58:31 nexus3.edgexfoundry.org:10001 12:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:31 Configure a credential helper to remove this warning. See 12:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:31 12:58:31 Login Succeeded 12:58:31 nexus3.edgexfoundry.org:10002 12:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:31 Configure a credential helper to remove this warning. See 12:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:31 12:58:31 Login Succeeded 12:58:31 nexus3.edgexfoundry.org:10003 12:58:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:31 Configure a credential helper to remove this warning. See 12:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:31 12:58:31 Login Succeeded 12:58:31 nexus3.edgexfoundry.org:10004 12:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:32 Configure a credential helper to remove this warning. See 12:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:32 12:58:32 Login Succeeded 12:58:32 docker.io 12:58:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:32 Configure a credential helper to remove this warning. See 12:58:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:32 12:58:32 Login Succeeded 12:58:32 ---> docker-login.sh ends [Pipeline] } 12:58:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:33 + git rev-list -1 --merges ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a~1..ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a [Pipeline] echo 12:58:33 -----------> git rev-list -1 --merges ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a~1..ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a [false] [Pipeline] sh 12:58:33 + git log --format=format:%s -1 ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a [Pipeline] echo 12:58:33 ========================================================= 12:58:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:33 + git log --format=format:%s -1 ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a [Pipeline] echo 12:58:34 [semverPrep] GIT_COMMIT: ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:58:34 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:34 + grep -v github /etc/ssh/ssh_known_hosts 12:58:34 + [ -e /tmp/ssh_known_hosts ] 12:58:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:34 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:35 12:58:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:35 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:35 b85a868b505f: Pulling fs layer 12:58:35 e2be974225ed: Pulling fs layer 12:58:35 339a4e72a1f5: Pulling fs layer 12:58:35 988bab9f4d93: Pulling fs layer 12:58:35 1469e6f7b9e6: Pulling fs layer 12:58:35 eaf3925da568: Pulling fs layer 12:58:35 bab4dde63d76: Pulling fs layer 12:58:35 bde34c3a00c8: Pulling fs layer 12:58:35 b352a97aabf1: Pulling fs layer 12:58:35 4872d77fe225: Pulling fs layer 12:58:35 5851b861e8e6: Pulling fs layer 12:58:35 988bab9f4d93: Waiting 12:58:35 b352a97aabf1: Waiting 12:58:35 1469e6f7b9e6: Waiting 12:58:35 4872d77fe225: Waiting 12:58:35 5851b861e8e6: Waiting 12:58:35 bde34c3a00c8: Waiting 12:58:35 eaf3925da568: Waiting 12:58:35 bab4dde63d76: Waiting 12:58:35 e2be974225ed: Download complete 12:58:35 988bab9f4d93: Download complete 12:58:35 1469e6f7b9e6: Verifying Checksum 12:58:35 1469e6f7b9e6: Download complete 12:58:35 339a4e72a1f5: Verifying Checksum 12:58:35 339a4e72a1f5: Download complete 12:58:35 eaf3925da568: Verifying Checksum 12:58:35 eaf3925da568: Download complete 12:58:35 bde34c3a00c8: Verifying Checksum 12:58:35 bde34c3a00c8: Download complete 12:58:35 b352a97aabf1: Verifying Checksum 12:58:35 b352a97aabf1: Download complete 12:58:35 4872d77fe225: Verifying Checksum 12:58:35 4872d77fe225: Download complete 12:58:35 5851b861e8e6: Download complete 12:58:35 b85a868b505f: Verifying Checksum 12:58:35 b85a868b505f: Download complete 12:58:35 bab4dde63d76: Verifying Checksum 12:58:35 bab4dde63d76: Download complete 12:58:36 b85a868b505f: Pull complete 12:58:36 e2be974225ed: Pull complete 12:58:37 339a4e72a1f5: Pull complete 12:58:37 988bab9f4d93: Pull complete 12:58:37 1469e6f7b9e6: Pull complete 12:58:37 eaf3925da568: Pull complete 12:58:39 bab4dde63d76: Pull complete 12:58:39 bde34c3a00c8: Pull complete 12:58:39 b352a97aabf1: Pull complete 12:58:39 4872d77fe225: Pull complete 12:58:39 5851b861e8e6: Pull complete 12:58:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:58:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:39 prd-ubuntu20.04-docker-8c-8g-15280 does not seem to be running inside a container 12:58:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-562 -v /w/workspace/_app-service-configurable_PR-562:/w/workspace/_app-service-configurable_PR-562:rw,z -v /w/workspace/_app-service-configurable_PR-562@tmp:/w/workspace/_app-service-configurable_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:58:40 $ docker top 9ebbd2c72c88e54ab5a4cbe7edc1dbeba625f166509efebec8fefeef27165a36 -eo pid,comm 12:58:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:58:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:40 [ssh-agent] Looking for ssh-agent implementation... 12:58:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:41 $ docker exec 9ebbd2c72c88e54ab5a4cbe7edc1dbeba625f166509efebec8fefeef27165a36 ssh-agent 12:58:41 SSH_AUTH_SOCK=/tmp/ssh-JGVXyhPrIz3U/agent.32 12:58:41 SSH_AGENT_PID=38 12:58:41 Running ssh-add (command line suppressed) 12:58:41 Identity added: /w/workspace/_app-service-configurable_PR-562@tmp/private_key_3834583213398574666.key (/w/workspace/_app-service-configurable_PR-562@tmp/private_key_3834583213398574666.key) 12:58:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:41 + git tag --points-at HEAD [Pipeline] } 12:58:41 $ docker exec --env ******** --env ******** 9ebbd2c72c88e54ab5a4cbe7edc1dbeba625f166509efebec8fefeef27165a36 ssh-agent -k 12:58:41 unset SSH_AUTH_SOCK; 12:58:41 unset SSH_AGENT_PID; 12:58:41 echo Agent pid 38 killed; 12:58:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:41 [ssh-agent] Looking for ssh-agent implementation... 12:58:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:41 $ docker exec 9ebbd2c72c88e54ab5a4cbe7edc1dbeba625f166509efebec8fefeef27165a36 ssh-agent 12:58:42 SSH_AUTH_SOCK=/tmp/ssh-TY235L39rM0Z/agent.70 12:58:42 SSH_AGENT_PID=77 12:58:42 Running ssh-add (command line suppressed) 12:58:42 Identity added: /w/workspace/_app-service-configurable_PR-562@tmp/private_key_16273933363921302842.key (/w/workspace/_app-service-configurable_PR-562@tmp/private_key_16273933363921302842.key) 12:58:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:42 + git semver init 12:58:42 2023-05-12 12:58:42,677 [run_init] DEBUG init version:0.0.0 force:False 12:58:42 2023-05-12 12:58:42,678 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-562/.semver 12:58:42 2023-05-12 12:58:42,679 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-562/.semver 12:58:42 2023-05-12 12:58:42,679 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-562/.semver'], cwd=/w/workspace/_app-service-configurable_PR-562, universal_newlines=False, shell=None, istream=None) 12:58:43 2023-05-12 12:58:43,429 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-562/.git/info/exclude 12:58:43 2023-05-12 12:58:43,429 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-562/.semver/PR-562 with force:False 12:58:43 2023-05-12 12:58:43,430 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-562/.semver/PR-562 12:58:43 2023-05-12 12:58:43,435 [execute] INFO git cat-file --batch-check 12:58:43 2023-05-12 12:58:43,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-562/.semver, universal_newlines=False, shell=None, istream=) 12:58:43 2023-05-12 12:58:43,442 [execute] INFO git cat-file --batch 12:58:43 2023-05-12 12:58:43,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-562/.semver, universal_newlines=False, shell=None, istream=) 12:58:43 2023-05-12 12:58:43,447 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-562/.semver/PR-562 12:58:43 0.0.0 [Pipeline] } 12:58:43 $ docker exec --env ******** --env ******** 9ebbd2c72c88e54ab5a4cbe7edc1dbeba625f166509efebec8fefeef27165a36 ssh-agent -k 12:58:43 unset SSH_AUTH_SOCK; 12:58:43 unset SSH_AGENT_PID; 12:58:43 echo Agent pid 77 killed; 12:58:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:44 + git semver [Pipeline] } 12:58:44 $ docker stop --time=1 9ebbd2c72c88e54ab5a4cbe7edc1dbeba625f166509efebec8fefeef27165a36 12:58:45 $ docker rm -f --volumes 9ebbd2c72c88e54ab5a4cbe7edc1dbeba625f166509efebec8fefeef27165a36 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:46 Stashed 1 file(s) [Pipeline] echo 12:58:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:47 provisioning config files... 12:58:47 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-562@tmp/config12430323285526343961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:47 ---> docker-login.sh 12:58:47 nexus3.edgexfoundry.org:10001 12:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:47 Configure a credential helper to remove this warning. See 12:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:47 12:58:47 Login Succeeded 12:58:47 nexus3.edgexfoundry.org:10002 12:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:47 Configure a credential helper to remove this warning. See 12:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:47 12:58:47 Login Succeeded 12:58:47 nexus3.edgexfoundry.org:10003 12:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:47 Configure a credential helper to remove this warning. See 12:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:47 12:58:47 Login Succeeded 12:58:47 nexus3.edgexfoundry.org:10004 12:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:47 Configure a credential helper to remove this warning. See 12:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:47 12:58:47 Login Succeeded 12:58:47 docker.io 12:58:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:47 Configure a credential helper to remove this warning. See 12:58:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:47 12:58:47 Login Succeeded 12:58:47 ---> docker-login.sh ends [Pipeline] } 12:58:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:48 ========================================================= 12:58:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:58:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:58:48 Sending build context to Docker daemon 3.344MB 12:58:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:58:48 Step 2/12 : FROM ${BASE} AS builder 12:58:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:58:48 f56be85fc22e: Pulling fs layer 12:58:48 85791d961cd3: Pulling fs layer 12:58:48 d694b5ae8c79: Pulling fs layer 12:58:48 9f32a84ed3da: Pulling fs layer 12:58:48 4d19c01a9841: Pulling fs layer 12:58:48 9325e15d5711: Pulling fs layer 12:58:48 556b6ee489ea: Pulling fs layer 12:58:48 c5a4b2cf53e6: Pulling fs layer 12:58:48 9f32a84ed3da: Waiting 12:58:48 4d19c01a9841: Waiting 12:58:48 9325e15d5711: Waiting 12:58:48 556b6ee489ea: Waiting 12:58:48 c5a4b2cf53e6: Waiting 12:58:48 85791d961cd3: Download complete 12:58:48 9f32a84ed3da: Verifying Checksum 12:58:48 9f32a84ed3da: Download complete 12:58:48 4d19c01a9841: Verifying Checksum 12:58:48 4d19c01a9841: Download complete 12:58:48 f56be85fc22e: Verifying Checksum 12:58:48 f56be85fc22e: Download complete 12:58:48 9325e15d5711: Verifying Checksum 12:58:48 9325e15d5711: Download complete 12:58:48 f56be85fc22e: Pull complete 12:58:49 85791d961cd3: Pull complete 12:58:49 c5a4b2cf53e6: Verifying Checksum 12:58:49 c5a4b2cf53e6: Download complete 12:58:49 d694b5ae8c79: Verifying Checksum 12:58:49 d694b5ae8c79: Download complete 12:58:49 556b6ee489ea: Verifying Checksum 12:58:49 556b6ee489ea: Download complete 12:58:53 d694b5ae8c79: Pull complete 12:58:53 9f32a84ed3da: Pull complete 12:58:53 4d19c01a9841: Pull complete 12:58:53 9325e15d5711: Pull complete 12:58:54 556b6ee489ea: Pull complete 12:58:55 c5a4b2cf53e6: Pull complete 12:58:55 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 12:58:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:58:55 ---> c4be618373d6 12:58:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:58:57 ---> Running in 520011d2cbe5 12:58:57 Removing intermediate container 520011d2cbe5 12:58:57 ---> 1ab7148d9148 12:58:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:58:57 ---> Running in e6e1e954920c 12:58:57 Removing intermediate container e6e1e954920c 12:58:57 ---> 8d01e95705f0 12:58:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:58:57 ---> Running in 12f35bdf01e9 12:58:57 Removing intermediate container 12f35bdf01e9 12:58:57 ---> f0f647b82fb1 12:58:57 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:58:58 ---> Running in 70e7f8a1292a 12:58:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:58:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:58:58 OK: 265 MiB in 53 packages 12:58:58 Removing intermediate container 70e7f8a1292a 12:58:58 ---> fe72c17bdca4 12:58:58 Step 7/12 : WORKDIR /app 12:58:58 ---> Running in f0a057567865 12:58:58 Removing intermediate container f0a057567865 12:58:58 ---> 30374a95dc50 12:58:58 Step 8/12 : COPY go.mod vendor* ./ 12:58:59 ---> a91d7f371145 12:58:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:58:59 ---> Running in e9fab31715cb 12:59:01 Still waiting to schedule task 12:59:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:59:37 Removing intermediate container e9fab31715cb 12:59:37 ---> c079d318f050 12:59:37 Step 10/12 : COPY . . 12:59:37 ---> c808df8d4553 12:59:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:37 ---> Running in bea99bf29391 12:59:37 Removing intermediate container bea99bf29391 12:59:37 ---> 838c9200fdb2 12:59:37 Step 12/12 : RUN $MAKE 12:59:37 ---> Running in 4a483410fccc 12:59:37 noop 12:59:37 Removing intermediate container 4a483410fccc 12:59:37 ---> c59529d8b931 12:59:37 Successfully built c59529d8b931 12:59:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:38 + docker inspect -f . ci-base-image-x86_64 12:59:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:38 prd-ubuntu20.04-docker-8c-8g-15280 does not seem to be running inside a container 12:59:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-562 -v /w/workspace/_app-service-configurable_PR-562:/w/workspace/_app-service-configurable_PR-562:rw,z -v /w/workspace/_app-service-configurable_PR-562@tmp:/w/workspace/_app-service-configurable_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:38 $ docker top 21c65fd91b936e22738eceeefc865c69b5416f6a57c140162a9fc303a2dd1908 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:39 + go version 12:59:39 go version go1.20.2 linux/amd64 [Pipeline] } 12:59:39 $ docker stop --time=1 21c65fd91b936e22738eceeefc865c69b5416f6a57c140162a9fc303a2dd1908 12:59:40 $ docker rm -f --volumes 21c65fd91b936e22738eceeefc865c69b5416f6a57c140162a9fc303a2dd1908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:41 + docker inspect -f . ci-base-image-x86_64 12:59:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:41 prd-ubuntu20.04-docker-8c-8g-15280 does not seem to be running inside a container 12:59:41 $ 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-562 -v /w/workspace/_app-service-configurable_PR-562:/w/workspace/_app-service-configurable_PR-562:rw,z -v /w/workspace/_app-service-configurable_PR-562@tmp:/w/workspace/_app-service-configurable_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:59:41 $ docker top 0f0c8fe347d0f576c49eb1505a5cbf4a9c6c376ccff1d05bb26725a93bf4e984 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:41 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-562 [Pipeline] fileExists [Pipeline] sh 12:59:42 + make test 12:59:42 go test -race -coverprofile=coverage.out ./... 13:00:00 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:18 go vet ./... 13:00:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:21 ./bin/test-attribution-txt.sh 13:00:21 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:00:21 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:00:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:21 $ docker stop --time=1 0f0c8fe347d0f576c49eb1505a5cbf4a9c6c376ccff1d05bb26725a93bf4e984 13:00:23 $ docker rm -f --volumes 0f0c8fe347d0f576c49eb1505a5cbf4a9c6c376ccff1d05bb26725a93bf4e984 [Pipeline] // withDockerContainer [Pipeline] sh 13:00:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:24 + ls -al . 13:00:24 total 176 13:00:24 drwxrwxr-x 8 jenkins jenkins 4096 May 12 12:59 . 13:00:24 drwxrwxr-x 4 jenkins jenkins 4096 May 12 12:58 .. 13:00:24 -rw-rw-r-- 1 jenkins jenkins 119 May 12 12:58 .dockerignore 13:00:24 drwxrwxr-x 8 jenkins jenkins 4096 May 12 12:58 .git 13:00:24 drwxrwxr-x 3 jenkins jenkins 4096 May 12 12:58 .github 13:00:24 -rw-rw-r-- 1 jenkins jenkins 171 May 12 12:58 .gitignore 13:00:24 -rw-rw-r-- 1 jenkins jenkins 41 May 12 12:58 .golangci.yml 13:00:24 drwxr-xr-x 3 jenkins jenkins 4096 May 12 12:58 .semver 13:00:24 -rw-rw-r-- 1 jenkins jenkins 9088 May 12 12:58 Attribution.txt 13:00:24 -rw-rw-r-- 1 jenkins jenkins 29118 May 12 12:58 CHANGELOG.md 13:00:24 -rw-rw-r-- 1 jenkins jenkins 1898 May 12 12:58 Dockerfile 13:00:24 -rw-rw-r-- 1 jenkins jenkins 677 May 12 12:58 GOVERNANCE.md 13:00:24 -rw-rw-r-- 1 jenkins jenkins 688 May 12 12:58 Jenkinsfile 13:00:24 -rw-rw-r-- 1 jenkins jenkins 10174 May 12 12:58 LICENSE 13:00:24 -rw-rw-r-- 1 jenkins jenkins 618 May 12 12:58 OWNERS.md 13:00:24 -rw-rw-r-- 1 jenkins jenkins 4885 May 12 12:58 README.md 13:00:24 -rw-rw-r-- 1 jenkins jenkins 5 May 12 12:58 VERSION 13:00:24 drwxrwxr-x 2 jenkins jenkins 4096 May 12 12:58 bin 13:00:24 -rw-r--r-- 1 jenkins jenkins 13 May 12 12:59 coverage.out 13:00:24 -rw-rw-r-- 1 jenkins jenkins 3302 May 12 12:58 go.mod 13:00:24 -rw-rw-r-- 1 jenkins jenkins 31421 May 12 12:58 go.sum 13:00:24 -rw-rw-r-- 1 jenkins jenkins 1937 May 12 12:58 main.go 13:00:24 -rw-rw-r-- 1 jenkins jenkins 2569 May 12 12:58 makefile 13:00:24 drwxrwxr-x 9 jenkins jenkins 4096 May 12 12:58 res 13:00:24 drwxrwxr-x 4 jenkins jenkins 4096 May 12 12:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:25 + 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=ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a --label arch=amd64 --label version=0.0.0 . 13:00:25 Sending build context to Docker daemon 3.345MB 13:00:25 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:00:25 Step 2/26 : FROM ${BASE} AS builder 13:00:25 ---> c59529d8b931 13:00:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:25 ---> Running in 431a13947383 13:00:25 Removing intermediate container 431a13947383 13:00:25 ---> b7e97b252034 13:00:25 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:25 ---> Running in f8e5c98e7aa3 13:00:25 Removing intermediate container f8e5c98e7aa3 13:00:25 ---> e0eb0a913e9e 13:00:25 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:25 ---> Running in f138e136617a 13:00:25 Removing intermediate container f138e136617a 13:00:25 ---> ce56e6e04221 13:00:25 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:25 ---> Running in b54c8d8b98e5 13:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:26 OK: 265 MiB in 53 packages 13:00:26 Removing intermediate container b54c8d8b98e5 13:00:26 ---> 6a92ca3d1c8f 13:00:26 Step 7/26 : WORKDIR /app 13:00:26 ---> Running in 75a907d467e0 13:00:26 Removing intermediate container 75a907d467e0 13:00:26 ---> 00aa532b3847 13:00:26 Step 8/26 : COPY go.mod vendor* ./ 13:00:26 ---> e00f08a8d925 13:00:26 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:26 ---> Running in 6d37ce2e4b2c 13:00:27 Removing intermediate container 6d37ce2e4b2c 13:00:27 ---> 4e14b5333476 13:00:27 Step 10/26 : COPY . . 13:00:27 ---> 69547ffe3465 13:00:27 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:27 ---> Running in cfe31b62d9f3 13:00:27 Removing intermediate container cfe31b62d9f3 13:00:27 ---> 931cd110880c 13:00:27 Step 12/26 : RUN $MAKE 13:00:27 ---> Running in 76affee178aa 13:00:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.63 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:00:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15281 in /w/workspace/_app-service-configurable_PR-562 [Pipeline] { [Pipeline] ws 13:00:43 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:43 Selected Git installation does not exist. Using Default 13:00:43 The recommended git tool is: NONE 13:00:45 Removing intermediate container 76affee178aa 13:00:45 ---> 563bd3b93bf2 13:00:45 Step 13/26 : FROM alpine:3.17 13:00:45 3.17: Pulling from library/alpine 13:00:45 f56be85fc22e: Already exists 13:00:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:00:45 Status: Downloaded newer image for alpine:3.17 13:00:45 ---> 9ed4aefc74f6 13:00:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:00:45 ---> Running in 14657a461dc4 13:00:45 Removing intermediate container 14657a461dc4 13:00:45 ---> 9b5095e50c5f 13:00:45 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:00:45 ---> Running in c8009bd50e3d 13:00:45 Removing intermediate container c8009bd50e3d 13:00:45 ---> adf1fbdb17e0 13:00:45 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:00:45 ---> Running in 557268a5159b 13:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:45 (1/2) Installing ca-certificates (20230506-r0) 13:00:45 (2/2) Installing dumb-init (1.2.5-r2) 13:00:45 Executing busybox-1.35.0-r29.trigger 13:00:45 Executing ca-certificates-20230506-r0.trigger 13:00:45 OK: 8 MiB in 17 packages 13:00:45 Removing intermediate container 557268a5159b 13:00:45 ---> 49c26079cf35 13:00:45 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:00:45 ---> 5b79dc75642d 13:00:45 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:00:45 ---> 7ecddb7ee9c9 13:00:45 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:00:45 ---> 83449ce88fd7 13:00:45 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:00:45 ---> 113807515c69 13:00:45 Step 21/26 : EXPOSE 48095 13:00:45 ---> Running in 6ffa8fbe1e98 13:00:45 Removing intermediate container 6ffa8fbe1e98 13:00:45 ---> 26f68359de65 13:00:45 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:00:45 ---> Running in 7e68e1c8d3e6 13:00:45 Removing intermediate container 7e68e1c8d3e6 13:00:45 ---> bd2bcde12ba6 13:00:45 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:00:46 ---> Running in 6bf9ed974cd4 13:00:46 Removing intermediate container 6bf9ed974cd4 13:00:46 ---> dfbf18c5a4cf 13:00:46 Step 24/26 : LABEL arch=amd64 13:00:46 ---> Running in ce3f85bbe564 13:00:46 Removing intermediate container ce3f85bbe564 13:00:46 ---> 03aa35f92912 13:00:46 Step 25/26 : LABEL git_sha=ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a 13:00:46 ---> Running in 032c0e1d1714 13:00:46 Removing intermediate container 032c0e1d1714 13:00:46 ---> dc22b202e7b2 13:00:46 Step 26/26 : LABEL version=0.0.0 13:00:46 ---> Running in 11a71a57667d 13:00:46 Removing intermediate container 11a71a57667d 13:00:46 ---> 88cb7c4ff09a 13:00:46 [Warning] One or more build-args [ARCH] were not consumed 13:00:46 Successfully built 88cb7c4ff09a 13:00:46 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:00:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:47 13:00:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:47 latest: Pulling from edgex-lftools-log-publisher 13:00:47 5eb5b503b376: Pulling fs layer 13:00:47 5c69ac0246d0: Pulling fs layer 13:00:47 ec43610c2a17: Pulling fs layer 13:00:47 3a2ae6a8a46f: Pulling fs layer 13:00:47 33b1e0a273af: Pulling fs layer 13:00:47 5d3b04190fa2: Pulling fs layer 13:00:47 2f39f015ded8: Pulling fs layer 13:00:47 33b1e0a273af: Waiting 13:00:47 5d3b04190fa2: Waiting 13:00:47 2f39f015ded8: Waiting 13:00:47 3a2ae6a8a46f: Waiting 13:00:47 5c69ac0246d0: Download complete 13:00:47 3a2ae6a8a46f: Download complete 13:00:47 33b1e0a273af: Verifying Checksum 13:00:47 33b1e0a273af: Download complete 13:00:47 5d3b04190fa2: Verifying Checksum 13:00:47 5d3b04190fa2: Download complete 13:00:47 ec43610c2a17: Download complete 13:00:48 5eb5b503b376: Verifying Checksum 13:00:48 5eb5b503b376: Download complete 13:00:48 2f39f015ded8: Download complete 13:00:49 using credential edgex-jenkins-ssh 13:00:49 Cloning the remote Git repository 13:00:49 5eb5b503b376: Pull complete 13:00:49 5c69ac0246d0: Pull complete 13:00:49 ec43610c2a17: Pull complete 13:00:49 3a2ae6a8a46f: Pull complete 13:00:49 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:00:49 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:00:49 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:49 > git --version # timeout=10 13:00:49 > git --version # 'git version 2.25.1' 13:00:49 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:49 33b1e0a273af: Pull complete 13:00:50 5d3b04190fa2: Pull complete 13:00:51 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:52 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:52 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/562/head:refs/remotes/origin/PR-562 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:52 Merging remotes/origin/main commit a1dbe1c6f5ea5927a1bbbb159b0128a49cba2dd0 into PR head commit ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a 13:00:53 Merge succeeded, producing ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a 13:00:53 Checking out Revision ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a (PR-562) 13:00:53 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:00:53 > git --version # timeout=10 13:00:53 > git --version # 'git version 2.25.1' 13:00:53 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 13:00:52 > git config core.sparsecheckout # timeout=10 13:00:52 > git checkout -f ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a # timeout=10 13:00:52 > git remote # timeout=10 13:00:52 > git config --get remote.origin.url # timeout=10 13:00:52 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:52 > git merge a1dbe1c6f5ea5927a1bbbb159b0128a49cba2dd0 # timeout=10 13:00:53 > git rev-parse HEAD^{commit} # timeout=10 13:00:53 > git config core.sparsecheckout # timeout=10 13:00:53 > git checkout -f ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a # timeout=10 13:00:53 13:00:53 GitHub has been notified of this commit’s build result 13:00:53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:00:54 2f39f015ded8: Pull complete 13:00:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:00:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:00:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:00:54 prd-ubuntu20.04-docker-8c-8g-15280 does not seem to be running inside a container 13:00:54 $ 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-562 -v /w/workspace/_app-service-configurable_PR-562:/w/workspace/_app-service-configurable_PR-562:rw,z -v /w/workspace/_app-service-configurable_PR-562@tmp:/w/workspace/_app-service-configurable_PR-562@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:00:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:00:54 % Total % Received % Xferd Average Speed Time Time Time Current 13:00:54 Dload Upload Total Spent Left Speed 13:00:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k 13:00:58 $ docker top 27782eb996756ebcf98ea7a47c58e85c59250fde5fe672c5b72e646a2aae13b2 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 13:00:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:00:58 ---> job-cost.sh 13:00:58 lf-activate-venv: SKIPPING 13:00:58 INFO: No Stack... 13:00:58 + sudo tee /etc/docker/daemon.new 13:00:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:00:58 { 13:00:58 "registry-mirrors": [ 13:00:58 "https://nexus3.edgexfoundry.org:10001" 13:00:58 ], 13:00:58 "bip": "10.250.0.254/24", 13:00:58 "hosts": [ 13:00:58 "tcp://0.0.0.0:5555", 13:00:58 "unix:///var/run/docker.sock" 13:00:58 ], 13:00:58 "mtu": 1458, 13:00:58 "selinux-enabled": true, 13:00:58 "seccomp-profile": "/etc/docker/seccomp.json" 13:00:58 } [Pipeline] sh 13:00:59 INFO: Retrieving Pricing Info for: v3-standard-8 13:00:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:00:59 INFO: Archiving Costs [Pipeline] sh 13:00:59 + sudo service docker restart 13:00:59 + cat /w/workspace/_app-service-configurable_PR-562/archives/cost.csv 13:00:59 + cut -d, -f6 [Pipeline] lock 13:00:59 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-562-1-stack-cost] 13:00:59 Resource [jenkins-edgexfoundry-app-service-configurable-PR-562-1-stack-cost] did not exist. Created. 13:00:59 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-562-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:01:00 + echo total: 0.2199999988079071 [Pipeline] stash 13:01:00 Stashed 1 file(s) [Pipeline] } 13:01:00 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-562-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:01:00 $ docker stop --time=1 27782eb996756ebcf98ea7a47c58e85c59250fde5fe672c5b72e646a2aae13b2 13:01:01 $ docker rm -f --volumes 27782eb996756ebcf98ea7a47c58e85c59250fde5fe672c5b72e646a2aae13b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:17 provisioning config files... 13:01:17 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config1657085132810718477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:18 ---> docker-login.sh 13:01:18 nexus3.edgexfoundry.org:10001 13:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:18 Configure a credential helper to remove this warning. See 13:01:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:18 13:01:18 Login Succeeded 13:01:18 nexus3.edgexfoundry.org:10002 13:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:19 Configure a credential helper to remove this warning. See 13:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:19 13:01:19 Login Succeeded 13:01:19 nexus3.edgexfoundry.org:10003 13:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:19 Configure a credential helper to remove this warning. See 13:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:19 13:01:19 Login Succeeded 13:01:19 nexus3.edgexfoundry.org:10004 13:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:19 Configure a credential helper to remove this warning. See 13:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:19 13:01:19 Login Succeeded 13:01:19 docker.io 13:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:20 Configure a credential helper to remove this warning. See 13:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:20 13:01:20 Login Succeeded 13:01:20 ---> docker-login.sh ends [Pipeline] } 13:01:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:01:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:21 ========================================================= 13:01:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:01:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:21 + 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:01:21 Sending build context to Docker daemon 168.4kB 13:01:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:01:21 Step 2/12 : FROM ${BASE} AS builder 13:01:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:01:21 c41833b44d91: Pulling fs layer 13:01:21 ed15518f5707: Pulling fs layer 13:01:21 feae8fd75edb: Pulling fs layer 13:01:21 242c74f7c9fa: Pulling fs layer 13:01:21 3cdef696dda3: Pulling fs layer 13:01:21 2ced38df9373: Pulling fs layer 13:01:21 58f1dce35555: Pulling fs layer 13:01:21 3cdef696dda3: Waiting 13:01:21 2ced38df9373: Waiting 13:01:21 58f1dce35555: Waiting 13:01:21 242c74f7c9fa: Waiting 13:01:22 ed15518f5707: Verifying Checksum 13:01:22 ed15518f5707: Download complete 13:01:22 242c74f7c9fa: Verifying Checksum 13:01:22 242c74f7c9fa: Download complete 13:01:22 3cdef696dda3: Verifying Checksum 13:01:22 3cdef696dda3: Download complete 13:01:22 c41833b44d91: Verifying Checksum 13:01:23 c41833b44d91: Pull complete 13:01:23 58f1dce35555: Verifying Checksum 13:01:23 58f1dce35555: Download complete 13:01:23 ed15518f5707: Pull complete 13:01:24 2ced38df9373: Verifying Checksum 13:01:24 2ced38df9373: Download complete 13:01:24 feae8fd75edb: Verifying Checksum 13:01:24 feae8fd75edb: Download complete 13:01:34 feae8fd75edb: Pull complete 13:01:34 242c74f7c9fa: Pull complete 13:01:35 3cdef696dda3: Pull complete 13:01:41 2ced38df9373: Pull complete 13:01:44 58f1dce35555: Pull complete 13:01:44 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:01:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:01:44 ---> fadd8f120f05 13:01:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:45 ---> Running in 47dbb1bc3ccf 13:01:46 Removing intermediate container 47dbb1bc3ccf 13:01:46 ---> 3d338a329354 13:01:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:46 ---> Running in e857185658ce 13:01:46 Removing intermediate container e857185658ce 13:01:46 ---> dac57624790c 13:01:46 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:46 ---> Running in f2571e024208 13:01:46 Removing intermediate container f2571e024208 13:01:46 ---> 467318174f9f 13:01:46 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:46 ---> Running in f4c5fa901932 13:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:01:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:01:49 OK: 263 MiB in 53 packages 13:01:50 Removing intermediate container f4c5fa901932 13:01:50 ---> 53d3a6d73b8d 13:01:50 Step 7/12 : WORKDIR /app 13:01:50 ---> Running in 735c8be58fb7 13:01:50 Removing intermediate container 735c8be58fb7 13:01:50 ---> 85679505cbf2 13:01:50 Step 8/12 : COPY go.mod vendor* ./ 13:01:51 ---> 5b735111fbc8 13:01:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:51 ---> Running in c5a28c31b7f3 13:02:47 Removing intermediate container c5a28c31b7f3 13:02:47 ---> a5d65d091874 13:02:47 Step 10/12 : COPY . . 13:02:48 ---> 6759e7419b32 13:02:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:02:48 ---> Running in ace8995a1c8a 13:02:48 Removing intermediate container ace8995a1c8a 13:02:48 ---> 89896f121291 13:02:48 Step 12/12 : RUN $MAKE 13:02:48 ---> Running in 077beb6370fb 13:02:49 noop 13:02:50 Removing intermediate container 077beb6370fb 13:02:50 ---> ea6d1b2975cb 13:02:50 Successfully built ea6d1b2975cb 13:02:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:50 + docker inspect -f . ci-base-image-arm64 13:02:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:51 prd-ubuntu20.04-docker-arm64-4c-16g-15281 does not seem to be running inside a container 13:02:51 $ 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:02:52 $ docker top 47cca25e77ba241b5f2fbb88c982d14d67eea7fe95be4f83e4eb24ea78fcb94b -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:53 + go version 13:02:53 go version go1.20.2 linux/arm64 [Pipeline] } 13:02:53 $ docker stop --time=1 47cca25e77ba241b5f2fbb88c982d14d67eea7fe95be4f83e4eb24ea78fcb94b 13:02:54 $ docker rm -f --volumes 47cca25e77ba241b5f2fbb88c982d14d67eea7fe95be4f83e4eb24ea78fcb94b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:55 + docker inspect -f . ci-base-image-arm64 13:02:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:02:55 prd-ubuntu20.04-docker-arm64-4c-16g-15281 does not seem to be running inside a container 13:02:56 $ 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:02:57 $ docker top dea6f4e5b7f80ca8ae8520695ef5e7d746351592cd5fa6fee617d3ed73d73f31 -eo pid,comm [Pipeline] { [Pipeline] sh 13:02:58 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:02:58 + make test 13:02:58 go test -race -coverprofile=coverage.out ./... 13:05:35 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:05:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:05:35 go vet ./... 13:07:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:07:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:07:57 ./bin/test-attribution-txt.sh 13:07:57 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:07:57 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:07:57 $ docker stop --time=1 dea6f4e5b7f80ca8ae8520695ef5e7d746351592cd5fa6fee617d3ed73d73f31 13:07:59 $ docker rm -f --volumes dea6f4e5b7f80ca8ae8520695ef5e7d746351592cd5fa6fee617d3ed73d73f31 [Pipeline] // withDockerContainer [Pipeline] sh 13:08:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:08:00 Warning: overwriting stash ‘coverage-report’ 13:08:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:08:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:08:01 + ls -al . 13:08:01 total 172 13:08:01 drwxrwxr-x 7 jenkins jenkins 4096 May 12 13:03 . 13:08:01 drwxrwxr-x 4 jenkins jenkins 4096 May 12 13:00 .. 13:08:01 -rw-rw-r-- 1 jenkins jenkins 119 May 12 13:00 .dockerignore 13:08:01 drwxrwxr-x 8 jenkins jenkins 4096 May 12 13:00 .git 13:08:01 drwxrwxr-x 3 jenkins jenkins 4096 May 12 13:00 .github 13:08:01 -rw-rw-r-- 1 jenkins jenkins 171 May 12 13:00 .gitignore 13:08:01 -rw-rw-r-- 1 jenkins jenkins 41 May 12 13:00 .golangci.yml 13:08:01 -rw-rw-r-- 1 jenkins jenkins 9088 May 12 13:00 Attribution.txt 13:08:01 -rw-rw-r-- 1 jenkins jenkins 29118 May 12 13:00 CHANGELOG.md 13:08:01 -rw-rw-r-- 1 jenkins jenkins 1898 May 12 13:00 Dockerfile 13:08:01 -rw-rw-r-- 1 jenkins jenkins 677 May 12 13:00 GOVERNANCE.md 13:08:01 -rw-rw-r-- 1 jenkins jenkins 688 May 12 13:00 Jenkinsfile 13:08:01 -rw-rw-r-- 1 jenkins jenkins 10174 May 12 13:00 LICENSE 13:08:01 -rw-rw-r-- 1 jenkins jenkins 618 May 12 13:00 OWNERS.md 13:08:01 -rw-rw-r-- 1 jenkins jenkins 4885 May 12 13:00 README.md 13:08:01 -rw-rw-r-- 1 jenkins jenkins 5 May 12 12:58 VERSION 13:08:01 drwxrwxr-x 2 jenkins jenkins 4096 May 12 13:00 bin 13:08:01 -rw-r--r-- 1 jenkins jenkins 13 May 12 13:03 coverage.out 13:08:01 -rw-rw-r-- 1 jenkins jenkins 3302 May 12 13:00 go.mod 13:08:01 -rw-rw-r-- 1 jenkins jenkins 31421 May 12 13:00 go.sum 13:08:01 -rw-rw-r-- 1 jenkins jenkins 1937 May 12 13:00 main.go 13:08:01 -rw-rw-r-- 1 jenkins jenkins 2569 May 12 13:00 makefile 13:08:01 drwxrwxr-x 9 jenkins jenkins 4096 May 12 13:00 res 13:08:01 drwxrwxr-x 4 jenkins jenkins 4096 May 12 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:02 + 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=ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a --label arch=arm64 --label version=0.0.0 . 13:08:02 Sending build context to Docker daemon 169.5kB 13:08:02 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:08:02 Step 2/26 : FROM ${BASE} AS builder 13:08:02 ---> ea6d1b2975cb 13:08:02 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:08:02 ---> Running in eeb8f02af5e5 13:08:02 Removing intermediate container eeb8f02af5e5 13:08:02 ---> 3f8c166f1451 13:08:02 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:08:03 ---> Running in 227c25e8b243 13:08:03 Removing intermediate container 227c25e8b243 13:08:03 ---> 883bf8f77881 13:08:03 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:08:03 ---> Running in 01a66a171cbb 13:08:03 Removing intermediate container 01a66a171cbb 13:08:03 ---> 81ec20c6ba2c 13:08:03 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:08:03 ---> Running in 63b6fb5c6f32 13:08:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:08:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:08:06 OK: 263 MiB in 53 packages 13:08:07 Removing intermediate container 63b6fb5c6f32 13:08:07 ---> eac73db9c52d 13:08:07 Step 7/26 : WORKDIR /app 13:08:07 ---> Running in 74e600ad58a9 13:08:07 Removing intermediate container 74e600ad58a9 13:08:07 ---> a330fc1c0433 13:08:07 Step 8/26 : COPY go.mod vendor* ./ 13:08:08 ---> 337f6557515c 13:08:08 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:08:08 ---> Running in 772ed7adfe7f 13:08:10 Removing intermediate container 772ed7adfe7f 13:08:10 ---> c2c8ca533f50 13:08:10 Step 10/26 : COPY . . 13:08:10 ---> 66bb32d8f292 13:08:10 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:08:10 ---> Running in 1e60409c33be 13:08:11 Removing intermediate container 1e60409c33be 13:08:11 ---> 03ae62d8eb2d 13:08:11 Step 12/26 : RUN $MAKE 13:08:11 ---> Running in 1d19250923a3 13:08:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.63 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:10:34 Removing intermediate container 1d19250923a3 13:10:34 ---> a2d143037495 13:10:34 Step 13/26 : FROM alpine:3.17 13:10:34 3.17: Pulling from library/alpine 13:10:34 c41833b44d91: Already exists 13:10:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:10:34 Status: Downloaded newer image for alpine:3.17 13:10:34 ---> 51e60588ff2c 13:10:34 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:10:34 ---> Running in 05cb29171615 13:10:34 Removing intermediate container 05cb29171615 13:10:34 ---> ca7696c45810 13:10:34 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:10:34 ---> Running in d840b6ee23f1 13:10:34 Removing intermediate container d840b6ee23f1 13:10:34 ---> 74d15bd341a3 13:10:34 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:10:34 ---> Running in d94fea396cae 13:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:10:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:10:34 (1/2) Installing ca-certificates (20230506-r0) 13:10:34 (2/2) Installing dumb-init (1.2.5-r2) 13:10:34 Executing busybox-1.35.0-r29.trigger 13:10:34 Executing ca-certificates-20230506-r0.trigger 13:10:34 OK: 8 MiB in 17 packages 13:10:34 Removing intermediate container d94fea396cae 13:10:34 ---> a63d26fa5eb0 13:10:34 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:10:34 ---> 8abe9a464bf5 13:10:34 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:10:34 ---> 3535bdf8a86d 13:10:34 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:10:34 ---> f58652a0f54e 13:10:34 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:10:34 ---> 5b97e661977e 13:10:34 Step 21/26 : EXPOSE 48095 13:10:34 ---> Running in 7f0aef6f3582 13:10:34 Removing intermediate container 7f0aef6f3582 13:10:34 ---> e4ec2bae499c 13:10:34 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:10:34 ---> Running in d15dd6b12dc6 13:10:34 Removing intermediate container d15dd6b12dc6 13:10:34 ---> 6d9318faf9ad 13:10:34 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:10:34 ---> Running in ced9f90a5ca0 13:10:34 Removing intermediate container ced9f90a5ca0 13:10:34 ---> eb8dfefbf0bc 13:10:34 Step 24/26 : LABEL arch=arm64 13:10:34 ---> Running in 972543d098a2 13:10:34 Removing intermediate container 972543d098a2 13:10:34 ---> ad42b8375bf1 13:10:34 Step 25/26 : LABEL git_sha=ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a 13:10:34 ---> Running in 0c29ae589d7b 13:10:34 Removing intermediate container 0c29ae589d7b 13:10:34 ---> 36d6a9c1e7db 13:10:34 Step 26/26 : LABEL version=0.0.0 13:10:34 ---> Running in 963acfe464cf 13:10:34 Removing intermediate container 963acfe464cf 13:10:34 ---> b804041f22dc 13:10:34 [Warning] One or more build-args [ARCH] were not consumed 13:10:34 Successfully built b804041f22dc 13:10: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:10:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:34 13:10:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:35 arm64: Pulling from edgex-lftools-log-publisher 13:10:35 8998bd30e6a1: Pulling fs layer 13:10:35 04944245beec: Pulling fs layer 13:10:35 699f458cf7ca: Pulling fs layer 13:10:35 765212b225bb: Pulling fs layer 13:10:35 f23df028b6ca: Pulling fs layer 13:10:35 d65c8cfc05b1: Pulling fs layer 13:10:35 2437ff75d9bd: Pulling fs layer 13:10:35 765212b225bb: Waiting 13:10:35 f23df028b6ca: Waiting 13:10:35 04944245beec: Verifying Checksum 13:10:35 04944245beec: Download complete 13:10:35 765212b225bb: Verifying Checksum 13:10:35 765212b225bb: Download complete 13:10:35 f23df028b6ca: Download complete 13:10:35 d65c8cfc05b1: Verifying Checksum 13:10:35 d65c8cfc05b1: Download complete 13:10:35 699f458cf7ca: Verifying Checksum 13:10:35 699f458cf7ca: Download complete 13:10:36 8998bd30e6a1: Download complete 13:10:38 2437ff75d9bd: Verifying Checksum 13:10:38 2437ff75d9bd: Download complete 13:10:40 8998bd30e6a1: Pull complete 13:10:40 04944245beec: Pull complete 13:10:42 699f458cf7ca: Pull complete 13:10:42 765212b225bb: Pull complete 13:10:42 f23df028b6ca: Pull complete 13:10:43 d65c8cfc05b1: Pull complete 13:10:58 2437ff75d9bd: Pull complete 13:10:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:10:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:58 prd-ubuntu20.04-docker-arm64-4c-16g-15281 does not seem to be running inside a container 13:10:58 $ 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:11:01 $ docker top 383705a33a392e3d0cb5cdbe53a8bdb9c90a6f377b59d008e475e81f75fe81ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:02 ---> job-cost.sh 13:11:02 lf-activate-venv: SKIPPING 13:11:02 INFO: No Stack... 13:11:02 INFO: Retrieving Pricing Info for: v3-standard-4 13:11:03 INFO: Archiving Costs [Pipeline] sh 13:11:03 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 13:11:03 + cut -d, -f6 [Pipeline] lock 13:11:04 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-562-1-stack-cost] 13:11:04 Resource [jenkins-edgexfoundry-app-service-configurable-PR-562-1-stack-cost] did not exist. Created. 13:11:04 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-562-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:04 /w/workspace/app-service-configurable/1@tmp/durable-257d95c4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:11:05 + echo total: 0.10999999940395355 [Pipeline] stash 13:11:05 Warning: overwriting stash ‘stack-cost’ 13:11:05 Stashed 1 file(s) [Pipeline] } 13:11:05 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-562-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:05 $ docker stop --time=1 383705a33a392e3d0cb5cdbe53a8bdb9c90a6f377b59d008e475e81f75fe81ed 13:11:06 $ docker rm -f --volumes 383705a33a392e3d0cb5cdbe53a8bdb9c90a6f377b59d008e475e81f75fe81ed [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:11:07 provisioning config files... 13:11:07 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-562@tmp/config3310389223898787371tmp [Pipeline] { [Pipeline] sh 13:11:08 + set +x 13:11:08 + curl -s https://codecov.io/bash 13:11:08 + bash -s -- 13:11:08 13:11:08 _____ _ 13:11:08 / ____| | | 13:11:08 | | ___ __| | ___ ___ _____ __ 13:11:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:11:08 | |___| (_) | (_| | __/ (_| (_) \ V / 13:11:08 \_____\___/ \__,_|\___|\___\___/ \_/ 13:11:08 Bash-1.0.6 13:11:08 13:11:08 13:11:08 ==> git version 2.25.1 found 13:11:08 ==> 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:11:08 Release-Date: 2020-01-08 13:11:08 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:11:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:11:08 ==> Jenkins CI detected. 13:11:08 current dir:  /w/workspace/_app-service-configurable_PR-562 13:11:08 project root: . 13:11:08 --> token set from env 13:11:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:11:08 ==> Running gcov in . (disable via -X gcov) 13:11:08 ==> Python coveragepy not found 13:11:08 ==> Searching for coverage reports in: 13:11:08 + . 13:11:08 -> Found 1 reports 13:11:08 ==> Detecting git/mercurial file structure 13:11:08 ==> Reading reports 13:11:08 + ./coverage.out bytes=13 13:11:08 ==> Appending adjustments 13:11:08 https://docs.codecov.io/docs/fixing-reports 13:11:08 + Found adjustments 13:11:08 ==> Gzipping contents 13:11:08 4.0K /tmp/codecov.drOadt.gz 13:11:08 ==> Uploading reports 13:11:08 url: https://codecov.io 13:11:08 query: branch=PR-562&commit=ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-562%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=562&job=&cmd_args= 13:11:08 -> Pinging Codecov 13:11:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-562&commit=ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-562%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=562&job=&cmd_args= 13:11:08 -> Uploading to 13:11:08 https://storage.googleapis.com/codecov/v4/raw/2023-05-12/A97CA9966030D2A3747ED39772930CCE/ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a/79c52bfa-0d6e-467e-8052-248436fdf611.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230512T131108Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0506a85cb93ceabb1ba065b4a0034095e8ed6a13b174d6e7da954483bf9af4d 13:11:08 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:08 Dload Upload Total Spent Left Speed 13:11:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1941 --:--:-- --:--:-- --:--:-- 1932 100 429 0 0 100 429 0 1537 --:--:-- --:--:-- --:--:-- 1532 13:11:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/ccb24d60aa32eb6932e6a15cffe47e98c0a78e8a [Pipeline] } 13:11:08 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:11:10 + [ -d /w/workspace/_app-service-configurable_PR-562/archives ] 13:11:10 + ls -al /w/workspace/_app-service-configurable_PR-562/archives 13:11:10 total 16 13:11:10 drwxr-xr-x 3 root root 4096 May 12 13:00 . 13:11:10 drwxrwxr-x 9 jenkins jenkins 4096 May 12 13:01 .. 13:11:10 drwxr-xr-x 2 root root 4096 May 12 13:00 cost 13:11:10 -rw-r--r-- 1 root root 96 May 12 13:00 cost.csv 13:11:10 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-562/archives 13:11:10 + ls -al /w/workspace/_app-service-configurable_PR-562/archives 13:11:10 total 16 13:11:10 drwxr-xr-x 3 jenkins jenkins 4096 May 12 13:00 . 13:11:10 drwxrwxr-x 9 jenkins jenkins 4096 May 12 13:01 .. 13:11:10 drwxr-xr-x 2 jenkins jenkins 4096 May 12 13:00 cost 13:11:10 -rw-r--r-- 1 jenkins jenkins 96 May 12 13:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:11:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:11:11 ---> package-listing.sh 13:11:11 ++ facter osfamily 13:11:11 ++ tr '[:upper:]' '[:lower:]' 13:11:12 + OS_FAMILY=debian 13:11:12 + workspace=/w/workspace/_app-service-configurable_PR-562 13:11:12 + START_PACKAGES=/tmp/packages_start.txt 13:11:12 + END_PACKAGES=/tmp/packages_end.txt 13:11:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:11:12 + PACKAGES=/tmp/packages_start.txt 13:11:12 + '[' /w/workspace/_app-service-configurable_PR-562 ']' 13:11:12 + PACKAGES=/tmp/packages_end.txt 13:11:12 + case "${OS_FAMILY}" in 13:11:12 + dpkg -l 13:11:12 + grep '^ii' 13:11:12 + '[' -f /tmp/packages_start.txt ']' 13:11:12 + '[' -f /tmp/packages_end.txt ']' 13:11:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:11:12 + '[' /w/workspace/_app-service-configurable_PR-562 ']' 13:11:12 + mkdir -p /w/workspace/_app-service-configurable_PR-562/archives/ 13:11:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-562/archives/ [Pipeline] echo 13:11:12 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-562/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:11:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:13 prd-ubuntu20.04-docker-8c-8g-15280 does not seem to be running inside a container 13:11:13 $ 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-562/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-562 -v /w/workspace/_app-service-configurable_PR-562:/w/workspace/_app-service-configurable_PR-562:rw,z -v /w/workspace/_app-service-configurable_PR-562@tmp:/w/workspace/_app-service-configurable_PR-562@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:11:13 $ docker top eeb2653c7ca771e93cd6fa1dde99e79868832733174bf86dea4df9b32c162868 -eo pid,comm [Pipeline] { [Pipeline] sh 13:11:13 + touch /tmp/pre-build-complete [Pipeline] sh 13:11:14 + mkdir -p /var/log/sysstat [Pipeline] sh 13:11:14 + ls /var/log/sa-host 13:11:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:14 provisioning config files... 13:11:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-562@tmp/config1534499175655830735tmp [Pipeline] { [Pipeline] echo 13:11:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:11:15 ---> create-netrc.sh [Pipeline] } 13:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:11:15 ---> python-tools-install.sh [Pipeline] echo 13:11:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:11:15 ---> sudo-logs.sh 13:11:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:11:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:11:16 ---> job-cost.sh 13:11:16 lf-activate-venv: SKIPPING 13:11:16 DEBUG: total: 0.2199999988079071 13:11:16 INFO: Retrieving Stack Cost... 13:11:16 INFO: Retrieving Pricing Info for: v3-standard-8 13:11:17 INFO: Archiving Costs [Pipeline] echo 13:11:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:11:17 ---> logs-deploy.sh 13:11:17 lf-activate-venv: SKIPPING 13:11:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-562/1 13:11:17 INFO: archiving workspace using pattern(s): 13:11:18 Archives upload complete. 13:11:18 INFO: archiving logs to Nexus