Pull request #510 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 062919099ad2e4978d9f7f0ef46d83434edc36bb+836f87500d0ab86c5b89a87899a5c272f5f4162e (8cfc4c8f870e9eaa0acc52fcd0eae945d2e930b2) 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-ssh4992379608447196776.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-ssh8462633683946381845.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-510/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-510/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15467649447130229343.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-510/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5798540602528891484.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12930759510461964003.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-510/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-service-configurable/branches/PR-510/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8192984206038046268.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4887 in /w/workspace/_app-service-configurable_PR-510 [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-510 # 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/510/head:refs/remotes/origin/PR-510 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 836f87500d0ab86c5b89a87899a5c272f5f4162e into PR head commit 062919099ad2e4978d9f7f0ef46d83434edc36bb Merge succeeded, producing 062919099ad2e4978d9f7f0ef46d83434edc36bb Checking out Revision 062919099ad2e4978d9f7f0ef46d83434edc36bb (PR-510) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 062919099ad2e4978d9f7f0ef46d83434edc36bb # 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 836f87500d0ab86c5b89a87899a5c272f5f4162e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 062919099ad2e4978d9f7f0ef46d83434edc36bb # timeout=10 [Pipeline] timeout 12:02:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:02:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:02:36 ========================================================= 12:02:36 EdgeX Global Pipelines Version Info 12:02:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:02:37 ------------------- 12:02:37 stable info: 12:02:37 ------------------- 12:02:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:02:37 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:02:37 Message: update stable to v1.0.244 12:02:37 ------------------- 12:02:37 experimental info: 12:02:37 ------------------- 12:02:37 Commited By: **** collab-it+edgex@linuxfoundation.org 12:02:37 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 12:02:37 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:02:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-510 [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-510 [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-510 [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 062919099ad2e4978d9f7f0ef46d83434edc36bb [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0629190 [Pipeline] echo 12:02:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:02:39 provisioning config files... 12:02:39 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-510@tmp/config11202460009319850757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:40 ---> docker-login.sh 12:02:40 nexus3.edgexfoundry.org:10001 12:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:40 Configure a credential helper to remove this warning. See 12:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:40 12:02:40 Login Succeeded 12:02:40 nexus3.edgexfoundry.org:10002 12:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:40 Configure a credential helper to remove this warning. See 12:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:40 12:02:40 Login Succeeded 12:02:40 nexus3.edgexfoundry.org:10003 12:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:40 Configure a credential helper to remove this warning. See 12:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:40 12:02:40 Login Succeeded 12:02:40 nexus3.edgexfoundry.org:10004 12:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:40 Configure a credential helper to remove this warning. See 12:02:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:40 12:02:40 Login Succeeded 12:02:40 docker.io 12:02:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:41 Configure a credential helper to remove this warning. See 12:02:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:41 12:02:41 Login Succeeded 12:02:41 ---> docker-login.sh ends [Pipeline] } 12:02:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:02:41 + git rev-list -1 --merges 062919099ad2e4978d9f7f0ef46d83434edc36bb~1..062919099ad2e4978d9f7f0ef46d83434edc36bb [Pipeline] echo 12:02:41 -----------> git rev-list -1 --merges 062919099ad2e4978d9f7f0ef46d83434edc36bb~1..062919099ad2e4978d9f7f0ef46d83434edc36bb 062919099ad2e4978d9f7f0ef46d83434edc36bb [false] [Pipeline] sh 12:02:42 + git log --format=format:%s -1 062919099ad2e4978d9f7f0ef46d83434edc36bb [Pipeline] echo 12:02:42 ========================================================= 12:02:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:02:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:02:42 + git log --format=format:%s -1 062919099ad2e4978d9f7f0ef46d83434edc36bb [Pipeline] echo 12:02:42 [semverPrep] GIT_COMMIT: 062919099ad2e4978d9f7f0ef46d83434edc36bb, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:02:42 [semverPrep] This is not a build commit. [Pipeline] sh 12:02:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:02:43 + grep -v github /etc/ssh/ssh_known_hosts 12:02:43 + [ -e /tmp/ssh_known_hosts ] 12:02:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:02:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:02:43 + sudo tee -a /etc/ssh/ssh_known_hosts 12:02:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:43 12:02:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:43 0.1.4: Pulling from edgex-devops/py-git-semver 12:02:43 b85a868b505f: Pulling fs layer 12:02:43 e2be974225ed: Pulling fs layer 12:02:43 339a4e72a1f5: Pulling fs layer 12:02:43 988bab9f4d93: Pulling fs layer 12:02:43 1469e6f7b9e6: Pulling fs layer 12:02:43 eaf3925da568: Pulling fs layer 12:02:43 bab4dde63d76: Pulling fs layer 12:02:43 bde34c3a00c8: Pulling fs layer 12:02:43 b352a97aabf1: Pulling fs layer 12:02:43 4872d77fe225: Pulling fs layer 12:02:43 5851b861e8e6: Pulling fs layer 12:02:43 988bab9f4d93: Waiting 12:02:43 1469e6f7b9e6: Waiting 12:02:43 eaf3925da568: Waiting 12:02:43 bab4dde63d76: Waiting 12:02:43 bde34c3a00c8: Waiting 12:02:43 b352a97aabf1: Waiting 12:02:43 4872d77fe225: Waiting 12:02:43 5851b861e8e6: Waiting 12:02:43 e2be974225ed: Verifying Checksum 12:02:43 e2be974225ed: Download complete 12:02:43 988bab9f4d93: Download complete 12:02:44 1469e6f7b9e6: Verifying Checksum 12:02:44 1469e6f7b9e6: Download complete 12:02:44 eaf3925da568: Verifying Checksum 12:02:44 eaf3925da568: Download complete 12:02:44 339a4e72a1f5: Verifying Checksum 12:02:44 339a4e72a1f5: Download complete 12:02:44 bde34c3a00c8: Download complete 12:02:44 b352a97aabf1: Verifying Checksum 12:02:44 b352a97aabf1: Download complete 12:02:44 4872d77fe225: Download complete 12:02:44 5851b861e8e6: Verifying Checksum 12:02:44 5851b861e8e6: Download complete 12:02:44 b85a868b505f: Download complete 12:02:44 bab4dde63d76: Verifying Checksum 12:02:44 bab4dde63d76: Download complete 12:02:45 b85a868b505f: Pull complete 12:02:45 e2be974225ed: Pull complete 12:02:46 339a4e72a1f5: Pull complete 12:02:46 988bab9f4d93: Pull complete 12:02:47 1469e6f7b9e6: Pull complete 12:02:47 eaf3925da568: Pull complete 12:02:48 bab4dde63d76: Pull complete 12:02:48 bde34c3a00c8: Pull complete 12:02:48 b352a97aabf1: Pull complete 12:02:49 4872d77fe225: Pull complete 12:02:49 5851b861e8e6: Pull complete 12:02:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:02:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:49 prd-ubuntu20.04-docker-8c-8g-4887 does not seem to be running inside a container 12:02:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-510 -v /w/workspace/_app-service-configurable_PR-510:/w/workspace/_app-service-configurable_PR-510:rw,z -v /w/workspace/_app-service-configurable_PR-510@tmp:/w/workspace/_app-service-configurable_PR-510@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:02:52 $ docker top 41dd144d1e860e90b23b6d3b7db555b1e21e7f254601abb31c69f3f433497c60 -eo pid,comm 12:02:52 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). 12:02:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:02:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:52 [ssh-agent] Looking for ssh-agent implementation... 12:02:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:52 $ docker exec 41dd144d1e860e90b23b6d3b7db555b1e21e7f254601abb31c69f3f433497c60 ssh-agent 12:02:52 SSH_AUTH_SOCK=/tmp/ssh-dh9tBlzMuYWg/agent.33 12:02:52 SSH_AGENT_PID=39 12:02:52 Running ssh-add (command line suppressed) 12:02:52 Identity added: /w/workspace/_app-service-configurable_PR-510@tmp/private_key_5113234453806771347.key (/w/workspace/_app-service-configurable_PR-510@tmp/private_key_5113234453806771347.key) 12:02:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:53 + git tag --points-at HEAD [Pipeline] } 12:02:53 $ docker exec --env ******** --env ******** 41dd144d1e860e90b23b6d3b7db555b1e21e7f254601abb31c69f3f433497c60 ssh-agent -k 12:02:53 unset SSH_AUTH_SOCK; 12:02:53 unset SSH_AGENT_PID; 12:02:53 echo Agent pid 39 killed; 12:02:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:02:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:53 [ssh-agent] Looking for ssh-agent implementation... 12:02:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:53 $ docker exec 41dd144d1e860e90b23b6d3b7db555b1e21e7f254601abb31c69f3f433497c60 ssh-agent 12:02:53 SSH_AUTH_SOCK=/tmp/ssh-XZjgqTTzIom2/agent.71 12:02:53 SSH_AGENT_PID=77 12:02:53 Running ssh-add (command line suppressed) 12:02:53 Identity added: /w/workspace/_app-service-configurable_PR-510@tmp/private_key_9248796899507978758.key (/w/workspace/_app-service-configurable_PR-510@tmp/private_key_9248796899507978758.key) 12:02:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:54 + git semver init 12:02:54 2023-02-07 12:02:54,263 [run_init] DEBUG init version:0.0.0 force:False 12:02:54 2023-02-07 12:02:54,265 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-510/.semver 12:02:54 2023-02-07 12:02:54,266 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-510/.semver 12:02:54 2023-02-07 12:02:54,267 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-510/.semver'], cwd=/w/workspace/_app-service-configurable_PR-510, universal_newlines=False, shell=None, istream=None) 12:02:55 2023-02-07 12:02:55,213 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-510/.git/info/exclude 12:02:55 2023-02-07 12:02:55,214 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-510/.semver/PR-510 with force:False 12:02:55 2023-02-07 12:02:55,214 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-510/.semver/PR-510 12:02:55 2023-02-07 12:02:55,218 [execute] INFO git cat-file --batch-check 12:02:55 2023-02-07 12:02:55,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-510/.semver, universal_newlines=False, shell=None, istream=) 12:02:55 2023-02-07 12:02:55,226 [execute] INFO git cat-file --batch 12:02:55 2023-02-07 12:02:55,226 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-510/.semver, universal_newlines=False, shell=None, istream=) 12:02:55 2023-02-07 12:02:55,232 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-510/.semver/PR-510 12:02:55 0.0.0 [Pipeline] } 12:02:55 $ docker exec --env ******** --env ******** 41dd144d1e860e90b23b6d3b7db555b1e21e7f254601abb31c69f3f433497c60 ssh-agent -k 12:02:55 unset SSH_AUTH_SOCK; 12:02:55 unset SSH_AGENT_PID; 12:02:55 echo Agent pid 77 killed; 12:02:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:02:55 + git semver [Pipeline] } 12:02:56 $ docker stop --time=1 41dd144d1e860e90b23b6d3b7db555b1e21e7f254601abb31c69f3f433497c60 12:02:57 $ docker rm -f --volumes 41dd144d1e860e90b23b6d3b7db555b1e21e7f254601abb31c69f3f433497c60 [Pipeline] // withDockerContainer [Pipeline] sh 12:02:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:02:58 Stashed 1 file(s) [Pipeline] echo 12:02:58 [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 12:02:58 provisioning config files... 12:02:58 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-510@tmp/config182450971756698040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4886 in /w/workspace/_app-service-configurable_PR-510 [Pipeline] { [Pipeline] ws 12:02:58 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:02:58 Selected Git installation does not exist. Using Default 12:02:58 The recommended git tool is: NONE 12:02:59 ---> docker-login.sh 12:02:59 nexus3.edgexfoundry.org:10001 12:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:59 Configure a credential helper to remove this warning. See 12:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:59 12:02:59 Login Succeeded 12:02:59 nexus3.edgexfoundry.org:10002 12:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:59 Configure a credential helper to remove this warning. See 12:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:59 12:02:59 Login Succeeded 12:02:59 nexus3.edgexfoundry.org:10003 12:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:59 Configure a credential helper to remove this warning. See 12:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:59 12:02:59 Login Succeeded 12:02:59 nexus3.edgexfoundry.org:10004 12:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:59 Configure a credential helper to remove this warning. See 12:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:59 12:02:59 Login Succeeded 12:02:59 docker.io 12:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:59 Configure a credential helper to remove this warning. See 12:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:59 12:02:59 Login Succeeded 12:02:59 ---> docker-login.sh ends [Pipeline] } 12:02:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:03:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:03:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:03:00 ========================================================= 12:03:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:03:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:00 + 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 . 12:03:00 Sending build context to Docker daemon 3.226MB 12:03:00 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:03:00 Step 2/12 : FROM ${BASE} AS builder 12:03:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:03:00 213ec9aee27d: Pulling fs layer 12:03:00 4583459ba037: Pulling fs layer 12:03:00 93c1e223e6f2: Pulling fs layer 12:03:00 53926ce57604: Pulling fs layer 12:03:00 21b2b0c7a3f4: Pulling fs layer 12:03:00 22ff95d597cd: Pulling fs layer 12:03:00 12d6caf4c0d1: Pulling fs layer 12:03:00 96b7cbca73a9: Pulling fs layer 12:03:00 a7acece74701: Pulling fs layer 12:03:00 12d6caf4c0d1: Waiting 12:03:00 53926ce57604: Waiting 12:03:00 96b7cbca73a9: Waiting 12:03:00 a7acece74701: Waiting 12:03:00 21b2b0c7a3f4: Waiting 12:03:00 22ff95d597cd: Waiting 12:03:00 93c1e223e6f2: Verifying Checksum 12:03:00 93c1e223e6f2: Download complete 12:03:00 4583459ba037: Verifying Checksum 12:03:00 4583459ba037: Download complete 12:03:00 21b2b0c7a3f4: Verifying Checksum 12:03:00 21b2b0c7a3f4: Download complete 12:03:00 22ff95d597cd: Verifying Checksum 12:03:00 22ff95d597cd: Download complete 12:03:00 213ec9aee27d: Download complete 12:03:00 12d6caf4c0d1: Download complete 12:03:00 213ec9aee27d: Pull complete 12:03:01 4583459ba037: Pull complete 12:03:01 93c1e223e6f2: Pull complete 12:03:02 a7acece74701: Verifying Checksum 12:03:02 a7acece74701: Download complete 12:03:02 53926ce57604: Verifying Checksum 12:03:02 53926ce57604: Download complete 12:03:02 96b7cbca73a9: Verifying Checksum 12:03:02 96b7cbca73a9: Download complete 12:03:04 using credential edgex-jenkins-ssh 12:03:04 Cloning the remote Git repository 12:03:04 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:03:04 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:03:04 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:03:04 > git --version # timeout=10 12:03:04 > git --version # 'git version 2.25.1' 12:03:04 using GIT_SSH to set credentials SSH Credentials for GitHub 12:03:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:03:05 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:03:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:03:06 53926ce57604: Pull complete 12:03:06 21b2b0c7a3f4: Pull complete 12:03:06 22ff95d597cd: Pull complete 12:03:06 12d6caf4c0d1: Pull complete 12:03:07 Merging remotes/origin/main commit 836f87500d0ab86c5b89a87899a5c272f5f4162e into PR head commit 062919099ad2e4978d9f7f0ef46d83434edc36bb 12:03:07 Merge succeeded, producing 062919099ad2e4978d9f7f0ef46d83434edc36bb 12:03:07 Checking out Revision 062919099ad2e4978d9f7f0ef46d83434edc36bb (PR-510) 12:03:06 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:03:06 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:03:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:03:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/510/head:refs/remotes/origin/PR-510 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:03:07 > git config core.sparsecheckout # timeout=10 12:03:07 > git checkout -f 062919099ad2e4978d9f7f0ef46d83434edc36bb # timeout=10 12:03:07 > git remote # timeout=10 12:03:07 > git config --get remote.origin.url # timeout=10 12:03:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:03:07 > git merge 836f87500d0ab86c5b89a87899a5c272f5f4162e # timeout=10 12:03:07 > git rev-parse HEAD^{commit} # timeout=10 12:03:07 > git config core.sparsecheckout # timeout=10 12:03:07 > git checkout -f 062919099ad2e4978d9f7f0ef46d83434edc36bb # timeout=10 12:03:07 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:03:07 > git --version # timeout=10 12:03:08 > git --version # 'git version 2.25.1' 12:03:08 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:03:08 96b7cbca73a9: Pull complete 12:03:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:03:09 % Total % Received % Xferd Average Speed Time Time Time Current 12:03:09 Dload Upload Total Spent Left Speed 12:03:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 12:03:09 a7acece74701: Pull complete 12:03:09 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 12:03:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:03:09 ---> db6d94c90886 12:03:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git" [Pipeline] sh 12:03:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:03:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:03:10 + sudo tee /etc/docker/daemon.new 12:03:10 { 12:03:10 "registry-mirrors": [ 12:03:10 "https://nexus3.edgexfoundry.org:10001" 12:03:10 ], 12:03:10 "bip": "10.250.0.254/24", 12:03:10 "hosts": [ 12:03:10 "tcp://0.0.0.0:5555", 12:03:10 "unix:///var/run/docker.sock" 12:03:10 ], 12:03:10 "mtu": 1458, 12:03:10 "selinux-enabled": true, 12:03:10 "seccomp-profile": "/etc/docker/seccomp.json" 12:03:10 } [Pipeline] sh 12:03:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:03:10 + sudo service docker restart 12:03:15 ---> Running in 529cf5dd3f74 12:03:15 Removing intermediate container 529cf5dd3f74 12:03:15 ---> 43672ea499e9 12:03:15 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:03:15 ---> Running in 7ef1f7963c2f 12:03:15 Removing intermediate container 7ef1f7963c2f 12:03:15 ---> 7390a1ae988a 12:03:15 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:03:15 ---> Running in 9d2a9c20f909 12:03:15 Removing intermediate container 9d2a9c20f909 12:03:15 ---> 86c47d5327ee 12:03:15 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:03:15 ---> Running in 02bd5939d9c1 12:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:03:16 OK: 211 MiB in 51 packages 12:03:16 Removing intermediate container 02bd5939d9c1 12:03:16 ---> c696d1e4f905 12:03:16 Step 7/12 : WORKDIR /app 12:03:17 ---> Running in 1f6a84c811b0 12:03:17 Removing intermediate container 1f6a84c811b0 12:03:17 ---> 09d30031f616 12:03:17 Step 8/12 : COPY go.mod vendor* ./ 12:03:17 ---> 485232a4d8ec 12:03:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:03:17 ---> Running in 5e5edcc2e3e3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:03:29 provisioning config files... 12:03:29 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config16852581899156539707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:29 ---> docker-login.sh 12:03:29 nexus3.edgexfoundry.org:10001 12:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:30 Configure a credential helper to remove this warning. See 12:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:30 12:03:30 Login Succeeded 12:03:30 nexus3.edgexfoundry.org:10002 12:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:30 Configure a credential helper to remove this warning. See 12:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:30 12:03:30 Login Succeeded 12:03:30 nexus3.edgexfoundry.org:10003 12:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:31 Configure a credential helper to remove this warning. See 12:03:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:31 12:03:31 Login Succeeded 12:03:31 nexus3.edgexfoundry.org:10004 12:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:31 Configure a credential helper to remove this warning. See 12:03:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:31 12:03:31 Login Succeeded 12:03:31 docker.io 12:03:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:31 Configure a credential helper to remove this warning. See 12:03:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:31 12:03:31 Login Succeeded 12:03:31 ---> docker-login.sh ends [Pipeline] } 12:03:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:03:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:03:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:03:32 ========================================================= 12:03:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:03:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:32 + 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 . 12:03:32 Sending build context to Docker daemon 205.8kB 12:03:33 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:03:33 Step 2/12 : FROM ${BASE} AS builder 12:03:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:03:33 9b18e9b68314: Pulling fs layer 12:03:33 35d82f9e3411: Pulling fs layer 12:03:33 e16973657156: Pulling fs layer 12:03:33 fc693d55d65f: Pulling fs layer 12:03:33 7e9fc2657dce: Pulling fs layer 12:03:33 dda99020689f: Pulling fs layer 12:03:33 fc693d55d65f: Waiting 12:03:33 db1c61fa0a46: Pulling fs layer 12:03:33 dda99020689f: Waiting 12:03:33 db1c61fa0a46: Waiting 12:03:33 891c053d2c06: Pulling fs layer 12:03:33 891c053d2c06: Waiting 12:03:33 e16973657156: Verifying Checksum 12:03:33 e16973657156: Download complete 12:03:33 35d82f9e3411: Verifying Checksum 12:03:33 35d82f9e3411: Download complete 12:03:33 7e9fc2657dce: Verifying Checksum 12:03:33 7e9fc2657dce: Download complete 12:03:33 dda99020689f: Verifying Checksum 12:03:33 dda99020689f: Download complete 12:03:33 9b18e9b68314: Verifying Checksum 12:03:33 9b18e9b68314: Download complete 12:03:34 9b18e9b68314: Pull complete 12:03:34 891c053d2c06: Verifying Checksum 12:03:34 891c053d2c06: Download complete 12:03:34 35d82f9e3411: Pull complete 12:03:35 e16973657156: Pull complete 12:03:35 db1c61fa0a46: Verifying Checksum 12:03:35 db1c61fa0a46: Download complete 12:03:36 fc693d55d65f: Verifying Checksum 12:03:36 fc693d55d65f: Download complete 12:03:48 fc693d55d65f: Pull complete 12:03:48 7e9fc2657dce: Pull complete 12:03:48 dda99020689f: Pull complete 12:03:55 db1c61fa0a46: Pull complete 12:03:56 891c053d2c06: Pull complete 12:03:56 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 12:03:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:03:56 ---> f96f9c87975a 12:03:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:03:58 ---> Running in eb8d58e8b67d 12:03:58 Removing intermediate container eb8d58e8b67d 12:03:58 ---> 437ee58e4546 12:03:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:03:58 ---> Running in 108e8263ee2c 12:03:59 Removing intermediate container 108e8263ee2c 12:03:59 ---> f67d212f6fce 12:03:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:03:59 ---> Running in ee7218283bfc 12:03:59 Removing intermediate container ee7218283bfc 12:03:59 ---> 8792f8405c8e 12:03:59 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:03:59 ---> Running in 5bb7fe677749 12:04:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:04:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:04:02 OK: 221 MiB in 51 packages 12:04:03 Removing intermediate container 5bb7fe677749 12:04:03 ---> 0da23d08d9a1 12:04:03 Step 7/12 : WORKDIR /app 12:04:03 ---> Running in 1c95d9f42485 12:04:03 Removing intermediate container 1c95d9f42485 12:04:03 ---> 8c2d3fef6983 12:04:03 Step 8/12 : COPY go.mod vendor* ./ 12:04:03 ---> 05a4e3a4e6d2 12:04:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:03 Removing intermediate container 5e5edcc2e3e3 12:04:03 ---> 3581e7d34b97 12:04:03 Step 10/12 : COPY . . 12:04:03 ---> 4c22009d0f3e 12:04:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:04:03 ---> Running in 8be12de814fc 12:04:03 Removing intermediate container 8be12de814fc 12:04:03 ---> 41ac8e2a57ca 12:04:03 Step 12/12 : RUN $MAKE 12:04:03 ---> Running in 9579dad7f8f6 12:04:04 ---> Running in 465c8e2c373a 12:04:04 noop 12:04:04 Removing intermediate container 9579dad7f8f6 12:04:04 ---> ef500190b664 12:04:04 Successfully built ef500190b664 12:04:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:04 + docker inspect -f . ci-base-image-x86_64 12:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:05 prd-ubuntu20.04-docker-8c-8g-4887 does not seem to be running inside a container 12:04:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-510 -v /w/workspace/_app-service-configurable_PR-510:/w/workspace/_app-service-configurable_PR-510:rw,z -v /w/workspace/_app-service-configurable_PR-510@tmp:/w/workspace/_app-service-configurable_PR-510@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 ******** ci-base-image-x86_64 cat 12:04:05 $ docker top 9395cbb4dd65645afaf219256df79b2d204eaf7045dd9301c923402c5a888c28 -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:05 + go version 12:04:05 go version go1.18.7 linux/amd64 [Pipeline] } 12:04:05 $ docker stop --time=1 9395cbb4dd65645afaf219256df79b2d204eaf7045dd9301c923402c5a888c28 12:04:07 $ docker rm -f --volumes 9395cbb4dd65645afaf219256df79b2d204eaf7045dd9301c923402c5a888c28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:07 + docker inspect -f . ci-base-image-x86_64 12:04:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:08 prd-ubuntu20.04-docker-8c-8g-4887 does not seem to be running inside a container 12:04:08 $ 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-510 -v /w/workspace/_app-service-configurable_PR-510:/w/workspace/_app-service-configurable_PR-510:rw,z -v /w/workspace/_app-service-configurable_PR-510@tmp:/w/workspace/_app-service-configurable_PR-510@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 ******** ci-base-image-x86_64 cat 12:04:08 $ docker top 7af704a9ee8b3b25f0c15c35903fffbd32b7230d399261591824cbe4b138c852 -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:08 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-510 [Pipeline] fileExists [Pipeline] sh 12:04:09 + make test 12:04:09 go test -race -coverprofile=coverage.out ./... 12:04:31 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:04:31 go vet ./... 12:04:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:04:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:04:39 ./bin/test-attribution-txt.sh 12:04:39 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 12:04:39 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 12:04:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:04:39 $ docker stop --time=1 7af704a9ee8b3b25f0c15c35903fffbd32b7230d399261591824cbe4b138c852 12:04:43 $ docker rm -f --volumes 7af704a9ee8b3b25f0c15c35903fffbd32b7230d399261591824cbe4b138c852 [Pipeline] // withDockerContainer [Pipeline] sh 12:04:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:04:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:04:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:04:45 + ls -al . 12:04:45 total 176 12:04:45 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 12:04 . 12:04:45 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 12:02 .. 12:04:45 -rw-rw-r-- 1 jenkins jenkins 119 Feb 7 12:02 .dockerignore 12:04:45 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 12:02 .git 12:04:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 12:02 .github 12:04:45 -rw-rw-r-- 1 jenkins jenkins 171 Feb 7 12:02 .gitignore 12:04:45 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 12:02 .semver 12:04:45 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 7 12:02 Attribution.txt 12:04:45 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 7 12:02 CHANGELOG.md 12:04:45 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 7 12:02 Dockerfile 12:04:45 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 12:02 GOVERNANCE.md 12:04:45 -rw-rw-r-- 1 jenkins jenkins 688 Feb 7 12:02 Jenkinsfile 12:04:45 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 12:02 LICENSE 12:04:45 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 12:02 OWNERS.md 12:04:45 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 7 12:02 README.md 12:04:45 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 12:02 VERSION 12:04:45 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 12:02 bin 12:04:45 -rw-r--r-- 1 jenkins jenkins 13 Feb 7 12:04 coverage.out 12:04:45 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 7 12:02 go.mod 12:04:45 -rw-rw-r-- 1 jenkins jenkins 33796 Feb 7 12:02 go.sum 12:04:45 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 7 12:02 main.go 12:04:45 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 7 12:02 makefile 12:04:45 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 12:02 res 12:04:45 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 12:02 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:45 + 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=062919099ad2e4978d9f7f0ef46d83434edc36bb --label arch=amd64 --label version=0.0.0 . 12:04:45 Sending build context to Docker daemon 3.227MB 12:04:45 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:04:45 Step 2/26 : FROM ${BASE} AS builder 12:04:45 ---> ef500190b664 12:04:45 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:04:45 ---> Running in d88ba9b1416f 12:04:45 Removing intermediate container d88ba9b1416f 12:04:45 ---> 3ed582b02a5d 12:04:45 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:04:45 ---> Running in af6eec2ad938 12:04:45 Removing intermediate container af6eec2ad938 12:04:45 ---> 18255f7a5982 12:04:45 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:04:45 ---> Running in 56fbfcc66ff4 12:04:45 Removing intermediate container 56fbfcc66ff4 12:04:45 ---> 808c7bcbb5e4 12:04:45 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:04:45 ---> Running in b518bad623dc 12:04:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:04:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:04:46 OK: 211 MiB in 51 packages 12:04:46 Removing intermediate container b518bad623dc 12:04:46 ---> 0b09bc55f4f9 12:04:46 Step 7/26 : WORKDIR /app 12:04:46 ---> Running in fa3edc4f9646 12:04:46 Removing intermediate container fa3edc4f9646 12:04:46 ---> 20417e7d1e59 12:04:46 Step 8/26 : COPY go.mod vendor* ./ 12:04:47 ---> e658c6aeed26 12:04:47 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:04:47 ---> Running in c61bd125427c 12:04:48 Removing intermediate container c61bd125427c 12:04:48 ---> 060398b862fc 12:04:48 Step 10/26 : COPY . . 12:04:48 ---> 3b6d40374058 12:04:48 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:04:48 ---> Running in 235871c0dbc1 12:04:48 Removing intermediate container 235871c0dbc1 12:04:48 ---> 84298bc69c2c 12:04:48 Step 12/26 : RUN $MAKE 12:04:48 ---> Running in 27b9752c1b24 12:04:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.25 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:05:10 Removing intermediate container 27b9752c1b24 12:05:10 ---> 766334019f8a 12:05:10 Step 13/26 : FROM alpine:3.16 12:05:10 3.16: Pulling from library/alpine 12:05:10 ca7dd9ec2225: Pulling fs layer 12:05:10 ca7dd9ec2225: Verifying Checksum 12:05:10 ca7dd9ec2225: Download complete 12:05:10 ca7dd9ec2225: Pull complete 12:05:10 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 12:05:10 Status: Downloaded newer image for alpine:3.16 12:05:10 ---> bfe296a52501 12:05:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:05:10 ---> Running in 5343923bbad2 12:05:10 Removing intermediate container 5343923bbad2 12:05:10 ---> 71d3342e52e9 12:05:10 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:05:10 ---> Running in fc971a7553b4 12:05:10 Removing intermediate container fc971a7553b4 12:05:10 ---> 7b26b64b59d2 12:05:10 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:05:10 ---> Running in 42e67014a8e9 12:05:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:05:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:05:10 (1/2) Installing ca-certificates (20220614-r0) 12:05:10 (2/2) Installing dumb-init (1.2.5-r1) 12:05:10 Executing busybox-1.35.0-r17.trigger 12:05:10 Executing ca-certificates-20220614-r0.trigger 12:05:10 OK: 6 MiB in 16 packages 12:05:10 Removing intermediate container 42e67014a8e9 12:05:10 ---> bfe1558586fc 12:05:10 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:05:10 ---> eadf13dcef70 12:05:10 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:05:10 ---> c4c387670a5b 12:05:10 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:05:10 ---> 3756d79a826d 12:05:10 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:05:10 ---> 9e21e705502a 12:05:10 Step 21/26 : EXPOSE 48095 12:05:10 ---> Running in 73b9959cd085 12:05:10 Removing intermediate container 73b9959cd085 12:05:10 ---> dc547b23cf11 12:05:10 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:05:10 ---> Running in d5acf1900cae 12:05:10 Removing intermediate container d5acf1900cae 12:05:10 ---> 64a7e67ef079 12:05:10 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:05:10 ---> Running in 7e57fbd295d1 12:05:10 Removing intermediate container 7e57fbd295d1 12:05:10 ---> 6b0d7fef58a1 12:05:10 Step 24/26 : LABEL arch=amd64 12:05:10 ---> Running in 1d356234d496 12:05:10 Removing intermediate container 1d356234d496 12:05:10 ---> 463fff52226c 12:05:10 Step 25/26 : LABEL git_sha=062919099ad2e4978d9f7f0ef46d83434edc36bb 12:05:10 ---> Running in b722a2df3063 12:05:11 Removing intermediate container b722a2df3063 12:05:11 ---> 2fbade448f60 12:05:11 Step 26/26 : LABEL version=0.0.0 12:05:11 ---> Running in b41424e3d979 12:05:11 Removing intermediate container b41424e3d979 12:05:11 ---> 9cad085f3644 12:05:11 [Warning] One or more build-args [ARCH] were not consumed 12:05:11 Successfully built 9cad085f3644 12:05:11 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 12:05:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:11 12:05:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:11 Removing intermediate container 465c8e2c373a 12:05:11 ---> 56cec3f3edaa 12:05:11 Step 10/12 : COPY . . 12:05:11 ---> ee5a180e18a1 12:05:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:05:11 ---> Running in c29bd92c9642 12:05:11 Removing intermediate container c29bd92c9642 12:05:11 ---> 4eb3d90d4b66 12:05:11 Step 12/12 : RUN $MAKE 12:05:11 ---> Running in e94a3bd07087 12:05:11 noop 12:05:11 Removing intermediate container e94a3bd07087 12:05:11 ---> 8fd416617130 12:05:11 Successfully built 8fd416617130 12:05:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 12:05:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:12 latest: Pulling from edgex-lftools-log-publisher 12:05:12 5eb5b503b376: Pulling fs layer 12:05:12 5c69ac0246d0: Pulling fs layer 12:05:12 ec43610c2a17: Pulling fs layer 12:05:12 3a2ae6a8a46f: Pulling fs layer 12:05:12 33b1e0a273af: Pulling fs layer 12:05:12 5d3b04190fa2: Pulling fs layer 12:05:12 2f39f015ded8: Pulling fs layer 12:05:12 3a2ae6a8a46f: Waiting 12:05:12 2f39f015ded8: Waiting 12:05:12 5d3b04190fa2: Waiting 12:05:12 5c69ac0246d0: Verifying Checksum 12:05:12 5c69ac0246d0: Download complete 12:05:12 3a2ae6a8a46f: Verifying Checksum 12:05:12 3a2ae6a8a46f: Download complete 12:05:12 + docker inspect -f . ci-base-image-arm64 12:05:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:12 33b1e0a273af: Verifying Checksum 12:05:12 33b1e0a273af: Download complete 12:05:12 5d3b04190fa2: Verifying Checksum 12:05:12 5d3b04190fa2: Download complete 12:05:12 ec43610c2a17: Verifying Checksum 12:05:12 ec43610c2a17: Download complete 12:05:12 prd-ubuntu20.04-docker-arm64-4c-16g-4886 does not seem to be running inside a container 12:05:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:05:12 5eb5b503b376: Download complete 12:05:13 2f39f015ded8: Download complete 12:05:14 $ docker top 3195963f6b09eda8f74216f9adc262ac96fa88695acaaa726eeb9d01b0bf4d24 -eo pid,comm 12:05:14 5eb5b503b376: Pull complete 12:05:14 5c69ac0246d0: Pull complete [Pipeline] { [Pipeline] sh 12:05:14 ec43610c2a17: Pull complete 12:05:14 3a2ae6a8a46f: Pull complete 12:05:14 33b1e0a273af: Pull complete 12:05:14 5d3b04190fa2: Pull complete 12:05:14 + go version 12:05:14 go version go1.18.7 linux/arm64 [Pipeline] } 12:05:14 $ docker stop --time=1 3195963f6b09eda8f74216f9adc262ac96fa88695acaaa726eeb9d01b0bf4d24 12:05:16 $ docker rm -f --volumes 3195963f6b09eda8f74216f9adc262ac96fa88695acaaa726eeb9d01b0bf4d24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:17 + docker inspect -f . ci-base-image-arm64 12:05:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:17 prd-ubuntu20.04-docker-arm64-4c-16g-4886 does not seem to be running inside a container 12:05:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:05:18 $ docker top 131f83742e5eb366976add7de71e8925ec5546277742621e52914dea096f31ee -eo pid,comm 12:05:19 2f39f015ded8: Pull complete 12:05:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] withDockerContainer 12:05:19 prd-ubuntu20.04-docker-8c-8g-4887 does not seem to be running inside a container 12:05:19 $ 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-510 -v /w/workspace/_app-service-configurable_PR-510:/w/workspace/_app-service-configurable_PR-510:rw,z -v /w/workspace/_app-service-configurable_PR-510@tmp:/w/workspace/_app-service-configurable_PR-510@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-lftools-log-publisher:latest cat 12:05:19 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 12:05:22 $ docker top fcc7c0295a5ea986541ab20d2bae4452f602f8c14f0ee7deeaa98dd78002fd18 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh 12:05:23 ---> job-cost.sh 12:05:23 lf-activate-venv: SKIPPING 12:05:23 INFO: No Stack... 12:05:23 + make test 12:05:23 go test -race -coverprofile=coverage.out ./... 12:05:23 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:24 INFO: Archiving Costs [Pipeline] sh 12:05:24 + cat /w/workspace/_app-service-configurable_PR-510/archives/cost.csv 12:05:24 + cut -d, -f6 [Pipeline] lock 12:05:24 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-510-1-stack-cost] 12:05:24 Resource [jenkins-edgexfoundry-app-service-configurable-PR-510-1-stack-cost] did not exist. Created. 12:05:24 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:24 + echo total: 0.2199999988079071 [Pipeline] stash 12:05:24 Stashed 1 file(s) [Pipeline] } 12:05:24 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-510-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:25 $ docker stop --time=1 fcc7c0295a5ea986541ab20d2bae4452f602f8c14f0ee7deeaa98dd78002fd18 12:05:26 $ docker rm -f --volumes fcc7c0295a5ea986541ab20d2bae4452f602f8c14f0ee7deeaa98dd78002fd18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:07:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:07:30 go vet ./... 12:08:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:08:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:08:51 ./bin/test-attribution-txt.sh 12:08:51 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 12:08:51 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 12:08:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:08:52 $ docker stop --time=1 131f83742e5eb366976add7de71e8925ec5546277742621e52914dea096f31ee 12:08:53 $ docker rm -f --volumes 131f83742e5eb366976add7de71e8925ec5546277742621e52914dea096f31ee [Pipeline] // withDockerContainer [Pipeline] sh 12:08:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:08:55 Warning: overwriting stash ‘coverage-report’ 12:08:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:08:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:08:56 + ls -al . 12:08:56 total 172 12:08:56 drwxrwxr-x 7 jenkins jenkins 4096 Feb 7 12:05 . 12:08:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 12:03 .. 12:08:56 -rw-rw-r-- 1 jenkins jenkins 119 Feb 7 12:03 .dockerignore 12:08:56 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 12:03 .git 12:08:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 12:03 .github 12:08:56 -rw-rw-r-- 1 jenkins jenkins 171 Feb 7 12:03 .gitignore 12:08:56 -rw-rw-r-- 1 jenkins jenkins 9103 Feb 7 12:03 Attribution.txt 12:08:56 -rw-rw-r-- 1 jenkins jenkins 29118 Feb 7 12:03 CHANGELOG.md 12:08:56 -rw-rw-r-- 1 jenkins jenkins 1898 Feb 7 12:03 Dockerfile 12:08:56 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 12:03 GOVERNANCE.md 12:08:56 -rw-rw-r-- 1 jenkins jenkins 688 Feb 7 12:03 Jenkinsfile 12:08:56 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 12:03 LICENSE 12:08:56 -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 12:03 OWNERS.md 12:08:56 -rw-rw-r-- 1 jenkins jenkins 4369 Feb 7 12:03 README.md 12:08:56 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 12:02 VERSION 12:08:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 12:03 bin 12:08:56 -rw-r--r-- 1 jenkins jenkins 13 Feb 7 12:05 coverage.out 12:08:56 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 7 12:03 go.mod 12:08:56 -rw-rw-r-- 1 jenkins jenkins 33796 Feb 7 12:03 go.sum 12:08:56 -rw-rw-r-- 1 jenkins jenkins 1949 Feb 7 12:03 main.go 12:08:56 -rw-rw-r-- 1 jenkins jenkins 2078 Feb 7 12:03 makefile 12:08:56 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 12:03 res 12:08:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 12:03 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:57 + 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=062919099ad2e4978d9f7f0ef46d83434edc36bb --label arch=arm64 --label version=0.0.0 . 12:08:57 Sending build context to Docker daemon 206.8kB 12:08:57 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 12:08:57 Step 2/26 : FROM ${BASE} AS builder 12:08:57 ---> 8fd416617130 12:08:57 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:08:57 ---> Running in c9c10484ff4f 12:08:57 Removing intermediate container c9c10484ff4f 12:08:57 ---> 0925acc12947 12:08:57 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:08:57 ---> Running in e216a25c4583 12:08:58 Removing intermediate container e216a25c4583 12:08:58 ---> 05b9eb66f3af 12:08:58 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:08:58 ---> Running in 9ab5d0ff842f 12:08:58 Removing intermediate container 9ab5d0ff842f 12:08:58 ---> 9e4621f44808 12:08:58 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:08:58 ---> Running in b2915d2ecd15 12:08:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:08:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:09:00 OK: 221 MiB in 51 packages 12:09:01 Removing intermediate container b2915d2ecd15 12:09:01 ---> 701c6925bf1c 12:09:01 Step 7/26 : WORKDIR /app 12:09:01 ---> Running in 1d7fb725cc99 12:09:01 Removing intermediate container 1d7fb725cc99 12:09:01 ---> b849d0814d53 12:09:01 Step 8/26 : COPY go.mod vendor* ./ 12:09:02 ---> 773842f86a0a 12:09:02 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:09:02 ---> Running in aeedde908d2d 12:09:05 Removing intermediate container aeedde908d2d 12:09:05 ---> 0de0a7ebcd84 12:09:05 Step 10/26 : COPY . . 12:09:05 ---> c3cabd96679a 12:09:05 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:09:05 ---> Running in c7de7bf2780a 12:09:06 Removing intermediate container c7de7bf2780a 12:09:06 ---> ba4ae4098593 12:09:06 Step 12/26 : RUN $MAKE 12:09:06 ---> Running in 5dbf50af9f25 12:09:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.25 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:10:58 Removing intermediate container 5dbf50af9f25 12:10:58 ---> 58d8d5ac601c 12:10:58 Step 13/26 : FROM alpine:3.16 12:10:58 3.16: Pulling from library/alpine 12:10:58 6875df1f5354: Pulling fs layer 12:10:58 6875df1f5354: Verifying Checksum 12:10:58 6875df1f5354: Download complete 12:10:58 6875df1f5354: Pull complete 12:10:58 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 12:10:58 Status: Downloaded newer image for alpine:3.16 12:10:58 ---> 2b4661558fb8 12:10:58 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:10:58 ---> Running in 0fd89d8a46bf 12:10:58 Removing intermediate container 0fd89d8a46bf 12:10:58 ---> fe493935c1b9 12:10:58 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:10:58 ---> Running in df07ba954ceb 12:10:58 Removing intermediate container df07ba954ceb 12:10:58 ---> 10839d3a71d1 12:10:58 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:10:58 ---> Running in bf0e9f553b38 12:10:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:10:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:10:58 (1/2) Installing ca-certificates (20220614-r0) 12:10:58 (2/2) Installing dumb-init (1.2.5-r1) 12:10:58 Executing busybox-1.35.0-r17.trigger 12:10:58 Executing ca-certificates-20220614-r0.trigger 12:10:58 OK: 6 MiB in 16 packages 12:10:58 Removing intermediate container bf0e9f553b38 12:10:58 ---> 478c4d79514d 12:10:58 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:10:59 ---> ef1ae585d671 12:10:59 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:10:59 ---> 756a22efb140 12:10:59 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:11:00 ---> a80a4dd85247 12:11:00 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:11:01 ---> 2b15b76dbc50 12:11:01 Step 21/26 : EXPOSE 48095 12:11:01 ---> Running in ef228ccebc0d 12:11:01 Removing intermediate container ef228ccebc0d 12:11:01 ---> 294312f26a71 12:11:01 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:11:01 ---> Running in e627ff76bba8 12:11:02 Removing intermediate container e627ff76bba8 12:11:02 ---> ca935569a537 12:11:02 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:11:02 ---> Running in 4131571e6707 12:11:02 Removing intermediate container 4131571e6707 12:11:02 ---> 531cda666467 12:11:02 Step 24/26 : LABEL arch=arm64 12:11:02 ---> Running in 314053475ef5 12:11:02 Removing intermediate container 314053475ef5 12:11:02 ---> 4580207b2356 12:11:02 Step 25/26 : LABEL git_sha=062919099ad2e4978d9f7f0ef46d83434edc36bb 12:11:02 ---> Running in e5d566bc5d97 12:11:03 Removing intermediate container e5d566bc5d97 12:11:03 ---> db8a13550a78 12:11:03 Step 26/26 : LABEL version=0.0.0 12:11:03 ---> Running in a36df9e3de34 12:11:03 Removing intermediate container a36df9e3de34 12:11:03 ---> 671c877b26b5 12:11:03 [Warning] One or more build-args [ARCH] were not consumed 12:11:03 Successfully built 671c877b26b5 12:11:03 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 12:11:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:04 12:11:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:04 arm64: Pulling from edgex-lftools-log-publisher 12:11:04 8998bd30e6a1: Pulling fs layer 12:11:04 04944245beec: Pulling fs layer 12:11:04 699f458cf7ca: Pulling fs layer 12:11:04 765212b225bb: Pulling fs layer 12:11:04 f23df028b6ca: Pulling fs layer 12:11:04 d65c8cfc05b1: Pulling fs layer 12:11:04 2437ff75d9bd: Pulling fs layer 12:11:04 765212b225bb: Waiting 12:11:04 f23df028b6ca: Waiting 12:11:04 d65c8cfc05b1: Waiting 12:11:04 2437ff75d9bd: Waiting 12:11:05 04944245beec: Verifying Checksum 12:11:05 04944245beec: Download complete 12:11:05 765212b225bb: Download complete 12:11:05 f23df028b6ca: Verifying Checksum 12:11:05 f23df028b6ca: Download complete 12:11:05 d65c8cfc05b1: Verifying Checksum 12:11:05 d65c8cfc05b1: Download complete 12:11:05 699f458cf7ca: Verifying Checksum 12:11:05 699f458cf7ca: Download complete 12:11:05 8998bd30e6a1: Download complete 12:11:08 2437ff75d9bd: Verifying Checksum 12:11:08 2437ff75d9bd: Download complete 12:11:09 8998bd30e6a1: Pull complete 12:11:09 04944245beec: Pull complete 12:11:11 699f458cf7ca: Pull complete 12:11:11 765212b225bb: Pull complete 12:11:11 f23df028b6ca: Pull complete 12:11:12 d65c8cfc05b1: Pull complete 12:11:24 2437ff75d9bd: Pull complete 12:11:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:11:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:11:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:11:24 prd-ubuntu20.04-docker-arm64-4c-16g-4886 does not seem to be running inside a container 12:11:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-service-configurable/1 -v /w/workspace/app-service-configurable/1:/w/workspace/app-service-configurable/1:rw,z -v /w/workspace/app-service-configurable/1@tmp:/w/workspace/app-service-configurable/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:11:27 $ docker top 5418f96b2100d861c21cfebad8b8adf052aa40d20530ef481816d9a91d102896 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:27 ---> job-cost.sh 12:11:28 lf-activate-venv: SKIPPING 12:11:28 INFO: No Stack... 12:11:29 INFO: Retrieving Pricing Info for: v3-standard-4 12:11:29 INFO: Archiving Costs [Pipeline] sh 12:11:30 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:11:30 + cut -d, -f6 [Pipeline] lock 12:11:30 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-510-1-stack-cost] 12:11:30 Resource [jenkins-edgexfoundry-app-service-configurable-PR-510-1-stack-cost] did not exist. Created. 12:11:30 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:11:30 /w/workspace/app-service-configurable/1@tmp/durable-66df7c0a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:11:31 + echo total: 0.10999999940395355 [Pipeline] stash 12:11:31 Warning: overwriting stash ‘stack-cost’ 12:11:31 Stashed 1 file(s) [Pipeline] } 12:11:31 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-510-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:11:31 $ docker stop --time=1 5418f96b2100d861c21cfebad8b8adf052aa40d20530ef481816d9a91d102896 12:11:32 $ docker rm -f --volumes 5418f96b2100d861c21cfebad8b8adf052aa40d20530ef481816d9a91d102896 [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 12:11:33 provisioning config files... 12:11:33 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-510@tmp/config14840043926767976275tmp [Pipeline] { [Pipeline] sh 12:11:34 + set +x 12:11:34 + curl -s https://codecov.io/bash 12:11:34 + bash -s -- 12:11:34 12:11:34 _____ _ 12:11:34 / ____| | | 12:11:34 | | ___ __| | ___ ___ _____ __ 12:11:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:11:34 | |___| (_) | (_| | __/ (_| (_) \ V / 12:11:34 \_____\___/ \__,_|\___|\___\___/ \_/ 12:11:34 Bash-1.0.6 12:11:34 12:11:34 12:11:34 ==> git version 2.25.1 found 12:11:34 ==> 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 12:11:34 Release-Date: 2020-01-08 12:11:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:11:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:11:34 ==> Jenkins CI detected. 12:11:34 current dir:  /w/workspace/_app-service-configurable_PR-510 12:11:34 project root: . 12:11:34 --> token set from env 12:11:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:11:34 ==> Running gcov in . (disable via -X gcov) 12:11:34 ==> Python coveragepy not found 12:11:34 ==> Searching for coverage reports in: 12:11:34 + . 12:11:34 -> Found 1 reports 12:11:34 ==> Detecting git/mercurial file structure 12:11:34 ==> Reading reports 12:11:34 + ./coverage.out bytes=13 12:11:34 ==> Appending adjustments 12:11:34 https://docs.codecov.io/docs/fixing-reports 12:11:34 + Found adjustments 12:11:34 ==> Gzipping contents 12:11:34 4.0K /tmp/codecov.O4sMPE.gz 12:11:34 ==> Uploading reports 12:11:34 url: https://codecov.io 12:11:34 query: branch=PR-510&commit=062919099ad2e4978d9f7f0ef46d83434edc36bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-510%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=510&job=&cmd_args= 12:11:34 -> Pinging Codecov 12:11:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-510&commit=062919099ad2e4978d9f7f0ef46d83434edc36bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-510%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=510&job=&cmd_args= 12:11:34 -> Uploading to 12:11:34 https://storage.googleapis.com/codecov/v4/raw/2023-02-07/A97CA9966030D2A3747ED39772930CCE/062919099ad2e4978d9f7f0ef46d83434edc36bb/5d193654-c074-4ae1-90ec-8bfa7b146fd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T121134Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c1b5183517fbebf3154668599ce595882990bebd9b6cdb323e6eb37531e42ea 12:11:34 % Total % Received % Xferd Average Speed Time Time Time Current 12:11:34 Dload Upload Total Spent Left Speed 12:11:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 520 0 0 100 520 0 1693 --:--:-- --:--:-- --:--:-- 1693 12:11:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/062919099ad2e4978d9f7f0ef46d83434edc36bb [Pipeline] } 12:11:35 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 12:11:36 + [ -d /w/workspace/_app-service-configurable_PR-510/archives ] 12:11:36 + ls -al /w/workspace/_app-service-configurable_PR-510/archives 12:11:36 total 16 12:11:36 drwxr-xr-x 3 root root 4096 Feb 7 12:05 . 12:11:36 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 12:05 .. 12:11:36 drwxr-xr-x 2 root root 4096 Feb 7 12:05 cost 12:11:36 -rw-r--r-- 1 root root 96 Feb 7 12:05 cost.csv 12:11:36 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-510/archives 12:11:36 + ls -al /w/workspace/_app-service-configurable_PR-510/archives 12:11:36 total 16 12:11:36 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 12:05 . 12:11:36 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 12:05 .. 12:11:36 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 12:05 cost 12:11:36 -rw-r--r-- 1 jenkins jenkins 96 Feb 7 12:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:11:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:11:37 ---> package-listing.sh 12:11:37 ++ facter osfamily 12:11:37 ++ tr '[:upper:]' '[:lower:]' 12:11:38 + OS_FAMILY=debian 12:11:38 + workspace=/w/workspace/_app-service-configurable_PR-510 12:11:38 + START_PACKAGES=/tmp/packages_start.txt 12:11:38 + END_PACKAGES=/tmp/packages_end.txt 12:11:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:11:38 + PACKAGES=/tmp/packages_start.txt 12:11:38 + '[' /w/workspace/_app-service-configurable_PR-510 ']' 12:11:38 + PACKAGES=/tmp/packages_end.txt 12:11:38 + case "${OS_FAMILY}" in 12:11:38 + dpkg -l 12:11:38 + grep '^ii' 12:11:38 + '[' -f /tmp/packages_start.txt ']' 12:11:38 + '[' -f /tmp/packages_end.txt ']' 12:11:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:11:38 + '[' /w/workspace/_app-service-configurable_PR-510 ']' 12:11:38 + mkdir -p /w/workspace/_app-service-configurable_PR-510/archives/ 12:11:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-510/archives/ [Pipeline] echo 12:11:38 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-510/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:11:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:11:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:11:39 prd-ubuntu20.04-docker-8c-8g-4887 does not seem to be running inside a container 12:11:39 $ 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-510/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-510 -v /w/workspace/_app-service-configurable_PR-510:/w/workspace/_app-service-configurable_PR-510:rw,z -v /w/workspace/_app-service-configurable_PR-510@tmp:/w/workspace/_app-service-configurable_PR-510@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:11:39 $ docker top 565f37e54fb922c190aaa90694a66dc4e04b14d34f8dab8b020ba528bbee2c23 -eo pid,comm [Pipeline] { [Pipeline] sh 12:11:39 + touch /tmp/pre-build-complete [Pipeline] sh 12:11:40 + mkdir -p /var/log/sysstat [Pipeline] sh 12:11:40 + ls /var/log/sa-host 12:11:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:11:40 provisioning config files... 12:11:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-510@tmp/config2776051300379824206tmp [Pipeline] { [Pipeline] echo 12:11:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:11:41 ---> create-netrc.sh [Pipeline] } 12:11:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:11:41 ---> python-tools-install.sh [Pipeline] echo 12:11:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:11:41 ---> sudo-logs.sh 12:11:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:11:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:11:42 ---> job-cost.sh 12:11:42 lf-activate-venv: SKIPPING 12:11:42 DEBUG: total: 0.2199999988079071 12:11:42 INFO: Retrieving Stack Cost... 12:11:42 INFO: Retrieving Pricing Info for: v3-standard-8 12:11:43 INFO: Archiving Costs [Pipeline] echo 12:11:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:11:43 ---> logs-deploy.sh 12:11:43 lf-activate-venv: SKIPPING 12:11:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-510/1 12:11:43 INFO: archiving workspace using pattern(s): 12:11:44 Archives upload complete. 12:11:44 INFO: archiving logs to Nexus