Pull request #616 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-service-configurable Obtained Jenkinsfile from a0105d77f475df03baf4e75debaff7bd55e68afc+c583aa4fb078343a3c888109ea4df2cf2137b3df (6371b84c26d520a7218b6b7418a1ba2bda432568) 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-ssh18239666038303157276.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh14736769035172995820.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-616/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-616/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11958590055406431786.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15044459462787712756.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-616/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-616/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh932201961503351580.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable] ========================================================= [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.21 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 ‘prd-centos7-blackbox-4c-2g-12692’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-15374’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-15376’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-15379’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-13647’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15367’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15385’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-15378’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-15382’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-15383’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-15384’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15388 in /w/workspace/_app-service-configurable_PR-616 [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-616 # 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/616/head:refs/remotes/origin/PR-616 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c583aa4fb078343a3c888109ea4df2cf2137b3df into PR head commit a0105d77f475df03baf4e75debaff7bd55e68afc Merge succeeded, producing a0105d77f475df03baf4e75debaff7bd55e68afc Checking out Revision a0105d77f475df03baf4e75debaff7bd55e68afc (PR-616) > git config core.sparsecheckout # timeout=10 > git checkout -f a0105d77f475df03baf4e75debaff7bd55e68afc # 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 c583aa4fb078343a3c888109ea4df2cf2137b3df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0105d77f475df03baf4e75debaff7bd55e68afc # timeout=10 Commit message: "docs: Update link to point to new docs section" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:25:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:25:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:25:39 ========================================================= 23:25:39 EdgeX Global Pipelines Version Info 23:25:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f2dfd2879bcf769ef19411f0e3e74d7b97a605bb # timeout=10 23:25:40 ------------------- 23:25:40 stable info: 23:25:40 ------------------- 23:25:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:25:40 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:25:40 Message: update stable to v1.0.254 23:25:41 ------------------- 23:25:41 experimental info: 23:25:41 ------------------- 23:25:41 Commited By: **** collab-it+edgex@linuxfoundation.org 23:25:41 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:25:41 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-616 [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-616 [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-616 [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0105d77f475df03baf4e75debaff7bd55e68afc [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0105d7 [Pipeline] echo 23:25:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:41 provisioning config files... 23:25:41 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config309411541061533698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:42 ---> docker-login.sh 23:25:42 nexus3.edgexfoundry.org:10001 23:25:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:42 Configure a credential helper to remove this warning. See 23:25:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:42 23:25:42 Login Succeeded 23:25:42 nexus3.edgexfoundry.org:10002 23:25:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:43 Configure a credential helper to remove this warning. See 23:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:43 23:25:43 Login Succeeded 23:25:43 nexus3.edgexfoundry.org:10003 23:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:43 Configure a credential helper to remove this warning. See 23:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:43 23:25:43 Login Succeeded 23:25:43 nexus3.edgexfoundry.org:10004 23:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:43 Configure a credential helper to remove this warning. See 23:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:43 23:25:43 Login Succeeded 23:25:43 docker.io 23:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:43 Configure a credential helper to remove this warning. See 23:25:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:43 23:25:43 Login Succeeded 23:25:43 ---> docker-login.sh ends [Pipeline] } 23:25:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:25:43 + git rev-list -1 --merges a0105d77f475df03baf4e75debaff7bd55e68afc~1..a0105d77f475df03baf4e75debaff7bd55e68afc [Pipeline] echo 23:25:44 -----------> git rev-list -1 --merges a0105d77f475df03baf4e75debaff7bd55e68afc~1..a0105d77f475df03baf4e75debaff7bd55e68afc a0105d77f475df03baf4e75debaff7bd55e68afc [false] [Pipeline] sh 23:25:44 + git log --format=format:%s -1 a0105d77f475df03baf4e75debaff7bd55e68afc [Pipeline] echo 23:25:44 ========================================================= 23:25:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:25:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:44 + git log --format=format:%s -1 a0105d77f475df03baf4e75debaff7bd55e68afc [Pipeline] echo 23:25:44 [semverPrep] GIT_COMMIT: a0105d77f475df03baf4e75debaff7bd55e68afc, Commit Message: docs: Update link to point to new docs section [Pipeline] echo 23:25:44 [semverPrep] This is not a build commit. [Pipeline] sh 23:25:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:25:45 + grep -v github /etc/ssh/ssh_known_hosts 23:25:45 + [ -e /tmp/ssh_known_hosts ] 23:25:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:25:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:25:45 + sudo tee -a /etc/ssh/ssh_known_hosts 23:25:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:25:45 23:25:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:25:46 0.1.4: Pulling from edgex-devops/py-git-semver 23:25:46 b85a868b505f: Pulling fs layer 23:25:46 e2be974225ed: Pulling fs layer 23:25:46 339a4e72a1f5: Pulling fs layer 23:25:46 988bab9f4d93: Pulling fs layer 23:25:46 1469e6f7b9e6: Pulling fs layer 23:25:46 988bab9f4d93: Waiting 23:25:46 eaf3925da568: Pulling fs layer 23:25:46 bab4dde63d76: Pulling fs layer 23:25:46 bde34c3a00c8: Pulling fs layer 23:25:46 b352a97aabf1: Pulling fs layer 23:25:46 4872d77fe225: Pulling fs layer 23:25:46 bab4dde63d76: Waiting 23:25:46 eaf3925da568: Waiting 23:25:46 5851b861e8e6: Pulling fs layer 23:25:46 bde34c3a00c8: Waiting 23:25:46 b352a97aabf1: Waiting 23:25:46 4872d77fe225: Waiting 23:25:46 5851b861e8e6: Waiting 23:25:46 1469e6f7b9e6: Waiting 23:25:46 e2be974225ed: Download complete 23:25:46 988bab9f4d93: Download complete 23:25:46 1469e6f7b9e6: Verifying Checksum 23:25:46 1469e6f7b9e6: Download complete 23:25:46 eaf3925da568: Download complete 23:25:46 339a4e72a1f5: Verifying Checksum 23:25:46 339a4e72a1f5: Download complete 23:25:46 bde34c3a00c8: Download complete 23:25:46 b352a97aabf1: Verifying Checksum 23:25:46 b352a97aabf1: Download complete 23:25:46 4872d77fe225: Verifying Checksum 23:25:46 4872d77fe225: Download complete 23:25:46 5851b861e8e6: Verifying Checksum 23:25:46 5851b861e8e6: Download complete 23:25:46 b85a868b505f: Verifying Checksum 23:25:46 b85a868b505f: Download complete 23:25:46 bab4dde63d76: Verifying Checksum 23:25:46 bab4dde63d76: Download complete 23:25:48 b85a868b505f: Pull complete 23:25:48 e2be974225ed: Pull complete 23:25:48 339a4e72a1f5: Pull complete 23:25:49 988bab9f4d93: Pull complete 23:25:49 1469e6f7b9e6: Pull complete 23:25:50 eaf3925da568: Pull complete 23:25:52 bab4dde63d76: Pull complete 23:25:52 bde34c3a00c8: Pull complete 23:25:52 b352a97aabf1: Pull complete 23:25:52 4872d77fe225: Pull complete 23:25:52 5851b861e8e6: Pull complete 23:25:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:25:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:25:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:53 prd-ubuntu20.04-docker-8c-8g-15388 does not seem to be running inside a container 23:25:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-616 -v /w/workspace/_app-service-configurable_PR-616:/w/workspace/_app-service-configurable_PR-616:rw,z -v /w/workspace/_app-service-configurable_PR-616@tmp:/w/workspace/_app-service-configurable_PR-616@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-devops/py-git-semver:0.1.4 cat 23:25:57 $ docker top 663a3ac1c957925efb707723b2972f67e2a523a624f656e0fd0ce4a8373d641e -eo pid,comm 23:25:58 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). 23:25:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:25:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:25:58 [ssh-agent] Looking for ssh-agent implementation... 23:25:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:25:58 $ docker exec 663a3ac1c957925efb707723b2972f67e2a523a624f656e0fd0ce4a8373d641e ssh-agent 23:25:58 SSH_AUTH_SOCK=/tmp/ssh-fEPOcZ8DGdr0/agent.32 23:25:58 SSH_AGENT_PID=38 23:25:58 Running ssh-add (command line suppressed) 23:25:58 Identity added: /w/workspace/_app-service-configurable_PR-616@tmp/private_key_14648453988751311024.key (/w/workspace/_app-service-configurable_PR-616@tmp/private_key_14648453988751311024.key) 23:25:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:25:58 + git tag --points-at HEAD [Pipeline] } 23:25:58 $ docker exec --env ******** --env ******** 663a3ac1c957925efb707723b2972f67e2a523a624f656e0fd0ce4a8373d641e ssh-agent -k 23:25:58 unset SSH_AUTH_SOCK; 23:25:58 unset SSH_AGENT_PID; 23:25:58 echo Agent pid 38 killed; 23:25:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:25:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:25:58 [ssh-agent] Looking for ssh-agent implementation... 23:25:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:25:59 $ docker exec 663a3ac1c957925efb707723b2972f67e2a523a624f656e0fd0ce4a8373d641e ssh-agent 23:25:59 SSH_AUTH_SOCK=/tmp/ssh-oJLzrvFcIF8A/agent.70 23:25:59 SSH_AGENT_PID=76 23:25:59 Running ssh-add (command line suppressed) 23:25:59 Identity added: /w/workspace/_app-service-configurable_PR-616@tmp/private_key_11755605687085207582.key (/w/workspace/_app-service-configurable_PR-616@tmp/private_key_11755605687085207582.key) 23:25:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:25:59 + git semver init 23:25:59 2023-10-30 23:25:59,854 [run_init] DEBUG init version:0.0.0 force:False 23:25:59 2023-10-30 23:25:59,855 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-616/.semver 23:25:59 2023-10-30 23:25:59,856 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-616/.semver 23:25:59 2023-10-30 23:25:59,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-616/.semver'], cwd=/w/workspace/_app-service-configurable_PR-616, universal_newlines=False, shell=None, istream=None) 23:26:00 2023-10-30 23:26:00,855 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-616/.git/info/exclude 23:26:00 2023-10-30 23:26:00,855 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-616/.semver/PR-616 with force:False 23:26:00 2023-10-30 23:26:00,855 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-616/.semver/PR-616 23:26:01 2023-10-30 23:26:00,858 [execute] INFO git cat-file --batch-check 23:26:01 2023-10-30 23:26:00,859 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-616/.semver, universal_newlines=False, shell=None, istream=) 23:26:01 2023-10-30 23:26:00,868 [execute] INFO git cat-file --batch 23:26:01 2023-10-30 23:26:00,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-616/.semver, universal_newlines=False, shell=None, istream=) 23:26:01 2023-10-30 23:26:00,872 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-616/.semver/PR-616 23:26:01 0.0.0 [Pipeline] } 23:26:01 $ docker exec --env ******** --env ******** 663a3ac1c957925efb707723b2972f67e2a523a624f656e0fd0ce4a8373d641e ssh-agent -k 23:26:01 unset SSH_AUTH_SOCK; 23:26:01 unset SSH_AGENT_PID; 23:26:01 echo Agent pid 76 killed; 23:26:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:26:01 + git semver [Pipeline] } 23:26:01 $ docker stop --time=1 663a3ac1c957925efb707723b2972f67e2a523a624f656e0fd0ce4a8373d641e 23:26:03 $ docker rm -f --volumes 663a3ac1c957925efb707723b2972f67e2a523a624f656e0fd0ce4a8373d641e [Pipeline] // withDockerContainer [Pipeline] sh 23:26:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:26:04 Stashed 1 file(s) [Pipeline] echo 23:26:04 [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 23:26:04 provisioning config files... 23:26:04 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config11301511415261241572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:04 ---> docker-login.sh 23:26:04 nexus3.edgexfoundry.org:10001 23:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:04 Configure a credential helper to remove this warning. See 23:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:04 23:26:04 Login Succeeded 23:26:04 nexus3.edgexfoundry.org:10002 23:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:04 Configure a credential helper to remove this warning. See 23:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:04 23:26:04 Login Succeeded 23:26:04 nexus3.edgexfoundry.org:10003 23:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:05 Configure a credential helper to remove this warning. See 23:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:05 23:26:05 Login Succeeded 23:26:05 nexus3.edgexfoundry.org:10004 23:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:05 Configure a credential helper to remove this warning. See 23:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:05 23:26:05 Login Succeeded 23:26:05 docker.io 23:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:05 Configure a credential helper to remove this warning. See 23:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:05 23:26:05 Login Succeeded 23:26:05 ---> docker-login.sh ends [Pipeline] } 23:26:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:26:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:26:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:26:05 ========================================================= 23:26:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:26:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 23:26:05 Sending build context to Docker daemon 3.369MB 23:26:05 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:26:05 Step 2/12 : FROM ${BASE} AS builder 23:26:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:26:06 7264a8db6415: Pulling fs layer 23:26:06 c4d48a809fc2: Pulling fs layer 23:26:06 4f1c88b9dad5: Pulling fs layer 23:26:06 ad3a456e5733: Pulling fs layer 23:26:06 33e27b845d1e: Pulling fs layer 23:26:06 c68163c4e522: Pulling fs layer 23:26:06 50da416c3ac9: Pulling fs layer 23:26:06 23d2d4c4bb30: Pulling fs layer 23:26:06 c68163c4e522: Waiting 23:26:06 33e27b845d1e: Waiting 23:26:06 50da416c3ac9: Waiting 23:26:06 23d2d4c4bb30: Waiting 23:26:06 ad3a456e5733: Waiting 23:26:06 c4d48a809fc2: Download complete 23:26:06 ad3a456e5733: Verifying Checksum 23:26:06 ad3a456e5733: Download complete 23:26:06 33e27b845d1e: Verifying Checksum 23:26:06 33e27b845d1e: Download complete 23:26:06 7264a8db6415: Verifying Checksum 23:26:06 7264a8db6415: Download complete 23:26:06 c68163c4e522: Verifying Checksum 23:26:06 c68163c4e522: Download complete 23:26:06 23d2d4c4bb30: Verifying Checksum 23:26:06 23d2d4c4bb30: Download complete 23:26:06 4f1c88b9dad5: Download complete 23:26:07 7264a8db6415: Pull complete 23:26:07 50da416c3ac9: Verifying Checksum 23:26:07 50da416c3ac9: Download complete 23:26:07 c4d48a809fc2: Pull complete 23:26:12 4f1c88b9dad5: Pull complete 23:26:12 ad3a456e5733: Pull complete 23:26:12 33e27b845d1e: Pull complete 23:26:12 c68163c4e522: Pull complete 23:26:16 50da416c3ac9: Pull complete 23:26:17 23d2d4c4bb30: Pull complete 23:26:17 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 23:26:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:26:17 ---> 0786185ac409 23:26:17 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:26:19 Still waiting to schedule task 23:26:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:26:23 ---> Running in c28b79fdddf1 23:26:23 Removing intermediate container c28b79fdddf1 23:26:23 ---> d9c27caad8cc 23:26:23 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:26:23 ---> Running in 39fe58c2dc94 23:26:23 Removing intermediate container 39fe58c2dc94 23:26:23 ---> 12d2278ec0d2 23:26:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:26:23 ---> Running in b299cca17bd6 23:26:23 Removing intermediate container b299cca17bd6 23:26:23 ---> 06f76f653b71 23:26:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:26:23 ---> Running in a7f41ad84416 23:26:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:26:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:26:23 OK: 264 MiB in 52 packages 23:26:24 Removing intermediate container a7f41ad84416 23:26:24 ---> 0fcf1e21208b 23:26:24 Step 7/12 : WORKDIR /app 23:26:24 ---> Running in e71973f5bfa0 23:26:24 Removing intermediate container e71973f5bfa0 23:26:24 ---> b476cdd7356e 23:26:24 Step 8/12 : COPY go.mod vendor* ./ 23:26:25 ---> 699722b356bc 23:26:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:26:25 ---> Running in e8215c64487b 23:27:21 Removing intermediate container e8215c64487b 23:27:21 ---> 5e05223558a7 23:27:21 Step 10/12 : COPY . . 23:27:21 ---> f400ee873dab 23:27:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:27:21 ---> Running in 35110f1e131e 23:27:21 Removing intermediate container 35110f1e131e 23:27:21 ---> d5c7f0a41e70 23:27:21 Step 12/12 : RUN $MAKE 23:27:21 ---> Running in 6908c77540a3 23:27:21 noop 23:27:21 Removing intermediate container 6908c77540a3 23:27:21 ---> a946fd25c739 23:27:21 Successfully built a946fd25c739 23:27:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:22 + docker inspect -f . ci-base-image-x86_64 23:27:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:22 prd-ubuntu20.04-docker-8c-8g-15388 does not seem to be running inside a container 23:27:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-616 -v /w/workspace/_app-service-configurable_PR-616:/w/workspace/_app-service-configurable_PR-616:rw,z -v /w/workspace/_app-service-configurable_PR-616@tmp:/w/workspace/_app-service-configurable_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:27:22 $ docker top 1b934e6d114a1e7b001f102c860c888b08138f3b709e312996b98f1639cc2312 -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:23 + go version 23:27:23 go version go1.21.0 linux/amd64 [Pipeline] } 23:27:23 $ docker stop --time=1 1b934e6d114a1e7b001f102c860c888b08138f3b709e312996b98f1639cc2312 23:27:24 $ docker rm -f --volumes 1b934e6d114a1e7b001f102c860c888b08138f3b709e312996b98f1639cc2312 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:24 + docker inspect -f . ci-base-image-x86_64 23:27:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:24 prd-ubuntu20.04-docker-8c-8g-15388 does not seem to be running inside a container 23:27: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-616 -v /w/workspace/_app-service-configurable_PR-616:/w/workspace/_app-service-configurable_PR-616:rw,z -v /w/workspace/_app-service-configurable_PR-616@tmp:/w/workspace/_app-service-configurable_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:27:25 $ docker top 2ca7b7b827e6ae9c01ad4fb623ba58a333c5edf32f9e7de1b01ec9321201e2ae -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:25 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-616 [Pipeline] fileExists [Pipeline] sh 23:27:25 + make test 23:27:25 go test -race -coverprofile=coverage.out ./... 23:27:47 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:28:06 go vet ./... 23:28:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:28:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:28:09 ./bin/test-attribution-txt.sh [Pipeline] echo 23:28:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:28:09 $ docker stop --time=1 2ca7b7b827e6ae9c01ad4fb623ba58a333c5edf32f9e7de1b01ec9321201e2ae 23:28:15 $ docker rm -f --volumes 2ca7b7b827e6ae9c01ad4fb623ba58a333c5edf32f9e7de1b01ec9321201e2ae [Pipeline] // withDockerContainer [Pipeline] sh 23:28:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:28:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:28:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:28:16 + ls -al . 23:28:16 total 180 23:28:16 drwxrwxr-x 7 jenkins jenkins 4096 Oct 30 23:27 . 23:28:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 23:25 .. 23:28:16 -rw-rw-r-- 1 jenkins jenkins 119 Oct 30 23:25 .dockerignore 23:28:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 23:27 .git 23:28:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 23:25 .github 23:28:16 -rw-rw-r-- 1 jenkins jenkins 106 Oct 30 23:25 .gitignore 23:28:16 -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 23:25 .golangci.yml 23:28:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 23:26 .semver 23:28:16 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 30 23:25 Attribution.txt 23:28:16 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 30 23:25 CHANGELOG.md 23:28:16 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 30 23:25 Dockerfile 23:28:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 23:25 GOVERNANCE.md 23:28:16 -rw-rw-r-- 1 jenkins jenkins 666 Oct 30 23:25 Jenkinsfile 23:28:16 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 30 23:25 LICENSE 23:28:16 -rw-rw-r-- 1 jenkins jenkins 618 Oct 30 23:25 OWNERS.md 23:28:16 -rw-rw-r-- 1 jenkins jenkins 4582 Oct 30 23:25 README.md 23:28:16 -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 23:26 VERSION 23:28:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 23:25 bin 23:28:16 -rw-r--r-- 1 jenkins jenkins 13 Oct 30 23:27 coverage.out 23:28:16 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 30 23:25 go.mod 23:28:16 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 30 23:25 go.sum 23:28:16 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 30 23:25 main.go 23:28:16 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 30 23:25 makefile 23:28:16 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 23:25 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:17 + 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=a0105d77f475df03baf4e75debaff7bd55e68afc --label arch=amd64 --label version=0.0.0 . 23:28:17 Sending build context to Docker daemon 3.37MB 23:28:17 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 23:28:17 Step 2/26 : FROM ${BASE} AS builder 23:28:17 ---> a946fd25c739 23:28:17 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:28:18 ---> Running in 1b77d94b4421 23:28:18 Removing intermediate container 1b77d94b4421 23:28:18 ---> 01ed7cb20995 23:28:18 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:28:18 ---> Running in db95be17a5ba 23:28:19 Removing intermediate container db95be17a5ba 23:28:19 ---> 812002e942de 23:28:19 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:28:20 ---> Running in 86d88f9eb5a0 23:28:20 Removing intermediate container 86d88f9eb5a0 23:28:20 ---> f7cbe4678129 23:28:20 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:28:20 ---> Running in 1029dd567af0 23:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:28:21 OK: 264 MiB in 52 packages 23:28:22 Removing intermediate container 1029dd567af0 23:28:22 ---> b9f6ab75ffa2 23:28:22 Step 7/26 : WORKDIR /app 23:28:22 ---> Running in 1e98117431db 23:28:23 Removing intermediate container 1e98117431db 23:28:23 ---> f69bc79c94d5 23:28:23 Step 8/26 : COPY go.mod vendor* ./ 23:28:23 ---> 9396c20e8153 23:28:23 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:23 ---> Running in 40ed9148bd1b 23:28:25 Removing intermediate container 40ed9148bd1b 23:28:25 ---> d08aa022789d 23:28:25 Step 10/26 : COPY . . 23:28:26 ---> f072ba56338c 23:28:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:28:26 ---> Running in ac00a59cfdb4 23:28:26 Removing intermediate container ac00a59cfdb4 23:28:26 ---> ff0fe99d640e 23:28:26 Step 12/26 : RUN $MAKE 23:28:26 ---> Running in 3c4c2d8350a5 23:28:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 23:28:59 Removing intermediate container 3c4c2d8350a5 23:28:59 ---> 1efc2b8af2ae 23:28:59 Step 13/26 : FROM alpine:3.18 23:28:59 3.18: Pulling from library/alpine 23:28:59 96526aa774ef: Pulling fs layer 23:28:59 96526aa774ef: Verifying Checksum 23:28:59 96526aa774ef: Download complete 23:28:59 96526aa774ef: Pull complete 23:28:59 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:28:59 Status: Downloaded newer image for alpine:3.18 23:28:59 ---> 8ca4688f4f35 23:28:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:29:00 ---> Running in 70623194f58f 23:29:01 Removing intermediate container 70623194f58f 23:29:01 ---> 004b6882c62c 23:29:01 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:29:02 ---> Running in 9683d47911dd 23:29:04 Removing intermediate container 9683d47911dd 23:29:04 ---> 3549d8972377 23:29:04 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:29:05 ---> Running in 911fe8e89283 23:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:29:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:29:06 (1/2) Installing ca-certificates (20230506-r0) 23:29:06 (2/2) Installing dumb-init (1.2.5-r2) 23:29:06 Executing busybox-1.36.1-r2.trigger 23:29:06 Executing ca-certificates-20230506-r0.trigger 23:29:06 OK: 8 MiB in 17 packages 23:29:10 Removing intermediate container 911fe8e89283 23:29:10 ---> 781f702e317d 23:29:10 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:29:11 ---> 7db9dc3e2ea3 23:29:11 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:29:12 ---> 02787adfcba6 23:29:12 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:29:14 ---> 122b155e88d3 23:29:14 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:29:17 ---> 32f77f853557 23:29:17 Step 21/26 : EXPOSE 48095 23:29:18 ---> Running in 5f11f0db0394 23:29:19 Removing intermediate container 5f11f0db0394 23:29:19 ---> 9bc16411c64a 23:29:19 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:29:20 ---> Running in ee18254ccfc5 23:29:21 Removing intermediate container ee18254ccfc5 23:29:21 ---> 0fa137bed30b 23:29:21 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:29:22 ---> Running in 7d06e89d39fb 23:29:23 Removing intermediate container 7d06e89d39fb 23:29:23 ---> f28f833f593b 23:29:23 Step 24/26 : LABEL arch=amd64 23:29:24 ---> Running in 24e205b58875 23:29:25 Removing intermediate container 24e205b58875 23:29:25 ---> 0a452340a8fc 23:29:25 Step 25/26 : LABEL git_sha=a0105d77f475df03baf4e75debaff7bd55e68afc 23:29:26 ---> Running in 3a039d7a1576 23:29:28 Removing intermediate container 3a039d7a1576 23:29:28 ---> 09ad8f595ca2 23:29:28 Step 26/26 : LABEL version=0.0.0 23:29:29 ---> Running in f6fd3c6faa7d 23:29:30 Removing intermediate container f6fd3c6faa7d 23:29:30 ---> 605c9ebd7768 23:29:30 [Warning] One or more build-args [ARCH] were not consumed 23:29:30 Successfully built 605c9ebd7768 23:29:30 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 23:29:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:30 23:29:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:32 latest: Pulling from edgex-lftools-log-publisher 23:29:32 5eb5b503b376: Pulling fs layer 23:29:32 5c69ac0246d0: Pulling fs layer 23:29:32 ec43610c2a17: Pulling fs layer 23:29:32 3a2ae6a8a46f: Pulling fs layer 23:29:32 33b1e0a273af: Pulling fs layer 23:29:32 5d3b04190fa2: Pulling fs layer 23:29:32 2f39f015ded8: Pulling fs layer 23:29:32 33b1e0a273af: Waiting 23:29:32 5d3b04190fa2: Waiting 23:29:32 2f39f015ded8: Waiting 23:29:32 3a2ae6a8a46f: Waiting 23:29:32 5c69ac0246d0: Download complete 23:29:32 3a2ae6a8a46f: Verifying Checksum 23:29:32 3a2ae6a8a46f: Download complete 23:29:32 ec43610c2a17: Verifying Checksum 23:29:32 ec43610c2a17: Download complete 23:29:32 33b1e0a273af: Verifying Checksum 23:29:32 33b1e0a273af: Download complete 23:29:32 5d3b04190fa2: Verifying Checksum 23:29:32 5d3b04190fa2: Download complete 23:29:32 5eb5b503b376: Verifying Checksum 23:29:32 5eb5b503b376: Download complete 23:29:32 2f39f015ded8: Download complete 23:29:34 5eb5b503b376: Pull complete 23:29:35 5c69ac0246d0: Pull complete 23:29:36 ec43610c2a17: Pull complete 23:29:37 3a2ae6a8a46f: Pull complete 23:29:38 33b1e0a273af: Pull complete 23:29:39 5d3b04190fa2: Pull complete 23:29:45 2f39f015ded8: Pull complete 23:29:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:29:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:45 prd-ubuntu20.04-docker-8c-8g-15388 does not seem to be running inside a container 23:29:45 $ 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-616 -v /w/workspace/_app-service-configurable_PR-616:/w/workspace/_app-service-configurable_PR-616:rw,z -v /w/workspace/_app-service-configurable_PR-616@tmp:/w/workspace/_app-service-configurable_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:30:01 $ docker top 5a517a85eb9c8e0f85254cb9271386154ed29dcdc5ef6e303e59713d38fd4f2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:01 ---> job-cost.sh 23:30:01 lf-activate-venv: SKIPPING 23:30:01 INFO: No Stack... 23:30:01 INFO: Retrieving Pricing Info for: v3-standard-8 23:30:02 INFO: Archiving Costs [Pipeline] sh 23:30:02 + cat /w/workspace/_app-service-configurable_PR-616/archives/cost.csv 23:30:02 + cut -d, -f6 [Pipeline] lock 23:30:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-616-2-stack-cost] 23:30:02 Resource [jenkins-edgexfoundry-app-service-configurable-PR-616-2-stack-cost] did not exist. Created. 23:30:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-616-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:30:02 + echo total: 0.2199999988079071 [Pipeline] stash 23:30:02 Stashed 1 file(s) [Pipeline] } 23:30:02 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-616-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:30:02 $ docker stop --time=1 5a517a85eb9c8e0f85254cb9271386154ed29dcdc5ef6e303e59713d38fd4f2d 23:30:04 $ docker rm -f --volumes 5a517a85eb9c8e0f85254cb9271386154ed29dcdc5ef6e303e59713d38fd4f2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:37:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15511 in /w/workspace/_app-service-configurable_PR-616 [Pipeline] { [Pipeline] ws 23:37:50 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 23:37:50 Selected Git installation does not exist. Using Default 23:37:50 The recommended git tool is: NONE 23:37:57 using credential edgex-jenkins-ssh 23:37:57 Cloning the remote Git repository 23:37:57 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 23:37:57 > git init /w/workspace/app-service-configurable/2 # timeout=10 23:37:57 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:37:57 > git --version # timeout=10 23:37:57 > git --version # 'git version 2.25.1' 23:37:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:37:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:37:58 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:37:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:38:00 Merging remotes/origin/main commit c583aa4fb078343a3c888109ea4df2cf2137b3df into PR head commit a0105d77f475df03baf4e75debaff7bd55e68afc 23:38:01 Merge succeeded, producing a0105d77f475df03baf4e75debaff7bd55e68afc 23:38:01 Checking out Revision a0105d77f475df03baf4e75debaff7bd55e68afc (PR-616) 23:38:00 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 23:38:00 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 23:38:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:38:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/616/head:refs/remotes/origin/PR-616 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:38:00 > git config core.sparsecheckout # timeout=10 23:38:00 > git checkout -f a0105d77f475df03baf4e75debaff7bd55e68afc # timeout=10 23:38:01 > git remote # timeout=10 23:38:01 > git config --get remote.origin.url # timeout=10 23:38:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:38:01 > git merge c583aa4fb078343a3c888109ea4df2cf2137b3df # timeout=10 23:38:01 > git rev-parse HEAD^{commit} # timeout=10 23:38:01 > git config core.sparsecheckout # timeout=10 23:38:01 > git checkout -f a0105d77f475df03baf4e75debaff7bd55e68afc # timeout=10 23:38:04 Commit message: "docs: Update link to point to new docs section" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:38:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:38:05 % Total % Received % Xferd Average Speed Time Time Time Current 23:38:05 Dload Upload Total Spent Left Speed 23:38:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 23:38:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:38:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:38:06 + sudo tee /etc/docker/daemon.new 23:38:06 { 23:38:06 "registry-mirrors": [ 23:38:06 "https://nexus3.edgexfoundry.org:10001" 23:38:06 ], 23:38:06 "bip": "10.250.0.254/24", 23:38:06 "hosts": [ 23:38:06 "tcp://0.0.0.0:5555", 23:38:06 "unix:///var/run/docker.sock" 23:38:06 ], 23:38:06 "mtu": 1458, 23:38:06 "selinux-enabled": true, 23:38:06 "seccomp-profile": "/etc/docker/seccomp.json" 23:38:06 } [Pipeline] sh 23:38:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:38:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:38:25 provisioning config files... 23:38:25 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config1609839056871614949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:26 ---> docker-login.sh 23:38:26 nexus3.edgexfoundry.org:10001 23:38:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:26 Configure a credential helper to remove this warning. See 23:38:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:26 23:38:26 Login Succeeded 23:38:26 nexus3.edgexfoundry.org:10002 23:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:27 Configure a credential helper to remove this warning. See 23:38:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:27 23:38:27 Login Succeeded 23:38:27 nexus3.edgexfoundry.org:10003 23:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:27 Configure a credential helper to remove this warning. See 23:38:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:27 23:38:27 Login Succeeded 23:38:27 nexus3.edgexfoundry.org:10004 23:38:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:28 Configure a credential helper to remove this warning. See 23:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:28 23:38:28 Login Succeeded 23:38:28 docker.io 23:38:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:28 Configure a credential helper to remove this warning. See 23:38:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:28 23:38:28 Login Succeeded 23:38:28 ---> docker-login.sh ends [Pipeline] } 23:38:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:38:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:38:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:38:28 ========================================================= 23:38:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:38:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 23:38:29 Sending build context to Docker daemon 157.7kB 23:38:31 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:38:31 Step 2/12 : FROM ${BASE} AS builder 23:38:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:38:31 9fda8d8052c6: Pulling fs layer 23:38:31 5d54e960e981: Pulling fs layer 23:38:31 c4a7e357bf2a: Pulling fs layer 23:38:31 f0e02332f6b5: Pulling fs layer 23:38:31 cefa15bbcfad: Pulling fs layer 23:38:31 17808c966233: Pulling fs layer 23:38:31 f4c1fc716caa: Pulling fs layer 23:38:31 cefa15bbcfad: Waiting 23:38:31 17808c966233: Waiting 23:38:31 f4c1fc716caa: Waiting 23:38:31 f0e02332f6b5: Waiting 23:38:31 5d54e960e981: Verifying Checksum 23:38:31 5d54e960e981: Download complete 23:38:31 f0e02332f6b5: Download complete 23:38:31 9fda8d8052c6: Verifying Checksum 23:38:31 9fda8d8052c6: Download complete 23:38:31 cefa15bbcfad: Verifying Checksum 23:38:31 cefa15bbcfad: Download complete 23:38:32 f4c1fc716caa: Verifying Checksum 23:38:32 f4c1fc716caa: Download complete 23:38:32 9fda8d8052c6: Pull complete 23:38:33 5d54e960e981: Pull complete 23:38:33 c4a7e357bf2a: Verifying Checksum 23:38:33 c4a7e357bf2a: Download complete 23:38:35 17808c966233: Verifying Checksum 23:38:35 17808c966233: Download complete 23:38:47 c4a7e357bf2a: Pull complete 23:38:47 f0e02332f6b5: Pull complete 23:38:47 cefa15bbcfad: Pull complete 23:38:57 17808c966233: Pull complete 23:39:00 f4c1fc716caa: Pull complete 23:39:00 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 23:39:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:39:00 ---> ea914061e18c 23:39:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 23:39:01 ---> Running in d06c8226cff6 23:39:02 Removing intermediate container d06c8226cff6 23:39:02 ---> eecd0e53ca91 23:39:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:39:02 ---> Running in 0c33d441d8a3 23:39:02 Removing intermediate container 0c33d441d8a3 23:39:02 ---> aad932ad7e19 23:39:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:39:02 ---> Running in 5d32d46c86e0 23:39:03 Removing intermediate container 5d32d46c86e0 23:39:03 ---> 8509d5638c24 23:39:03 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:39:03 ---> Running in 06be2ab1816a 23:39:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:39:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:39:06 OK: 266 MiB in 52 packages 23:39:07 Removing intermediate container 06be2ab1816a 23:39:07 ---> 6658fd88826a 23:39:07 Step 7/12 : WORKDIR /app 23:39:07 ---> Running in e40e4fe919cc 23:39:07 Removing intermediate container e40e4fe919cc 23:39:07 ---> 2d8484802896 23:39:07 Step 8/12 : COPY go.mod vendor* ./ 23:39:08 ---> f9995081be2b 23:39:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:39:08 ---> Running in b1f4118aa23b 23:40:30 Removing intermediate container b1f4118aa23b 23:40:30 ---> e310f861f1fc 23:40:30 Step 10/12 : COPY . . 23:40:30 ---> 23455e06a058 23:40:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:40:30 ---> Running in fab9e4f3983b 23:40:30 Removing intermediate container fab9e4f3983b 23:40:30 ---> bc1307a61345 23:40:30 Step 12/12 : RUN $MAKE 23:40:30 ---> Running in c3915c2c66a7 23:40:30 noop 23:40:30 Removing intermediate container c3915c2c66a7 23:40:30 ---> 112af478904f 23:40:30 Successfully built 112af478904f 23:40:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:30 + docker inspect -f . ci-base-image-arm64 23:40:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:30 prd-ubuntu20.04-docker-arm64-4c-16g-15511 does not seem to be running inside a container 23:40:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:40:32 $ docker top cffddb39a4faf7ec5fee963d61c4c47e73f2705501ca1f25f0af88826a1ced5a -eo pid,comm [Pipeline] { [Pipeline] sh 23:40:33 + go version 23:40:33 go version go1.21.0 linux/arm64 [Pipeline] } 23:40:33 $ docker stop --time=1 cffddb39a4faf7ec5fee963d61c4c47e73f2705501ca1f25f0af88826a1ced5a 23:40:34 $ docker rm -f --volumes cffddb39a4faf7ec5fee963d61c4c47e73f2705501ca1f25f0af88826a1ced5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:35 + docker inspect -f . ci-base-image-arm64 23:40:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:35 prd-ubuntu20.04-docker-arm64-4c-16g-15511 does not seem to be running inside a container 23:40:35 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:40:37 $ docker top 46ab507d0091e45000e7472cab1c4c4fcdc82d1932722811ba85a5d8fd7559f0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:40:38 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 23:40:38 + make test 23:40:38 go test -race -coverprofile=coverage.out ./... 23:43:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 23:43:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:43:30 go vet ./... 23:45:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:45:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:45:37 ./bin/test-attribution-txt.sh [Pipeline] echo 23:45:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:45:37 $ docker stop --time=1 46ab507d0091e45000e7472cab1c4c4fcdc82d1932722811ba85a5d8fd7559f0 23:45:39 $ docker rm -f --volumes 46ab507d0091e45000e7472cab1c4c4fcdc82d1932722811ba85a5d8fd7559f0 [Pipeline] // withDockerContainer [Pipeline] sh 23:45:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:41 Warning: overwriting stash ‘coverage-report’ 23:45:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:45:42 + ls -al . 23:45:42 total 176 23:45:42 drwxrwxr-x 6 jenkins jenkins 4096 Oct 30 23:40 . 23:45:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 23:37 .. 23:45:42 -rw-rw-r-- 1 jenkins jenkins 119 Oct 30 23:38 .dockerignore 23:45:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 23:38 .git 23:45:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 23:38 .github 23:45:42 -rw-rw-r-- 1 jenkins jenkins 106 Oct 30 23:38 .gitignore 23:45:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 23:38 .golangci.yml 23:45:42 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 30 23:38 Attribution.txt 23:45:42 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 30 23:38 CHANGELOG.md 23:45:42 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 30 23:38 Dockerfile 23:45:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 23:38 GOVERNANCE.md 23:45:42 -rw-rw-r-- 1 jenkins jenkins 666 Oct 30 23:38 Jenkinsfile 23:45:42 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 30 23:38 LICENSE 23:45:42 -rw-rw-r-- 1 jenkins jenkins 618 Oct 30 23:38 OWNERS.md 23:45:42 -rw-rw-r-- 1 jenkins jenkins 4582 Oct 30 23:38 README.md 23:45:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 23:26 VERSION 23:45:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 23:38 bin 23:45:42 -rw-r--r-- 1 jenkins jenkins 13 Oct 30 23:40 coverage.out 23:45:42 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 30 23:38 go.mod 23:45:42 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 30 23:38 go.sum 23:45:42 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 30 23:38 main.go 23:45:42 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 30 23:38 makefile 23:45:42 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 23:38 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:42 + 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=a0105d77f475df03baf4e75debaff7bd55e68afc --label arch=arm64 --label version=0.0.0 . 23:45:42 Sending build context to Docker daemon 158.7kB 23:45:43 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 23:45:43 Step 2/26 : FROM ${BASE} AS builder 23:45:43 ---> 112af478904f 23:45:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 23:45:47 ---> Running in 50e183ba4ddd 23:45:47 Removing intermediate container 50e183ba4ddd 23:45:47 ---> 37ff73e78eb8 23:45:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:45:47 ---> Running in 47a6c3cd202b 23:45:47 Removing intermediate container 47a6c3cd202b 23:45:47 ---> b54baf1f552f 23:45:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:45:47 ---> Running in 8cc88fde173a 23:45:47 Removing intermediate container 8cc88fde173a 23:45:47 ---> fbc29b8db53d 23:45:47 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:47 ---> Running in 88243f020546 23:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:45:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:45:50 OK: 266 MiB in 52 packages 23:45:51 Removing intermediate container 88243f020546 23:45:51 ---> 863169f3b0c7 23:45:51 Step 7/26 : WORKDIR /app 23:45:51 ---> Running in 9a55911abc3d 23:45:51 Removing intermediate container 9a55911abc3d 23:45:51 ---> 2fec560569d8 23:45:51 Step 8/26 : COPY go.mod vendor* ./ 23:45:52 ---> 67222ebbf8d4 23:45:52 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:52 ---> Running in ae0afe930181 23:45:55 Removing intermediate container ae0afe930181 23:45:55 ---> 2a4b37774b59 23:45:55 Step 10/26 : COPY . . 23:45:55 ---> b610362b5f7f 23:45:55 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:45:55 ---> Running in 8c601cf23bfe 23:45:55 Removing intermediate container 8c601cf23bfe 23:45:55 ---> 2a1368543286 23:45:55 Step 12/26 : RUN $MAKE 23:45:55 ---> Running in 4439037f38a3 23:45:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 23:48:03 Removing intermediate container 4439037f38a3 23:48:03 ---> f3d1e0ad02c2 23:48:03 Step 13/26 : FROM alpine:3.18 23:48:03 3.18: Pulling from library/alpine 23:48:03 579b34f0a95b: Pulling fs layer 23:48:03 579b34f0a95b: Verifying Checksum 23:48:03 579b34f0a95b: Download complete 23:48:03 579b34f0a95b: Pull complete 23:48:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:48:03 Status: Downloaded newer image for alpine:3.18 23:48:03 ---> 3cc203321400 23:48:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:48:03 ---> Running in a536467ce492 23:48:03 Removing intermediate container a536467ce492 23:48:03 ---> 0af8cf2ec551 23:48:03 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 23:48:03 ---> Running in d67daea81787 23:48:03 Removing intermediate container d67daea81787 23:48:03 ---> c57a2d6c12bc 23:48:03 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 23:48:03 ---> Running in 3836927cdeed 23:48:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:48:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:48:03 (1/2) Installing ca-certificates (20230506-r0) 23:48:03 (2/2) Installing dumb-init (1.2.5-r2) 23:48:03 Executing busybox-1.36.1-r2.trigger 23:48:03 Executing ca-certificates-20230506-r0.trigger 23:48:03 OK: 9 MiB in 17 packages 23:48:03 Removing intermediate container 3836927cdeed 23:48:03 ---> e8e8515033d0 23:48:03 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 23:48:04 ---> 83296032fed4 23:48:04 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 23:48:05 ---> d4a8bf7201f8 23:48:05 Step 19/26 : COPY --from=builder /app/res/ /res/ 23:48:05 ---> 3fe120f4115b 23:48:05 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 23:48:07 ---> 8ccda2d6796f 23:48:07 Step 21/26 : EXPOSE 48095 23:48:07 ---> Running in ba49b3cdbadb 23:48:07 Removing intermediate container ba49b3cdbadb 23:48:07 ---> 9f7a8007c03c 23:48:07 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 23:48:07 ---> Running in 69dfa81f5795 23:48:08 Removing intermediate container 69dfa81f5795 23:48:08 ---> a6562595ac43 23:48:08 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:48:08 ---> Running in 30c6f68583dd 23:48:08 Removing intermediate container 30c6f68583dd 23:48:08 ---> 0ff14621890f 23:48:08 Step 24/26 : LABEL arch=arm64 23:48:08 ---> Running in f18c3f7d89f0 23:48:09 Removing intermediate container f18c3f7d89f0 23:48:09 ---> 8ec029855e2b 23:48:09 Step 25/26 : LABEL git_sha=a0105d77f475df03baf4e75debaff7bd55e68afc 23:48:09 ---> Running in 7e06e5e70945 23:48:09 Removing intermediate container 7e06e5e70945 23:48:09 ---> 445d968acfb4 23:48:09 Step 26/26 : LABEL version=0.0.0 23:48:09 ---> Running in 784cdbec0777 23:48:09 Removing intermediate container 784cdbec0777 23:48:09 ---> 2230d263db38 23:48:09 [Warning] One or more build-args [ARCH] were not consumed 23:48:09 Successfully built 2230d263db38 23:48:09 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 23:48:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:10 23:48:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:10 arm64: Pulling from edgex-lftools-log-publisher 23:48:10 8998bd30e6a1: Pulling fs layer 23:48:10 04944245beec: Pulling fs layer 23:48:10 699f458cf7ca: Pulling fs layer 23:48:10 765212b225bb: Pulling fs layer 23:48:10 f23df028b6ca: Pulling fs layer 23:48:10 d65c8cfc05b1: Pulling fs layer 23:48:10 2437ff75d9bd: Pulling fs layer 23:48:10 765212b225bb: Waiting 23:48:10 f23df028b6ca: Waiting 23:48:10 d65c8cfc05b1: Waiting 23:48:10 2437ff75d9bd: Waiting 23:48:10 04944245beec: Verifying Checksum 23:48:10 04944245beec: Download complete 23:48:10 765212b225bb: Download complete 23:48:10 f23df028b6ca: Verifying Checksum 23:48:10 f23df028b6ca: Download complete 23:48:11 d65c8cfc05b1: Verifying Checksum 23:48:11 d65c8cfc05b1: Download complete 23:48:11 699f458cf7ca: Verifying Checksum 23:48:11 699f458cf7ca: Download complete 23:48:11 8998bd30e6a1: Verifying Checksum 23:48:11 8998bd30e6a1: Download complete 23:48:14 2437ff75d9bd: Verifying Checksum 23:48:14 2437ff75d9bd: Download complete 23:48:16 8998bd30e6a1: Pull complete 23:48:16 04944245beec: Pull complete 23:48:18 699f458cf7ca: Pull complete 23:48:18 765212b225bb: Pull complete 23:48:19 f23df028b6ca: Pull complete 23:48:19 d65c8cfc05b1: Pull complete 23:48:38 2437ff75d9bd: Pull complete 23:48:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:48:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:38 prd-ubuntu20.04-docker-arm64-4c-16g-15511 does not seem to be running inside a container 23:48:38 $ 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/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:48:41 $ docker top f1d17f8714d41e3679eeeaf960c280d80a1405c7a00ee9e1055984d108d521f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:42 ---> job-cost.sh 23:48:42 lf-activate-venv: SKIPPING 23:48:42 INFO: No Stack... 23:48:42 INFO: Retrieving Pricing Info for: v3-standard-4 23:48:43 INFO: Archiving Costs [Pipeline] sh 23:48:44 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 23:48:44 + cut -d, -f6 [Pipeline] lock 23:48:44 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-616-2-stack-cost] 23:48:44 Resource [jenkins-edgexfoundry-app-service-configurable-PR-616-2-stack-cost] did not exist. Created. 23:48:44 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-616-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:48:44 /w/workspace/app-service-configurable/2@tmp/durable-4006c2c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:48:45 + echo total: 0.10999999940395355 [Pipeline] stash 23:48:45 Warning: overwriting stash ‘stack-cost’ 23:48:45 Stashed 1 file(s) [Pipeline] } 23:48:45 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-616-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:48:45 $ docker stop --time=1 f1d17f8714d41e3679eeeaf960c280d80a1405c7a00ee9e1055984d108d521f8 23:48:47 $ docker rm -f --volumes f1d17f8714d41e3679eeeaf960c280d80a1405c7a00ee9e1055984d108d521f8 [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 23:48:47 provisioning config files... 23:48:47 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config7702677888726288685tmp [Pipeline] { [Pipeline] sh 23:48:47 + set +x 23:48:47 + curl -s https://codecov.io/bash 23:48:47 + bash -s -- 23:48:47 23:48:47 _____ _ 23:48:47 / ____| | | 23:48:47 | | ___ __| | ___ ___ _____ __ 23:48:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:48:47 | |___| (_) | (_| | __/ (_| (_) \ V / 23:48:47 \_____\___/ \__,_|\___|\___\___/ \_/ 23:48:47 Bash-1.0.6 23:48:47 23:48:47 23:48:47 ==> git version 2.25.1 found 23:48:47 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:48:47 Release-Date: 2020-01-08 23:48:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:48:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:48:47 ==> Jenkins CI detected. 23:48:47 current dir:  /w/workspace/_app-service-configurable_PR-616 23:48:47 project root: . 23:48:47 --> token set from env 23:48:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:48:47 ==> Running gcov in . (disable via -X gcov) 23:48:47 ==> Python coveragepy not found 23:48:47 ==> Searching for coverage reports in: 23:48:47 + . 23:48:47 -> Found 1 reports 23:48:47 ==> Detecting git/mercurial file structure 23:48:48 ==> Reading reports 23:48:48 + ./coverage.out bytes=13 23:48:48 ==> Appending adjustments 23:48:48 https://docs.codecov.io/docs/fixing-reports 23:48:48 + Found adjustments 23:48:48 ==> Gzipping contents 23:48:48 4.0K /tmp/codecov.gwq55D.gz 23:48:48 ==> Uploading reports 23:48:48 url: https://codecov.io 23:48:48 query: branch=PR-616&commit=a0105d77f475df03baf4e75debaff7bd55e68afc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-616%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=616&job=&cmd_args= 23:48:48 -> Pinging Codecov 23:48:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-616&commit=a0105d77f475df03baf4e75debaff7bd55e68afc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-616%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=616&job=&cmd_args= 23:48:48 -> Uploading to 23:48:48 https://storage.googleapis.com/codecov/v4/raw/2023-10-30/A97CA9966030D2A3747ED39772930CCE/a0105d77f475df03baf4e75debaff7bd55e68afc/c0228802-1cbd-4eb6-b544-7c516969523b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231030%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231030T234847Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2267ac63c4ef47c28a85641084d443b1020cc8769d6ca8df4ea06e6ca26b3d10 23:48:48 % Total % Received % Xferd Average Speed Time Time Time Current 23:48:48 Dload Upload Total Spent Left Speed 23:48:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 854 --:--:-- --:--:-- --:--:-- 854 23:48:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/a0105d77f475df03baf4e75debaff7bd55e68afc [Pipeline] } 23:48:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:48:49 + [ -d /w/workspace/_app-service-configurable_PR-616/archives ] 23:48:49 + ls -al /w/workspace/_app-service-configurable_PR-616/archives 23:48:49 total 16 23:48:49 drwxr-xr-x 3 root root 4096 Oct 30 23:30 . 23:48:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 23:30 .. 23:48:49 drwxr-xr-x 2 root root 4096 Oct 30 23:30 cost 23:48:49 -rw-r--r-- 1 root root 96 Oct 30 23:30 cost.csv 23:48:49 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-616/archives 23:48:49 + ls -al /w/workspace/_app-service-configurable_PR-616/archives 23:48:49 total 16 23:48:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 23:30 . 23:48:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 23:30 .. 23:48:49 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 23:30 cost 23:48:49 -rw-r--r-- 1 jenkins jenkins 96 Oct 30 23:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:48:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:48:50 ---> package-listing.sh 23:48:50 ++ facter osfamily 23:48:50 ++ tr '[:upper:]' '[:lower:]' 23:48:50 + OS_FAMILY=debian 23:48:50 + workspace=/w/workspace/_app-service-configurable_PR-616 23:48:50 + START_PACKAGES=/tmp/packages_start.txt 23:48:50 + END_PACKAGES=/tmp/packages_end.txt 23:48:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:48:50 + PACKAGES=/tmp/packages_start.txt 23:48:50 + '[' /w/workspace/_app-service-configurable_PR-616 ']' 23:48:50 + PACKAGES=/tmp/packages_end.txt 23:48:50 + case "${OS_FAMILY}" in 23:48:50 + dpkg -l 23:48:50 + grep '^ii' 23:48:50 + '[' -f /tmp/packages_start.txt ']' 23:48:50 + '[' -f /tmp/packages_end.txt ']' 23:48:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:48:50 + '[' /w/workspace/_app-service-configurable_PR-616 ']' 23:48:50 + mkdir -p /w/workspace/_app-service-configurable_PR-616/archives/ 23:48:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-616/archives/ [Pipeline] echo 23:48:50 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-616/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:48:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:51 prd-ubuntu20.04-docker-8c-8g-15388 does not seem to be running inside a container 23:48:51 $ 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-616/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-616 -v /w/workspace/_app-service-configurable_PR-616:/w/workspace/_app-service-configurable_PR-616:rw,z -v /w/workspace/_app-service-configurable_PR-616@tmp:/w/workspace/_app-service-configurable_PR-616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:48:51 $ docker top bd9107b3ed8ae8bb2d9dc80569210fc5dd491ff80c5b1ee414ea5bf54553abf4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:52 + touch /tmp/pre-build-complete [Pipeline] sh 23:48:52 + mkdir -p /var/log/sysstat [Pipeline] sh 23:48:52 + ls /var/log/sa-host 23:48:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:48:52 provisioning config files... 23:48:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-616@tmp/config13509485157389838572tmp [Pipeline] { [Pipeline] echo 23:48:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:48:52 ---> create-netrc.sh [Pipeline] } 23:48:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:48:53 ---> python-tools-install.sh [Pipeline] echo 23:48:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:48:53 ---> sudo-logs.sh 23:48:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:48:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:48:53 ---> job-cost.sh 23:48:53 lf-activate-venv: SKIPPING 23:48:53 DEBUG: total: 0.2199999988079071 23:48:53 INFO: Retrieving Stack Cost... 23:48:54 INFO: Retrieving Pricing Info for: v3-standard-8 23:48:54 INFO: Archiving Costs [Pipeline] echo 23:48:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:48:55 ---> logs-deploy.sh 23:48:55 lf-activate-venv: SKIPPING 23:48:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-616/2 23:48:55 INFO: archiving workspace using pattern(s): 23:48:55 Archives upload complete. 23:48:55 INFO: archiving logs to Nexus