Pull request #499 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 ae39904e971e53395142a1d4961f856ce3de6e9a+a0e8a3cf402e2d18cab125a1c4a8a92554f18848 (5650ac7314b0cd697854c958ac4377c1c8fcac90) 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-ssh18258121443964077838.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10883774783223337236.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-499/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-499/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1006565456751052812.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh3774716121558696196.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-499/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-499/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3908262806878202003.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-1315’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-1316’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-1843’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1890’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1894’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1903’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-1897’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1904 in /w/workspace/_app-service-configurable_PR-499 [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-499 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a0e8a3cf402e2d18cab125a1c4a8a92554f18848 into PR head commit ae39904e971e53395142a1d4961f856ce3de6e9a > 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/499/head:refs/remotes/origin/PR-499 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae39904e971e53395142a1d4961f856ce3de6e9a # 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 a0e8a3cf402e2d18cab125a1c4a8a92554f18848 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing ae39904e971e53395142a1d4961f856ce3de6e9a Checking out Revision ae39904e971e53395142a1d4961f856ce3de6e9a (PR-499) > git config core.sparsecheckout # timeout=10 > git checkout -f ae39904e971e53395142a1d4961f856ce3de6e9a # timeout=10 Commit message: "refactor!: Adjust configuration for reworked MessageBs config" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:06:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:06:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv > git rev-list --no-walk fb972586f78bb053efe3d308660c2429e4eb405a # timeout=10 [Pipeline] { [Pipeline] echo 18:06:22 ========================================================= 18:06:22 EdgeX Global Pipelines Version Info 18:06:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:06:22 ------------------- 18:06:22 stable info: 18:06:22 ------------------- 18:06:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:06:22 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:06:22 Message: update stable to v1.0.244 18:06:23 ------------------- 18:06:23 experimental info: 18:06:23 ------------------- 18:06:23 Commited By: **** collab-it+edgex@linuxfoundation.org 18:06:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:06:23 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:06:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-499 [Pipeline] echo 18:06:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-499 [Pipeline] echo 18:06:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-499 [Pipeline] echo 18:06:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae39904e971e53395142a1d4961f856ce3de6e9a [Pipeline] echo 18:06:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae39904 [Pipeline] echo 18:06:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:24 provisioning config files... 18:06:24 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-499@tmp/config1545508373805031185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:24 ---> docker-login.sh 18:06:24 nexus3.edgexfoundry.org:10001 18:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:24 Configure a credential helper to remove this warning. See 18:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:24 18:06:24 Login Succeeded 18:06:24 nexus3.edgexfoundry.org:10002 18:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:24 Configure a credential helper to remove this warning. See 18:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:24 18:06:24 Login Succeeded 18:06:24 nexus3.edgexfoundry.org:10003 18:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:24 Configure a credential helper to remove this warning. See 18:06:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:24 18:06:24 Login Succeeded 18:06:24 nexus3.edgexfoundry.org:10004 18:06:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:25 Configure a credential helper to remove this warning. See 18:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:25 18:06:25 Login Succeeded 18:06:25 docker.io 18:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:25 Configure a credential helper to remove this warning. See 18:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:25 18:06:25 Login Succeeded 18:06:25 ---> docker-login.sh ends [Pipeline] } 18:06:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:06:25 + git rev-list -1 --merges ae39904e971e53395142a1d4961f856ce3de6e9a~1..ae39904e971e53395142a1d4961f856ce3de6e9a [Pipeline] echo 18:06:25 -----------> git rev-list -1 --merges ae39904e971e53395142a1d4961f856ce3de6e9a~1..ae39904e971e53395142a1d4961f856ce3de6e9a ae39904e971e53395142a1d4961f856ce3de6e9a [false] [Pipeline] sh 18:06:26 + git log --format=format:%s -1 ae39904e971e53395142a1d4961f856ce3de6e9a [Pipeline] echo 18:06:26 ========================================================= 18:06:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:06:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:06:26 + git log --format=format:%s -1 ae39904e971e53395142a1d4961f856ce3de6e9a [Pipeline] echo 18:06:26 [semverPrep] GIT_COMMIT: ae39904e971e53395142a1d4961f856ce3de6e9a, Commit Message: refactor!: Adjust configuration for reworked MessageBs config [Pipeline] echo 18:06:26 [semverPrep] This is not a build commit. [Pipeline] sh 18:06:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:06:26 + grep -v github /etc/ssh/ssh_known_hosts 18:06:26 + [ -e /tmp/ssh_known_hosts ] 18:06:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:06:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:06:26 + sudo tee -a /etc/ssh/ssh_known_hosts 18:06:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:27 18:06:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:27 0.1.4: Pulling from edgex-devops/py-git-semver 18:06:27 b85a868b505f: Pulling fs layer 18:06:27 e2be974225ed: Pulling fs layer 18:06:27 339a4e72a1f5: Pulling fs layer 18:06:27 988bab9f4d93: Pulling fs layer 18:06:27 1469e6f7b9e6: Pulling fs layer 18:06:27 eaf3925da568: Pulling fs layer 18:06:27 bab4dde63d76: Pulling fs layer 18:06:27 bde34c3a00c8: Pulling fs layer 18:06:27 b352a97aabf1: Pulling fs layer 18:06:27 4872d77fe225: Pulling fs layer 18:06:27 5851b861e8e6: Pulling fs layer 18:06:27 bab4dde63d76: Waiting 18:06:27 bde34c3a00c8: Waiting 18:06:27 b352a97aabf1: Waiting 18:06:27 4872d77fe225: Waiting 18:06:27 5851b861e8e6: Waiting 18:06:27 988bab9f4d93: Waiting 18:06:27 1469e6f7b9e6: Waiting 18:06:27 eaf3925da568: Waiting 18:06:27 e2be974225ed: Verifying Checksum 18:06:27 e2be974225ed: Download complete 18:06:27 988bab9f4d93: Verifying Checksum 18:06:27 988bab9f4d93: Download complete 18:06:27 1469e6f7b9e6: Verifying Checksum 18:06:27 1469e6f7b9e6: Download complete 18:06:27 eaf3925da568: Verifying Checksum 18:06:27 eaf3925da568: Download complete 18:06:27 339a4e72a1f5: Verifying Checksum 18:06:27 339a4e72a1f5: Download complete 18:06:27 bde34c3a00c8: Verifying Checksum 18:06:27 bde34c3a00c8: Download complete 18:06:27 b352a97aabf1: Download complete 18:06:27 4872d77fe225: Download complete 18:06:27 5851b861e8e6: Verifying Checksum 18:06:27 5851b861e8e6: Download complete 18:06:27 b85a868b505f: Download complete 18:06:28 bab4dde63d76: Verifying Checksum 18:06:28 bab4dde63d76: Download complete 18:06:28 b85a868b505f: Pull complete 18:06:28 e2be974225ed: Pull complete 18:06:29 339a4e72a1f5: Pull complete 18:06:29 988bab9f4d93: Pull complete 18:06:29 1469e6f7b9e6: Pull complete 18:06:30 eaf3925da568: Pull complete 18:06:31 bab4dde63d76: Pull complete 18:06:31 bde34c3a00c8: Pull complete 18:06:31 b352a97aabf1: Pull complete 18:06:31 4872d77fe225: Pull complete 18:06:31 5851b861e8e6: Pull complete 18:06:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:06:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:06:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:32 prd-ubuntu20.04-docker-8c-8g-1904 does not seem to be running inside a container 18:06:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-499 -v /w/workspace/_app-service-configurable_PR-499:/w/workspace/_app-service-configurable_PR-499:rw,z -v /w/workspace/_app-service-configurable_PR-499@tmp:/w/workspace/_app-service-configurable_PR-499@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 18:06:34 $ docker top c80d66b3ffe14c49d233f7529108e11756eccc9ffb8b25f0ea07233fa1329622 -eo pid,comm 18:06:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:06:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:06:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:35 [ssh-agent] Looking for ssh-agent implementation... 18:06:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:35 $ docker exec c80d66b3ffe14c49d233f7529108e11756eccc9ffb8b25f0ea07233fa1329622 ssh-agent 18:06:35 SSH_AUTH_SOCK=/tmp/ssh-C9R05MGprHkR/agent.33 18:06:35 SSH_AGENT_PID=39 18:06:35 Running ssh-add (command line suppressed) 18:06:35 Identity added: /w/workspace/_app-service-configurable_PR-499@tmp/private_key_4441219183890115028.key (/w/workspace/_app-service-configurable_PR-499@tmp/private_key_4441219183890115028.key) 18:06:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:35 + git tag --points-at HEAD [Pipeline] } 18:06:35 $ docker exec --env ******** --env ******** c80d66b3ffe14c49d233f7529108e11756eccc9ffb8b25f0ea07233fa1329622 ssh-agent -k 18:06:35 unset SSH_AUTH_SOCK; 18:06:35 unset SSH_AGENT_PID; 18:06:35 echo Agent pid 39 killed; 18:06:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:06:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:06:35 [ssh-agent] Looking for ssh-agent implementation... 18:06:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:06:35 $ docker exec c80d66b3ffe14c49d233f7529108e11756eccc9ffb8b25f0ea07233fa1329622 ssh-agent 18:06:36 SSH_AUTH_SOCK=/tmp/ssh-uxxSrOQGyRzp/agent.71 18:06:36 SSH_AGENT_PID=77 18:06:36 Running ssh-add (command line suppressed) 18:06:36 Identity added: /w/workspace/_app-service-configurable_PR-499@tmp/private_key_7075292672862257182.key (/w/workspace/_app-service-configurable_PR-499@tmp/private_key_7075292672862257182.key) 18:06:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:06:36 + git semver init 18:06:36 2023-01-11 18:06:36,610 [run_init] DEBUG init version:0.0.0 force:False 18:06:36 2023-01-11 18:06:36,611 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-499/.semver 18:06:36 2023-01-11 18:06:36,612 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-499/.semver 18:06:36 2023-01-11 18:06:36,612 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-499/.semver'], cwd=/w/workspace/_app-service-configurable_PR-499, universal_newlines=False, shell=None, istream=None) 18:06:37 2023-01-11 18:06:37,532 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-499/.git/info/exclude 18:06:37 2023-01-11 18:06:37,533 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-499/.semver/PR-499 with force:False 18:06:37 2023-01-11 18:06:37,533 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-499/.semver/PR-499 18:06:37 2023-01-11 18:06:37,536 [execute] INFO git cat-file --batch-check 18:06:37 2023-01-11 18:06:37,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-499/.semver, universal_newlines=False, shell=None, istream=) 18:06:37 2023-01-11 18:06:37,542 [execute] INFO git cat-file --batch 18:06:37 2023-01-11 18:06:37,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-499/.semver, universal_newlines=False, shell=None, istream=) 18:06:37 2023-01-11 18:06:37,547 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-499/.semver/PR-499 18:06:37 0.0.0 [Pipeline] } 18:06:37 $ docker exec --env ******** --env ******** c80d66b3ffe14c49d233f7529108e11756eccc9ffb8b25f0ea07233fa1329622 ssh-agent -k 18:06:37 unset SSH_AUTH_SOCK; 18:06:37 unset SSH_AGENT_PID; 18:06:37 echo Agent pid 77 killed; 18:06:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:06:38 + git semver [Pipeline] } 18:06:38 $ docker stop --time=1 c80d66b3ffe14c49d233f7529108e11756eccc9ffb8b25f0ea07233fa1329622 18:06:39 $ docker rm -f --volumes c80d66b3ffe14c49d233f7529108e11756eccc9ffb8b25f0ea07233fa1329622 [Pipeline] // withDockerContainer [Pipeline] sh 18:06:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:06:40 Stashed 1 file(s) [Pipeline] echo 18:06:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:40 provisioning config files... 18:06:40 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-499@tmp/config3834520014911679883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:40 ---> docker-login.sh 18:06:40 nexus3.edgexfoundry.org:10001 18:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:40 Configure a credential helper to remove this warning. See 18:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:40 18:06:40 Login Succeeded 18:06:40 nexus3.edgexfoundry.org:10002 18:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:40 Configure a credential helper to remove this warning. See 18:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:40 18:06:40 Login Succeeded 18:06:40 nexus3.edgexfoundry.org:10003 18:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:40 Configure a credential helper to remove this warning. See 18:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:40 18:06:40 Login Succeeded 18:06:40 nexus3.edgexfoundry.org:10004 18:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:40 Configure a credential helper to remove this warning. See 18:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:40 18:06:40 Login Succeeded 18:06:40 docker.io 18:06:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:41 Configure a credential helper to remove this warning. See 18:06:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:41 18:06:41 Login Succeeded 18:06:41 ---> docker-login.sh ends [Pipeline] } 18:06:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:06:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:06:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:06:41 ========================================================= 18:06:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:06:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:06:41 Sending build context to Docker daemon 3.215MB 18:06:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:06:41 Step 2/12 : FROM ${BASE} AS builder 18:06:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:06:41 213ec9aee27d: Pulling fs layer 18:06:41 4583459ba037: Pulling fs layer 18:06:41 93c1e223e6f2: Pulling fs layer 18:06:41 53926ce57604: Pulling fs layer 18:06:41 21b2b0c7a3f4: Pulling fs layer 18:06:41 22ff95d597cd: Pulling fs layer 18:06:41 53926ce57604: Waiting 18:06:41 21b2b0c7a3f4: Waiting 18:06:41 12d6caf4c0d1: Pulling fs layer 18:06:41 96b7cbca73a9: Pulling fs layer 18:06:41 a7acece74701: Pulling fs layer 18:06:41 22ff95d597cd: Waiting 18:06:41 12d6caf4c0d1: Waiting 18:06:41 96b7cbca73a9: Waiting 18:06:41 a7acece74701: Waiting 18:06:41 93c1e223e6f2: Verifying Checksum 18:06:41 93c1e223e6f2: Download complete 18:06:41 4583459ba037: Verifying Checksum 18:06:41 4583459ba037: Download complete 18:06:41 21b2b0c7a3f4: Download complete 18:06:41 22ff95d597cd: Verifying Checksum 18:06:41 22ff95d597cd: Download complete 18:06:41 213ec9aee27d: Verifying Checksum 18:06:41 12d6caf4c0d1: Verifying Checksum 18:06:41 12d6caf4c0d1: Download complete 18:06:41 213ec9aee27d: Pull complete 18:06:42 4583459ba037: Pull complete 18:06:42 93c1e223e6f2: Pull complete 18:06:42 a7acece74701: Verifying Checksum 18:06:42 a7acece74701: Download complete 18:06:42 96b7cbca73a9: Verifying Checksum 18:06:42 96b7cbca73a9: Download complete 18:06:42 53926ce57604: Verifying Checksum 18:06:42 53926ce57604: Download complete 18:06:46 53926ce57604: Pull complete 18:06:46 21b2b0c7a3f4: Pull complete 18:06:46 22ff95d597cd: Pull complete 18:06:46 12d6caf4c0d1: Pull complete 18:06:48 96b7cbca73a9: Pull complete 18:06:49 a7acece74701: Pull complete 18:06:49 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:06:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:06:49 ---> db6d94c90886 18:06:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:06:54 ---> Running in 2b8383dc834f 18:06:54 Removing intermediate container 2b8383dc834f 18:06:54 ---> 51aa4f7c4d60 18:06:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:06:54 ---> Running in e64531502704 18:06:54 Removing intermediate container e64531502704 18:06:54 ---> 716f08e3222c 18:06:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:06:54 ---> Running in 8e24b750738f 18:06:54 Removing intermediate container 8e24b750738f 18:06:54 ---> f953e79ba4df 18:06:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:06:54 ---> Running in 4e84d8ed52cd 18:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:06:54 OK: 211 MiB in 51 packages 18:06:55 Removing intermediate container 4e84d8ed52cd 18:06:55 ---> 9c8eb4c598b9 18:06:55 Step 7/12 : WORKDIR /app 18:06:55 ---> Running in 192630c1dde8 18:06:55 Removing intermediate container 192630c1dde8 18:06:55 ---> 1725ca99305d 18:06:55 Step 8/12 : COPY go.mod vendor* ./ 18:06:55 Still waiting to schedule task 18:06:55 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:06:55 ---> 73cea473aa10 18:06:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:06:55 ---> Running in 9a4582ed7bd4 18:07:17 Removing intermediate container 9a4582ed7bd4 18:07:17 ---> 803962dd881f 18:07:17 Step 10/12 : COPY . . 18:07:17 ---> 3c7f5c9733a6 18:07:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:07:17 ---> Running in de29aab1fb2e 18:07:17 Removing intermediate container de29aab1fb2e 18:07:17 ---> 6d75f3a61013 18:07:17 Step 12/12 : RUN $MAKE 18:07:17 ---> Running in d7815a90274a 18:07:17 noop 18:07:17 Removing intermediate container d7815a90274a 18:07:17 ---> 71af283cc98e 18:07:17 Successfully built 71af283cc98e 18:07:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:17 + docker inspect -f . ci-base-image-x86_64 18:07:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:17 prd-ubuntu20.04-docker-8c-8g-1904 does not seem to be running inside a container 18:07:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-499 -v /w/workspace/_app-service-configurable_PR-499:/w/workspace/_app-service-configurable_PR-499:rw,z -v /w/workspace/_app-service-configurable_PR-499@tmp:/w/workspace/_app-service-configurable_PR-499@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 18:07:18 $ docker top 83966a98e10f7fa9d0683e39ad05aca7a5f3d5db3aec6ab6f864f438516abd27 -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:18 + go version 18:07:18 go version go1.18.7 linux/amd64 [Pipeline] } 18:07:18 $ docker stop --time=1 83966a98e10f7fa9d0683e39ad05aca7a5f3d5db3aec6ab6f864f438516abd27 18:07:19 $ docker rm -f --volumes 83966a98e10f7fa9d0683e39ad05aca7a5f3d5db3aec6ab6f864f438516abd27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:20 + docker inspect -f . ci-base-image-x86_64 18:07:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:07:20 prd-ubuntu20.04-docker-8c-8g-1904 does not seem to be running inside a container 18:07:20 $ 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-499 -v /w/workspace/_app-service-configurable_PR-499:/w/workspace/_app-service-configurable_PR-499:rw,z -v /w/workspace/_app-service-configurable_PR-499@tmp:/w/workspace/_app-service-configurable_PR-499@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 18:07:20 $ docker top 8ddbb69483d30288c668cd364073b6e455650c2af3435cf5be772b05afc72d53 -eo pid,comm [Pipeline] { [Pipeline] sh 18:07:20 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-499 [Pipeline] fileExists [Pipeline] sh 18:07:21 + make test 18:07:21 go test -race -coverprofile=coverage.out ./... 18:07:39 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:07:39 go vet ./... 18:07:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:07:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:07:47 ./bin/test-attribution-txt.sh [Pipeline] echo 18:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:07:47 $ docker stop --time=1 8ddbb69483d30288c668cd364073b6e455650c2af3435cf5be772b05afc72d53 18:07:50 $ docker rm -f --volumes 8ddbb69483d30288c668cd364073b6e455650c2af3435cf5be772b05afc72d53 [Pipeline] // withDockerContainer [Pipeline] sh 18:07:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:07:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:07:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:07:52 + ls -al . 18:07:52 total 184 18:07:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:07 . 18:07:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:06 .. 18:07:52 -rw-rw-r-- 1 jenkins jenkins 119 Jan 11 18:06 .dockerignore 18:07:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:06 .git 18:07:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:06 .github 18:07:52 -rw-rw-r-- 1 jenkins jenkins 171 Jan 11 18:06 .gitignore 18:07:52 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:06 .semver 18:07:52 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 11 18:06 Attribution.txt 18:07:52 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 11 18:06 CHANGELOG.md 18:07:52 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 11 18:06 Dockerfile 18:07:52 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:06 GOVERNANCE.md 18:07:52 -rw-rw-r-- 1 jenkins jenkins 688 Jan 11 18:06 Jenkinsfile 18:07:52 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 11 18:06 LICENSE 18:07:52 -rw-rw-r-- 1 jenkins jenkins 618 Jan 11 18:06 OWNERS.md 18:07:52 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 11 18:06 README.md 18:07:52 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 18:06 VERSION 18:07:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:06 bin 18:07:52 -rw-r--r-- 1 jenkins jenkins 13 Jan 11 18:07 coverage.out 18:07:52 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 11 18:06 go.mod 18:07:52 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 11 18:06 go.sum 18:07:52 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 11 18:06 main.go 18:07:52 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 11 18:06 makefile 18:07:52 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 18:06 res 18:07:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:06 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:07:52 + 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=ae39904e971e53395142a1d4961f856ce3de6e9a --label arch=amd64 --label version=0.0.0 . 18:07:52 Sending build context to Docker daemon 3.216MB 18:07:52 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:07:52 Step 2/26 : FROM ${BASE} AS builder 18:07:52 ---> 71af283cc98e 18:07:52 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:07:52 ---> Running in 03eded0c3cba 18:07:52 Removing intermediate container 03eded0c3cba 18:07:52 ---> 825b2c8704cb 18:07:52 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:07:52 ---> Running in 35bd69f646ad 18:07:52 Removing intermediate container 35bd69f646ad 18:07:52 ---> b4605dc320c6 18:07:52 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:07:52 ---> Running in a991750127f4 18:07:52 Removing intermediate container a991750127f4 18:07:52 ---> 599407c267ac 18:07:52 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:07:52 ---> Running in 35d6570a4b7a 18:07:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:07:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:07:53 OK: 211 MiB in 51 packages 18:07:53 Removing intermediate container 35d6570a4b7a 18:07:53 ---> a2691ef73f51 18:07:53 Step 7/26 : WORKDIR /app 18:07:53 ---> Running in 0b88bd6a62e4 18:07:53 Removing intermediate container 0b88bd6a62e4 18:07:53 ---> f53fe5696a93 18:07:53 Step 8/26 : COPY go.mod vendor* ./ 18:07:53 ---> 79a45d00cd34 18:07:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:07:53 ---> Running in 6da538607621 18:07:54 Removing intermediate container 6da538607621 18:07:54 ---> 66081e641f09 18:07:54 Step 10/26 : COPY . . 18:07:54 ---> d7e59f9da4c3 18:07:54 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:07:54 ---> Running in 411fd2f93641 18:07:54 Removing intermediate container 411fd2f93641 18:07:54 ---> 86159e800239 18:07:54 Step 12/26 : RUN $MAKE 18:07:54 ---> Running in eb1ecd071d94 18:07:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:08:13 Removing intermediate container eb1ecd071d94 18:08:13 ---> bd224d8bccf8 18:08:13 Step 13/26 : FROM alpine:3.16 18:08:13 3.16: Pulling from library/alpine 18:08:13 ca7dd9ec2225: Pulling fs layer 18:08:13 ca7dd9ec2225: Verifying Checksum 18:08:13 ca7dd9ec2225: Download complete 18:08:13 ca7dd9ec2225: Pull complete 18:08:13 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:08:13 Status: Downloaded newer image for alpine:3.16 18:08:13 ---> bfe296a52501 18:08:13 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:08:13 ---> Running in d5407a57d9e1 18:08:13 Removing intermediate container d5407a57d9e1 18:08:13 ---> 3a7ca63ed39f 18:08:13 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:08:13 ---> Running in d200bf16dd83 18:08:13 Removing intermediate container d200bf16dd83 18:08:13 ---> b4c557cbbb86 18:08:13 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:08:13 ---> Running in 10ca66d6aaa5 18:08:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:08:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:08:14 (1/2) Installing ca-certificates (20220614-r0) 18:08:14 (2/2) Installing dumb-init (1.2.5-r1) 18:08:14 Executing busybox-1.35.0-r17.trigger 18:08:14 Executing ca-certificates-20220614-r0.trigger 18:08:14 OK: 6 MiB in 16 packages 18:08:14 Removing intermediate container 10ca66d6aaa5 18:08:14 ---> 7d107d0406d3 18:08:14 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:08:15 ---> 027628c854ef 18:08:15 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:08:15 ---> 8e90c5e94f75 18:08:15 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:08:15 ---> 255ceff58d10 18:08:15 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:08:16 ---> a2c926d55a70 18:08:16 Step 21/26 : EXPOSE 48095 18:08:16 ---> Running in cd94c8a7cc74 18:08:16 Removing intermediate container cd94c8a7cc74 18:08:16 ---> 98ce8fc9eca7 18:08:16 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:08:16 ---> Running in 9eebaffe4e88 18:08:16 Removing intermediate container 9eebaffe4e88 18:08:16 ---> b15e4979e5ff 18:08:16 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:08:16 ---> Running in 05954a1d99fc 18:08:16 Removing intermediate container 05954a1d99fc 18:08:16 ---> eb4cc1496c2d 18:08:16 Step 24/26 : LABEL arch=amd64 18:08:16 ---> Running in ed9ba7e19a4c 18:08:16 Removing intermediate container ed9ba7e19a4c 18:08:16 ---> 042ac3b53c3c 18:08:16 Step 25/26 : LABEL git_sha=ae39904e971e53395142a1d4961f856ce3de6e9a 18:08:16 ---> Running in c5413f8aa849 18:08:16 Removing intermediate container c5413f8aa849 18:08:16 ---> 40605d232921 18:08:16 Step 26/26 : LABEL version=0.0.0 18:08:16 ---> Running in 3ab12af08a8a 18:08:16 Removing intermediate container 3ab12af08a8a 18:08:16 ---> 4cd3f8e976c5 18:08:16 [Warning] One or more build-args [ARCH] were not consumed 18:08:16 Successfully built 4cd3f8e976c5 18:08:16 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:17 18:08:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:17 latest: Pulling from edgex-lftools-log-publisher 18:08:17 5eb5b503b376: Pulling fs layer 18:08:17 5c69ac0246d0: Pulling fs layer 18:08:17 ec43610c2a17: Pulling fs layer 18:08:17 3a2ae6a8a46f: Pulling fs layer 18:08:17 33b1e0a273af: Pulling fs layer 18:08:17 5d3b04190fa2: Pulling fs layer 18:08:17 2f39f015ded8: Pulling fs layer 18:08:17 3a2ae6a8a46f: Waiting 18:08:17 33b1e0a273af: Waiting 18:08:17 2f39f015ded8: Waiting 18:08:17 5d3b04190fa2: Waiting 18:08:17 5c69ac0246d0: Download complete 18:08:17 3a2ae6a8a46f: Verifying Checksum 18:08:17 3a2ae6a8a46f: Download complete 18:08:17 33b1e0a273af: Verifying Checksum 18:08:17 33b1e0a273af: Download complete 18:08:17 5d3b04190fa2: Verifying Checksum 18:08:17 5d3b04190fa2: Download complete 18:08:17 ec43610c2a17: Verifying Checksum 18:08:17 ec43610c2a17: Download complete 18:08:17 5eb5b503b376: Verifying Checksum 18:08:17 5eb5b503b376: Download complete 18:08:18 2f39f015ded8: Download complete 18:08:18 5eb5b503b376: Pull complete 18:08:18 5c69ac0246d0: Pull complete 18:08:19 ec43610c2a17: Pull complete 18:08:19 3a2ae6a8a46f: Pull complete 18:08:19 33b1e0a273af: Pull complete 18:08:19 5d3b04190fa2: Pull complete 18:08:23 2f39f015ded8: Pull complete 18:08:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:08:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:23 prd-ubuntu20.04-docker-8c-8g-1904 does not seem to be running inside a container 18:08:23 $ 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-499 -v /w/workspace/_app-service-configurable_PR-499:/w/workspace/_app-service-configurable_PR-499:rw,z -v /w/workspace/_app-service-configurable_PR-499@tmp:/w/workspace/_app-service-configurable_PR-499@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 18:08:27 $ docker top 014edfe6c586789f6720a6279abae032ed4b7dd1c52c27cccd639518d72a0eb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:27 ---> job-cost.sh 18:08:27 lf-activate-venv: SKIPPING 18:08:27 INFO: No Stack... 18:08:27 INFO: Retrieving Pricing Info for: v3-standard-8 18:08:28 INFO: Archiving Costs [Pipeline] sh 18:08:28 + cat /w/workspace/_app-service-configurable_PR-499/archives/cost.csv 18:08:28 + cut -d, -f6 [Pipeline] lock 18:08:28 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-499-2-stack-cost] 18:08:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-499-2-stack-cost] did not exist. Created. 18:08:28 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-499-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:08:29 + echo total: 0.2199999988079071 [Pipeline] stash 18:08:29 Stashed 1 file(s) [Pipeline] } 18:08:29 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-499-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:08:29 $ docker stop --time=1 014edfe6c586789f6720a6279abae032ed4b7dd1c52c27cccd639518d72a0eb0 18:08:30 $ docker rm -f --volumes 014edfe6c586789f6720a6279abae032ed4b7dd1c52c27cccd639518d72a0eb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:10:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1906 in /w/workspace/_app-service-configurable_PR-499 [Pipeline] { [Pipeline] ws 18:10:00 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 18:10:00 Selected Git installation does not exist. Using Default 18:10:00 The recommended git tool is: NONE 18:10:06 using credential edgex-jenkins-ssh 18:10:06 Cloning the remote Git repository 18:10:06 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:10:06 > git init /w/workspace/app-service-configurable/2 # timeout=10 18:10:06 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:10:06 > git --version # timeout=10 18:10:06 > git --version # 'git version 2.25.1' 18:10:06 using GIT_SSH to set credentials SSH Credentials for GitHub 18:10:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:10:07 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:10:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:10:08 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:10:08 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:10:08 using GIT_SSH to set credentials SSH Credentials for GitHub 18:10:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/499/head:refs/remotes/origin/PR-499 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:10:09 Merging remotes/origin/main commit a0e8a3cf402e2d18cab125a1c4a8a92554f18848 into PR head commit ae39904e971e53395142a1d4961f856ce3de6e9a 18:10:10 Merge succeeded, producing ae39904e971e53395142a1d4961f856ce3de6e9a 18:10:10 Checking out Revision ae39904e971e53395142a1d4961f856ce3de6e9a (PR-499) 18:10:09 > git config core.sparsecheckout # timeout=10 18:10:09 > git checkout -f ae39904e971e53395142a1d4961f856ce3de6e9a # timeout=10 18:10:09 > git remote # timeout=10 18:10:09 > git config --get remote.origin.url # timeout=10 18:10:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:10:10 > git merge a0e8a3cf402e2d18cab125a1c4a8a92554f18848 # timeout=10 18:10:10 > git rev-parse HEAD^{commit} # timeout=10 18:10:10 > git config core.sparsecheckout # timeout=10 18:10:10 > git checkout -f ae39904e971e53395142a1d4961f856ce3de6e9a # timeout=10 18:10:13 Commit message: "refactor!: Adjust configuration for reworked MessageBs config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:10:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:10:14 % Total % Received % Xferd Average Speed Time Time Time Current 18:10:14 Dload Upload Total Spent Left Speed 18:10:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 18:10:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:10:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:10:15 + sudo tee /etc/docker/daemon.new 18:10:15 { 18:10:15 "registry-mirrors": [ 18:10:15 "https://nexus3.edgexfoundry.org:10001" 18:10:15 ], 18:10:15 "bip": "10.250.0.254/24", 18:10:15 "hosts": [ 18:10:15 "tcp://0.0.0.0:5555", 18:10:15 "unix:///var/run/docker.sock" 18:10:15 ], 18:10:15 "mtu": 1458, 18:10:15 "selinux-enabled": true, 18:10:15 "seccomp-profile": "/etc/docker/seccomp.json" 18:10:15 } [Pipeline] sh 18:10:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:10:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:10:34 provisioning config files... 18:10:34 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config12686456290070873703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:35 ---> docker-login.sh 18:10:35 nexus3.edgexfoundry.org:10001 18:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:35 Configure a credential helper to remove this warning. See 18:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:35 18:10:35 Login Succeeded 18:10:35 nexus3.edgexfoundry.org:10002 18:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:36 Configure a credential helper to remove this warning. See 18:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:36 18:10:36 Login Succeeded 18:10:36 nexus3.edgexfoundry.org:10003 18:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:36 Configure a credential helper to remove this warning. See 18:10:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:36 18:10:36 Login Succeeded 18:10:36 nexus3.edgexfoundry.org:10004 18:10:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:37 Configure a credential helper to remove this warning. See 18:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:37 18:10:37 Login Succeeded 18:10:37 docker.io 18:10:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:37 Configure a credential helper to remove this warning. See 18:10:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:37 18:10:37 Login Succeeded 18:10:37 ---> docker-login.sh ends [Pipeline] } 18:10:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:10:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:10:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:10:37 ========================================================= 18:10:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:10:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:10:38 Sending build context to Docker daemon 216.6kB 18:10:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:10:38 Step 2/12 : FROM ${BASE} AS builder 18:10:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:10:40 9b18e9b68314: Pulling fs layer 18:10:40 35d82f9e3411: Pulling fs layer 18:10:40 e16973657156: Pulling fs layer 18:10:40 fc693d55d65f: Pulling fs layer 18:10:40 7e9fc2657dce: Pulling fs layer 18:10:40 dda99020689f: Pulling fs layer 18:10:40 db1c61fa0a46: Pulling fs layer 18:10:40 891c053d2c06: Pulling fs layer 18:10:40 fc693d55d65f: Waiting 18:10:40 7e9fc2657dce: Waiting 18:10:40 dda99020689f: Waiting 18:10:40 db1c61fa0a46: Waiting 18:10:40 891c053d2c06: Waiting 18:10:40 e16973657156: Verifying Checksum 18:10:40 e16973657156: Download complete 18:10:40 35d82f9e3411: Verifying Checksum 18:10:40 35d82f9e3411: Download complete 18:10:40 7e9fc2657dce: Verifying Checksum 18:10:40 7e9fc2657dce: Download complete 18:10:40 dda99020689f: Verifying Checksum 18:10:40 dda99020689f: Download complete 18:10:40 9b18e9b68314: Verifying Checksum 18:10:40 9b18e9b68314: Download complete 18:10:41 9b18e9b68314: Pull complete 18:10:41 891c053d2c06: Verifying Checksum 18:10:41 891c053d2c06: Download complete 18:10:41 35d82f9e3411: Pull complete 18:10:41 e16973657156: Pull complete 18:10:42 db1c61fa0a46: Verifying Checksum 18:10:42 db1c61fa0a46: Download complete 18:10:43 fc693d55d65f: Verifying Checksum 18:10:43 fc693d55d65f: Download complete 18:10:55 fc693d55d65f: Pull complete 18:10:55 7e9fc2657dce: Pull complete 18:10:55 dda99020689f: Pull complete 18:11:02 db1c61fa0a46: Pull complete 18:11:04 891c053d2c06: Pull complete 18:11:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:11:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:11:04 ---> f96f9c87975a 18:11:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:11:05 ---> Running in 3543b25aaad7 18:11:05 Removing intermediate container 3543b25aaad7 18:11:05 ---> c23e96ab905c 18:11:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:11:05 ---> Running in 94bac3a9eeb2 18:11:06 Removing intermediate container 94bac3a9eeb2 18:11:06 ---> 60351e8598fc 18:11:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:11:06 ---> Running in 420b0455a63e 18:11:06 Removing intermediate container 420b0455a63e 18:11:06 ---> 9ee50b247ccf 18:11:06 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:11:06 ---> Running in 513cd1348881 18:11:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:11:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:11:09 OK: 221 MiB in 51 packages 18:11:09 Removing intermediate container 513cd1348881 18:11:09 ---> 1769a9a1eb73 18:11:09 Step 7/12 : WORKDIR /app 18:11:10 ---> Running in 4b1b9253e37b 18:11:10 Removing intermediate container 4b1b9253e37b 18:11:10 ---> b6c99ad4db40 18:11:10 Step 8/12 : COPY go.mod vendor* ./ 18:11:11 ---> c03b42517709 18:11:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:11 ---> Running in 306e16921463 18:12:07 Removing intermediate container 306e16921463 18:12:07 ---> 54a93b2bf190 18:12:07 Step 10/12 : COPY . . 18:12:07 ---> 4c5da7c6246f 18:12:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:12:07 ---> Running in 0ed367757991 18:12:07 Removing intermediate container 0ed367757991 18:12:07 ---> 90027dd3a4e4 18:12:07 Step 12/12 : RUN $MAKE 18:12:07 ---> Running in 64c6b145edfe 18:12:07 noop 18:12:07 Removing intermediate container 64c6b145edfe 18:12:07 ---> 58241d7646f1 18:12:07 Successfully built 58241d7646f1 18:12:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:07 + docker inspect -f . ci-base-image-arm64 18:12:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:08 prd-ubuntu20.04-docker-arm64-4c-16g-1906 does not seem to be running inside a container 18:12:08 $ 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 18:12:10 $ docker top 471648054df7ac857db1fbc6a2a98be99197bb2e615d2da26d12c1c1bfd622fa -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:11 + go version 18:12:11 go version go1.18.7 linux/arm64 [Pipeline] } 18:12:11 $ docker stop --time=1 471648054df7ac857db1fbc6a2a98be99197bb2e615d2da26d12c1c1bfd622fa 18:12:13 $ docker rm -f --volumes 471648054df7ac857db1fbc6a2a98be99197bb2e615d2da26d12c1c1bfd622fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:14 + docker inspect -f . ci-base-image-arm64 18:12:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:14 prd-ubuntu20.04-docker-arm64-4c-16g-1906 does not seem to be running inside a container 18:12:14 $ 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 18:12:15 $ docker top cafc1bbd5f052108003f99117424ff60758f7675f7ae50062d15228c417dda4a -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:16 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 18:12:16 + make test 18:12:16 go test -race -coverprofile=coverage.out ./... 18:14:38 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:14:38 go vet ./... 18:16:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:16:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:16:15 ./bin/test-attribution-txt.sh [Pipeline] echo 18:16:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:16:15 $ docker stop --time=1 cafc1bbd5f052108003f99117424ff60758f7675f7ae50062d15228c417dda4a 18:16:17 $ docker rm -f --volumes cafc1bbd5f052108003f99117424ff60758f7675f7ae50062d15228c417dda4a [Pipeline] // withDockerContainer [Pipeline] sh 18:16:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:16:18 Warning: overwriting stash ‘coverage-report’ 18:16:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:16:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:16:19 + ls -al . 18:16:19 total 180 18:16:19 drwxrwxr-x 7 jenkins jenkins 4096 Jan 11 18:12 . 18:16:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:10 .. 18:16:19 -rw-rw-r-- 1 jenkins jenkins 119 Jan 11 18:10 .dockerignore 18:16:19 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 18:10 .git 18:16:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 18:10 .github 18:16:19 -rw-rw-r-- 1 jenkins jenkins 171 Jan 11 18:10 .gitignore 18:16:19 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 11 18:10 Attribution.txt 18:16:19 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 11 18:10 CHANGELOG.md 18:16:19 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 11 18:10 Dockerfile 18:16:19 -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 18:10 GOVERNANCE.md 18:16:19 -rw-rw-r-- 1 jenkins jenkins 688 Jan 11 18:10 Jenkinsfile 18:16:19 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 11 18:10 LICENSE 18:16:19 -rw-rw-r-- 1 jenkins jenkins 618 Jan 11 18:10 OWNERS.md 18:16:19 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 11 18:10 README.md 18:16:19 -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 18:06 VERSION 18:16:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 18:10 bin 18:16:19 -rw-r--r-- 1 jenkins jenkins 13 Jan 11 18:12 coverage.out 18:16:19 -rw-rw-r-- 1 jenkins jenkins 3397 Jan 11 18:10 go.mod 18:16:19 -rw-rw-r-- 1 jenkins jenkins 44232 Jan 11 18:10 go.sum 18:16:19 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 11 18:10 main.go 18:16:19 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 11 18:10 makefile 18:16:19 drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 18:10 res 18:16:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 18:10 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:19 + 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=ae39904e971e53395142a1d4961f856ce3de6e9a --label arch=arm64 --label version=0.0.0 . 18:16:19 Sending build context to Docker daemon 217.6kB 18:16:20 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:16:20 Step 2/26 : FROM ${BASE} AS builder 18:16:20 ---> 58241d7646f1 18:16:20 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:16:20 ---> Running in 005a9e800d6b 18:16:20 Removing intermediate container 005a9e800d6b 18:16:20 ---> 19014596f681 18:16:20 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:16:20 ---> Running in ddcbed715d4b 18:16:21 Removing intermediate container ddcbed715d4b 18:16:21 ---> de6466a77104 18:16:21 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:16:21 ---> Running in 4050755e36b0 18:16:21 Removing intermediate container 4050755e36b0 18:16:21 ---> 86057b463471 18:16:21 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:16:21 ---> Running in 0768e737fc60 18:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:16:23 OK: 221 MiB in 51 packages 18:16:24 Removing intermediate container 0768e737fc60 18:16:24 ---> b1fac16b27b0 18:16:24 Step 7/26 : WORKDIR /app 18:16:24 ---> Running in b5b710586b36 18:16:24 Removing intermediate container b5b710586b36 18:16:24 ---> 4823e0790151 18:16:24 Step 8/26 : COPY go.mod vendor* ./ 18:16:25 ---> f4f51000cdbd 18:16:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:16:25 ---> Running in d7d0173ca8e6 18:16:27 Removing intermediate container d7d0173ca8e6 18:16:27 ---> c2a31a422558 18:16:27 Step 10/26 : COPY . . 18:16:27 ---> e0ba8a7c08f7 18:16:27 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:16:28 ---> Running in c1534aeb429e 18:16:28 Removing intermediate container c1534aeb429e 18:16:28 ---> e458ad0b7472 18:16:28 Step 12/26 : RUN $MAKE 18:16:28 ---> Running in 230d085d55ce 18:16:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.15 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:18:36 Removing intermediate container 230d085d55ce 18:18:36 ---> 0d56921dbd8c 18:18:36 Step 13/26 : FROM alpine:3.16 18:18:36 3.16: Pulling from library/alpine 18:18:36 6875df1f5354: Pulling fs layer 18:18:36 6875df1f5354: Verifying Checksum 18:18:36 6875df1f5354: Download complete 18:18:36 6875df1f5354: Pull complete 18:18:36 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:18:36 Status: Downloaded newer image for alpine:3.16 18:18:36 ---> 2b4661558fb8 18:18:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:18:36 ---> Running in 05ec241a46c5 18:18:36 Removing intermediate container 05ec241a46c5 18:18:36 ---> 66bb7ac26816 18:18:36 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:18:36 ---> Running in b1017cc3f777 18:18:36 Removing intermediate container b1017cc3f777 18:18:36 ---> 1b1093a5f5cf 18:18:36 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:18:36 ---> Running in f5141e9b1005 18:18:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:18:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:18:36 (1/2) Installing ca-certificates (20220614-r0) 18:18:36 (2/2) Installing dumb-init (1.2.5-r1) 18:18:36 Executing busybox-1.35.0-r17.trigger 18:18:36 Executing ca-certificates-20220614-r0.trigger 18:18:36 OK: 6 MiB in 16 packages 18:18:36 Removing intermediate container f5141e9b1005 18:18:36 ---> 3bda9122db6c 18:18:36 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:18:36 ---> dc22a7d5c364 18:18:36 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:18:36 ---> 16c8be4acd94 18:18:36 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:18:36 ---> fdc74df693fb 18:18:36 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:18:36 ---> 06666b853b45 18:18:36 Step 21/26 : EXPOSE 48095 18:18:36 ---> Running in 312a7fa300f9 18:18:36 Removing intermediate container 312a7fa300f9 18:18:36 ---> f0c964e2396c 18:18:36 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:18:36 ---> Running in 36e67ca4ad58 18:18:36 Removing intermediate container 36e67ca4ad58 18:18:36 ---> 61bd25a23cd6 18:18:36 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:18:36 ---> Running in 09b119c7509d 18:18:36 Removing intermediate container 09b119c7509d 18:18:36 ---> a9f73783f4b5 18:18:36 Step 24/26 : LABEL arch=arm64 18:18:36 ---> Running in 64420f5c3e15 18:18:36 Removing intermediate container 64420f5c3e15 18:18:36 ---> 6da56a64711f 18:18:36 Step 25/26 : LABEL git_sha=ae39904e971e53395142a1d4961f856ce3de6e9a 18:18:36 ---> Running in e404ba500128 18:18:37 Removing intermediate container e404ba500128 18:18:37 ---> 77c1fa34ebbe 18:18:37 Step 26/26 : LABEL version=0.0.0 18:18:37 ---> Running in 843e83e67124 18:18:37 Removing intermediate container 843e83e67124 18:18:37 ---> 4d2bab5a3660 18:18:37 [Warning] One or more build-args [ARCH] were not consumed 18:18:37 Successfully built 4d2bab5a3660 18:18:37 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:18:37 18:18:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:18:38 arm64: Pulling from edgex-lftools-log-publisher 18:18:38 8998bd30e6a1: Pulling fs layer 18:18:38 04944245beec: Pulling fs layer 18:18:38 699f458cf7ca: Pulling fs layer 18:18:38 765212b225bb: Pulling fs layer 18:18:38 f23df028b6ca: Pulling fs layer 18:18:38 d65c8cfc05b1: Pulling fs layer 18:18:38 2437ff75d9bd: Pulling fs layer 18:18:38 f23df028b6ca: Waiting 18:18:38 d65c8cfc05b1: Waiting 18:18:38 765212b225bb: Waiting 18:18:38 2437ff75d9bd: Waiting 18:18:38 04944245beec: Verifying Checksum 18:18:38 04944245beec: Download complete 18:18:38 765212b225bb: Download complete 18:18:38 f23df028b6ca: Download complete 18:18:38 d65c8cfc05b1: Verifying Checksum 18:18:38 d65c8cfc05b1: Download complete 18:18:38 699f458cf7ca: Verifying Checksum 18:18:38 699f458cf7ca: Download complete 18:18:38 8998bd30e6a1: Verifying Checksum 18:18:38 8998bd30e6a1: Download complete 18:18:41 2437ff75d9bd: Verifying Checksum 18:18:41 2437ff75d9bd: Download complete 18:18:42 8998bd30e6a1: Pull complete 18:18:43 04944245beec: Pull complete 18:18:44 699f458cf7ca: Pull complete 18:18:44 765212b225bb: Pull complete 18:18:45 f23df028b6ca: Pull complete 18:18:45 d65c8cfc05b1: Pull complete 18:19:00 2437ff75d9bd: Pull complete 18:19:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:19:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:19:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:01 prd-ubuntu20.04-docker-arm64-4c-16g-1906 does not seem to be running inside a container 18:19:01 $ 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 18:19:03 $ docker top f3eac408daf31d9b9908d2a61615c7f08d45175d8a9d1497d86500f11617b23c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:19:04 ---> job-cost.sh 18:19:04 lf-activate-venv: SKIPPING 18:19:04 INFO: No Stack... 18:19:05 INFO: Retrieving Pricing Info for: v3-standard-4 18:19:05 INFO: Archiving Costs [Pipeline] sh 18:19:06 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 18:19:06 + cut -d, -f6 [Pipeline] lock 18:19:06 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-499-2-stack-cost] 18:19:06 Resource [jenkins-edgexfoundry-app-service-configurable-PR-499-2-stack-cost] did not exist. Created. 18:19:06 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-499-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:19:06 /w/workspace/app-service-configurable/2@tmp/durable-c0875066/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:19:07 + echo total: 0.10999999940395355 [Pipeline] stash 18:19:07 Warning: overwriting stash ‘stack-cost’ 18:19:07 Stashed 1 file(s) [Pipeline] } 18:19:07 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-499-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:19:07 $ docker stop --time=1 f3eac408daf31d9b9908d2a61615c7f08d45175d8a9d1497d86500f11617b23c 18:19:09 $ docker rm -f --volumes f3eac408daf31d9b9908d2a61615c7f08d45175d8a9d1497d86500f11617b23c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:19:09 provisioning config files... 18:19:09 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-499@tmp/config9441238685137926982tmp [Pipeline] { [Pipeline] sh 18:19:09 + set +x 18:19:09 + curl -s+ https://codecov.io/bash 18:19:09 bash -s -- 18:19:09 18:19:09 _____ _ 18:19:09 / ____| | | 18:19:09 | | ___ __| | ___ ___ _____ __ 18:19:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:19:09 | |___| (_) | (_| | __/ (_| (_) \ V / 18:19:09 \_____\___/ \__,_|\___|\___\___/ \_/ 18:19:09 Bash-1.0.6 18:19:09 18:19:09 18:19:09 ==> git version 2.25.1 found 18:19:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:19:09 Release-Date: 2020-01-08 18:19:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:19:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:19:09 ==> Jenkins CI detected. 18:19:09 current dir:  /w/workspace/_app-service-configurable_PR-499 18:19:09 project root: . 18:19:09 --> token set from env 18:19:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:19:09 ==> Running gcov in . (disable via -X gcov) 18:19:09 ==> Python coveragepy not found 18:19:09 ==> Searching for coverage reports in: 18:19:09 + . 18:19:09 -> Found 1 reports 18:19:09 ==> Detecting git/mercurial file structure 18:19:09 ==> Reading reports 18:19:09 + ./coverage.out bytes=13 18:19:09 ==> Appending adjustments 18:19:09 https://docs.codecov.io/docs/fixing-reports 18:19:09 + Found adjustments 18:19:09 ==> Gzipping contents 18:19:09 4.0K /tmp/codecov.c8nzQJ.gz 18:19:09 ==> Uploading reports 18:19:09 url: https://codecov.io 18:19:09 query: branch=PR-499&commit=ae39904e971e53395142a1d4961f856ce3de6e9a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-499%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=499&job=&cmd_args= 18:19:09 -> Pinging Codecov 18:19:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-499&commit=ae39904e971e53395142a1d4961f856ce3de6e9a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-499%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=499&job=&cmd_args= 18:19:10 -> Uploading to 18:19:10 https://storage.googleapis.com/codecov/v4/raw/2023-01-11/A97CA9966030D2A3747ED39772930CCE/ae39904e971e53395142a1d4961f856ce3de6e9a/a5c63f9c-e903-4914-8e33-eb2ac2022e62.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T181909Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=09798fe8f4bf7339369d31d25e51eab1021724c410213ff7e45b74cf76f5154c 18:19:10 % Total % Received % Xferd Average Speed Time Time Time Current 18:19:10 Dload Upload Total Spent Left Speed 18:19:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 530 0 0 100 530 0 2078 --:--:-- --:--:-- --:--:-- 2078 18:19:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/ae39904e971e53395142a1d4961f856ce3de6e9a [Pipeline] } 18:19:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:19:11 + [ -d /w/workspace/_app-service-configurable_PR-499/archives ] 18:19:11 + ls -al /w/workspace/_app-service-configurable_PR-499/archives 18:19:11 total 16 18:19:11 drwxr-xr-x 3 root root 4096 Jan 11 18:08 . 18:19:11 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 18:08 .. 18:19:11 drwxr-xr-x 2 root root 4096 Jan 11 18:08 cost 18:19:11 -rw-r--r-- 1 root root 96 Jan 11 18:08 cost.csv 18:19:11 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-499/archives 18:19:11 + ls -al /w/workspace/_app-service-configurable_PR-499/archives 18:19:11 total 16 18:19:11 drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 18:08 . 18:19:11 drwxrwxr-x 9 jenkins jenkins 4096 Jan 11 18:08 .. 18:19:11 drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 18:08 cost 18:19:11 -rw-r--r-- 1 jenkins jenkins 96 Jan 11 18:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:19:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:19:12 ---> package-listing.sh 18:19:12 ++ facter osfamily 18:19:12 ++ tr '[:upper:]' '[:lower:]' 18:19:12 + OS_FAMILY=debian 18:19:12 + workspace=/w/workspace/_app-service-configurable_PR-499 18:19:12 + START_PACKAGES=/tmp/packages_start.txt 18:19:12 + END_PACKAGES=/tmp/packages_end.txt 18:19:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:19:12 + PACKAGES=/tmp/packages_start.txt 18:19:12 + '[' /w/workspace/_app-service-configurable_PR-499 ']' 18:19:12 + PACKAGES=/tmp/packages_end.txt 18:19:12 + case "${OS_FAMILY}" in 18:19:12 + dpkg -l 18:19:12 + grep '^ii' 18:19:12 + '[' -f /tmp/packages_start.txt ']' 18:19:12 + '[' -f /tmp/packages_end.txt ']' 18:19:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:19:12 + '[' /w/workspace/_app-service-configurable_PR-499 ']' 18:19:12 + mkdir -p /w/workspace/_app-service-configurable_PR-499/archives/ 18:19:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-499/archives/ [Pipeline] echo 18:19:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-499/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:19:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:19:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:13 prd-ubuntu20.04-docker-8c-8g-1904 does not seem to be running inside a container 18:19:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/_app-service-configurable_PR-499/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-499 -v /w/workspace/_app-service-configurable_PR-499:/w/workspace/_app-service-configurable_PR-499:rw,z -v /w/workspace/_app-service-configurable_PR-499@tmp:/w/workspace/_app-service-configurable_PR-499@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 18:19:13 $ docker top 9f01876c33bfd8a2735738df92b13572211055cd4c6e634767c8b2f183db34ca -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:14 + touch /tmp/pre-build-complete [Pipeline] sh 18:19:14 + mkdir -p /var/log/sysstat [Pipeline] sh 18:19:14 + ls /var/log/sa-host 18:19:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:19:14 provisioning config files... 18:19:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-499@tmp/config1627404373854863944tmp [Pipeline] { [Pipeline] echo 18:19:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:19:15 ---> create-netrc.sh [Pipeline] } 18:19:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:19:15 ---> python-tools-install.sh [Pipeline] echo 18:19:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:19:15 ---> sudo-logs.sh 18:19:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:19:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:19:15 ---> job-cost.sh 18:19:15 lf-activate-venv: SKIPPING 18:19:15 DEBUG: total: 0.2199999988079071 18:19:15 INFO: Retrieving Stack Cost... 18:19:16 INFO: Retrieving Pricing Info for: v3-standard-8 18:19:17 INFO: Archiving Costs [Pipeline] echo 18:19:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:19:17 ---> logs-deploy.sh 18:19:17 lf-activate-venv: SKIPPING 18:19:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-499/2 18:19:17 INFO: archiving workspace using pattern(s): 18:19:18 Archives upload complete. 18:19:18 INFO: archiving logs to Nexus