Pull request #509 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 marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at ae4d96f51e6c1b0b3f3d1c807dd8827f71e240f6 rather than 4e1eeb71321f269c64f7118390ae96c74e088684 Obtained Jenkinsfile from ae4d96f51e6c1b0b3f3d1c807dd8827f71e240f6 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-ssh3080779341669721629.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-ssh13685756075595839218.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-509/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-509/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7078788616227305812.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-ssh9290146650794171191.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-509/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-509/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13248229123008398839.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4999 in /w/workspace/_app-service-configurable_PR-509 [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-509 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/509/head:refs/remotes/origin/PR-509 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ae4d96f51e6c1b0b3f3d1c807dd8827f71e240f6 into PR head commit 4e1eeb71321f269c64f7118390ae96c74e088684 Merge succeeded, producing 4e1eeb71321f269c64f7118390ae96c74e088684 Checking out Revision 4e1eeb71321f269c64f7118390ae96c74e088684 (PR-509) > git config core.sparsecheckout # timeout=10 > git checkout -f 4e1eeb71321f269c64f7118390ae96c74e088684 # 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 ae4d96f51e6c1b0b3f3d1c807dd8827f71e240f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e1eeb71321f269c64f7118390ae96c74e088684 # timeout=10 Commit message: "Merge branch 'targettype' of https://github.com/marcpfuller/app-service-configurable into targettype" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:29:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:29:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:29:58 ========================================================= 22:29:58 EdgeX Global Pipelines Version Info 22:29:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1c7f5e5c075073987640fbd800e74e18da561e93 # timeout=10 22:29:59 ------------------- 22:29:59 stable info: 22:29:59 ------------------- 22:29:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:29:59 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:29:59 Message: update stable to v1.0.244 22:30:00 ------------------- 22:30:00 experimental info: 22:30:00 ------------------- 22:30:00 Commited By: **** collab-it+edgex@linuxfoundation.org 22:30:00 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:30:00 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:30:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:30:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:30:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:30:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-509 [Pipeline] echo 22:30:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-509 [Pipeline] echo 22:30:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-509 [Pipeline] echo 22:30:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e1eeb71321f269c64f7118390ae96c74e088684 [Pipeline] echo 22:30:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e1eeb7 [Pipeline] echo 22:30:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:30:01 provisioning config files... 22:30:01 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-509@tmp/config2183066613299227117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:01 ---> docker-login.sh 22:30:01 nexus3.edgexfoundry.org:10001 22:30:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:01 Configure a credential helper to remove this warning. See 22:30:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:01 22:30:01 Login Succeeded 22:30:01 nexus3.edgexfoundry.org:10002 22:30:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:02 Configure a credential helper to remove this warning. See 22:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:02 22:30:02 Login Succeeded 22:30:02 nexus3.edgexfoundry.org:10003 22:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:02 Configure a credential helper to remove this warning. See 22:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:02 22:30:02 Login Succeeded 22:30:02 nexus3.edgexfoundry.org:10004 22:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:02 Configure a credential helper to remove this warning. See 22:30:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:02 22:30:02 Login Succeeded 22:30:02 docker.io 22:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:03 Configure a credential helper to remove this warning. See 22:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:03 22:30:03 Login Succeeded 22:30:03 ---> docker-login.sh ends [Pipeline] } 22:30:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:30:04 + git rev-list -1 --merges 4e1eeb71321f269c64f7118390ae96c74e088684~1..4e1eeb71321f269c64f7118390ae96c74e088684 [Pipeline] echo 22:30:04 -----------> git rev-list -1 --merges 4e1eeb71321f269c64f7118390ae96c74e088684~1..4e1eeb71321f269c64f7118390ae96c74e088684 4e1eeb71321f269c64f7118390ae96c74e088684 22:30:04 4e1eeb71321f269c64f7118390ae96c74e088684 [false] [Pipeline] sh 22:30:04 + git log --format=format:%s -1 4e1eeb71321f269c64f7118390ae96c74e088684 [Pipeline] echo 22:30:04 ========================================================= 22:30:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:30:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:30:04 + git log --format=format:%s -1 4e1eeb71321f269c64f7118390ae96c74e088684 [Pipeline] echo 22:30:04 [semverPrep] GIT_COMMIT: 4e1eeb71321f269c64f7118390ae96c74e088684, Commit Message: Merge branch 'targettype' of https://github.com/marcpfuller/app-service-configurable into targettype [Pipeline] echo 22:30:04 [semverPrep] This is not a build commit. [Pipeline] sh 22:30:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:30:05 + grep -v github /etc/ssh/ssh_known_hosts 22:30:05 + [ -e /tmp/ssh_known_hosts ] 22:30:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:30:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:30:05 + sudo tee -a /etc/ssh/ssh_known_hosts 22:30:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:05 22:30:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:05 0.1.4: Pulling from edgex-devops/py-git-semver 22:30:05 b85a868b505f: Pulling fs layer 22:30:05 e2be974225ed: Pulling fs layer 22:30:05 339a4e72a1f5: Pulling fs layer 22:30:05 988bab9f4d93: Pulling fs layer 22:30:05 1469e6f7b9e6: Pulling fs layer 22:30:05 eaf3925da568: Pulling fs layer 22:30:05 bab4dde63d76: Pulling fs layer 22:30:05 bde34c3a00c8: Pulling fs layer 22:30:05 b352a97aabf1: Pulling fs layer 22:30:05 4872d77fe225: Pulling fs layer 22:30:05 5851b861e8e6: Pulling fs layer 22:30:05 1469e6f7b9e6: Waiting 22:30:05 5851b861e8e6: Waiting 22:30:05 4872d77fe225: Waiting 22:30:05 bde34c3a00c8: Waiting 22:30:05 b352a97aabf1: Waiting 22:30:05 988bab9f4d93: Waiting 22:30:05 bab4dde63d76: Waiting 22:30:05 e2be974225ed: Verifying Checksum 22:30:05 e2be974225ed: Download complete 22:30:05 988bab9f4d93: Verifying Checksum 22:30:05 988bab9f4d93: Download complete 22:30:06 1469e6f7b9e6: Verifying Checksum 22:30:06 1469e6f7b9e6: Download complete 22:30:06 eaf3925da568: Verifying Checksum 22:30:06 eaf3925da568: Download complete 22:30:06 339a4e72a1f5: Verifying Checksum 22:30:06 339a4e72a1f5: Download complete 22:30:06 bde34c3a00c8: Verifying Checksum 22:30:06 bde34c3a00c8: Download complete 22:30:06 b352a97aabf1: Verifying Checksum 22:30:06 b352a97aabf1: Download complete 22:30:06 4872d77fe225: Download complete 22:30:06 5851b861e8e6: Verifying Checksum 22:30:06 5851b861e8e6: Download complete 22:30:06 b85a868b505f: Verifying Checksum 22:30:06 b85a868b505f: Download complete 22:30:07 bab4dde63d76: Verifying Checksum 22:30:07 bab4dde63d76: Download complete 22:30:07 b85a868b505f: Pull complete 22:30:07 e2be974225ed: Pull complete 22:30:08 339a4e72a1f5: Pull complete 22:30:08 988bab9f4d93: Pull complete 22:30:08 1469e6f7b9e6: Pull complete 22:30:08 eaf3925da568: Pull complete 22:30:10 bab4dde63d76: Pull complete 22:30:10 bde34c3a00c8: Pull complete 22:30:10 b352a97aabf1: Pull complete 22:30:10 4872d77fe225: Pull complete 22:30:10 5851b861e8e6: Pull complete 22:30:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:30:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:30:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:11 prd-ubuntu20.04-docker-8c-8g-4999 does not seem to be running inside a container 22:30:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-509 -v /w/workspace/_app-service-configurable_PR-509:/w/workspace/_app-service-configurable_PR-509:rw,z -v /w/workspace/_app-service-configurable_PR-509@tmp:/w/workspace/_app-service-configurable_PR-509@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 22:30:15 $ docker top f73005489cb37573120c45b60ea76ed89c66c22f89e7586c3a4c77685504c47d -eo pid,comm 22:30:15 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). 22:30:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:30:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:30:15 [ssh-agent] Looking for ssh-agent implementation... 22:30:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:30:15 $ docker exec f73005489cb37573120c45b60ea76ed89c66c22f89e7586c3a4c77685504c47d ssh-agent 22:30:15 SSH_AUTH_SOCK=/tmp/ssh-DPJfTnZjH791/agent.33 22:30:15 SSH_AGENT_PID=39 22:30:15 Running ssh-add (command line suppressed) 22:30:15 Identity added: /w/workspace/_app-service-configurable_PR-509@tmp/private_key_5804422821855281601.key (/w/workspace/_app-service-configurable_PR-509@tmp/private_key_5804422821855281601.key) 22:30:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:30:16 + git tag --points-at HEAD [Pipeline] } 22:30:16 $ docker exec --env ******** --env ******** f73005489cb37573120c45b60ea76ed89c66c22f89e7586c3a4c77685504c47d ssh-agent -k 22:30:16 unset SSH_AUTH_SOCK; 22:30:16 unset SSH_AGENT_PID; 22:30:16 echo Agent pid 39 killed; 22:30:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:30:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:30:16 [ssh-agent] Looking for ssh-agent implementation... 22:30:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:30:16 $ docker exec f73005489cb37573120c45b60ea76ed89c66c22f89e7586c3a4c77685504c47d ssh-agent 22:30:16 SSH_AUTH_SOCK=/tmp/ssh-YU24lFDyDuFb/agent.71 22:30:16 SSH_AGENT_PID=77 22:30:16 Running ssh-add (command line suppressed) 22:30:16 Identity added: /w/workspace/_app-service-configurable_PR-509@tmp/private_key_17287652808208152250.key (/w/workspace/_app-service-configurable_PR-509@tmp/private_key_17287652808208152250.key) 22:30:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:30:16 + git semver init 22:30:17 2023-02-07 22:30:17,154 [run_init] DEBUG init version:0.0.0 force:False 22:30:17 2023-02-07 22:30:17,155 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-509/.semver 22:30:17 2023-02-07 22:30:17,155 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-509/.semver 22:30:17 2023-02-07 22:30:17,155 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-509/.semver'], cwd=/w/workspace/_app-service-configurable_PR-509, universal_newlines=False, shell=None, istream=None) 22:30:18 2023-02-07 22:30:18,098 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-509/.git/info/exclude 22:30:18 2023-02-07 22:30:18,099 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-509/.semver/PR-509 with force:False 22:30:18 2023-02-07 22:30:18,099 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-509/.semver/PR-509 22:30:18 2023-02-07 22:30:18,104 [execute] INFO git cat-file --batch-check 22:30:18 2023-02-07 22:30:18,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-509/.semver, universal_newlines=False, shell=None, istream=) 22:30:18 2023-02-07 22:30:18,110 [execute] INFO git cat-file --batch 22:30:18 2023-02-07 22:30:18,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-509/.semver, universal_newlines=False, shell=None, istream=) 22:30:18 2023-02-07 22:30:18,115 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-509/.semver/PR-509 22:30:18 0.0.0 [Pipeline] } 22:30:18 $ docker exec --env ******** --env ******** f73005489cb37573120c45b60ea76ed89c66c22f89e7586c3a4c77685504c47d ssh-agent -k 22:30:18 unset SSH_AUTH_SOCK; 22:30:18 unset SSH_AGENT_PID; 22:30:18 echo Agent pid 77 killed; 22:30:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:30:18 + git semver [Pipeline] } 22:30:18 $ docker stop --time=1 f73005489cb37573120c45b60ea76ed89c66c22f89e7586c3a4c77685504c47d 22:30:20 $ docker rm -f --volumes f73005489cb37573120c45b60ea76ed89c66c22f89e7586c3a4c77685504c47d [Pipeline] // withDockerContainer [Pipeline] sh 22:30:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:30:20 Stashed 1 file(s) [Pipeline] echo 22:30:20 [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 22:30:20 provisioning config files... 22:30:20 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-509@tmp/config7945138984311320432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:21 ---> docker-login.sh 22:30:21 nexus3.edgexfoundry.org:10001 22:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:21 Configure a credential helper to remove this warning. See 22:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:21 22:30:21 Login Succeeded 22:30:21 nexus3.edgexfoundry.org:10002 22:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:21 Configure a credential helper to remove this warning. See 22:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:21 22:30:21 Login Succeeded 22:30:21 nexus3.edgexfoundry.org:10003 22:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:21 Configure a credential helper to remove this warning. See 22:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:21 22:30:21 Login Succeeded 22:30:21 nexus3.edgexfoundry.org:10004 22:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:21 Configure a credential helper to remove this warning. See 22:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:21 22:30:21 Login Succeeded 22:30:21 docker.io 22:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:21 Configure a credential helper to remove this warning. See 22:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:21 22:30:21 Login Succeeded 22:30:21 ---> docker-login.sh ends [Pipeline] } 22:30:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:30:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:30:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:30:21 ========================================================= 22:30:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:30:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:22 + 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 . 22:30:22 Sending build context to Docker daemon 3.227MB 22:30:22 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:30:22 Step 2/12 : FROM ${BASE} AS builder 22:30:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:30:22 213ec9aee27d: Pulling fs layer 22:30:22 4583459ba037: Pulling fs layer 22:30:22 93c1e223e6f2: Pulling fs layer 22:30:22 53926ce57604: Pulling fs layer 22:30:22 21b2b0c7a3f4: Pulling fs layer 22:30:22 22ff95d597cd: Pulling fs layer 22:30:22 12d6caf4c0d1: Pulling fs layer 22:30:22 96b7cbca73a9: Pulling fs layer 22:30:22 a7acece74701: Pulling fs layer 22:30:22 53926ce57604: Waiting 22:30:22 12d6caf4c0d1: Waiting 22:30:22 96b7cbca73a9: Waiting 22:30:22 a7acece74701: Waiting 22:30:22 21b2b0c7a3f4: Waiting 22:30:22 93c1e223e6f2: Verifying Checksum 22:30:22 93c1e223e6f2: Download complete 22:30:22 4583459ba037: Verifying Checksum 22:30:22 4583459ba037: Download complete 22:30:22 21b2b0c7a3f4: Verifying Checksum 22:30:22 21b2b0c7a3f4: Download complete 22:30:22 22ff95d597cd: Verifying Checksum 22:30:22 22ff95d597cd: Download complete 22:30:22 213ec9aee27d: Verifying Checksum 22:30:22 213ec9aee27d: Download complete 22:30:22 12d6caf4c0d1: Verifying Checksum 22:30:22 12d6caf4c0d1: Download complete 22:30:22 213ec9aee27d: Pull complete 22:30:22 4583459ba037: Pull complete 22:30:23 93c1e223e6f2: Pull complete 22:30:23 53926ce57604: Verifying Checksum 22:30:23 53926ce57604: Download complete 22:30:23 96b7cbca73a9: Verifying Checksum 22:30:23 96b7cbca73a9: Download complete 22:30:23 a7acece74701: Verifying Checksum 22:30:28 53926ce57604: Pull complete 22:30:28 21b2b0c7a3f4: Pull complete 22:30:28 22ff95d597cd: Pull complete 22:30:28 12d6caf4c0d1: Pull complete 22:30:30 96b7cbca73a9: Pull complete 22:30:31 a7acece74701: Pull complete 22:30:31 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:30:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:30:31 ---> db6d94c90886 22:30:31 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:30:35 Still waiting to schedule task 22:30:35 ‘prd-ubuntu20.04-docker-8c-8g-4984’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:30:35 ‘prd-ubuntu20.04-docker-8c-8g-4991’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:30:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4985’ is offline 22:30:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4994’ is offline 22:30:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4996’ is offline 22:30:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5000’ is offline 22:30:39 ---> Running in 34e5879dfac5 22:30:39 Removing intermediate container 34e5879dfac5 22:30:39 ---> c3eac3b5bd49 22:30:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:30:39 ---> Running in 685d97a29cc3 22:30:39 Removing intermediate container 685d97a29cc3 22:30:39 ---> f640f0c9c837 22:30:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:30:39 ---> Running in f806a049aa43 22:30:39 Removing intermediate container f806a049aa43 22:30:39 ---> 731025077ce1 22:30:39 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:30:39 ---> Running in 4080f6f63699 22:30:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:30:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:30:39 OK: 211 MiB in 51 packages 22:30:39 Removing intermediate container 4080f6f63699 22:30:39 ---> 79c205a5bb72 22:30:39 Step 7/12 : WORKDIR /app 22:30:39 ---> Running in 652850ba2390 22:30:39 Removing intermediate container 652850ba2390 22:30:39 ---> 4a4eceadac04 22:30:39 Step 8/12 : COPY go.mod vendor* ./ 22:30:39 ---> b944d5edf848 22:30:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:30:39 ---> Running in c6a5d580e826 22:31:35 Removing intermediate container c6a5d580e826 22:31:35 ---> 652c4cd065a0 22:31:35 Step 10/12 : COPY . . 22:31:35 ---> e7b64405f169 22:31:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:31:35 ---> Running in d6969b1fcf89 22:31:35 Removing intermediate container d6969b1fcf89 22:31:35 ---> 471de48c702d 22:31:35 Step 12/12 : RUN $MAKE 22:31:35 ---> Running in 186e9ffd91d7 22:31:35 noop 22:31:35 Removing intermediate container 186e9ffd91d7 22:31:35 ---> 0b8ebc3be19a 22:31:35 Successfully built 0b8ebc3be19a 22:31:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:36 + docker inspect -f . ci-base-image-x86_64 22:31:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:36 prd-ubuntu20.04-docker-8c-8g-4999 does not seem to be running inside a container 22:31:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-509 -v /w/workspace/_app-service-configurable_PR-509:/w/workspace/_app-service-configurable_PR-509:rw,z -v /w/workspace/_app-service-configurable_PR-509@tmp:/w/workspace/_app-service-configurable_PR-509@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 22:31:36 $ docker top ebea720443693639fcdd112bdcc941730f1a7db8847d5da79a7215e04433c2d8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:37 + go version 22:31:37 go version go1.18.7 linux/amd64 [Pipeline] } 22:31:37 $ docker stop --time=1 ebea720443693639fcdd112bdcc941730f1a7db8847d5da79a7215e04433c2d8 22:31:38 $ docker rm -f --volumes ebea720443693639fcdd112bdcc941730f1a7db8847d5da79a7215e04433c2d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:38 + docker inspect -f . ci-base-image-x86_64 22:31:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:38 prd-ubuntu20.04-docker-8c-8g-4999 does not seem to be running inside a container 22:31:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_app-service-configurable_PR-509 -v /w/workspace/_app-service-configurable_PR-509:/w/workspace/_app-service-configurable_PR-509:rw,z -v /w/workspace/_app-service-configurable_PR-509@tmp:/w/workspace/_app-service-configurable_PR-509@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 22:31:39 $ docker top 6f0e5db5be2c7a289469bac060c14cce015fa6f7e1c48b9df10c91422379cafa -eo pid,comm [Pipeline] { [Pipeline] sh 22:31:39 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-509 [Pipeline] fileExists [Pipeline] sh 22:31:40 + make test 22:31:40 go test -race -coverprofile=coverage.out ./... 22:32:02 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:32:02 go vet ./... 22:32:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:32:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:32:10 ./bin/test-attribution-txt.sh 22:32:10 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 22:32:10 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 22:32:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:32:10 $ docker stop --time=1 6f0e5db5be2c7a289469bac060c14cce015fa6f7e1c48b9df10c91422379cafa 22:32:20 $ docker rm -f --volumes 6f0e5db5be2c7a289469bac060c14cce015fa6f7e1c48b9df10c91422379cafa [Pipeline] // withDockerContainer [Pipeline] sh 22:32:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:32:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:32:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:32:21 + ls -al . 22:32:21 total 172 22:32:21 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:31 . 22:32:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:29 .. 22:32:21 -rw-rw-r-- 1 jenkins jenkins 119 Feb 7 22:29 .dockerignore 22:32:21 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:30 .git 22:32:21 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:29 .github 22:32:21 -rw-rw-r-- 1 jenkins jenkins 171 Feb 7 22:29 .gitignore 22:32:21 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:30 .semver 22:32:21 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 7 22:29 Attribution.txt 22:32:21 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 7 22:29 CHANGELOG.md 22:32:21 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 7 22:29 Dockerfile 22:32:21 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:29 GOVERNANCE.md 22:32:21 -rw-rw-r-- 1 jenkins jenkins 688 Feb 7 22:29 Jenkinsfile 22:32:21 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 22:29 LICENSE 22:32:21 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 22:29 OWNERS.md 22:32:21 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 7 22:29 README.md 22:32:21 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 22:30 VERSION 22:32:21 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:29 bin 22:32:21 -rw-r--r-- 1 jenkins jenkins 13 Feb 7 22:31 coverage.out 22:32:21 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 7 22:29 go.mod 22:32:21 -rw-rw-r-- 1 jenkins jenkins 32404 Feb 7 22:29 go.sum 22:32:21 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 7 22:29 main.go 22:32:21 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 7 22:29 makefile 22:32:21 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:29 res 22:32:21 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:29 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:21 + 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=4e1eeb71321f269c64f7118390ae96c74e088684 --label arch=amd64 --label version=0.0.0 . 22:32:21 Sending build context to Docker daemon 3.228MB 22:32:21 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:32:21 Step 2/26 : FROM ${BASE} AS builder 22:32:21 ---> 0b8ebc3be19a 22:32:21 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:32:21 ---> Running in bc0b711524ae 22:32:21 Removing intermediate container bc0b711524ae 22:32:21 ---> 73b02134b091 22:32:21 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:32:21 ---> Running in 14ab7bf4364e 22:32:22 Removing intermediate container 14ab7bf4364e 22:32:22 ---> 5af73ef1ac74 22:32:22 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:32:22 ---> Running in 28c559d060ed 22:32:22 Removing intermediate container 28c559d060ed 22:32:22 ---> 884ba0e005f9 22:32:22 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:32:22 ---> Running in bcea42cc3368 22:32:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:32:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:32:22 OK: 211 MiB in 51 packages 22:32:23 Removing intermediate container bcea42cc3368 22:32:23 ---> 80a6da6eac69 22:32:23 Step 7/26 : WORKDIR /app 22:32:23 ---> Running in ef2dcd223cd4 22:32:23 Removing intermediate container ef2dcd223cd4 22:32:23 ---> 988d01374993 22:32:23 Step 8/26 : COPY go.mod vendor* ./ 22:32:23 ---> f54bb2a3f3aa 22:32:23 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:32:23 ---> Running in a321c29acfef 22:32:24 Removing intermediate container a321c29acfef 22:32:24 ---> cae228d13a77 22:32:24 Step 10/26 : COPY . . 22:32:24 ---> f9178d406b85 22:32:24 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:32:24 ---> Running in 1c49288a0ce5 22:32:24 Removing intermediate container 1c49288a0ce5 22:32:24 ---> b846fcf82d19 22:32:24 Step 12/26 : RUN $MAKE 22:32:24 ---> Running in 4ed9e6095437 22:32:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.27 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 22:32:51 Removing intermediate container 4ed9e6095437 22:32:51 ---> 097e55173c21 22:32:51 Step 13/26 : FROM alpine:3.16 22:32:51 3.16: Pulling from library/alpine 22:32:51 ca7dd9ec2225: Pulling fs layer 22:32:51 ca7dd9ec2225: Verifying Checksum 22:32:51 ca7dd9ec2225: Download complete 22:32:51 ca7dd9ec2225: Pull complete 22:32:51 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:32:51 Status: Downloaded newer image for alpine:3.16 22:32:51 ---> bfe296a52501 22:32:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:32:51 ---> Running in 8326a1072aaf 22:32:51 Removing intermediate container 8326a1072aaf 22:32:51 ---> e919d757c31a 22:32:51 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 22:32:51 ---> Running in 8630147d775c 22:32:51 Removing intermediate container 8630147d775c 22:32:51 ---> 45792020ae5f 22:32:51 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:32:51 ---> Running in fe5b773d955c 22:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:32:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:32:51 (1/2) Installing ca-certificates (20220614-r0) 22:32:51 (2/2) Installing dumb-init (1.2.5-r1) 22:32:51 Executing busybox-1.35.0-r17.trigger 22:32:51 Executing ca-certificates-20220614-r0.trigger 22:32:51 OK: 6 MiB in 16 packages 22:32:51 Removing intermediate container fe5b773d955c 22:32:51 ---> e48b793d0477 22:32:51 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:32:51 ---> e6b21428d96a 22:32:51 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:32:51 ---> bdd83fea002d 22:32:51 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:32:51 ---> 1c8c432ce6ba 22:32:51 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:32:51 ---> f58c948b266b 22:32:51 Step 21/26 : EXPOSE 48095 22:32:51 ---> Running in bf400d8d9ab3 22:32:51 Removing intermediate container bf400d8d9ab3 22:32:51 ---> 87ae9a437a5d 22:32:51 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 22:32:51 ---> Running in d570ce0888db 22:32:51 Removing intermediate container d570ce0888db 22:32:51 ---> c6b883406e55 22:32:51 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:32:52 ---> Running in 4fc1baba1760 22:32:52 Removing intermediate container 4fc1baba1760 22:32:52 ---> e8890865ad36 22:32:52 Step 24/26 : LABEL arch=amd64 22:32:52 ---> Running in aedc69a30f93 22:32:52 Removing intermediate container aedc69a30f93 22:32:52 ---> baa8df351972 22:32:52 Step 25/26 : LABEL git_sha=4e1eeb71321f269c64f7118390ae96c74e088684 22:32:52 ---> Running in fc59e9faca16 22:32:52 Removing intermediate container fc59e9faca16 22:32:52 ---> e11194f6b36e 22:32:52 Step 26/26 : LABEL version=0.0.0 22:32:52 ---> Running in b482cb3a372b 22:32:52 Removing intermediate container b482cb3a372b 22:32:52 ---> 4115a0729ebe 22:32:52 [Warning] One or more build-args [ARCH] were not consumed 22:32:52 Successfully built 4115a0729ebe 22:32:52 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 22:32:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:32:53 22:32:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:32:53 latest: Pulling from edgex-lftools-log-publisher 22:32:53 5eb5b503b376: Pulling fs layer 22:32:53 5c69ac0246d0: Pulling fs layer 22:32:53 ec43610c2a17: Pulling fs layer 22:32:53 3a2ae6a8a46f: Pulling fs layer 22:32:53 33b1e0a273af: Pulling fs layer 22:32:53 5d3b04190fa2: Pulling fs layer 22:32:53 2f39f015ded8: Pulling fs layer 22:32:53 33b1e0a273af: Waiting 22:32:53 2f39f015ded8: Waiting 22:32:53 5d3b04190fa2: Waiting 22:32:53 3a2ae6a8a46f: Waiting 22:32:53 5c69ac0246d0: Verifying Checksum 22:32:53 5c69ac0246d0: Download complete 22:32:53 3a2ae6a8a46f: Verifying Checksum 22:32:53 3a2ae6a8a46f: Download complete 22:32:53 33b1e0a273af: Verifying Checksum 22:32:53 33b1e0a273af: Download complete 22:32:53 5d3b04190fa2: Verifying Checksum 22:32:53 5d3b04190fa2: Download complete 22:32:53 ec43610c2a17: Verifying Checksum 22:32:53 ec43610c2a17: Download complete 22:32:54 5eb5b503b376: Verifying Checksum 22:32:54 5eb5b503b376: Download complete 22:32:54 2f39f015ded8: Download complete 22:32:55 5eb5b503b376: Pull complete 22:32:55 5c69ac0246d0: Pull complete 22:32:56 ec43610c2a17: Pull complete 22:32:56 3a2ae6a8a46f: Pull complete 22:32:56 33b1e0a273af: Pull complete 22:32:56 5d3b04190fa2: Pull complete 22:33:00 2f39f015ded8: Pull complete 22:33:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:33:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:33:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:00 prd-ubuntu20.04-docker-8c-8g-4999 does not seem to be running inside a container 22:33:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_app-service-configurable_PR-509 -v /w/workspace/_app-service-configurable_PR-509:/w/workspace/_app-service-configurable_PR-509:rw,z -v /w/workspace/_app-service-configurable_PR-509@tmp:/w/workspace/_app-service-configurable_PR-509@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 22:33:06 $ docker top 227140cd876b413134f5d44dd9164a737c7f98dc5af6701af681077a2a24bdbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:07 ---> job-cost.sh 22:33:07 lf-activate-venv: SKIPPING 22:33:07 INFO: No Stack... 22:33:07 INFO: Retrieving Pricing Info for: v3-standard-8 22:33:07 INFO: Archiving Costs [Pipeline] sh 22:33:08 + cat /w/workspace/_app-service-configurable_PR-509/archives/cost.csv 22:33:08 + cut -d, -f6 [Pipeline] lock 22:33:08 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-509-3-stack-cost] 22:33:08 Resource [jenkins-edgexfoundry-app-service-configurable-PR-509-3-stack-cost] did not exist. Created. 22:33:08 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-509-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:33:08 + echo total: 0.2199999988079071 [Pipeline] stash 22:33:08 Stashed 1 file(s) [Pipeline] } 22:33:08 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-509-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:33:08 $ docker stop --time=1 227140cd876b413134f5d44dd9164a737c7f98dc5af6701af681077a2a24bdbd 22:33:09 $ docker rm -f --volumes 227140cd876b413134f5d44dd9164a737c7f98dc5af6701af681077a2a24bdbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:33:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5001 in /w/workspace/_app-service-configurable_PR-509 [Pipeline] { [Pipeline] ws 22:33:11 Running in /w/workspace/app-service-configurable/3 [Pipeline] { [Pipeline] checkout 22:33:11 Selected Git installation does not exist. Using Default 22:33:11 The recommended git tool is: NONE 22:33:17 using credential edgex-jenkins-ssh 22:33:17 Cloning the remote Git repository 22:33:17 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 22:33:17 > git init /w/workspace/app-service-configurable/3 # timeout=10 22:33:17 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:33:17 > git --version # timeout=10 22:33:17 > git --version # 'git version 2.25.1' 22:33:17 using GIT_SSH to set credentials SSH Credentials for GitHub 22:33:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:33:18 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:33:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:33:20 Merging remotes/origin/main commit ae4d96f51e6c1b0b3f3d1c807dd8827f71e240f6 into PR head commit 4e1eeb71321f269c64f7118390ae96c74e088684 22:33:19 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 22:33:19 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 22:33:19 using GIT_SSH to set credentials SSH Credentials for GitHub 22:33:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/509/head:refs/remotes/origin/PR-509 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:33:20 > git config core.sparsecheckout # timeout=10 22:33:20 > git checkout -f 4e1eeb71321f269c64f7118390ae96c74e088684 # timeout=10 22:33:20 Merge succeeded, producing 4e1eeb71321f269c64f7118390ae96c74e088684 22:33:20 Checking out Revision 4e1eeb71321f269c64f7118390ae96c74e088684 (PR-509) 22:33:20 > git remote # timeout=10 22:33:20 > git config --get remote.origin.url # timeout=10 22:33:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:33:20 > git merge ae4d96f51e6c1b0b3f3d1c807dd8827f71e240f6 # timeout=10 22:33:20 > git rev-parse HEAD^{commit} # timeout=10 22:33:20 > git config core.sparsecheckout # timeout=10 22:33:20 > git checkout -f 4e1eeb71321f269c64f7118390ae96c74e088684 # timeout=10 22:33:24 Commit message: "Merge branch 'targettype' of https://github.com/marcpfuller/app-service-configurable into targettype" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:33:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:33:25 % Total % Received % Xferd Average Speed Time Time Time Current 22:33:25 Dload Upload Total Spent Left Speed 22:33:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 22:33:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:33:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:33:26 + sudo tee /etc/docker/daemon.new 22:33:26 { 22:33:26 "registry-mirrors": [ 22:33:26 "https://nexus3.edgexfoundry.org:10001" 22:33:26 ], 22:33:26 "bip": "10.250.0.254/24", 22:33:26 "hosts": [ 22:33:26 "tcp://0.0.0.0:5555", 22:33:26 "unix:///var/run/docker.sock" 22:33:26 ], 22:33:26 "mtu": 1458, 22:33:26 "selinux-enabled": true, 22:33:26 "seccomp-profile": "/etc/docker/seccomp.json" 22:33:26 } [Pipeline] sh 22:33:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:33:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:33:45 provisioning config files... 22:33:45 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/3@tmp/config1310033558326465592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:45 ---> docker-login.sh 22:33:45 nexus3.edgexfoundry.org:10001 22:33:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:46 Configure a credential helper to remove this warning. See 22:33:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:46 22:33:46 Login Succeeded 22:33:46 nexus3.edgexfoundry.org:10002 22:33:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:46 Configure a credential helper to remove this warning. See 22:33:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:46 22:33:46 Login Succeeded 22:33:46 nexus3.edgexfoundry.org:10003 22:33:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:46 Configure a credential helper to remove this warning. See 22:33:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:46 22:33:46 Login Succeeded 22:33:46 nexus3.edgexfoundry.org:10004 22:33:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:47 Configure a credential helper to remove this warning. See 22:33:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:47 22:33:47 Login Succeeded 22:33:47 docker.io 22:33:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:47 Configure a credential helper to remove this warning. See 22:33:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:47 22:33:47 Login Succeeded 22:33:47 ---> docker-login.sh ends [Pipeline] } 22:33:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:33:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:33:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:33:48 ========================================================= 22:33:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:33:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:48 + 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 . 22:33:48 Sending build context to Docker daemon 203.8kB 22:33:48 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:33:48 Step 2/12 : FROM ${BASE} AS builder 22:33:49 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:33:49 9b18e9b68314: Pulling fs layer 22:33:49 35d82f9e3411: Pulling fs layer 22:33:49 e16973657156: Pulling fs layer 22:33:49 fc693d55d65f: Pulling fs layer 22:33:49 7e9fc2657dce: Pulling fs layer 22:33:49 dda99020689f: Pulling fs layer 22:33:49 db1c61fa0a46: Pulling fs layer 22:33:49 891c053d2c06: Pulling fs layer 22:33:49 fc693d55d65f: Waiting 22:33:49 7e9fc2657dce: Waiting 22:33:49 dda99020689f: Waiting 22:33:49 db1c61fa0a46: Waiting 22:33:49 891c053d2c06: Waiting 22:33:49 e16973657156: Verifying Checksum 22:33:49 e16973657156: Download complete 22:33:49 35d82f9e3411: Verifying Checksum 22:33:49 7e9fc2657dce: Verifying Checksum 22:33:49 7e9fc2657dce: Download complete 22:33:49 dda99020689f: Download complete 22:33:49 9b18e9b68314: Verifying Checksum 22:33:49 9b18e9b68314: Download complete 22:33:50 9b18e9b68314: Pull complete 22:33:50 891c053d2c06: Verifying Checksum 22:33:50 891c053d2c06: Download complete 22:33:51 35d82f9e3411: Pull complete 22:33:51 e16973657156: Pull complete 22:33:51 db1c61fa0a46: Verifying Checksum 22:33:51 db1c61fa0a46: Download complete 22:33:52 fc693d55d65f: Verifying Checksum 22:33:52 fc693d55d65f: Download complete 22:34:05 fc693d55d65f: Pull complete 22:34:05 7e9fc2657dce: Pull complete 22:34:05 dda99020689f: Pull complete 22:34:10 db1c61fa0a46: Pull complete 22:34:13 891c053d2c06: Pull complete 22:34:13 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:34:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:34:13 ---> f96f9c87975a 22:34:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 22:34:15 ---> Running in ec44a3656c38 22:34:15 Removing intermediate container ec44a3656c38 22:34:15 ---> 2a648b3ca8be 22:34:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:34:15 ---> Running in 18c8d7638d47 22:34:15 Removing intermediate container 18c8d7638d47 22:34:15 ---> a3b8c4200251 22:34:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:34:15 ---> Running in c5e12b96a754 22:34:15 Removing intermediate container c5e12b96a754 22:34:15 ---> 999dece83bd5 22:34:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:34:15 ---> Running in 496a05b02893 22:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:34:18 OK: 221 MiB in 51 packages 22:34:19 Removing intermediate container 496a05b02893 22:34:19 ---> ee578a64204c 22:34:19 Step 7/12 : WORKDIR /app 22:34:19 ---> Running in 34515b7493b5 22:34:19 Removing intermediate container 34515b7493b5 22:34:19 ---> d730236d46db 22:34:19 Step 8/12 : COPY go.mod vendor* ./ 22:34:20 ---> b2e562f1aa2e 22:34:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:34:20 ---> Running in bfa460edb09e 22:35:28 Removing intermediate container bfa460edb09e 22:35:28 ---> e9b54d84390b 22:35:28 Step 10/12 : COPY . . 22:35:28 ---> ee31442a9ba3 22:35:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:35:28 ---> Running in 73e02e9a9473 22:35:28 Removing intermediate container 73e02e9a9473 22:35:28 ---> bd7c30e89142 22:35:28 Step 12/12 : RUN $MAKE 22:35:28 ---> Running in 1d775556db13 22:35:29 noop 22:35:30 Removing intermediate container 1d775556db13 22:35:30 ---> 564476f698ba 22:35:30 Successfully built 564476f698ba 22:35:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:30 + docker inspect -f . ci-base-image-arm64 22:35:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:30 prd-ubuntu20.04-docker-arm64-4c-16g-5001 does not seem to be running inside a container 22:35:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 22:35:32 $ docker top 96e06c474b972d1ee7c3e0c469026f27edef2eed70dcc4466f16406c60dfb58b -eo pid,comm [Pipeline] { [Pipeline] sh 22:35:32 + go version 22:35:32 go version go1.18.7 linux/arm64 [Pipeline] } 22:35:32 $ docker stop --time=1 96e06c474b972d1ee7c3e0c469026f27edef2eed70dcc4466f16406c60dfb58b 22:35:34 $ docker rm -f --volumes 96e06c474b972d1ee7c3e0c469026f27edef2eed70dcc4466f16406c60dfb58b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:35 + docker inspect -f . ci-base-image-arm64 22:35:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:35:35 prd-ubuntu20.04-docker-arm64-4c-16g-5001 does not seem to be running inside a container 22:35:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 22:35:36 $ docker top 223858f891b92f0665458e5ee5a34f85237dcee84a46de12f41d24d68df599cf -eo pid,comm [Pipeline] { [Pipeline] sh 22:35:37 + git config --global --add safe.directory /w/workspace/app-service-configurable/3 [Pipeline] fileExists [Pipeline] sh 22:35:37 + make test 22:35:38 go test -race -coverprofile=coverage.out ./... 22:38:14 ? github.com/edgexfoundry/app-service-configurable [no test files] 22:38:14 go vet ./... 22:39:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:39:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:39:36 ./bin/test-attribution-txt.sh 22:39:36 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 22:39:36 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 22:39:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:39:36 $ docker stop --time=1 223858f891b92f0665458e5ee5a34f85237dcee84a46de12f41d24d68df599cf 22:39:39 $ docker rm -f --volumes 223858f891b92f0665458e5ee5a34f85237dcee84a46de12f41d24d68df599cf [Pipeline] // withDockerContainer [Pipeline] sh 22:39:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:39:40 Warning: overwriting stash ‘coverage-report’ 22:39:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:39:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:39:41 + ls -al . 22:39:41 total 168 22:39:41 drwxrwxr-x 7 jenkins jenkins 4096 Feb 7 22:35 . 22:39:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:33 .. 22:39:41 -rw-rw-r-- 1 jenkins jenkins 119 Feb 7 22:33 .dockerignore 22:39:41 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:33 .git 22:39:41 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:33 .github 22:39:41 -rw-rw-r-- 1 jenkins jenkins 171 Feb 7 22:33 .gitignore 22:39:41 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 7 22:33 Attribution.txt 22:39:41 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 7 22:33 CHANGELOG.md 22:39:41 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 7 22:33 Dockerfile 22:39:41 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:33 GOVERNANCE.md 22:39:41 -rw-rw-r-- 1 jenkins jenkins 688 Feb 7 22:33 Jenkinsfile 22:39:41 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 22:33 LICENSE 22:39:41 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 22:33 OWNERS.md 22:39:41 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 7 22:33 README.md 22:39:41 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 22:30 VERSION 22:39:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:33 bin 22:39:41 -rw-r--r-- 1 jenkins jenkins 13 Feb 7 22:35 coverage.out 22:39:41 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 7 22:33 go.mod 22:39:41 -rw-rw-r-- 1 jenkins jenkins 32404 Feb 7 22:33 go.sum 22:39:41 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 7 22:33 main.go 22:39:41 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 7 22:33 makefile 22:39:41 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:33 res 22:39:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:33 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:39:41 + 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=4e1eeb71321f269c64f7118390ae96c74e088684 --label arch=arm64 --label version=0.0.0 . 22:39:41 Sending build context to Docker daemon 204.8kB 22:39:42 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:39:42 Step 2/26 : FROM ${BASE} AS builder 22:39:42 ---> 564476f698ba 22:39:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 22:39:42 ---> Running in 64ade09392ff 22:39:42 Removing intermediate container 64ade09392ff 22:39:42 ---> ea6d12cd2287 22:39:42 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 22:39:42 ---> Running in 4165a6e055f0 22:39:42 Removing intermediate container 4165a6e055f0 22:39:42 ---> ae344d722fe2 22:39:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 22:39:42 ---> Running in ea2694175c65 22:39:43 Removing intermediate container ea2694175c65 22:39:43 ---> 39edbd4366f1 22:39:43 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:39:43 ---> Running in bd96a78767e9 22:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:39:45 OK: 221 MiB in 51 packages 22:39:46 Removing intermediate container bd96a78767e9 22:39:46 ---> 6119ffe7c9ca 22:39:46 Step 7/26 : WORKDIR /app 22:39:46 ---> Running in 4d656bccbeb6 22:39:46 Removing intermediate container 4d656bccbeb6 22:39:46 ---> 83fad4929049 22:39:46 Step 8/26 : COPY go.mod vendor* ./ 22:39:47 ---> c2f0ad50debe 22:39:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:39:47 ---> Running in 30b91f409307 22:39:49 Removing intermediate container 30b91f409307 22:39:49 ---> 3c1b4d9a845e 22:39:49 Step 10/26 : COPY . . 22:39:51 ---> 6e60cba995f5 22:39:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:39:51 ---> Running in b68c1f11f81b 22:39:52 Removing intermediate container b68c1f11f81b 22:39:52 ---> 8672c3283940 22:39:52 Step 12/26 : RUN $MAKE 22:39:52 ---> Running in 0c74833033e6 22:39:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.27 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 22:41:46 Removing intermediate container 0c74833033e6 22:41:46 ---> ab197b2e24a8 22:41:46 Step 13/26 : FROM alpine:3.16 22:41:46 3.16: Pulling from library/alpine 22:41:46 6875df1f5354: Pulling fs layer 22:41:46 6875df1f5354: Verifying Checksum 22:41:46 6875df1f5354: Download complete 22:41:46 6875df1f5354: Pull complete 22:41:47 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 22:41:47 Status: Downloaded newer image for alpine:3.16 22:41:47 ---> 2b4661558fb8 22:41:47 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:41:47 ---> Running in 4168cb58767c 22:41:47 Removing intermediate container 4168cb58767c 22:41:47 ---> a6be9b5302ab 22:41:47 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 22:41:47 ---> Running in 15b843fd2ea2 22:41:47 Removing intermediate container 15b843fd2ea2 22:41:47 ---> ed147cefc203 22:41:47 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 22:41:47 ---> Running in 208041d1bd40 22:41:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:41:50 (1/2) Installing ca-certificates (20220614-r0) 22:41:50 (2/2) Installing dumb-init (1.2.5-r1) 22:41:50 Executing busybox-1.35.0-r17.trigger 22:41:50 Executing ca-certificates-20220614-r0.trigger 22:41:50 OK: 6 MiB in 16 packages 22:41:51 Removing intermediate container 208041d1bd40 22:41:51 ---> 23ac28e932a8 22:41:51 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 22:41:52 ---> 25c2c20e7fb8 22:41:52 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 22:41:52 ---> 6d6bd4c35467 22:41:52 Step 19/26 : COPY --from=builder /app/res/ /res/ 22:41:52 ---> b3de53c98afe 22:41:52 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 22:41:54 ---> a65d0e5655f0 22:41:54 Step 21/26 : EXPOSE 48095 22:41:54 ---> Running in ed95dd76c4ae 22:41:54 Removing intermediate container ed95dd76c4ae 22:41:54 ---> 26c73885b5cc 22:41:54 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 22:41:54 ---> Running in b5b95bfde9d8 22:41:55 Removing intermediate container b5b95bfde9d8 22:41:55 ---> 4843e5003e9c 22:41:55 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 22:41:55 ---> Running in fc1f8b7bccfc 22:41:55 Removing intermediate container fc1f8b7bccfc 22:41:55 ---> 908a9d1680fe 22:41:55 Step 24/26 : LABEL arch=arm64 22:41:55 ---> Running in 0e5da59aba8e 22:41:55 Removing intermediate container 0e5da59aba8e 22:41:55 ---> 54745378ea5e 22:41:55 Step 25/26 : LABEL git_sha=4e1eeb71321f269c64f7118390ae96c74e088684 22:41:55 ---> Running in 6ef5eb2b5406 22:41:55 Removing intermediate container 6ef5eb2b5406 22:41:55 ---> dbda3c53be43 22:41:55 Step 26/26 : LABEL version=0.0.0 22:41:56 ---> Running in 361970f5a63a 22:41:56 Removing intermediate container 361970f5a63a 22:41:56 ---> 74abc318b18d 22:41:56 [Warning] One or more build-args [ARCH] were not consumed 22:41:56 Successfully built 74abc318b18d 22:41:56 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 22:41:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:41:56 22:41:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:41:57 arm64: Pulling from edgex-lftools-log-publisher 22:41:57 8998bd30e6a1: Pulling fs layer 22:41:57 04944245beec: Pulling fs layer 22:41:57 699f458cf7ca: Pulling fs layer 22:41:57 765212b225bb: Pulling fs layer 22:41:57 f23df028b6ca: Pulling fs layer 22:41:57 d65c8cfc05b1: Pulling fs layer 22:41:57 2437ff75d9bd: Pulling fs layer 22:41:57 765212b225bb: Waiting 22:41:57 f23df028b6ca: Waiting 22:41:57 d65c8cfc05b1: Waiting 22:41:57 2437ff75d9bd: Waiting 22:41:57 04944245beec: Verifying Checksum 22:41:57 04944245beec: Download complete 22:41:57 765212b225bb: Verifying Checksum 22:41:57 765212b225bb: Download complete 22:41:57 f23df028b6ca: Verifying Checksum 22:41:57 f23df028b6ca: Download complete 22:41:57 d65c8cfc05b1: Verifying Checksum 22:41:57 d65c8cfc05b1: Download complete 22:41:57 699f458cf7ca: Verifying Checksum 22:41:57 699f458cf7ca: Download complete 22:41:58 8998bd30e6a1: Verifying Checksum 22:41:58 8998bd30e6a1: Download complete 22:42:00 2437ff75d9bd: Verifying Checksum 22:42:00 2437ff75d9bd: Download complete 22:42:02 8998bd30e6a1: Pull complete 22:42:02 04944245beec: Pull complete 22:42:03 699f458cf7ca: Pull complete 22:42:03 765212b225bb: Pull complete 22:42:04 f23df028b6ca: Pull complete 22:42:04 d65c8cfc05b1: Pull complete 22:42:19 2437ff75d9bd: Pull complete 22:42:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:42:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:42:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:20 prd-ubuntu20.04-docker-arm64-4c-16g-5001 does not seem to be running inside a container 22:42:20 $ 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/3 -v /w/workspace/app-service-configurable/3:/w/workspace/app-service-configurable/3:rw,z -v /w/workspace/app-service-configurable/3@tmp:/w/workspace/app-service-configurable/3@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 22:42:22 $ docker top 0e06d8384306c6c7f670181ff3a043d629fe174de519947fce3023f73fbb5c75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:23 ---> job-cost.sh 22:42:23 lf-activate-venv: SKIPPING 22:42:23 INFO: No Stack... 22:42:24 INFO: Retrieving Pricing Info for: v3-standard-4 22:42:24 INFO: Archiving Costs [Pipeline] sh 22:42:25 + cut -d, -f6 22:42:25 + cat /w/workspace/app-service-configurable/3/archives/cost.csv [Pipeline] lock 22:42:25 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-509-3-stack-cost] 22:42:25 Resource [jenkins-edgexfoundry-app-service-configurable-PR-509-3-stack-cost] did not exist. Created. 22:42:25 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-509-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:42:26 /w/workspace/app-service-configurable/3@tmp/durable-c4d2e7f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:42:26 + echo total: 0.10999999940395355 [Pipeline] stash 22:42:26 Warning: overwriting stash ‘stack-cost’ 22:42:26 Stashed 1 file(s) [Pipeline] } 22:42:26 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-509-3-stack-cost] [Pipeline] // lock [Pipeline] } 22:42:26 $ docker stop --time=1 0e06d8384306c6c7f670181ff3a043d629fe174de519947fce3023f73fbb5c75 22:42:28 $ docker rm -f --volumes 0e06d8384306c6c7f670181ff3a043d629fe174de519947fce3023f73fbb5c75 [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 22:42:28 provisioning config files... 22:42:28 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-509@tmp/config8201089831478797813tmp [Pipeline] { [Pipeline] sh 22:42:28 + set +x 22:42:28 + bash -s -- 22:42:28 + curl -s https://codecov.io/bash 22:42:28 22:42:28 _____ _ 22:42:28 / ____| | | 22:42:28 | | ___ __| | ___ ___ _____ __ 22:42:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:42:28 | |___| (_) | (_| | __/ (_| (_) \ V / 22:42:28 \_____\___/ \__,_|\___|\___\___/ \_/ 22:42:28 Bash-1.0.6 22:42:28 22:42:28 22:42:28 ==> git version 2.25.1 found 22:42:28 ==> 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 22:42:28 Release-Date: 2020-01-08 22:42:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:42:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:42:28 ==> Jenkins CI detected. 22:42:28 current dir:  /w/workspace/_app-service-configurable_PR-509 22:42:28 project root: . 22:42:28 --> token set from env 22:42:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:42:28 ==> Running gcov in . (disable via -X gcov) 22:42:28 ==> Python coveragepy not found 22:42:28 ==> Searching for coverage reports in: 22:42:28 + . 22:42:28 -> Found 1 reports 22:42:28 ==> Detecting git/mercurial file structure 22:42:28 ==> Reading reports 22:42:28 + ./coverage.out bytes=13 22:42:28 ==> Appending adjustments 22:42:28 https://docs.codecov.io/docs/fixing-reports 22:42:28 + Found adjustments 22:42:28 ==> Gzipping contents 22:42:28 4.0K /tmp/codecov.5xjXO1.gz 22:42:28 ==> Uploading reports 22:42:28 url: https://codecov.io 22:42:28 query: branch=PR-509&commit=4e1eeb71321f269c64f7118390ae96c74e088684&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-509%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=509&job=&cmd_args= 22:42:29 -> Pinging Codecov 22:42:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-509&commit=4e1eeb71321f269c64f7118390ae96c74e088684&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-509%2F3%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=509&job=&cmd_args= 22:42:29 -> Uploading to 22:42:29 https://storage.googleapis.com/codecov/v4/raw/2023-02-07/A97CA9966030D2A3747ED39772930CCE/4e1eeb71321f269c64f7118390ae96c74e088684/ebfa932f-4209-41fd-8e24-678a4e86fcf3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T224229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1bbe22c5c16f7defaf1df8d377212b5eb8ecba77a32c1c73c0a2f26fdbc4a596 22:42:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:42:29 Dload Upload Total Spent Left Speed 22:42:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 2122 --:--:-- --:--:-- --:--:-- 2122 22:42:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/4e1eeb71321f269c64f7118390ae96c74e088684 [Pipeline] } 22:42:29 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 22:42:30 + [ -d /w/workspace/_app-service-configurable_PR-509/archives ] 22:42:30 + ls -al /w/workspace/_app-service-configurable_PR-509/archives 22:42:30 total 16 22:42:30 drwxr-xr-x 3 root root 4096 Feb 7 22:33 . 22:42:30 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 22:33 .. 22:42:30 drwxr-xr-x 2 root root 4096 Feb 7 22:33 cost 22:42:30 -rw-r--r-- 1 root root 96 Feb 7 22:33 cost.csv 22:42:30 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-509/archives 22:42:30 + ls -al /w/workspace/_app-service-configurable_PR-509/archives 22:42:30 total 16 22:42:30 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:33 . 22:42:30 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 22:33 .. 22:42:30 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 22:33 cost 22:42:30 -rw-r--r-- 1 jenkins jenkins 96 Feb 7 22:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:42:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:42:31 ---> package-listing.sh 22:42:31 ++ facter osfamily 22:42:31 ++ tr '[:upper:]' '[:lower:]' 22:42:31 + OS_FAMILY=debian 22:42:31 + workspace=/w/workspace/_app-service-configurable_PR-509 22:42:31 + START_PACKAGES=/tmp/packages_start.txt 22:42:31 + END_PACKAGES=/tmp/packages_end.txt 22:42:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:42:31 + PACKAGES=/tmp/packages_start.txt 22:42:31 + '[' /w/workspace/_app-service-configurable_PR-509 ']' 22:42:31 + PACKAGES=/tmp/packages_end.txt 22:42:31 + case "${OS_FAMILY}" in 22:42:31 + dpkg -l 22:42:31 + grep '^ii' 22:42:31 + '[' -f /tmp/packages_start.txt ']' 22:42:31 + '[' -f /tmp/packages_end.txt ']' 22:42:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:42:31 + '[' /w/workspace/_app-service-configurable_PR-509 ']' 22:42:31 + mkdir -p /w/workspace/_app-service-configurable_PR-509/archives/ 22:42:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-509/archives/ [Pipeline] echo 22:42:31 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-509/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:42:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:32 prd-ubuntu20.04-docker-8c-8g-4999 does not seem to be running inside a container 22:42:32 $ 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-509/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-509 -v /w/workspace/_app-service-configurable_PR-509:/w/workspace/_app-service-configurable_PR-509:rw,z -v /w/workspace/_app-service-configurable_PR-509@tmp:/w/workspace/_app-service-configurable_PR-509@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 22:42:33 $ docker top 46af6965ac32c565ea54039313e5ae90bedf31affe34f0d5ddffecc3dd4b9bc8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:33 + touch /tmp/pre-build-complete [Pipeline] sh 22:42:33 + mkdir -p /var/log/sysstat [Pipeline] sh 22:42:33 + ls /var/log/sa-host 22:42:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:34 provisioning config files... 22:42:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-509@tmp/config7574204016596918337tmp [Pipeline] { [Pipeline] echo 22:42:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:42:34 ---> create-netrc.sh [Pipeline] } 22:42:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:42:34 ---> python-tools-install.sh [Pipeline] echo 22:42:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:42:34 ---> sudo-logs.sh 22:42:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:42:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:42:35 ---> job-cost.sh 22:42:35 lf-activate-venv: SKIPPING 22:42:35 DEBUG: total: 0.2199999988079071 22:42:35 INFO: Retrieving Stack Cost... 22:42:35 INFO: Retrieving Pricing Info for: v3-standard-8 22:42:36 INFO: Archiving Costs [Pipeline] echo 22:42:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:42:36 ---> logs-deploy.sh 22:42:36 lf-activate-venv: SKIPPING 22:42:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-509/3 22:42:36 INFO: archiving workspace using pattern(s): 22:42:37 Archives upload complete. 22:42:37 INFO: archiving logs to Nexus