Pull request #505 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 33a8a0fb1d1881fd1b73fa23662390bbef39c173 rather than 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 Obtained Jenkinsfile from 33a8a0fb1d1881fd1b73fa23662390bbef39c173 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-ssh12220065399449497557.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13896562809146256166.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-505/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-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12881276462775253181.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-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15320138305819836774.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh13391786713618077912.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-505/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-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4248072247614560191.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3426 in /w/workspace/_app-service-configurable_PR-505 [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-505 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 33a8a0fb1d1881fd1b73fa23662390bbef39c173 into PR head commit 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 Merge succeeded, producing 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 Checking out Revision 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 (PR-505) > git config core.sparsecheckout # timeout=10 > git checkout -f 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 # 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 33a8a0fb1d1881fd1b73fa23662390bbef39c173 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 # timeout=10 Commit message: "fix: enable core-command via message bus" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:33:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:33:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:33:18 ========================================================= 18:33:18 EdgeX Global Pipelines Version Info 18:33:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:33:19 ------------------- 18:33:19 stable info: 18:33:19 ------------------- 18:33:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:33:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:33:19 Message: update stable to v1.0.244 18:33:19 ------------------- 18:33:19 experimental info: 18:33:19 ------------------- 18:33:19 Commited By: **** collab-it+edgex@linuxfoundation.org 18:33:19 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:33:19 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:33:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 18:33:19 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 18:33:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:33:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:33:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo 18:33:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo 18:33:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo 18:33:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 [Pipeline] echo 18:33:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e1d664 [Pipeline] echo 18:33:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:33:21 provisioning config files... 18:33:21 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-505@tmp/config15622058964457352083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:33:21 ---> docker-login.sh 18:33:21 nexus3.edgexfoundry.org:10001 18:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:21 Configure a credential helper to remove this warning. See 18:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:21 18:33:21 Login Succeeded 18:33:21 nexus3.edgexfoundry.org:10002 18:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:22 Configure a credential helper to remove this warning. See 18:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:22 18:33:22 Login Succeeded 18:33:22 nexus3.edgexfoundry.org:10003 18:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:22 Configure a credential helper to remove this warning. See 18:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:22 18:33:22 Login Succeeded 18:33:22 nexus3.edgexfoundry.org:10004 18:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:22 Configure a credential helper to remove this warning. See 18:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:22 18:33:22 Login Succeeded 18:33:22 docker.io 18:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:22 Configure a credential helper to remove this warning. See 18:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:22 18:33:22 Login Succeeded 18:33:22 ---> docker-login.sh ends [Pipeline] } 18:33:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:33:23 + git rev-list -1 --merges 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357~1..1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 [Pipeline] echo 18:33:23 -----------> git rev-list -1 --merges 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357~1..1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 [false] [Pipeline] sh 18:33:23 + git log --format=format:%s -1 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 [Pipeline] echo 18:33:23 ========================================================= 18:33:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:33:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:33:24 + git log --format=format:%s -1 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 [Pipeline] echo 18:33:24 [semverPrep] GIT_COMMIT: 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357, Commit Message: fix: enable core-command via message bus [Pipeline] echo 18:33:24 [semverPrep] This is not a build commit. [Pipeline] sh 18:33:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:33:24 + grep -v github /etc/ssh/ssh_known_hosts 18:33:24 + [ -e /tmp/ssh_known_hosts ] 18:33:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:33:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:33:24 + sudo tee -a /etc/ssh/ssh_known_hosts 18:33:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:33:25 18:33:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:33:25 0.1.4: Pulling from edgex-devops/py-git-semver 18:33:25 b85a868b505f: Pulling fs layer 18:33:25 e2be974225ed: Pulling fs layer 18:33:25 339a4e72a1f5: Pulling fs layer 18:33:25 988bab9f4d93: Pulling fs layer 18:33:25 1469e6f7b9e6: Pulling fs layer 18:33:25 eaf3925da568: Pulling fs layer 18:33:25 bab4dde63d76: Pulling fs layer 18:33:25 bde34c3a00c8: Pulling fs layer 18:33:25 b352a97aabf1: Pulling fs layer 18:33:25 4872d77fe225: Pulling fs layer 18:33:25 5851b861e8e6: Pulling fs layer 18:33:25 eaf3925da568: Waiting 18:33:25 bab4dde63d76: Waiting 18:33:25 4872d77fe225: Waiting 18:33:25 bde34c3a00c8: Waiting 18:33:25 b352a97aabf1: Waiting 18:33:25 1469e6f7b9e6: Waiting 18:33:25 988bab9f4d93: Waiting 18:33:25 5851b861e8e6: Waiting 18:33:25 e2be974225ed: Verifying Checksum 18:33:25 e2be974225ed: Download complete 18:33:25 988bab9f4d93: Download complete 18:33:25 339a4e72a1f5: Verifying Checksum 18:33:25 339a4e72a1f5: Download complete 18:33:25 1469e6f7b9e6: Verifying Checksum 18:33:25 1469e6f7b9e6: Download complete 18:33:25 eaf3925da568: Verifying Checksum 18:33:25 eaf3925da568: Download complete 18:33:25 bde34c3a00c8: Download complete 18:33:26 b352a97aabf1: Verifying Checksum 18:33:26 b352a97aabf1: Download complete 18:33:26 4872d77fe225: Verifying Checksum 18:33:26 4872d77fe225: Download complete 18:33:26 5851b861e8e6: Download complete 18:33:26 b85a868b505f: Verifying Checksum 18:33:26 b85a868b505f: Download complete 18:33:26 bab4dde63d76: Verifying Checksum 18:33:26 bab4dde63d76: Download complete 18:33:27 b85a868b505f: Pull complete 18:33:27 e2be974225ed: Pull complete 18:33:27 339a4e72a1f5: Pull complete 18:33:27 988bab9f4d93: Pull complete 18:33:28 1469e6f7b9e6: Pull complete 18:33:28 eaf3925da568: Pull complete 18:33:30 bab4dde63d76: Pull complete 18:33:30 bde34c3a00c8: Pull complete 18:33:30 b352a97aabf1: Pull complete 18:33:30 4872d77fe225: Pull complete 18:33:30 5851b861e8e6: Pull complete 18:33:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:33:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:33:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:33:30 prd-ubuntu20.04-docker-8c-8g-3426 does not seem to be running inside a container 18:33:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-505 -v /w/workspace/_app-service-configurable_PR-505:/w/workspace/_app-service-configurable_PR-505:rw,z -v /w/workspace/_app-service-configurable_PR-505@tmp:/w/workspace/_app-service-configurable_PR-505@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-devops/py-git-semver:0.1.4 cat 18:33:33 $ docker top e160bf04855475d7a0ccd4c6945285de6a04c70df643417f581bc6bdca3902da -eo pid,comm 18:33:33 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). 18:33:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:33:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:33:33 [ssh-agent] Looking for ssh-agent implementation... 18:33:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:33:33 $ docker exec e160bf04855475d7a0ccd4c6945285de6a04c70df643417f581bc6bdca3902da ssh-agent 18:33:33 SSH_AUTH_SOCK=/tmp/ssh-YWocvLcSczz6/agent.32 18:33:33 SSH_AGENT_PID=38 18:33:33 Running ssh-add (command line suppressed) 18:33:33 Identity added: /w/workspace/_app-service-configurable_PR-505@tmp/private_key_10205644926996121822.key (/w/workspace/_app-service-configurable_PR-505@tmp/private_key_10205644926996121822.key) 18:33:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:33:34 + git tag --points-at HEAD [Pipeline] } 18:33:34 $ docker exec --env ******** --env ******** e160bf04855475d7a0ccd4c6945285de6a04c70df643417f581bc6bdca3902da ssh-agent -k 18:33:34 unset SSH_AUTH_SOCK; 18:33:34 unset SSH_AGENT_PID; 18:33:34 echo Agent pid 38 killed; 18:33:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:33:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:33:34 [ssh-agent] Looking for ssh-agent implementation... 18:33:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:33:34 $ docker exec e160bf04855475d7a0ccd4c6945285de6a04c70df643417f581bc6bdca3902da ssh-agent 18:33:34 SSH_AUTH_SOCK=/tmp/ssh-L6TSmtybD9Sp/agent.70 18:33:34 SSH_AGENT_PID=76 18:33:34 Running ssh-add (command line suppressed) 18:33:34 Identity added: /w/workspace/_app-service-configurable_PR-505@tmp/private_key_4573641485422396855.key (/w/workspace/_app-service-configurable_PR-505@tmp/private_key_4573641485422396855.key) 18:33:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:33:35 + git semver init 18:33:35 2023-01-23 18:33:35,361 [run_init] DEBUG init version:0.0.0 force:False 18:33:35 2023-01-23 18:33:35,361 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-505/.semver 18:33:35 2023-01-23 18:33:35,362 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-505/.semver 18:33:35 2023-01-23 18:33:35,362 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-505/.semver'], cwd=/w/workspace/_app-service-configurable_PR-505, universal_newlines=False, shell=None, istream=None) 18:33:36 2023-01-23 18:33:36,224 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-505/.git/info/exclude 18:33:36 2023-01-23 18:33:36,224 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-505/.semver/PR-505 with force:False 18:33:36 2023-01-23 18:33:36,224 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-505/.semver/PR-505 18:33:36 2023-01-23 18:33:36,229 [execute] INFO git cat-file --batch-check 18:33:36 2023-01-23 18:33:36,230 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-505/.semver, universal_newlines=False, shell=None, istream=) 18:33:36 2023-01-23 18:33:36,236 [execute] INFO git cat-file --batch 18:33:36 2023-01-23 18:33:36,237 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-505/.semver, universal_newlines=False, shell=None, istream=) 18:33:36 2023-01-23 18:33:36,243 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-505/.semver/PR-505 18:33:36 0.0.0 [Pipeline] } 18:33:36 $ docker exec --env ******** --env ******** e160bf04855475d7a0ccd4c6945285de6a04c70df643417f581bc6bdca3902da ssh-agent -k 18:33:36 unset SSH_AUTH_SOCK; 18:33:36 unset SSH_AGENT_PID; 18:33:36 echo Agent pid 76 killed; 18:33:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:33:36 + git semver [Pipeline] } 18:33:37 $ docker stop --time=1 e160bf04855475d7a0ccd4c6945285de6a04c70df643417f581bc6bdca3902da 18:33:38 $ docker rm -f --volumes e160bf04855475d7a0ccd4c6945285de6a04c70df643417f581bc6bdca3902da [Pipeline] // withDockerContainer [Pipeline] sh 18:33:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:33:39 Stashed 1 file(s) [Pipeline] echo 18:33:39 [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 18:33:39 provisioning config files... 18:33:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-505@tmp/config1460120684995156979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:33:40 ---> docker-login.sh 18:33:40 nexus3.edgexfoundry.org:10001 18:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:40 Configure a credential helper to remove this warning. See 18:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:40 18:33:40 Login Succeeded 18:33:40 nexus3.edgexfoundry.org:10002 18:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:40 Configure a credential helper to remove this warning. See 18:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:40 18:33:40 Login Succeeded 18:33:40 nexus3.edgexfoundry.org:10003 18:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:40 Configure a credential helper to remove this warning. See 18:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:40 18:33:40 Login Succeeded 18:33:40 nexus3.edgexfoundry.org:10004 18:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:40 Configure a credential helper to remove this warning. See 18:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:40 18:33:40 Login Succeeded 18:33:40 docker.io 18:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:40 Configure a credential helper to remove this warning. See 18:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:40 18:33:40 Login Succeeded 18:33:40 ---> docker-login.sh ends [Pipeline] } 18:33:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:33:41 ========================================================= 18:33:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:33:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:33:41 Sending build context to Docker daemon 3.23MB 18:33:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:33:41 Step 2/12 : FROM ${BASE} AS builder 18:33:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:33:41 213ec9aee27d: Pulling fs layer 18:33:41 4583459ba037: Pulling fs layer 18:33:41 93c1e223e6f2: Pulling fs layer 18:33:41 53926ce57604: Pulling fs layer 18:33:41 21b2b0c7a3f4: Pulling fs layer 18:33:41 22ff95d597cd: Pulling fs layer 18:33:41 12d6caf4c0d1: Pulling fs layer 18:33:41 96b7cbca73a9: Pulling fs layer 18:33:41 a7acece74701: Pulling fs layer 18:33:41 53926ce57604: Waiting 18:33:41 21b2b0c7a3f4: Waiting 18:33:41 22ff95d597cd: Waiting 18:33:41 12d6caf4c0d1: Waiting 18:33:41 96b7cbca73a9: Waiting 18:33:41 a7acece74701: Waiting 18:33:41 93c1e223e6f2: Verifying Checksum 18:33:41 93c1e223e6f2: Download complete 18:33:41 4583459ba037: Verifying Checksum 18:33:41 4583459ba037: Download complete 18:33:41 21b2b0c7a3f4: Verifying Checksum 18:33:41 21b2b0c7a3f4: Download complete 18:33:41 22ff95d597cd: Download complete 18:33:41 213ec9aee27d: Download complete 18:33:41 12d6caf4c0d1: Verifying Checksum 18:33:41 12d6caf4c0d1: Download complete 18:33:41 213ec9aee27d: Pull complete 18:33:42 4583459ba037: Pull complete 18:33:42 93c1e223e6f2: Pull complete 18:33:42 a7acece74701: Verifying Checksum 18:33:42 a7acece74701: Download complete 18:33:43 53926ce57604: Verifying Checksum 18:33:43 53926ce57604: Download complete 18:33:43 96b7cbca73a9: Verifying Checksum 18:33:47 53926ce57604: Pull complete 18:33:47 21b2b0c7a3f4: Pull complete 18:33:47 22ff95d597cd: Pull complete 18:33:47 12d6caf4c0d1: Pull complete 18:33:49 96b7cbca73a9: Pull complete 18:33:50 a7acece74701: Pull complete 18:33:50 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:33:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:33:50 ---> db6d94c90886 18:33:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:33:54 ---> Running in 67ca9f8f9aff 18:33:54 Removing intermediate container 67ca9f8f9aff 18:33:54 ---> 5bcc94cceecb 18:33:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:33:54 ---> Running in e2ede44c8a40 18:33:54 Removing intermediate container e2ede44c8a40 18:33:54 ---> 058c57a9aa2c 18:33:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:33:54 ---> Running in d38995170d19 18:33:54 Removing intermediate container d38995170d19 18:33:54 ---> 369f9fed4d1c 18:33:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:33:54 ---> Running in 15b446cabbbe 18:33:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:33:54 Still waiting to schedule task 18:33:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:33:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:33:54 OK: 211 MiB in 51 packages 18:33:55 Removing intermediate container 15b446cabbbe 18:33:55 ---> 5f38cd5093f1 18:33:55 Step 7/12 : WORKDIR /app 18:33:55 ---> Running in 29caa13547ed 18:33:55 Removing intermediate container 29caa13547ed 18:33:55 ---> 259befa85fb8 18:33:55 Step 8/12 : COPY go.mod vendor* ./ 18:33:55 ---> e3986d2ab303 18:33:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:33:55 ---> Running in 3c94c6c574fc 18:34:21 Removing intermediate container 3c94c6c574fc 18:34:21 ---> 3f6642f826d4 18:34:21 Step 10/12 : COPY . . 18:34:21 ---> 36a2346fca57 18:34:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:34:21 ---> Running in f3fd431a0317 18:34:21 Removing intermediate container f3fd431a0317 18:34:21 ---> a6046c050864 18:34:21 Step 12/12 : RUN $MAKE 18:34:21 ---> Running in 7af54b9989d2 18:34:21 noop 18:34:21 Removing intermediate container 7af54b9989d2 18:34:21 ---> 79ed1fa308b5 18:34:21 Successfully built 79ed1fa308b5 18:34:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:22 + docker inspect -f . ci-base-image-x86_64 18:34:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:34:22 prd-ubuntu20.04-docker-8c-8g-3426 does not seem to be running inside a container 18:34:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-505 -v /w/workspace/_app-service-configurable_PR-505:/w/workspace/_app-service-configurable_PR-505:rw,z -v /w/workspace/_app-service-configurable_PR-505@tmp:/w/workspace/_app-service-configurable_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:34:22 $ docker top 96b878dcc975793c2c8a1a1a6734f07465404b9b4518b25f2cb14916c713962a -eo pid,comm [Pipeline] { [Pipeline] sh 18:34:23 + go version 18:34:23 go version go1.18.7 linux/amd64 [Pipeline] } 18:34:23 $ docker stop --time=1 96b878dcc975793c2c8a1a1a6734f07465404b9b4518b25f2cb14916c713962a 18:34:24 $ docker rm -f --volumes 96b878dcc975793c2c8a1a1a6734f07465404b9b4518b25f2cb14916c713962a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:34:25 + docker inspect -f . ci-base-image-x86_64 18:34:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:34:25 prd-ubuntu20.04-docker-8c-8g-3426 does not seem to be running inside a container 18:34:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-505 -v /w/workspace/_app-service-configurable_PR-505:/w/workspace/_app-service-configurable_PR-505:rw,z -v /w/workspace/_app-service-configurable_PR-505@tmp:/w/workspace/_app-service-configurable_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:34:25 $ docker top cbee57251c98512f771e8a835349e32b7982ca688460a3bf2362b46efcca39fc -eo pid,comm [Pipeline] { [Pipeline] sh 18:34:26 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-505 [Pipeline] fileExists [Pipeline] sh 18:34:26 + make test 18:34:26 go test -race -coverprofile=coverage.out ./... 18:34:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:34:48 go vet ./... 18:34:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:34:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:34:54 ./bin/test-attribution-txt.sh [Pipeline] echo 18:34:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:34:55 $ docker stop --time=1 cbee57251c98512f771e8a835349e32b7982ca688460a3bf2362b46efcca39fc 18:34:58 $ docker rm -f --volumes cbee57251c98512f771e8a835349e32b7982ca688460a3bf2362b46efcca39fc [Pipeline] // withDockerContainer [Pipeline] sh 18:34:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:34:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:34:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:34:59 + ls -al . 18:34:59 total 184 18:34:59 drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 18:34 . 18:34:59 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:33 .. 18:34:59 -rw-rw-r-- 1 jenkins jenkins 119 Jan 23 18:33 .dockerignore 18:34:59 drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 18:33 .git 18:34:59 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 18:33 .github 18:34:59 -rw-rw-r-- 1 jenkins jenkins 171 Jan 23 18:33 .gitignore 18:34:59 drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 18:33 .semver 18:34:59 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 23 18:33 Attribution.txt 18:34:59 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 23 18:33 CHANGELOG.md 18:34:59 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 23 18:33 Dockerfile 18:34:59 -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 18:33 GOVERNANCE.md 18:34:59 -rw-rw-r-- 1 jenkins jenkins 688 Jan 23 18:33 Jenkinsfile 18:34:59 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 23 18:33 LICENSE 18:34:59 -rw-rw-r-- 1 jenkins jenkins 618 Jan 23 18:33 OWNERS.md 18:34:59 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 23 18:33 README.md 18:34:59 -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 18:33 VERSION 18:34:59 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 18:33 bin 18:34:59 -rw-r--r-- 1 jenkins jenkins 13 Jan 23 18:34 coverage.out 18:34:59 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 23 18:33 go.mod 18:34:59 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 23 18:33 go.sum 18:34:59 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 23 18:33 main.go 18:34:59 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 23 18:33 makefile 18:34:59 drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 18:33 res 18:34:59 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:33 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:00 + 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=1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 --label arch=amd64 --label version=0.0.0 . 18:35:00 Sending build context to Docker daemon 3.231MB 18:35:00 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:35:00 Step 2/26 : FROM ${BASE} AS builder 18:35:00 ---> 79ed1fa308b5 18:35:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:35:00 ---> Running in 68d7d619151c 18:35:00 Removing intermediate container 68d7d619151c 18:35:00 ---> 4be04a1c2f24 18:35:00 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:35:00 ---> Running in c0d11a5d30e8 18:35:00 Removing intermediate container c0d11a5d30e8 18:35:00 ---> 277e4ca9c7d0 18:35:00 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:35:00 ---> Running in 95c1e9e8d91e 18:35:00 Removing intermediate container 95c1e9e8d91e 18:35:00 ---> 42af26945809 18:35:00 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:35:00 ---> Running in 490dcd8a4c0d 18:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:35:01 OK: 211 MiB in 51 packages 18:35:01 Removing intermediate container 490dcd8a4c0d 18:35:01 ---> 04b766cd70b9 18:35:01 Step 7/26 : WORKDIR /app 18:35:01 ---> Running in 1d5fc143fa8a 18:35:01 Removing intermediate container 1d5fc143fa8a 18:35:01 ---> 0f9493af504a 18:35:01 Step 8/26 : COPY go.mod vendor* ./ 18:35:01 ---> a97fd16764ed 18:35:01 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:35:01 ---> Running in 85a6999f46b9 18:35:02 Removing intermediate container 85a6999f46b9 18:35:02 ---> 6be44698de77 18:35:02 Step 10/26 : COPY . . 18:35:02 ---> 272838ab050b 18:35:02 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:35:02 ---> Running in b68f95113709 18:35:02 Removing intermediate container b68f95113709 18:35:02 ---> e9902a011547 18:35:02 Step 12/26 : RUN $MAKE 18:35:02 ---> Running in 50d45a457502 18:35:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.17 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:35:24 Removing intermediate container 50d45a457502 18:35:24 ---> 4f71165296aa 18:35:24 Step 13/26 : FROM alpine:3.16 18:35:24 3.16: Pulling from library/alpine 18:35:24 ca7dd9ec2225: Pulling fs layer 18:35:24 ca7dd9ec2225: Verifying Checksum 18:35:24 ca7dd9ec2225: Download complete 18:35:24 ca7dd9ec2225: Pull complete 18:35:24 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:35:24 Status: Downloaded newer image for alpine:3.16 18:35:24 ---> bfe296a52501 18:35:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:35:24 ---> Running in 5b54c749dfb9 18:35:24 Removing intermediate container 5b54c749dfb9 18:35:24 ---> b43160ba1ec8 18:35:24 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:35:24 ---> Running in 31dc6d98cf12 18:35:24 Removing intermediate container 31dc6d98cf12 18:35:24 ---> 4b12a25969cf 18:35:24 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:35:24 ---> Running in 0e9959556c98 18:35:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:35:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:35:24 (1/2) Installing ca-certificates (20220614-r0) 18:35:24 (2/2) Installing dumb-init (1.2.5-r1) 18:35:24 Executing busybox-1.35.0-r17.trigger 18:35:24 Executing ca-certificates-20220614-r0.trigger 18:35:24 OK: 6 MiB in 16 packages 18:35:24 Removing intermediate container 0e9959556c98 18:35:24 ---> fc4f35871819 18:35:24 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:35:24 ---> 88a55d1e17a4 18:35:24 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:35:24 ---> 304cccfd00cb 18:35:24 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:35:24 ---> 12a6274445fc 18:35:24 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:35:24 ---> 3e7444b44702 18:35:24 Step 21/26 : EXPOSE 48095 18:35:24 ---> Running in 5f5b072ac800 18:35:25 Removing intermediate container 5f5b072ac800 18:35:25 ---> fb13a9728c21 18:35:25 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:35:25 ---> Running in 60ce3579ecb3 18:35:25 Removing intermediate container 60ce3579ecb3 18:35:25 ---> c165c7ea3556 18:35:25 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:35:25 ---> Running in 3a8a670e848a 18:35:25 Removing intermediate container 3a8a670e848a 18:35:25 ---> 5f6a2d06920a 18:35:25 Step 24/26 : LABEL arch=amd64 18:35:25 ---> Running in b7e10250de5e 18:35:25 Removing intermediate container b7e10250de5e 18:35:25 ---> fc31df3eb090 18:35:25 Step 25/26 : LABEL git_sha=1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 18:35:25 ---> Running in 5f1683074170 18:35:25 Removing intermediate container 5f1683074170 18:35:25 ---> 5c3b08411b5f 18:35:25 Step 26/26 : LABEL version=0.0.0 18:35:25 ---> Running in 36ae1fa7c7ae 18:35:25 Removing intermediate container 36ae1fa7c7ae 18:35:25 ---> 5152e3bfb431 18:35:25 [Warning] One or more build-args [ARCH] were not consumed 18:35:25 Successfully built 5152e3bfb431 18:35:25 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 18:35:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:26 18:35:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:26 latest: Pulling from edgex-lftools-log-publisher 18:35:26 5eb5b503b376: Pulling fs layer 18:35:26 5c69ac0246d0: Pulling fs layer 18:35:26 ec43610c2a17: Pulling fs layer 18:35:26 3a2ae6a8a46f: Pulling fs layer 18:35:26 33b1e0a273af: Pulling fs layer 18:35:26 5d3b04190fa2: Pulling fs layer 18:35:26 2f39f015ded8: Pulling fs layer 18:35:26 3a2ae6a8a46f: Waiting 18:35:26 5d3b04190fa2: Waiting 18:35:26 2f39f015ded8: Waiting 18:35:26 33b1e0a273af: Waiting 18:35:26 5c69ac0246d0: Verifying Checksum 18:35:26 5c69ac0246d0: Download complete 18:35:26 3a2ae6a8a46f: Verifying Checksum 18:35:26 3a2ae6a8a46f: Download complete 18:35:27 33b1e0a273af: Verifying Checksum 18:35:27 33b1e0a273af: Download complete 18:35:27 5d3b04190fa2: Download complete 18:35:27 ec43610c2a17: Verifying Checksum 18:35:27 ec43610c2a17: Download complete 18:35:27 5eb5b503b376: Verifying Checksum 18:35:27 5eb5b503b376: Download complete 18:35:27 2f39f015ded8: Download complete 18:35:28 5eb5b503b376: Pull complete 18:35:28 5c69ac0246d0: Pull complete 18:35:28 ec43610c2a17: Pull complete 18:35:28 3a2ae6a8a46f: Pull complete 18:35:29 33b1e0a273af: Pull complete 18:35:29 5d3b04190fa2: Pull complete 18:35:33 2f39f015ded8: Pull complete 18:35:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:35:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:33 prd-ubuntu20.04-docker-8c-8g-3426 does not seem to be running inside a container 18:35:33 $ 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-505 -v /w/workspace/_app-service-configurable_PR-505:/w/workspace/_app-service-configurable_PR-505:rw,z -v /w/workspace/_app-service-configurable_PR-505@tmp:/w/workspace/_app-service-configurable_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:35:36 $ docker top 4894ad389588eff80f7832965f8697224cb9a84e816bb37241a4c7c3c612c502 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:35:37 ---> job-cost.sh 18:35:37 lf-activate-venv: SKIPPING 18:35:37 INFO: No Stack... 18:35:37 INFO: Retrieving Pricing Info for: v3-standard-8 18:35:38 INFO: Archiving Costs [Pipeline] sh 18:35:38 + cat /w/workspace/_app-service-configurable_PR-505/archives/cost.csv 18:35:38 + cut -d, -f6 [Pipeline] lock 18:35:38 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-505-1-stack-cost] 18:35:38 Resource [jenkins-edgexfoundry-app-service-configurable-PR-505-1-stack-cost] did not exist. Created. 18:35:38 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-505-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:35:39 + echo total: 0.2199999988079071 [Pipeline] stash 18:35:39 Stashed 1 file(s) [Pipeline] } 18:35:39 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-505-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:35:39 $ docker stop --time=1 4894ad389588eff80f7832965f8697224cb9a84e816bb37241a4c7c3c612c502 18:35:40 $ docker rm -f --volumes 4894ad389588eff80f7832965f8697224cb9a84e816bb37241a4c7c3c612c502 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:35:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3428 in /w/workspace/_app-service-configurable_PR-505 [Pipeline] { [Pipeline] ws 18:35:57 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 18:35:57 Selected Git installation does not exist. Using Default 18:35:57 The recommended git tool is: NONE 18:36:04 using credential edgex-jenkins-ssh 18:36:04 Cloning the remote Git repository 18:36:04 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:36:04 > git init /w/workspace/app-service-configurable/1 # timeout=10 18:36:05 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:36:05 > git --version # timeout=10 18:36:05 > git --version # 'git version 2.25.1' 18:36:05 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:36:06 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:36:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:36:07 Merging remotes/origin/main commit 33a8a0fb1d1881fd1b73fa23662390bbef39c173 into PR head commit 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 18:36:08 Merge succeeded, producing 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 18:36:08 Checking out Revision 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 (PR-505) 18:36:07 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:36:07 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:36:07 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:36:07 > git config core.sparsecheckout # timeout=10 18:36:07 > git checkout -f 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 # timeout=10 18:36:08 > git remote # timeout=10 18:36:08 > git config --get remote.origin.url # timeout=10 18:36:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:36:08 > git merge 33a8a0fb1d1881fd1b73fa23662390bbef39c173 # timeout=10 18:36:08 > git rev-parse HEAD^{commit} # timeout=10 18:36:08 > git config core.sparsecheckout # timeout=10 18:36:08 > git checkout -f 1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 # timeout=10 18:36:11 Commit message: "fix: enable core-command via message bus" 18:36:11 > git --version # timeout=10 18:36:11 > git --version # 'git version 2.25.1' 18:36:11 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:36:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:36:12 % Total % Received % Xferd Average Speed Time Time Time Current 18:36:12 Dload Upload Total Spent Left Speed 18:36:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 18:36:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:36:13 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 18:36:13 /etc/docker/daemon.json 18:36:13 { 18:36:13 "registry-mirrors": [ 18:36:13 "https://nexus3.edgexfoundry.org:10001" 18:36:13 ], 18:36:13 "bip": "10.250.0.254/24", 18:36:13 "hosts": [ 18:36:13 "tcp://0.0.0.0:5555", 18:36:13 "unix:///var/run/docker.sock" 18:36:13 ], 18:36:13 "mtu": 1458, 18:36:13 "selinux-enabled": true, 18:36:13 "seccomp-profile": "/etc/docker/seccomp.json" 18:36:13 } [Pipeline] sh 18:36:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:36:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:36:32 provisioning config files... 18:36:32 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7348901535805782716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:36:33 ---> docker-login.sh 18:36:33 nexus3.edgexfoundry.org:10001 18:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:33 Configure a credential helper to remove this warning. See 18:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:33 18:36:33 Login Succeeded 18:36:33 nexus3.edgexfoundry.org:10002 18:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:34 Configure a credential helper to remove this warning. See 18:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:34 18:36:34 Login Succeeded 18:36:34 nexus3.edgexfoundry.org:10003 18:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:34 Configure a credential helper to remove this warning. See 18:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:34 18:36:34 Login Succeeded 18:36:34 nexus3.edgexfoundry.org:10004 18:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:34 Configure a credential helper to remove this warning. See 18:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:34 18:36:34 Login Succeeded 18:36:34 docker.io 18:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:36:35 Configure a credential helper to remove this warning. See 18:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:36:35 18:36:35 Login Succeeded 18:36:35 ---> docker-login.sh ends [Pipeline] } 18:36:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:36:35 ========================================================= 18:36:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:36:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:36:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:36:36 Sending build context to Docker daemon 216.1kB 18:36:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:36:36 Step 2/12 : FROM ${BASE} AS builder 18:36:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:36:36 9b18e9b68314: Pulling fs layer 18:36:36 35d82f9e3411: Pulling fs layer 18:36:36 e16973657156: Pulling fs layer 18:36:36 fc693d55d65f: Pulling fs layer 18:36:36 7e9fc2657dce: Pulling fs layer 18:36:36 dda99020689f: Pulling fs layer 18:36:36 db1c61fa0a46: Pulling fs layer 18:36:36 891c053d2c06: Pulling fs layer 18:36:36 7e9fc2657dce: Waiting 18:36:36 dda99020689f: Waiting 18:36:36 db1c61fa0a46: Waiting 18:36:36 891c053d2c06: Waiting 18:36:36 fc693d55d65f: Waiting 18:36:36 e16973657156: Verifying Checksum 18:36:36 e16973657156: Download complete 18:36:36 35d82f9e3411: Verifying Checksum 18:36:36 35d82f9e3411: Download complete 18:36:36 7e9fc2657dce: Verifying Checksum 18:36:36 7e9fc2657dce: Download complete 18:36:36 dda99020689f: Download complete 18:36:36 9b18e9b68314: Download complete 18:36:37 9b18e9b68314: Pull complete 18:36:37 891c053d2c06: Verifying Checksum 18:36:37 891c053d2c06: Download complete 18:36:38 35d82f9e3411: Pull complete 18:36:38 e16973657156: Pull complete 18:36:39 db1c61fa0a46: Download complete 18:36:39 fc693d55d65f: Verifying Checksum 18:36:39 fc693d55d65f: Download complete 18:36:51 fc693d55d65f: Pull complete 18:36:51 7e9fc2657dce: Pull complete 18:36:52 dda99020689f: Pull complete 18:36:58 db1c61fa0a46: Pull complete 18:37:00 891c053d2c06: Pull complete 18:37:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:37:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:37:00 ---> f96f9c87975a 18:37:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:37:02 ---> Running in 0d0a3c17eb62 18:37:02 Removing intermediate container 0d0a3c17eb62 18:37:02 ---> cd30f6bae555 18:37:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:37:02 ---> Running in 3df00d31361f 18:37:02 Removing intermediate container 3df00d31361f 18:37:02 ---> ba1ceaba7ccb 18:37:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:37:02 ---> Running in 3936eb2679f6 18:37:03 Removing intermediate container 3936eb2679f6 18:37:03 ---> 82a0cc189286 18:37:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:37:03 ---> Running in 6ddb25f852c1 18:37:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:37:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:37:05 OK: 221 MiB in 51 packages 18:37:06 Removing intermediate container 6ddb25f852c1 18:37:06 ---> 8dd42855330f 18:37:06 Step 7/12 : WORKDIR /app 18:37:06 ---> Running in 4082d666cba6 18:37:06 Removing intermediate container 4082d666cba6 18:37:06 ---> 437e5e156a11 18:37:06 Step 8/12 : COPY go.mod vendor* ./ 18:37:08 ---> 3334b68f993e 18:37:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:37:08 ---> Running in 0d5b4eb1c3cc 18:38:15 Removing intermediate container 0d5b4eb1c3cc 18:38:15 ---> b9d5b3d68ad1 18:38:15 Step 10/12 : COPY . . 18:38:15 ---> 5f747a68c125 18:38:15 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:38:15 ---> Running in bd9be33956c8 18:38:15 Removing intermediate container bd9be33956c8 18:38:15 ---> c4f4c7ef9851 18:38:15 Step 12/12 : RUN $MAKE 18:38:15 ---> Running in 30e0e30eeea9 18:38:15 noop 18:38:15 Removing intermediate container 30e0e30eeea9 18:38:15 ---> 47d0573c7b95 18:38:15 Successfully built 47d0573c7b95 18:38:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:18 + docker inspect -f . ci-base-image-arm64 18:38:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:19 prd-ubuntu20.04-docker-arm64-4c-16g-3428 does not seem to be running inside a container 18:38:19 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:38:20 $ docker top d1dc242cb092afad7109d893a2c6aa35e2c40f6d93aec432ebbe1ddfb35efee2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:38:21 + go version 18:38:21 go version go1.18.7 linux/arm64 [Pipeline] } 18:38:21 $ docker stop --time=1 d1dc242cb092afad7109d893a2c6aa35e2c40f6d93aec432ebbe1ddfb35efee2 18:38:24 $ docker rm -f --volumes d1dc242cb092afad7109d893a2c6aa35e2c40f6d93aec432ebbe1ddfb35efee2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:25 + docker inspect -f . ci-base-image-arm64 18:38:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:26 prd-ubuntu20.04-docker-arm64-4c-16g-3428 does not seem to be running inside a container 18:38:26 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:38:27 $ docker top 9e3d6d287ffa666efe9151374bb84a075ab8da696085e45d3562c390104b9814 -eo pid,comm [Pipeline] { [Pipeline] sh 18:38:28 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 18:38:28 + make test 18:38:28 go test -race -coverprofile=coverage.out ./... 18:40:50 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:40:50 go vet ./... 18:42:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:42:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:42:27 ./bin/test-attribution-txt.sh [Pipeline] echo 18:42:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:42:27 $ docker stop --time=1 9e3d6d287ffa666efe9151374bb84a075ab8da696085e45d3562c390104b9814 18:42:29 $ docker rm -f --volumes 9e3d6d287ffa666efe9151374bb84a075ab8da696085e45d3562c390104b9814 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:42:30 Warning: overwriting stash ‘coverage-report’ 18:42:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:42:31 + ls -al . 18:42:31 total 180 18:42:31 drwxrwxr-x 7 jenkins jenkins 4096 Jan 23 18:38 . 18:42:31 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:36 .. 18:42:31 -rw-rw-r-- 1 jenkins jenkins 119 Jan 23 18:36 .dockerignore 18:42:31 drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 18:36 .git 18:42:31 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 18:36 .github 18:42:31 -rw-rw-r-- 1 jenkins jenkins 171 Jan 23 18:36 .gitignore 18:42:31 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 23 18:36 Attribution.txt 18:42:31 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 23 18:36 CHANGELOG.md 18:42:31 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 23 18:36 Dockerfile 18:42:31 -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 18:36 GOVERNANCE.md 18:42:31 -rw-rw-r-- 1 jenkins jenkins 688 Jan 23 18:36 Jenkinsfile 18:42:31 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 23 18:36 LICENSE 18:42:31 -rw-rw-r-- 1 jenkins jenkins 618 Jan 23 18:36 OWNERS.md 18:42:31 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 23 18:36 README.md 18:42:31 -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 18:33 VERSION 18:42:31 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 18:36 bin 18:42:31 -rw-r--r-- 1 jenkins jenkins 13 Jan 23 18:38 coverage.out 18:42:31 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 23 18:36 go.mod 18:42:31 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 23 18:36 go.sum 18:42:31 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 23 18:36 main.go 18:42:31 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 23 18:36 makefile 18:42:31 drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 18:36 res 18:42:31 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 18:36 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:32 + 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=1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 --label arch=arm64 --label version=0.0.0 . 18:42:32 Sending build context to Docker daemon 217.1kB 18:42:32 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:42:32 Step 2/26 : FROM ${BASE} AS builder 18:42:32 ---> 47d0573c7b95 18:42:32 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:42:32 ---> Running in e01aa3618f9f 18:42:32 Removing intermediate container e01aa3618f9f 18:42:32 ---> 872a5022ba6c 18:42:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:42:33 ---> Running in e83662786d06 18:42:33 Removing intermediate container e83662786d06 18:42:33 ---> d75e0af3baa5 18:42:33 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:42:33 ---> Running in c9b6e2878c2b 18:42:34 Removing intermediate container c9b6e2878c2b 18:42:34 ---> d22655fc4e2c 18:42:34 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:42:34 ---> Running in 4957eccca20f 18:42:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:42:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:42:37 OK: 221 MiB in 51 packages 18:42:38 Removing intermediate container 4957eccca20f 18:42:38 ---> d59552c2b196 18:42:38 Step 7/26 : WORKDIR /app 18:42:38 ---> Running in c10b049f0a75 18:42:38 Removing intermediate container c10b049f0a75 18:42:38 ---> 83b07b8f686e 18:42:38 Step 8/26 : COPY go.mod vendor* ./ 18:42:38 ---> 2706803beb09 18:42:38 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:38 ---> Running in e7327d3b68b1 18:42:40 Removing intermediate container e7327d3b68b1 18:42:40 ---> 7bccfebee3a5 18:42:40 Step 10/26 : COPY . . 18:42:41 ---> 93b67b90311a 18:42:41 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:42:41 ---> Running in cf7136622dd9 18:42:42 Removing intermediate container cf7136622dd9 18:42:42 ---> a27d0152da97 18:42:42 Step 12/26 : RUN $MAKE 18:42:42 ---> Running in ded4a0dcb415 18:42:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.17 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:44:50 Removing intermediate container ded4a0dcb415 18:44:50 ---> f922c55b1655 18:44:50 Step 13/26 : FROM alpine:3.16 18:44:50 3.16: Pulling from library/alpine 18:44:50 6875df1f5354: Pulling fs layer 18:44:50 6875df1f5354: Verifying Checksum 18:44:50 6875df1f5354: Download complete 18:44:50 6875df1f5354: Pull complete 18:44:50 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:44:50 Status: Downloaded newer image for alpine:3.16 18:44:50 ---> 2b4661558fb8 18:44:50 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:44:50 ---> Running in 5934b47fcbc3 18:44:50 Removing intermediate container 5934b47fcbc3 18:44:50 ---> 2eee064bfbe9 18:44:50 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:44:50 ---> Running in 288353500d2f 18:44:50 Removing intermediate container 288353500d2f 18:44:50 ---> e96bbeeb3208 18:44:50 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:44:50 ---> Running in 82a752ffba9e 18:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:44:50 (1/2) Installing ca-certificates (20220614-r0) 18:44:50 (2/2) Installing dumb-init (1.2.5-r1) 18:44:50 Executing busybox-1.35.0-r17.trigger 18:44:50 Executing ca-certificates-20220614-r0.trigger 18:44:50 OK: 6 MiB in 16 packages 18:44:50 Removing intermediate container 82a752ffba9e 18:44:50 ---> 8e73043a3175 18:44:50 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:44:50 ---> 75dc9b4fff41 18:44:50 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:44:50 ---> 6898c06fd79e 18:44:50 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:44:50 ---> 9cb12c683b60 18:44:50 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:44:50 ---> b8b5427aef39 18:44:50 Step 21/26 : EXPOSE 48095 18:44:50 ---> Running in 6cc1006a9459 18:44:50 Removing intermediate container 6cc1006a9459 18:44:50 ---> 7f6622fd4594 18:44:50 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:44:50 ---> Running in 07f0f909d8e8 18:44:50 Removing intermediate container 07f0f909d8e8 18:44:50 ---> 44bcaffbb0f7 18:44:50 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:44:50 ---> Running in 97ca05be0b6b 18:44:50 Removing intermediate container 97ca05be0b6b 18:44:50 ---> ad3ff2c4e1b8 18:44:50 Step 24/26 : LABEL arch=arm64 18:44:50 ---> Running in 0f7ab250cdf9 18:44:50 Removing intermediate container 0f7ab250cdf9 18:44:50 ---> 2210a5652134 18:44:50 Step 25/26 : LABEL git_sha=1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 18:44:50 ---> Running in 457b53363de9 18:44:50 Removing intermediate container 457b53363de9 18:44:50 ---> 3f52a51d60c0 18:44:50 Step 26/26 : LABEL version=0.0.0 18:44:50 ---> Running in 54b7591fbab2 18:44:50 Removing intermediate container 54b7591fbab2 18:44:50 ---> ff5ffeded496 18:44:50 [Warning] One or more build-args [ARCH] were not consumed 18:44:50 Successfully built ff5ffeded496 18:44:50 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 18:44:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:51 18:44:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:44:51 arm64: Pulling from edgex-lftools-log-publisher 18:44:51 8998bd30e6a1: Pulling fs layer 18:44:51 04944245beec: Pulling fs layer 18:44:51 699f458cf7ca: Pulling fs layer 18:44:51 765212b225bb: Pulling fs layer 18:44:51 f23df028b6ca: Pulling fs layer 18:44:51 d65c8cfc05b1: Pulling fs layer 18:44:51 2437ff75d9bd: Pulling fs layer 18:44:51 765212b225bb: Waiting 18:44:51 f23df028b6ca: Waiting 18:44:51 d65c8cfc05b1: Waiting 18:44:51 2437ff75d9bd: Waiting 18:44:52 04944245beec: Verifying Checksum 18:44:52 04944245beec: Download complete 18:44:52 765212b225bb: Verifying Checksum 18:44:52 765212b225bb: Download complete 18:44:52 f23df028b6ca: Verifying Checksum 18:44:52 f23df028b6ca: Download complete 18:44:52 d65c8cfc05b1: Download complete 18:44:52 699f458cf7ca: Verifying Checksum 18:44:52 699f458cf7ca: Download complete 18:44:52 8998bd30e6a1: Verifying Checksum 18:44:52 8998bd30e6a1: Download complete 18:44:55 2437ff75d9bd: Verifying Checksum 18:44:55 2437ff75d9bd: Download complete 18:44:56 8998bd30e6a1: Pull complete 18:44:56 04944245beec: Pull complete 18:44:59 699f458cf7ca: Pull complete 18:44:59 765212b225bb: Pull complete 18:45:00 f23df028b6ca: Pull complete 18:45:00 d65c8cfc05b1: Pull complete 18:45:15 2437ff75d9bd: Pull complete 18:45:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:45:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:45:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:15 prd-ubuntu20.04-docker-arm64-4c-16g-3428 does not seem to be running inside a container 18:45:15 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:45:18 $ docker top fb1bc6015c7707b5a6e2e99fbf15f012a269d249bb3b97e9f72aced925b0c9ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:18 ---> job-cost.sh 18:45:19 lf-activate-venv: SKIPPING 18:45:19 INFO: No Stack... 18:45:19 INFO: Retrieving Pricing Info for: v3-standard-4 18:45:20 INFO: Archiving Costs [Pipeline] sh 18:45:20 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 18:45:20 + cut -d, -f6 [Pipeline] lock 18:45:20 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-505-1-stack-cost] 18:45:20 Resource [jenkins-edgexfoundry-app-service-configurable-PR-505-1-stack-cost] did not exist. Created. 18:45:20 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-505-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:45:21 /w/workspace/app-service-configurable/1@tmp/durable-e2a95df3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:45:22 + echo total: 0.10999999940395355 [Pipeline] stash 18:45:22 Warning: overwriting stash ‘stack-cost’ 18:45:22 Stashed 1 file(s) [Pipeline] } 18:45:22 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-505-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:45:22 $ docker stop --time=1 fb1bc6015c7707b5a6e2e99fbf15f012a269d249bb3b97e9f72aced925b0c9ad 18:45:23 $ docker rm -f --volumes fb1bc6015c7707b5a6e2e99fbf15f012a269d249bb3b97e9f72aced925b0c9ad [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 18:45:24 provisioning config files... 18:45:24 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-505@tmp/config13995784846244338833tmp [Pipeline] { [Pipeline] sh 18:45:25 + set +x 18:45:25 + + curlbash -s -s https://codecov.io/bash -- 18:45:25 18:45:25 18:45:25 _____ _ 18:45:25 / ____| | | 18:45:25 | | ___ __| | ___ ___ _____ __ 18:45:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:45:25 | |___| (_) | (_| | __/ (_| (_) \ V / 18:45:25 \_____\___/ \__,_|\___|\___\___/ \_/ 18:45:25 Bash-1.0.6 18:45:25 18:45:25 18:45:25 ==> git version 2.25.1 found 18:45:25 ==> 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 18:45:25 Release-Date: 2020-01-08 18:45:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:45:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:45:25 ==> Jenkins CI detected. 18:45:25 current dir:  /w/workspace/_app-service-configurable_PR-505 18:45:25 project root: . 18:45:25 --> token set from env 18:45:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:45:25 ==> Running gcov in . (disable via -X gcov) 18:45:25 ==> Python coveragepy not found 18:45:25 ==> Searching for coverage reports in: 18:45:25 + . 18:45:25 -> Found 1 reports 18:45:25 ==> Detecting git/mercurial file structure 18:45:25 ==> Reading reports 18:45:25 + ./coverage.out bytes=13 18:45:25 ==> Appending adjustments 18:45:25 https://docs.codecov.io/docs/fixing-reports 18:45:25 + Found adjustments 18:45:25 ==> Gzipping contents 18:45:25 4.0K /tmp/codecov.24xWXy.gz 18:45:25 ==> Uploading reports 18:45:25 url: https://codecov.io 18:45:25 query: branch=PR-505&commit=1e1d664eb2ec1683dead54adf8e12f8f4a2fc357&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-505%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=505&job=&cmd_args= 18:45:25 -> Pinging Codecov 18:45:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-505&commit=1e1d664eb2ec1683dead54adf8e12f8f4a2fc357&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-505%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=505&job=&cmd_args= 18:45:25 -> Uploading to 18:45:25 https://storage.googleapis.com/codecov/v4/raw/2023-01-23/A97CA9966030D2A3747ED39772930CCE/1e1d664eb2ec1683dead54adf8e12f8f4a2fc357/7fd9d0c0-945a-4c70-8d86-4131ce018ae0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230123T184525Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63a9a04d52185ff629022ff4704a90c72479a3b7e17daac073198a7c523c27f2 18:45:25 % Total % Received % Xferd Average Speed Time Time Time Current 18:45:25 Dload Upload Total Spent Left Speed 18:45:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 1992 --:--:-- --:--:-- --:--:-- 1992 18:45:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/1e1d664eb2ec1683dead54adf8e12f8f4a2fc357 [Pipeline] } 18:45:25 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 18:45:27 + [ -d /w/workspace/_app-service-configurable_PR-505/archives ] 18:45:27 + ls -al /w/workspace/_app-service-configurable_PR-505/archives 18:45:27 total 16 18:45:27 drwxr-xr-x 3 root root 4096 Jan 23 18:35 . 18:45:27 drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 18:35 .. 18:45:27 drwxr-xr-x 2 root root 4096 Jan 23 18:35 cost 18:45:27 -rw-r--r-- 1 root root 96 Jan 23 18:35 cost.csv 18:45:27 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-505/archives 18:45:27 + ls -al /w/workspace/_app-service-configurable_PR-505/archives 18:45:27 total 16 18:45:27 drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 18:35 . 18:45:27 drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 18:35 .. 18:45:27 drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 18:35 cost 18:45:27 -rw-r--r-- 1 jenkins jenkins 96 Jan 23 18:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:45:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:45:28 ---> package-listing.sh 18:45:28 ++ facter osfamily 18:45:28 ++ tr '[:upper:]' '[:lower:]' 18:45:29 + OS_FAMILY=debian 18:45:29 + workspace=/w/workspace/_app-service-configurable_PR-505 18:45:29 + START_PACKAGES=/tmp/packages_start.txt 18:45:29 + END_PACKAGES=/tmp/packages_end.txt 18:45:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:45:29 + PACKAGES=/tmp/packages_start.txt 18:45:29 + '[' /w/workspace/_app-service-configurable_PR-505 ']' 18:45:29 + PACKAGES=/tmp/packages_end.txt 18:45:29 + case "${OS_FAMILY}" in 18:45:29 + dpkg -l 18:45:29 + grep '^ii' 18:45:29 + '[' -f /tmp/packages_start.txt ']' 18:45:29 + '[' -f /tmp/packages_end.txt ']' 18:45:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:45:29 + '[' /w/workspace/_app-service-configurable_PR-505 ']' 18:45:29 + mkdir -p /w/workspace/_app-service-configurable_PR-505/archives/ 18:45:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-505/archives/ [Pipeline] echo 18:45:29 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-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:45:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:30 prd-ubuntu20.04-docker-8c-8g-3426 does not seem to be running inside a container 18:45:30 $ 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-505/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-505 -v /w/workspace/_app-service-configurable_PR-505:/w/workspace/_app-service-configurable_PR-505:rw,z -v /w/workspace/_app-service-configurable_PR-505@tmp:/w/workspace/_app-service-configurable_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:45:30 $ docker top 7bad592614f1dac6e0a57246a05d8a02d16f1c12215e4711dccacacd2877f0a8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:45:30 + touch /tmp/pre-build-complete [Pipeline] sh 18:45:31 + mkdir -p /var/log/sysstat [Pipeline] sh 18:45:31 + ls /var/log/sa-host 18:45:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:31 provisioning config files... 18:45:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-505@tmp/config1368678796172303731tmp [Pipeline] { [Pipeline] echo 18:45:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:45:31 ---> create-netrc.sh [Pipeline] } 18:45:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:45:32 ---> python-tools-install.sh [Pipeline] echo 18:45:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:45:32 ---> sudo-logs.sh 18:45:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:45:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:45:33 ---> job-cost.sh 18:45:33 lf-activate-venv: SKIPPING 18:45:33 DEBUG: total: 0.2199999988079071 18:45:33 INFO: Retrieving Stack Cost... 18:45:33 INFO: Retrieving Pricing Info for: v3-standard-8 18:45:33 INFO: Archiving Costs [Pipeline] echo 18:45:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:45:34 ---> logs-deploy.sh 18:45:34 lf-activate-venv: SKIPPING 18:45:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-505/1 18:45:34 INFO: archiving workspace using pattern(s): 18:45:35 Archives upload complete. 18:45:35 INFO: archiving logs to Nexus