Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb1d263d4419ca4cf785bb464f73f0f11639233b+33a8a0fb1d1881fd1b73fa23662390bbef39c173 (6e7beb66edc69e79dd2c63dd0671e6ab789756e2) 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-ssh773803414897119515.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-ssh72367943921752555.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-503/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-503/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5963961136404015376.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-ssh7474594518236221485.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-503/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-503/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6898830173920205628.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 ‘prd-ubuntu20.04-docker-8c-8g-3076’ Running on prd-ubuntu20.04-docker-8c-8g-3083 in /w/workspace/_app-service-configurable_PR-503 [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-503 # 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/503/head:refs/remotes/origin/PR-503 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 33a8a0fb1d1881fd1b73fa23662390bbef39c173 into PR head commit bb1d263d4419ca4cf785bb464f73f0f11639233b Merge succeeded, producing d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 Checking out Revision d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 (PR-503) > git config core.sparsecheckout # timeout=10 > git checkout -f bb1d263d4419ca4cf785bb464f73f0f11639233b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 33a8a0fb1d1881fd1b73fa23662390bbef39c173 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 # timeout=10 Commit message: "Merge commit '33a8a0fb1d1881fd1b73fa23662390bbef39c173' into HEAD" > git rev-list --no-walk bb1d263d4419ca4cf785bb464f73f0f11639233b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:54:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:54:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:54:29 ========================================================= 04:54:29 EdgeX Global Pipelines Version Info 04:54:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:54:30 ------------------- 04:54:30 stable info: 04:54:30 ------------------- 04:54:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:54:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:54:30 Message: update stable to v1.0.244 04:54:30 ------------------- 04:54:30 experimental info: 04:54:30 ------------------- 04:54:30 Commited By: **** collab-it+edgex@linuxfoundation.org 04:54:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:54:30 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-503 [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-503 [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-503 [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d1b7b9c [Pipeline] echo 04:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:54:31 provisioning config files... 04:54:31 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-503@tmp/config6724926585133627767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:31 ---> docker-login.sh 04:54:31 nexus3.edgexfoundry.org:10001 04:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:32 Configure a credential helper to remove this warning. See 04:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:32 04:54:32 Login Succeeded 04:54:32 nexus3.edgexfoundry.org:10002 04:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:32 Configure a credential helper to remove this warning. See 04:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:32 04:54:32 Login Succeeded 04:54:32 nexus3.edgexfoundry.org:10003 04:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:33 Configure a credential helper to remove this warning. See 04:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:33 04:54:33 Login Succeeded 04:54:33 nexus3.edgexfoundry.org:10004 04:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:33 Configure a credential helper to remove this warning. See 04:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:33 04:54:33 Login Succeeded 04:54:33 docker.io 04:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:33 Configure a credential helper to remove this warning. See 04:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:33 04:54:33 Login Succeeded 04:54:33 ---> docker-login.sh ends [Pipeline] } 04:54:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:54:33 + git rev-list -1 --merges d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7~1..d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 [Pipeline] echo 04:54:33 -----------> git rev-list -1 --merges d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7~1..d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 04:54:33 d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 [false] [Pipeline] sh 04:54:34 + git log --format=format:%s -1 d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 [Pipeline] echo 04:54:34 ========================================================= 04:54:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:54:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:34 + git log --format=format:%s -1 d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 [Pipeline] echo 04:54:34 [semverPrep] GIT_COMMIT: d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7, Commit Message: Merge commit '33a8a0fb1d1881fd1b73fa23662390bbef39c173' into HEAD [Pipeline] echo 04:54:34 [semverPrep] This is not a build commit. [Pipeline] sh 04:54:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:54:35 + grep -v github /etc/ssh/ssh_known_hosts 04:54:35 + [ -e /tmp/ssh_known_hosts ] 04:54:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:54:35 + + sudo tee -a /etc/ssh/ssh_known_hosts 04:54:35 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:54:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:35 04:54:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:36 0.1.4: Pulling from edgex-devops/py-git-semver 04:54:36 b85a868b505f: Pulling fs layer 04:54:36 e2be974225ed: Pulling fs layer 04:54:36 339a4e72a1f5: Pulling fs layer 04:54:36 988bab9f4d93: Pulling fs layer 04:54:36 1469e6f7b9e6: Pulling fs layer 04:54:36 eaf3925da568: Pulling fs layer 04:54:36 bab4dde63d76: Pulling fs layer 04:54:36 bde34c3a00c8: Pulling fs layer 04:54:36 b352a97aabf1: Pulling fs layer 04:54:36 4872d77fe225: Pulling fs layer 04:54:36 5851b861e8e6: Pulling fs layer 04:54:36 988bab9f4d93: Waiting 04:54:36 1469e6f7b9e6: Waiting 04:54:36 eaf3925da568: Waiting 04:54:36 bab4dde63d76: Waiting 04:54:36 bde34c3a00c8: Waiting 04:54:36 5851b861e8e6: Waiting 04:54:36 b352a97aabf1: Waiting 04:54:36 4872d77fe225: Waiting 04:54:36 e2be974225ed: Verifying Checksum 04:54:36 e2be974225ed: Download complete 04:54:36 988bab9f4d93: Verifying Checksum 04:54:36 988bab9f4d93: Download complete 04:54:36 339a4e72a1f5: Verifying Checksum 04:54:36 339a4e72a1f5: Download complete 04:54:36 1469e6f7b9e6: Verifying Checksum 04:54:36 1469e6f7b9e6: Download complete 04:54:36 eaf3925da568: Download complete 04:54:36 bde34c3a00c8: Verifying Checksum 04:54:36 bde34c3a00c8: Download complete 04:54:36 b352a97aabf1: Verifying Checksum 04:54:36 b352a97aabf1: Download complete 04:54:36 4872d77fe225: Verifying Checksum 04:54:36 4872d77fe225: Download complete 04:54:36 b85a868b505f: Verifying Checksum 04:54:36 b85a868b505f: Download complete 04:54:36 5851b861e8e6: Verifying Checksum 04:54:36 5851b861e8e6: Download complete 04:54:36 bab4dde63d76: Verifying Checksum 04:54:36 bab4dde63d76: Download complete 04:54:37 b85a868b505f: Pull complete 04:54:38 e2be974225ed: Pull complete 04:54:38 339a4e72a1f5: Pull complete 04:54:38 988bab9f4d93: Pull complete 04:54:38 1469e6f7b9e6: Pull complete 04:54:38 eaf3925da568: Pull complete 04:54:41 bab4dde63d76: Pull complete 04:54:41 bde34c3a00c8: Pull complete 04:54:41 b352a97aabf1: Pull complete 04:54:41 4872d77fe225: Pull complete 04:54:41 5851b861e8e6: Pull complete 04:54:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:54:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:54:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:54:42 prd-ubuntu20.04-docker-8c-8g-3083 does not seem to be running inside a container 04:54:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-503 -v /w/workspace/_app-service-configurable_PR-503:/w/workspace/_app-service-configurable_PR-503:rw,z -v /w/workspace/_app-service-configurable_PR-503@tmp:/w/workspace/_app-service-configurable_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:54:46 $ docker top 1413bc452e6c1b97964b355120c7fe5eeed427d2bc045b2fd43ebb3802e17412 -eo pid,comm 04:54:46 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). 04:54:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:54:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:46 [ssh-agent] Looking for ssh-agent implementation... 04:54:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:46 $ docker exec 1413bc452e6c1b97964b355120c7fe5eeed427d2bc045b2fd43ebb3802e17412 ssh-agent 04:54:46 SSH_AUTH_SOCK=/tmp/ssh-whUYLPK4Z3qn/agent.32 04:54:46 SSH_AGENT_PID=38 04:54:46 Running ssh-add (command line suppressed) 04:54:46 Identity added: /w/workspace/_app-service-configurable_PR-503@tmp/private_key_3356187986752842398.key (/w/workspace/_app-service-configurable_PR-503@tmp/private_key_3356187986752842398.key) 04:54:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:47 + git tag --points-at HEAD [Pipeline] } 04:54:47 $ docker exec --env ******** --env ******** 1413bc452e6c1b97964b355120c7fe5eeed427d2bc045b2fd43ebb3802e17412 ssh-agent -k 04:54:47 unset SSH_AUTH_SOCK; 04:54:47 unset SSH_AGENT_PID; 04:54:47 echo Agent pid 38 killed; 04:54:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:54:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:54:47 [ssh-agent] Looking for ssh-agent implementation... 04:54:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:54:47 $ docker exec 1413bc452e6c1b97964b355120c7fe5eeed427d2bc045b2fd43ebb3802e17412 ssh-agent 04:54:47 SSH_AUTH_SOCK=/tmp/ssh-sdrhDdNrtKUv/agent.70 04:54:47 SSH_AGENT_PID=76 04:54:47 Running ssh-add (command line suppressed) 04:54:47 Identity added: /w/workspace/_app-service-configurable_PR-503@tmp/private_key_17657946296800482444.key (/w/workspace/_app-service-configurable_PR-503@tmp/private_key_17657946296800482444.key) 04:54:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:54:47 + git semver init 04:54:48 2023-01-19 04:54:48,003 [run_init] DEBUG init version:0.0.0 force:False 04:54:48 2023-01-19 04:54:48,003 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-503/.semver 04:54:48 2023-01-19 04:54:48,004 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-503/.semver 04:54:48 2023-01-19 04:54:48,004 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-503/.semver'], cwd=/w/workspace/_app-service-configurable_PR-503, universal_newlines=False, shell=None, istream=None) 04:54:49 2023-01-19 04:54:48,827 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-503/.git/info/exclude 04:54:49 2023-01-19 04:54:48,827 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-503/.semver/PR-503 with force:False 04:54:49 2023-01-19 04:54:48,827 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-503/.semver/PR-503 04:54:49 2023-01-19 04:54:48,832 [execute] INFO git cat-file --batch-check 04:54:49 2023-01-19 04:54:48,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-503/.semver, universal_newlines=False, shell=None, istream=) 04:54:49 2023-01-19 04:54:48,838 [execute] INFO git cat-file --batch 04:54:49 2023-01-19 04:54:48,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-503/.semver, universal_newlines=False, shell=None, istream=) 04:54:49 2023-01-19 04:54:48,845 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-503/.semver/PR-503 04:54:49 0.0.0 [Pipeline] } 04:54:49 $ docker exec --env ******** --env ******** 1413bc452e6c1b97964b355120c7fe5eeed427d2bc045b2fd43ebb3802e17412 ssh-agent -k 04:54:49 unset SSH_AUTH_SOCK; 04:54:49 unset SSH_AGENT_PID; 04:54:49 echo Agent pid 76 killed; 04:54:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:54:49 + git semver [Pipeline] } 04:54:49 $ docker stop --time=1 1413bc452e6c1b97964b355120c7fe5eeed427d2bc045b2fd43ebb3802e17412 04:54:51 $ docker rm -f --volumes 1413bc452e6c1b97964b355120c7fe5eeed427d2bc045b2fd43ebb3802e17412 [Pipeline] // withDockerContainer [Pipeline] sh 04:54:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:54:51 Stashed 1 file(s) [Pipeline] echo 04:54:51 [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 04:54:51 provisioning config files... 04:54:51 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-503@tmp/config10492242655771231590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:54:52 ---> docker-login.sh 04:54:52 nexus3.edgexfoundry.org:10001 04:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:52 Configure a credential helper to remove this warning. See 04:54:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:52 04:54:52 Login Succeeded 04:54:52 nexus3.edgexfoundry.org:10002 04:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:52 Configure a credential helper to remove this warning. See 04:54:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:52 04:54:52 Login Succeeded 04:54:52 nexus3.edgexfoundry.org:10003 04:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:52 Configure a credential helper to remove this warning. See 04:54:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:52 04:54:52 Login Succeeded 04:54:52 nexus3.edgexfoundry.org:10004 04:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:52 Configure a credential helper to remove this warning. See 04:54:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:52 04:54:52 Login Succeeded 04:54:52 docker.io 04:54:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:54:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:54:52 Configure a credential helper to remove this warning. See 04:54:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:54:52 04:54:52 Login Succeeded 04:54:52 ---> docker-login.sh ends [Pipeline] } 04:54:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:54:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:54:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:54:52 ========================================================= 04:54:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:54:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:53 + 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 . 04:54:53 Sending build context to Docker daemon 3.223MB 04:54:53 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 04:54:53 Step 2/12 : FROM ${BASE} AS builder 04:54:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:54:53 213ec9aee27d: Pulling fs layer 04:54:53 4583459ba037: Pulling fs layer 04:54:53 93c1e223e6f2: Pulling fs layer 04:54:53 53926ce57604: Pulling fs layer 04:54:53 21b2b0c7a3f4: Pulling fs layer 04:54:53 22ff95d597cd: Pulling fs layer 04:54:53 12d6caf4c0d1: Pulling fs layer 04:54:53 96b7cbca73a9: Pulling fs layer 04:54:53 a7acece74701: Pulling fs layer 04:54:53 53926ce57604: Waiting 04:54:53 22ff95d597cd: Waiting 04:54:53 96b7cbca73a9: Waiting 04:54:53 12d6caf4c0d1: Waiting 04:54:53 a7acece74701: Waiting 04:54:53 21b2b0c7a3f4: Waiting 04:54:53 93c1e223e6f2: Verifying Checksum 04:54:53 93c1e223e6f2: Download complete 04:54:53 4583459ba037: Verifying Checksum 04:54:53 4583459ba037: Download complete 04:54:53 21b2b0c7a3f4: Download complete 04:54:53 22ff95d597cd: Verifying Checksum 04:54:53 22ff95d597cd: Download complete 04:54:53 213ec9aee27d: Verifying Checksum 04:54:53 213ec9aee27d: Download complete 04:54:53 12d6caf4c0d1: Verifying Checksum 04:54:53 12d6caf4c0d1: Download complete 04:54:53 213ec9aee27d: Pull complete 04:54:53 4583459ba037: Pull complete 04:54:53 93c1e223e6f2: Pull complete 04:54:54 a7acece74701: Verifying Checksum 04:54:54 a7acece74701: Download complete 04:54:54 53926ce57604: Verifying Checksum 04:54:54 53926ce57604: Download complete 04:54:54 96b7cbca73a9: Download complete 04:54:58 53926ce57604: Pull complete 04:54:58 21b2b0c7a3f4: Pull complete 04:54:58 22ff95d597cd: Pull complete 04:54:58 12d6caf4c0d1: Pull complete 04:55:01 96b7cbca73a9: Pull complete 04:55:01 a7acece74701: Pull complete 04:55:01 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:55:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:55:01 ---> db6d94c90886 04:55:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:55:05 ---> Running in 300e0f07eaac 04:55:05 Removing intermediate container 300e0f07eaac 04:55:05 ---> 01804363f3d5 04:55:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:55:05 ---> Running in e1070014285e 04:55:05 Removing intermediate container e1070014285e 04:55:05 ---> f88d8774bf9c 04:55:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:55:05 ---> Running in b771b5663006 04:55:05 Removing intermediate container b771b5663006 04:55:05 ---> 7e1e8dc8cec6 04:55:05 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:55:05 ---> Running in dbb33c332d83 04:55:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:55:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:55:06 OK: 211 MiB in 51 packages 04:55:06 Removing intermediate container dbb33c332d83 04:55:06 ---> 9ad42874e455 04:55:06 Step 7/12 : WORKDIR /app 04:55:06 ---> Running in 6e1ce1ffdf1f 04:55:06 Removing intermediate container 6e1ce1ffdf1f 04:55:06 ---> 8fec0e0ef8e5 04:55:06 Step 8/12 : COPY go.mod vendor* ./ 04:55:06 ---> 5bf302c45bbb 04:55:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:55:06 ---> Running in ca70ad87f664 04:55:06 Still waiting to schedule task 04:55:06 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3082’ 04:55:38 Removing intermediate container ca70ad87f664 04:55:38 ---> f338784fc4ea 04:55:38 Step 10/12 : COPY . . 04:55:38 ---> 52ee41eb8935 04:55:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:55:38 ---> Running in bb3166419fed 04:55:38 Removing intermediate container bb3166419fed 04:55:38 ---> 742af5fbd216 04:55:38 Step 12/12 : RUN $MAKE 04:55:38 ---> Running in 320aeefb4cf7 04:55:38 noop 04:55:38 Removing intermediate container 320aeefb4cf7 04:55:38 ---> e0caefb0c558 04:55:38 Successfully built e0caefb0c558 04:55:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:39 + docker inspect -f . ci-base-image-x86_64 04:55:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:39 prd-ubuntu20.04-docker-8c-8g-3083 does not seem to be running inside a container 04:55:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-503 -v /w/workspace/_app-service-configurable_PR-503:/w/workspace/_app-service-configurable_PR-503:rw,z -v /w/workspace/_app-service-configurable_PR-503@tmp:/w/workspace/_app-service-configurable_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:55:39 $ docker top 979953e8bd9b501af25107ae6d6f44c1df6134fc5d44f169ac48e9d7f96016f8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:55:39 + go version 04:55:39 go version go1.18.7 linux/amd64 [Pipeline] } 04:55:39 $ docker stop --time=1 979953e8bd9b501af25107ae6d6f44c1df6134fc5d44f169ac48e9d7f96016f8 04:55:41 $ docker rm -f --volumes 979953e8bd9b501af25107ae6d6f44c1df6134fc5d44f169ac48e9d7f96016f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:55:41 + docker inspect -f . ci-base-image-x86_64 04:55:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:55:41 prd-ubuntu20.04-docker-8c-8g-3083 does not seem to be running inside a container 04:55:42 $ 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-503 -v /w/workspace/_app-service-configurable_PR-503:/w/workspace/_app-service-configurable_PR-503:rw,z -v /w/workspace/_app-service-configurable_PR-503@tmp:/w/workspace/_app-service-configurable_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:55:42 $ docker top 5f58638d28a0c1a61e4b8bd530368ec8f95249037a11dbc4a6ced6df0fbe1b80 -eo pid,comm [Pipeline] { [Pipeline] sh 04:55:42 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-503 [Pipeline] fileExists [Pipeline] sh 04:55:43 + make test 04:55:43 go test -race -coverprofile=coverage.out ./... 04:56:05 ? github.com/edgexfoundry/app-service-configurable [no test files] 04:56:05 go vet ./... 04:56:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:56:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:56:13 ./bin/test-attribution-txt.sh 04:56:13 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:56:13 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:56:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:56:13 $ docker stop --time=1 5f58638d28a0c1a61e4b8bd530368ec8f95249037a11dbc4a6ced6df0fbe1b80 04:56:17 $ docker rm -f --volumes 5f58638d28a0c1a61e4b8bd530368ec8f95249037a11dbc4a6ced6df0fbe1b80 [Pipeline] // withDockerContainer [Pipeline] sh 04:56:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:56:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:56:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:56:18 + ls -al . 04:56:18 total 176 04:56:18 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 04:55 . 04:56:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:54 .. 04:56:18 -rw-rw-r-- 1 jenkins jenkins 119 Jan 19 04:54 .dockerignore 04:56:18 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 04:54 .git 04:56:18 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 04:54 .github 04:56:18 -rw-rw-r-- 1 jenkins jenkins 171 Jan 19 04:54 .gitignore 04:56:18 drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 04:54 .semver 04:56:18 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 19 04:54 Attribution.txt 04:56:18 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 19 04:54 CHANGELOG.md 04:56:18 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 19 04:54 Dockerfile 04:56:18 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 04:54 GOVERNANCE.md 04:56:18 -rw-rw-r-- 1 jenkins jenkins 688 Jan 19 04:54 Jenkinsfile 04:56:18 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 19 04:54 LICENSE 04:56:18 -rw-rw-r-- 1 jenkins jenkins 618 Jan 19 04:54 OWNERS.md 04:56:18 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 19 04:54 README.md 04:56:18 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 04:54 VERSION 04:56:18 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:54 bin 04:56:18 -rw-r--r-- 1 jenkins jenkins 13 Jan 19 04:55 coverage.out 04:56:18 -rw-rw-r-- 1 jenkins jenkins 3362 Jan 19 04:54 go.mod 04:56:18 -rw-rw-r-- 1 jenkins jenkins 33983 Jan 19 04:54 go.sum 04:56:18 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 19 04:54 main.go 04:56:18 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 19 04:54 makefile 04:56:18 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 04:54 res 04:56:18 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:54 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:19 + 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=d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 --label arch=amd64 --label version=0.0.0 . 04:56:19 Sending build context to Docker daemon 3.224MB 04:56:19 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 04:56:19 Step 2/26 : FROM ${BASE} AS builder 04:56:19 ---> e0caefb0c558 04:56:19 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 04:56:19 ---> Running in abc2be358e5c 04:56:19 Removing intermediate container abc2be358e5c 04:56:19 ---> 670b40883c3d 04:56:19 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 04:56:19 ---> Running in 1d7f64cffb21 04:56:19 Removing intermediate container 1d7f64cffb21 04:56:19 ---> ed1969402309 04:56:19 Step 5/26 : ARG ADD_BUILD_TAGS="" 04:56:19 ---> Running in 51adec4b824f 04:56:19 Removing intermediate container 51adec4b824f 04:56:19 ---> e241e85f64b0 04:56:19 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:56:19 ---> Running in 882b7544c862 04:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:56:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:56:20 OK: 211 MiB in 51 packages 04:56:20 Removing intermediate container 882b7544c862 04:56:20 ---> e8fa22a0c494 04:56:20 Step 7/26 : WORKDIR /app 04:56:20 ---> Running in 8d3fd5684fdc 04:56:20 Removing intermediate container 8d3fd5684fdc 04:56:20 ---> ddd1c63dc8ce 04:56:20 Step 8/26 : COPY go.mod vendor* ./ 04:56:20 ---> a8280917d585 04:56:20 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:21 ---> Running in 250cee1baf74 04:56:21 Removing intermediate container 250cee1baf74 04:56:21 ---> 1b383e413f7b 04:56:21 Step 10/26 : COPY . . 04:56:22 ---> 0aef0ac64a07 04:56:22 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:56:22 ---> Running in 105102a10353 04:56:22 Removing intermediate container 105102a10353 04:56:22 ---> b50f01510574 04:56:22 Step 12/26 : RUN $MAKE 04:56:22 ---> Running in 32f9fd814456 04:56:22 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 04:56:44 Removing intermediate container 32f9fd814456 04:56:44 ---> c44af28fb955 04:56:44 Step 13/26 : FROM alpine:3.16 04:56:44 3.16: Pulling from library/alpine 04:56:44 ca7dd9ec2225: Pulling fs layer 04:56:44 ca7dd9ec2225: Download complete 04:56:44 ca7dd9ec2225: Pull complete 04:56:44 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:56:44 Status: Downloaded newer image for alpine:3.16 04:56:44 ---> bfe296a52501 04:56:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:56:45 ---> Running in e4e0ded149d0 04:56:45 Removing intermediate container e4e0ded149d0 04:56:45 ---> cbd7d60ccf04 04:56:45 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 04:56:45 ---> Running in 4865f38507de 04:56:45 Removing intermediate container 4865f38507de 04:56:45 ---> d2ff39f1ab37 04:56:45 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 04:56:45 ---> Running in 7f6f9f59975b 04:56:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:56:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:56:45 (1/2) Installing ca-certificates (20220614-r0) 04:56:45 (2/2) Installing dumb-init (1.2.5-r1) 04:56:45 Executing busybox-1.35.0-r17.trigger 04:56:45 Executing ca-certificates-20220614-r0.trigger 04:56:45 OK: 6 MiB in 16 packages 04:56:46 Removing intermediate container 7f6f9f59975b 04:56:46 ---> 8710d55751d3 04:56:46 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 04:56:46 ---> ab63201989b0 04:56:46 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 04:56:46 ---> d3f03f808fc7 04:56:46 Step 19/26 : COPY --from=builder /app/res/ /res/ 04:56:47 ---> 0bc870fad196 04:56:47 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 04:56:47 ---> 8f4c62db7eb5 04:56:47 Step 21/26 : EXPOSE 48095 04:56:47 ---> Running in 16e0d425665f 04:56:47 Removing intermediate container 16e0d425665f 04:56:47 ---> 6fc5a690a2b3 04:56:47 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 04:56:47 ---> Running in e383d4ed20db 04:56:47 Removing intermediate container e383d4ed20db 04:56:47 ---> d6cc58ce5896 04:56:47 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:56:47 ---> Running in dcda7d8f8112 04:56:48 Removing intermediate container dcda7d8f8112 04:56:48 ---> b96d67db0411 04:56:48 Step 24/26 : LABEL arch=amd64 04:56:48 ---> Running in 75e3ae099130 04:56:48 Removing intermediate container 75e3ae099130 04:56:48 ---> 1cd2612c46d9 04:56:48 Step 25/26 : LABEL git_sha=d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 04:56:48 ---> Running in 99260374c1b8 04:56:48 Removing intermediate container 99260374c1b8 04:56:48 ---> f5cfda429547 04:56:48 Step 26/26 : LABEL version=0.0.0 04:56:48 ---> Running in 41acad335bf1 04:56:48 Removing intermediate container 41acad335bf1 04:56:48 ---> 2c41ead3d564 04:56:48 [Warning] One or more build-args [ARCH] were not consumed 04:56:48 Successfully built 2c41ead3d564 04:56:48 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 04:56:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:48 04:56:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:49 latest: Pulling from edgex-lftools-log-publisher 04:56:49 5eb5b503b376: Pulling fs layer 04:56:49 5c69ac0246d0: Pulling fs layer 04:56:49 ec43610c2a17: Pulling fs layer 04:56:49 3a2ae6a8a46f: Pulling fs layer 04:56:49 33b1e0a273af: Pulling fs layer 04:56:49 5d3b04190fa2: Pulling fs layer 04:56:49 2f39f015ded8: Pulling fs layer 04:56:49 5d3b04190fa2: Waiting 04:56:49 3a2ae6a8a46f: Waiting 04:56:49 33b1e0a273af: Waiting 04:56:49 2f39f015ded8: Waiting 04:56:49 5c69ac0246d0: Verifying Checksum 04:56:49 5c69ac0246d0: Download complete 04:56:49 3a2ae6a8a46f: Download complete 04:56:49 33b1e0a273af: Verifying Checksum 04:56:49 33b1e0a273af: Download complete 04:56:49 5d3b04190fa2: Verifying Checksum 04:56:49 5d3b04190fa2: Download complete 04:56:49 ec43610c2a17: Verifying Checksum 04:56:49 ec43610c2a17: Download complete 04:56:49 5eb5b503b376: Verifying Checksum 04:56:49 5eb5b503b376: Download complete 04:56:50 2f39f015ded8: Download complete 04:56:50 5eb5b503b376: Pull complete 04:56:51 5c69ac0246d0: Pull complete 04:56:51 ec43610c2a17: Pull complete 04:56:51 3a2ae6a8a46f: Pull complete 04:56:51 33b1e0a273af: Pull complete 04:56:51 5d3b04190fa2: Pull complete 04:56:57 2f39f015ded8: Pull complete 04:56:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:56:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:56:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:56:57 prd-ubuntu20.04-docker-8c-8g-3083 does not seem to be running inside a container 04:56:57 $ 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-503 -v /w/workspace/_app-service-configurable_PR-503:/w/workspace/_app-service-configurable_PR-503:rw,z -v /w/workspace/_app-service-configurable_PR-503@tmp:/w/workspace/_app-service-configurable_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:57:01 $ docker top 4fe3c510975c20ce1dafafa80c15f0577e681ab4d9ef516f8399f6e638034f8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:01 ---> job-cost.sh 04:57:01 lf-activate-venv: SKIPPING 04:57:01 INFO: No Stack... 04:57:01 INFO: Retrieving Pricing Info for: v3-standard-8 04:57:02 INFO: Archiving Costs [Pipeline] sh 04:57:02 + cat /w/workspace/_app-service-configurable_PR-503/archives/cost.csv 04:57:02 + cut -d, -f6 [Pipeline] lock 04:57:02 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-503-2-stack-cost] 04:57:02 Resource [jenkins-edgexfoundry-app-service-configurable-PR-503-2-stack-cost] did not exist. Created. 04:57:02 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-503-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:57:03 + echo total: 0.2199999988079071 [Pipeline] stash 04:57:03 Stashed 1 file(s) [Pipeline] } 04:57:03 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-503-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:57:03 $ docker stop --time=1 4fe3c510975c20ce1dafafa80c15f0577e681ab4d9ef516f8399f6e638034f8a 04:57:04 $ docker rm -f --volumes 4fe3c510975c20ce1dafafa80c15f0577e681ab4d9ef516f8399f6e638034f8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:58:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3084 in /w/workspace/_app-service-configurable_PR-503 [Pipeline] { [Pipeline] ws 04:58:37 Running in /w/workspace/app-service-configurable/2 [Pipeline] { [Pipeline] checkout 04:58:37 Selected Git installation does not exist. Using Default 04:58:37 The recommended git tool is: NONE 04:58:42 using credential edgex-jenkins-ssh 04:58:42 Cloning the remote Git repository 04:58:43 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 04:58:43 > git init /w/workspace/app-service-configurable/2 # timeout=10 04:58:43 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:58:43 > git --version # timeout=10 04:58:43 > git --version # 'git version 2.25.1' 04:58:43 using GIT_SSH to set credentials SSH Credentials for GitHub 04:58:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:58:44 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:58:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:58:45 Merging remotes/origin/main commit 33a8a0fb1d1881fd1b73fa23662390bbef39c173 into PR head commit bb1d263d4419ca4cf785bb464f73f0f11639233b 04:58:46 Merge succeeded, producing d68dc944c1ff4ebdc1bfe2fa73b81e12d349e3e2 04:58:46 Checking out Revision d68dc944c1ff4ebdc1bfe2fa73b81e12d349e3e2 (PR-503) 04:58:45 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 04:58:45 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 04:58:45 using GIT_SSH to set credentials SSH Credentials for GitHub 04:58:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/503/head:refs/remotes/origin/PR-503 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:58:45 > git config core.sparsecheckout # timeout=10 04:58:45 > git checkout -f bb1d263d4419ca4cf785bb464f73f0f11639233b # timeout=10 04:58:46 > git remote # timeout=10 04:58:46 > git config --get remote.origin.url # timeout=10 04:58:46 using GIT_SSH to set credentials SSH Credentials for GitHub 04:58:46 > git merge 33a8a0fb1d1881fd1b73fa23662390bbef39c173 # timeout=10 04:58:46 > git rev-parse HEAD^{commit} # timeout=10 04:58:46 > git config core.sparsecheckout # timeout=10 04:58:46 > git checkout -f d68dc944c1ff4ebdc1bfe2fa73b81e12d349e3e2 # timeout=10 04:58:49 Commit message: "Merge commit '33a8a0fb1d1881fd1b73fa23662390bbef39c173' into HEAD" 04:58:49 > git rev-list --no-walk bb1d263d4419ca4cf785bb464f73f0f11639233b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:58:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:58:50 % Total % Received % Xferd Average Speed Time Time Time Current 04:58:50 Dload Upload Total Spent Left Speed 04:58:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 69677 0 --:--:-- --:--:-- --:--:-- 69677 [Pipeline] sh 04:58:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:58:51 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 04:58:51 /etc/docker/daemon.new 04:58:51 { 04:58:51 "registry-mirrors": [ 04:58:51 "https://nexus3.edgexfoundry.org:10001" 04:58:51 ], 04:58:51 "bip": "10.250.0.254/24", 04:58:51 "hosts": [ 04:58:51 "tcp://0.0.0.0:5555", 04:58:51 "unix:///var/run/docker.sock" 04:58:51 ], 04:58:51 "mtu": 1458, 04:58:51 "selinux-enabled": true, 04:58:51 "seccomp-profile": "/etc/docker/seccomp.json" 04:58:51 } [Pipeline] sh 04:58:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:58:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:59:10 provisioning config files... 04:59:10 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/2@tmp/config10405476734096226388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:11 ---> docker-login.sh 04:59:11 nexus3.edgexfoundry.org:10001 04:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:11 Configure a credential helper to remove this warning. See 04:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:11 04:59:11 Login Succeeded 04:59:11 nexus3.edgexfoundry.org:10002 04:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:12 Configure a credential helper to remove this warning. See 04:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:12 04:59:12 Login Succeeded 04:59:12 nexus3.edgexfoundry.org:10003 04:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:12 Configure a credential helper to remove this warning. See 04:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:12 04:59:12 Login Succeeded 04:59:12 nexus3.edgexfoundry.org:10004 04:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:12 Configure a credential helper to remove this warning. See 04:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:12 04:59:12 Login Succeeded 04:59:12 docker.io 04:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:59:13 Configure a credential helper to remove this warning. See 04:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:59:13 04:59:13 Login Succeeded 04:59:13 ---> docker-login.sh ends [Pipeline] } 04:59:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:59:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:59:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:59:13 ========================================================= 04:59:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:59:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:14 + 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 . 04:59:14 Sending build context to Docker daemon 205.3kB 04:59:14 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 04:59:14 Step 2/12 : FROM ${BASE} AS builder 04:59:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:59:14 9b18e9b68314: Pulling fs layer 04:59:14 35d82f9e3411: Pulling fs layer 04:59:14 e16973657156: Pulling fs layer 04:59:14 fc693d55d65f: Pulling fs layer 04:59:14 7e9fc2657dce: Pulling fs layer 04:59:14 dda99020689f: Pulling fs layer 04:59:14 db1c61fa0a46: Pulling fs layer 04:59:14 891c053d2c06: Pulling fs layer 04:59:14 fc693d55d65f: Waiting 04:59:14 dda99020689f: Waiting 04:59:14 891c053d2c06: Waiting 04:59:14 7e9fc2657dce: Waiting 04:59:14 db1c61fa0a46: Waiting 04:59:14 e16973657156: Verifying Checksum 04:59:14 e16973657156: Download complete 04:59:14 35d82f9e3411: Verifying Checksum 04:59:14 35d82f9e3411: Download complete 04:59:14 7e9fc2657dce: Verifying Checksum 04:59:14 7e9fc2657dce: Download complete 04:59:14 dda99020689f: Verifying Checksum 04:59:14 dda99020689f: Download complete 04:59:14 9b18e9b68314: Verifying Checksum 04:59:14 9b18e9b68314: Download complete 04:59:15 9b18e9b68314: Pull complete 04:59:15 891c053d2c06: Verifying Checksum 04:59:15 891c053d2c06: Download complete 04:59:16 db1c61fa0a46: Verifying Checksum 04:59:16 db1c61fa0a46: Download complete 04:59:16 35d82f9e3411: Pull complete 04:59:17 fc693d55d65f: Verifying Checksum 04:59:17 fc693d55d65f: Download complete 04:59:17 e16973657156: Pull complete 04:59:29 fc693d55d65f: Pull complete 04:59:29 7e9fc2657dce: Pull complete 04:59:29 dda99020689f: Pull complete 04:59:33 db1c61fa0a46: Pull complete 04:59:34 891c053d2c06: Pull complete 04:59:34 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:59:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:59:34 ---> f96f9c87975a 04:59:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 04:59:35 ---> Running in 00ca19cfaac0 04:59:35 Removing intermediate container 00ca19cfaac0 04:59:35 ---> 2c107361132e 04:59:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:59:36 ---> Running in 99f0bd066a19 04:59:36 Removing intermediate container 99f0bd066a19 04:59:36 ---> cdc3b0645a65 04:59:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:59:36 ---> Running in 1f93ef038ec0 04:59:36 Removing intermediate container 1f93ef038ec0 04:59:36 ---> 8765d1d94b09 04:59:36 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:59:36 ---> Running in c0588a7745ac 04:59:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:59:39 OK: 221 MiB in 51 packages 04:59:39 Removing intermediate container c0588a7745ac 04:59:39 ---> 31f30a61f2a8 04:59:39 Step 7/12 : WORKDIR /app 04:59:39 ---> Running in c119f897cc25 04:59:40 Removing intermediate container c119f897cc25 04:59:40 ---> 7673f2014e5e 04:59:40 Step 8/12 : COPY go.mod vendor* ./ 04:59:42 ---> 96c4d40e2b5b 04:59:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:59:42 ---> Running in 2a0c44257c22 05:00:38 Removing intermediate container 2a0c44257c22 05:00:38 ---> 918e420c95c6 05:00:38 Step 10/12 : COPY . . 05:00:38 ---> 454262cf4a03 05:00:38 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:00:38 ---> Running in 8d1935235f73 05:00:38 Removing intermediate container 8d1935235f73 05:00:38 ---> 6c6b2216dfa3 05:00:38 Step 12/12 : RUN $MAKE 05:00:38 ---> Running in 33e1b0dd76fb 05:00:38 noop 05:00:38 Removing intermediate container 33e1b0dd76fb 05:00:38 ---> d09e73a8b601 05:00:38 Successfully built d09e73a8b601 05:00:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:39 + docker inspect -f . ci-base-image-arm64 05:00:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:39 prd-ubuntu20.04-docker-arm64-4c-16g-3084 does not seem to be running inside a container 05:00:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:00:40 $ docker top 41cd22bc890321a8bb98b39e80efe628a92ca981bb757fc5a676b713b2613201 -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:41 + go version 05:00:41 go version go1.18.7 linux/arm64 [Pipeline] } 05:00:41 $ docker stop --time=1 41cd22bc890321a8bb98b39e80efe628a92ca981bb757fc5a676b713b2613201 05:00:43 $ docker rm -f --volumes 41cd22bc890321a8bb98b39e80efe628a92ca981bb757fc5a676b713b2613201 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:43 + docker inspect -f . ci-base-image-arm64 05:00:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:43 prd-ubuntu20.04-docker-arm64-4c-16g-3084 does not seem to be running inside a container 05:00:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:00:44 $ docker top 2b5e7e8f1a227020cb3e7ab4a1119e45d5e79a93e0b10a57b4ea1dbf2dedb074 -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:45 + git config --global --add safe.directory /w/workspace/app-service-configurable/2 [Pipeline] fileExists [Pipeline] sh 05:00:45 + make test 05:00:45 go test -race -coverprofile=coverage.out ./... 05:02:52 ? github.com/edgexfoundry/app-service-configurable [no test files] 05:02:52 go vet ./... 05:04:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:04:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:04:29 ./bin/test-attribution-txt.sh 05:04:29 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 05:04:29 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 05:04:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:04:29 $ docker stop --time=1 2b5e7e8f1a227020cb3e7ab4a1119e45d5e79a93e0b10a57b4ea1dbf2dedb074 05:04:31 $ docker rm -f --volumes 2b5e7e8f1a227020cb3e7ab4a1119e45d5e79a93e0b10a57b4ea1dbf2dedb074 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:04:32 Warning: overwriting stash ‘coverage-report’ 05:04:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:04:33 + ls -al . 05:04:33 total 172 05:04:33 drwxrwxr-x 7 jenkins jenkins 4096 Jan 19 05:00 . 05:04:33 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:58 .. 05:04:33 -rw-rw-r-- 1 jenkins jenkins 119 Jan 19 04:58 .dockerignore 05:04:33 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 04:58 .git 05:04:33 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 04:58 .github 05:04:33 -rw-rw-r-- 1 jenkins jenkins 171 Jan 19 04:58 .gitignore 05:04:33 -rw-rw-r-- 1 jenkins jenkins 9103 Jan 19 04:58 Attribution.txt 05:04:33 -rw-rw-r-- 1 jenkins jenkins 29118 Jan 19 04:58 CHANGELOG.md 05:04:33 -rw-rw-r-- 1 jenkins jenkins 1898 Jan 19 04:58 Dockerfile 05:04:33 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 04:58 GOVERNANCE.md 05:04:33 -rw-rw-r-- 1 jenkins jenkins 688 Jan 19 04:58 Jenkinsfile 05:04:33 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 19 04:58 LICENSE 05:04:33 -rw-rw-r-- 1 jenkins jenkins 618 Jan 19 04:58 OWNERS.md 05:04:33 -rw-rw-r-- 1 jenkins jenkins 4369 Jan 19 04:58 README.md 05:04:33 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 04:54 VERSION 05:04:33 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:58 bin 05:04:33 -rw-r--r-- 1 jenkins jenkins 13 Jan 19 05:00 coverage.out 05:04:33 -rw-rw-r-- 1 jenkins jenkins 3362 Jan 19 04:58 go.mod 05:04:33 -rw-rw-r-- 1 jenkins jenkins 33983 Jan 19 04:58 go.sum 05:04:33 -rw-rw-r-- 1 jenkins jenkins 1949 Jan 19 04:58 main.go 05:04:33 -rw-rw-r-- 1 jenkins jenkins 2078 Jan 19 04:58 makefile 05:04:33 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 04:58 res 05:04:33 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:33 + 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=d68dc944c1ff4ebdc1bfe2fa73b81e12d349e3e2 --label arch=arm64 --label version=0.0.0 . 05:04:33 Sending build context to Docker daemon 206.3kB 05:04:34 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 05:04:34 Step 2/26 : FROM ${BASE} AS builder 05:04:34 ---> d09e73a8b601 05:04:34 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 05:04:34 ---> Running in 6e80f3c5c3cf 05:04:34 Removing intermediate container 6e80f3c5c3cf 05:04:34 ---> efba98e96039 05:04:34 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 05:04:34 ---> Running in 69d5dfabf0de 05:04:34 Removing intermediate container 69d5dfabf0de 05:04:34 ---> 88ecafb7a54c 05:04:34 Step 5/26 : ARG ADD_BUILD_TAGS="" 05:04:34 ---> Running in 25602616beeb 05:04:35 Removing intermediate container 25602616beeb 05:04:35 ---> 7429ea7f490c 05:04:35 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:35 ---> Running in d8cb863fff28 05:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:04:38 OK: 221 MiB in 51 packages 05:04:38 Removing intermediate container d8cb863fff28 05:04:38 ---> 518c725386c5 05:04:38 Step 7/26 : WORKDIR /app 05:04:38 ---> Running in 4f4d1e2f28ef 05:04:39 Removing intermediate container 4f4d1e2f28ef 05:04:39 ---> f57173591555 05:04:39 Step 8/26 : COPY go.mod vendor* ./ 05:04:39 ---> 6931506554c8 05:04:39 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:39 ---> Running in 2eb5cc68b03e 05:04:42 Removing intermediate container 2eb5cc68b03e 05:04:42 ---> 659ad469f0fc 05:04:42 Step 10/26 : COPY . . 05:04:42 ---> ed9f07e23c53 05:04:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:04:42 ---> Running in 8ac9d94cd730 05:04:43 Removing intermediate container 8ac9d94cd730 05:04:43 ---> a58704504fe4 05:04:43 Step 12/26 : RUN $MAKE 05:04:43 ---> Running in f623f74d2cf6 05:04:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.19 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 05:06:51 Removing intermediate container f623f74d2cf6 05:06:51 ---> fa066f9ba388 05:06:51 Step 13/26 : FROM alpine:3.16 05:06:51 3.16: Pulling from library/alpine 05:06:51 6875df1f5354: Pulling fs layer 05:06:51 6875df1f5354: Verifying Checksum 05:06:51 6875df1f5354: Download complete 05:06:51 6875df1f5354: Pull complete 05:06:51 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 05:06:51 Status: Downloaded newer image for alpine:3.16 05:06:51 ---> 2b4661558fb8 05:06:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:06:51 ---> Running in ae116b5fcf08 05:06:51 Removing intermediate container ae116b5fcf08 05:06:51 ---> bdbfe61d08b0 05:06:51 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 05:06:51 ---> Running in ff2928681b61 05:06:51 Removing intermediate container ff2928681b61 05:06:51 ---> 6fd6b00b9922 05:06:51 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 05:06:51 ---> Running in ced5d17dde4d 05:06:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:06:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:06:51 (1/2) Installing ca-certificates (20220614-r0) 05:06:51 (2/2) Installing dumb-init (1.2.5-r1) 05:06:51 Executing busybox-1.35.0-r17.trigger 05:06:51 Executing ca-certificates-20220614-r0.trigger 05:06:51 OK: 6 MiB in 16 packages 05:06:51 Removing intermediate container ced5d17dde4d 05:06:51 ---> f4488b4a7c14 05:06:51 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 05:06:51 ---> ac726d96cee8 05:06:51 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 05:06:51 ---> cf89fa2eb479 05:06:51 Step 19/26 : COPY --from=builder /app/res/ /res/ 05:06:51 ---> a8458f8f5dc4 05:06:51 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 05:06:53 ---> b851c396e864 05:06:53 Step 21/26 : EXPOSE 48095 05:06:53 ---> Running in 072092c64e15 05:06:53 Removing intermediate container 072092c64e15 05:06:53 ---> 4512c490c5b6 05:06:53 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 05:06:53 ---> Running in 77b0eba4c832 05:06:53 Removing intermediate container 77b0eba4c832 05:06:53 ---> a25e6bee2301 05:06:53 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:06:53 ---> Running in f3fb1f355af6 05:06:53 Removing intermediate container f3fb1f355af6 05:06:53 ---> fc0a5611173d 05:06:53 Step 24/26 : LABEL arch=arm64 05:06:53 ---> Running in 145b484a563a 05:06:54 Removing intermediate container 145b484a563a 05:06:54 ---> 7ce6ff561f19 05:06:54 Step 25/26 : LABEL git_sha=d68dc944c1ff4ebdc1bfe2fa73b81e12d349e3e2 05:06:54 ---> Running in 78b864049a95 05:06:54 Removing intermediate container 78b864049a95 05:06:54 ---> cf22809dd6f5 05:06:54 Step 26/26 : LABEL version=0.0.0 05:06:54 ---> Running in 038635d907a3 05:06:55 Removing intermediate container 038635d907a3 05:06:55 ---> 3d8aa8e1c3c6 05:06:55 [Warning] One or more build-args [ARCH] were not consumed 05:06:55 Successfully built 3d8aa8e1c3c6 05:06:55 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 05:06:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:06:55 05:06:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:06:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:06:55 arm64: Pulling from edgex-lftools-log-publisher 05:06:55 8998bd30e6a1: Pulling fs layer 05:06:55 04944245beec: Pulling fs layer 05:06:55 699f458cf7ca: Pulling fs layer 05:06:55 765212b225bb: Pulling fs layer 05:06:55 f23df028b6ca: Pulling fs layer 05:06:55 d65c8cfc05b1: Pulling fs layer 05:06:55 2437ff75d9bd: Pulling fs layer 05:06:55 765212b225bb: Waiting 05:06:55 f23df028b6ca: Waiting 05:06:55 2437ff75d9bd: Waiting 05:06:55 d65c8cfc05b1: Waiting 05:06:56 04944245beec: Verifying Checksum 05:06:56 04944245beec: Download complete 05:06:56 765212b225bb: Verifying Checksum 05:06:56 765212b225bb: Download complete 05:06:56 f23df028b6ca: Verifying Checksum 05:06:56 f23df028b6ca: Download complete 05:06:56 d65c8cfc05b1: Verifying Checksum 05:06:56 d65c8cfc05b1: Download complete 05:06:56 699f458cf7ca: Verifying Checksum 05:06:56 699f458cf7ca: Download complete 05:06:56 8998bd30e6a1: Verifying Checksum 05:06:56 8998bd30e6a1: Download complete 05:06:58 2437ff75d9bd: Verifying Checksum 05:06:58 2437ff75d9bd: Download complete 05:07:00 8998bd30e6a1: Pull complete 05:07:00 04944245beec: Pull complete 05:07:02 699f458cf7ca: Pull complete 05:07:02 765212b225bb: Pull complete 05:07:03 f23df028b6ca: Pull complete 05:07:03 d65c8cfc05b1: Pull complete 05:07:15 2437ff75d9bd: Pull complete 05:07:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:07:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:07:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:15 prd-ubuntu20.04-docker-arm64-4c-16g-3084 does not seem to be running inside a container 05:07:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/2 -v /w/workspace/app-service-configurable/2:/w/workspace/app-service-configurable/2:rw,z -v /w/workspace/app-service-configurable/2@tmp:/w/workspace/app-service-configurable/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:07:18 $ docker top 69d406b3015338b70a2bf33da9ad3a878087f9bbb76eb0b2ef13c89c24feaaec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:19 ---> job-cost.sh 05:07:19 lf-activate-venv: SKIPPING 05:07:19 INFO: No Stack... 05:07:19 INFO: Retrieving Pricing Info for: v3-standard-4 05:07:20 INFO: Archiving Costs [Pipeline] sh 05:07:21 + cat /w/workspace/app-service-configurable/2/archives/cost.csv 05:07:21 + cut -d, -f6 [Pipeline] lock 05:07:21 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-503-2-stack-cost] 05:07:21 Resource [jenkins-edgexfoundry-app-service-configurable-PR-503-2-stack-cost] did not exist. Created. 05:07:21 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-503-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:07:21 /w/workspace/app-service-configurable/2@tmp/durable-ec1b9180/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:07:22 + echo total: 0.10999999940395355 [Pipeline] stash 05:07:22 Warning: overwriting stash ‘stack-cost’ 05:07:22 Stashed 1 file(s) [Pipeline] } 05:07:22 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-503-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:07:22 $ docker stop --time=1 69d406b3015338b70a2bf33da9ad3a878087f9bbb76eb0b2ef13c89c24feaaec 05:07:23 $ docker rm -f --volumes 69d406b3015338b70a2bf33da9ad3a878087f9bbb76eb0b2ef13c89c24feaaec [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 05:07:24 provisioning config files... 05:07:24 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-503@tmp/config14610163660314383056tmp [Pipeline] { [Pipeline] sh 05:07:24 + set +x 05:07:24 + curl -s https://codecov.io/bash 05:07:24 + bash -s -- 05:07:24 05:07:24 _____ _ 05:07:24 / ____| | | 05:07:24 | | ___ __| | ___ ___ _____ __ 05:07:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:07:24 | |___| (_) | (_| | __/ (_| (_) \ V / 05:07:24 \_____\___/ \__,_|\___|\___\___/ \_/ 05:07:24 Bash-1.0.6 05:07:24 05:07:24 05:07:24 ==> git version 2.25.1 found 05:07:24 ==> 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 05:07:24 Release-Date: 2020-01-08 05:07:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:07:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:07:24 ==> Jenkins CI detected. 05:07:24 current dir:  /w/workspace/_app-service-configurable_PR-503 05:07:24 project root: . 05:07:24 --> token set from env 05:07:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:07:24 ==> Running gcov in . (disable via -X gcov) 05:07:24 ==> Python coveragepy not found 05:07:24 ==> Searching for coverage reports in: 05:07:24 + . 05:07:24 -> Found 1 reports 05:07:24 ==> Detecting git/mercurial file structure 05:07:24 ==> Reading reports 05:07:24 + ./coverage.out bytes=13 05:07:24 ==> Appending adjustments 05:07:24 https://docs.codecov.io/docs/fixing-reports 05:07:24 + Found adjustments 05:07:24 ==> Gzipping contents 05:07:24 4.0K /tmp/codecov.axGOx3.gz 05:07:24 ==> Uploading reports 05:07:24 url: https://codecov.io 05:07:24 query: branch=PR-503&commit=d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-503%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=503&job=&cmd_args= 05:07:24 -> Pinging Codecov 05:07:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-503&commit=d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-503%2F2%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=503&job=&cmd_args= 05:07:25 -> Uploading to 05:07:25 https://storage.googleapis.com/codecov/v4/raw/2023-01-19/A97CA9966030D2A3747ED39772930CCE/d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7/98364cd3-7528-4d08-9952-d5217f0b1b9f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T050725Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6dbcdc2d166ab470616334304f5c96a1c1774550257ccf10256c0076bdbc2e0 05:07:25 % Total % Received % Xferd Average Speed Time Time Time Current 05:07:25 Dload Upload Total Spent Left Speed 05:07:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 2352 --:--:-- --:--:-- --:--:-- 2342 100 520 0 0 100 520 0 2039 --:--:-- --:--:-- --:--:-- 2031 05:07:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/d1b7b9c1f16d908c9bb57e3c44abde5878c24ba7 [Pipeline] } 05:07:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:07:26 + [ -d /w/workspace/_app-service-configurable_PR-503/archives ] 05:07:26 + ls -al /w/workspace/_app-service-configurable_PR-503/archives 05:07:26 total 16 05:07:26 drwxr-xr-x 3 root root 4096 Jan 19 04:57 . 05:07:26 drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 04:57 .. 05:07:26 drwxr-xr-x 2 root root 4096 Jan 19 04:57 cost 05:07:26 -rw-r--r-- 1 root root 96 Jan 19 04:57 cost.csv 05:07:26 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-503/archives 05:07:26 + ls -al /w/workspace/_app-service-configurable_PR-503/archives 05:07:26 total 16 05:07:26 drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 04:57 . 05:07:26 drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 04:57 .. 05:07:26 drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 04:57 cost 05:07:26 -rw-r--r-- 1 jenkins jenkins 96 Jan 19 04:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:07:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:07:27 ---> package-listing.sh 05:07:27 ++ facter osfamily 05:07:27 ++ tr '[:upper:]' '[:lower:]' 05:07:27 + OS_FAMILY=debian 05:07:27 + workspace=/w/workspace/_app-service-configurable_PR-503 05:07:27 + START_PACKAGES=/tmp/packages_start.txt 05:07:27 + END_PACKAGES=/tmp/packages_end.txt 05:07:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:07:27 + PACKAGES=/tmp/packages_start.txt 05:07:27 + '[' /w/workspace/_app-service-configurable_PR-503 ']' 05:07:27 + PACKAGES=/tmp/packages_end.txt 05:07:27 + case "${OS_FAMILY}" in 05:07:27 + dpkg -l 05:07:27 + grep '^ii' 05:07:27 + '[' -f /tmp/packages_start.txt ']' 05:07:27 + '[' -f /tmp/packages_end.txt ']' 05:07:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:07:27 + '[' /w/workspace/_app-service-configurable_PR-503 ']' 05:07:27 + mkdir -p /w/workspace/_app-service-configurable_PR-503/archives/ 05:07:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-503/archives/ [Pipeline] echo 05:07:27 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-503/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:07:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:07:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:07:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:07:28 prd-ubuntu20.04-docker-8c-8g-3083 does not seem to be running inside a container 05:07:28 $ 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-503/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-503 -v /w/workspace/_app-service-configurable_PR-503:/w/workspace/_app-service-configurable_PR-503:rw,z -v /w/workspace/_app-service-configurable_PR-503@tmp:/w/workspace/_app-service-configurable_PR-503@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:07:28 $ docker top f3588aae24d8bb65d70a2c62e591dcb6177bb467a8f2c1ab0c9555240fcb0c58 -eo pid,comm [Pipeline] { [Pipeline] sh 05:07:29 + touch /tmp/pre-build-complete [Pipeline] sh 05:07:29 + mkdir -p /var/log/sysstat [Pipeline] sh 05:07:29 + ls /var/log/sa-host 05:07:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:29 provisioning config files... 05:07:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-503@tmp/config18345247182827384220tmp [Pipeline] { [Pipeline] echo 05:07:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:07:30 ---> create-netrc.sh [Pipeline] } 05:07:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:07:30 ---> python-tools-install.sh [Pipeline] echo 05:07:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:07:30 ---> sudo-logs.sh 05:07:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:07:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:07:31 ---> job-cost.sh 05:07:31 lf-activate-venv: SKIPPING 05:07:31 DEBUG: total: 0.2199999988079071 05:07:31 INFO: Retrieving Stack Cost... 05:07:31 INFO: Retrieving Pricing Info for: v3-standard-8 05:07:31 INFO: Archiving Costs [Pipeline] echo 05:07:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:07:32 ---> logs-deploy.sh 05:07:32 lf-activate-venv: SKIPPING 05:07:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-503/2 05:07:32 INFO: archiving workspace using pattern(s): 05:07:33 Archives upload complete. 05:07:33 INFO: archiving logs to Nexus