Pull request #556 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab4307e0efaac96c1b60d6caa6dda957920450a3+f6c79abbbe137ac8802e525be2bea65aaac7fbd6 (098cad8866b7173a80f8dc26f572fbc7ef9548b3) 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-ssh11866869184255333770.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4315307885075493746.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-556/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-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3107821240167216137.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-556/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2880410602086650432.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh9096387777766666782.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-556/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-556/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8241348537527241783.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 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-12581 in /w/workspace/_app-service-configurable_PR-556 [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-556 # 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/556/head:refs/remotes/origin/PR-556 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f6c79abbbe137ac8802e525be2bea65aaac7fbd6 into PR head commit ab4307e0efaac96c1b60d6caa6dda957920450a3 Merge succeeded, producing ab4307e0efaac96c1b60d6caa6dda957920450a3 Checking out Revision ab4307e0efaac96c1b60d6caa6dda957920450a3 (PR-556) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:58:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:58:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:58:34 ========================================================= 12:58:34 EdgeX Global Pipelines Version Info 12:58:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ab4307e0efaac96c1b60d6caa6dda957920450a3 # 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 f6c79abbbe137ac8802e525be2bea65aaac7fbd6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab4307e0efaac96c1b60d6caa6dda957920450a3 # timeout=10 12:58:35 ------------------- 12:58:35 stable info: 12:58:35 ------------------- 12:58:35 Commited By: Bill Mahoney bill.mahoney@intel.com 12:58:35 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 12:58:35 Message: update stable to v1.0.248 12:58:36 ------------------- 12:58:36 experimental info: 12:58:36 ------------------- 12:58:36 Commited By: **** collab-it+edgex@linuxfoundation.org 12:58:36 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 12:58:36 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:58:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-556 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-556 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-556 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab4307e0efaac96c1b60d6caa6dda957920450a3 [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab4307e [Pipeline] echo 12:58:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:58:38 provisioning config files... 12:58:38 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-556@tmp/config14658123270093252763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:38 ---> docker-login.sh 12:58:38 nexus3.edgexfoundry.org:10001 12:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:38 Configure a credential helper to remove this warning. See 12:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:38 12:58:38 Login Succeeded 12:58:38 nexus3.edgexfoundry.org:10002 12:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:38 Configure a credential helper to remove this warning. See 12:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:38 12:58:38 Login Succeeded 12:58:38 nexus3.edgexfoundry.org:10003 12:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:38 Configure a credential helper to remove this warning. See 12:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:38 12:58:38 Login Succeeded 12:58:38 nexus3.edgexfoundry.org:10004 12:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:39 Configure a credential helper to remove this warning. See 12:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:39 12:58:39 Login Succeeded 12:58:39 docker.io 12:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:39 Configure a credential helper to remove this warning. See 12:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:39 12:58:39 Login Succeeded 12:58:39 ---> docker-login.sh ends [Pipeline] } 12:58:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:58:40 + git rev-list -1 --merges ab4307e0efaac96c1b60d6caa6dda957920450a3~1..ab4307e0efaac96c1b60d6caa6dda957920450a3 [Pipeline] echo 12:58:40 -----------> git rev-list -1 --merges ab4307e0efaac96c1b60d6caa6dda957920450a3~1..ab4307e0efaac96c1b60d6caa6dda957920450a3 ab4307e0efaac96c1b60d6caa6dda957920450a3 [false] [Pipeline] sh 12:58:40 + git log --format=format:%s -1 ab4307e0efaac96c1b60d6caa6dda957920450a3 [Pipeline] echo 12:58:40 ========================================================= 12:58:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:58:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:58:40 + git log --format=format:%s -1 ab4307e0efaac96c1b60d6caa6dda957920450a3 [Pipeline] echo 12:58:41 [semverPrep] GIT_COMMIT: ab4307e0efaac96c1b60d6caa6dda957920450a3, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:58:41 [semverPrep] This is not a build commit. [Pipeline] sh 12:58:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:58:41 + grep -v github /etc/ssh/ssh_known_hosts 12:58:41 + [ -e /tmp/ssh_known_hosts ] 12:58:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:58:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:58:41 + sudo tee -a /etc/ssh/ssh_known_hosts 12:58:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:42 12:58:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:42 0.1.4: Pulling from edgex-devops/py-git-semver 12:58:42 b85a868b505f: Pulling fs layer 12:58:42 e2be974225ed: Pulling fs layer 12:58:42 339a4e72a1f5: Pulling fs layer 12:58:42 988bab9f4d93: Pulling fs layer 12:58:42 1469e6f7b9e6: Pulling fs layer 12:58:42 eaf3925da568: Pulling fs layer 12:58:42 bab4dde63d76: Pulling fs layer 12:58:42 bde34c3a00c8: Pulling fs layer 12:58:42 b352a97aabf1: Pulling fs layer 12:58:42 4872d77fe225: Pulling fs layer 12:58:42 5851b861e8e6: Pulling fs layer 12:58:42 bab4dde63d76: Waiting 12:58:42 bde34c3a00c8: Waiting 12:58:42 1469e6f7b9e6: Waiting 12:58:42 eaf3925da568: Waiting 12:58:42 988bab9f4d93: Waiting 12:58:42 b352a97aabf1: Waiting 12:58:42 4872d77fe225: Waiting 12:58:42 5851b861e8e6: Waiting 12:58:42 e2be974225ed: Download complete 12:58:42 988bab9f4d93: Verifying Checksum 12:58:42 988bab9f4d93: Download complete 12:58:42 1469e6f7b9e6: Verifying Checksum 12:58:42 1469e6f7b9e6: Download complete 12:58:42 339a4e72a1f5: Verifying Checksum 12:58:42 339a4e72a1f5: Download complete 12:58:42 eaf3925da568: Verifying Checksum 12:58:42 eaf3925da568: Download complete 12:58:42 bde34c3a00c8: Verifying Checksum 12:58:42 bde34c3a00c8: Download complete 12:58:42 b352a97aabf1: Verifying Checksum 12:58:42 b352a97aabf1: Download complete 12:58:42 4872d77fe225: Verifying Checksum 12:58:42 4872d77fe225: Download complete 12:58:42 5851b861e8e6: Verifying Checksum 12:58:42 5851b861e8e6: Download complete 12:58:42 b85a868b505f: Verifying Checksum 12:58:42 b85a868b505f: Download complete 12:58:42 bab4dde63d76: Verifying Checksum 12:58:42 bab4dde63d76: Download complete 12:58:43 b85a868b505f: Pull complete 12:58:44 e2be974225ed: Pull complete 12:58:44 339a4e72a1f5: Pull complete 12:58:44 988bab9f4d93: Pull complete 12:58:44 1469e6f7b9e6: Pull complete 12:58:45 eaf3925da568: Pull complete 12:58:47 bab4dde63d76: Pull complete 12:58:47 bde34c3a00c8: Pull complete 12:58:47 b352a97aabf1: Pull complete 12:58:47 4872d77fe225: Pull complete 12:58:47 5851b861e8e6: Pull complete 12:58:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:58:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:58:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:58:47 prd-ubuntu20.04-docker-8c-8g-12581 does not seem to be running inside a container 12:58:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-556 -v /w/workspace/_app-service-configurable_PR-556:/w/workspace/_app-service-configurable_PR-556:rw,z -v /w/workspace/_app-service-configurable_PR-556@tmp:/w/workspace/_app-service-configurable_PR-556@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:58:51 $ docker top 620e3345c520320b4355ece693aba5cc488994573328ac3fe246d69ee1f98ce7 -eo pid,comm 12:58:51 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:58:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:58:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:51 [ssh-agent] Looking for ssh-agent implementation... 12:58:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:51 $ docker exec 620e3345c520320b4355ece693aba5cc488994573328ac3fe246d69ee1f98ce7 ssh-agent 12:58:51 SSH_AUTH_SOCK=/tmp/ssh-ttn7yJmynkUK/agent.32 12:58:51 SSH_AGENT_PID=38 12:58:51 Running ssh-add (command line suppressed) 12:58:51 Identity added: /w/workspace/_app-service-configurable_PR-556@tmp/private_key_5402073263884770118.key (/w/workspace/_app-service-configurable_PR-556@tmp/private_key_5402073263884770118.key) 12:58:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:52 + git tag --points-at HEAD [Pipeline] } 12:58:52 $ docker exec --env ******** --env ******** 620e3345c520320b4355ece693aba5cc488994573328ac3fe246d69ee1f98ce7 ssh-agent -k 12:58:52 unset SSH_AUTH_SOCK; 12:58:52 unset SSH_AGENT_PID; 12:58:52 echo Agent pid 38 killed; 12:58:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:58:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:58:52 [ssh-agent] Looking for ssh-agent implementation... 12:58:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:58:52 $ docker exec 620e3345c520320b4355ece693aba5cc488994573328ac3fe246d69ee1f98ce7 ssh-agent 12:58:52 SSH_AUTH_SOCK=/tmp/ssh-NdLt4hK7330v/agent.70 12:58:52 SSH_AGENT_PID=76 12:58:52 Running ssh-add (command line suppressed) 12:58:52 Identity added: /w/workspace/_app-service-configurable_PR-556@tmp/private_key_14731291316144922217.key (/w/workspace/_app-service-configurable_PR-556@tmp/private_key_14731291316144922217.key) 12:58:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:58:52 + git semver init 12:58:53 2023-05-03 12:58:53,109 [run_init] DEBUG init version:0.0.0 force:False 12:58:53 2023-05-03 12:58:53,110 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-556/.semver 12:58:53 2023-05-03 12:58:53,110 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-556/.semver 12:58:53 2023-05-03 12:58:53,111 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-556/.semver'], cwd=/w/workspace/_app-service-configurable_PR-556, universal_newlines=False, shell=None, istream=None) 12:58:54 2023-05-03 12:58:53,877 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-556/.git/info/exclude 12:58:54 2023-05-03 12:58:53,877 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-556/.semver/PR-556 with force:False 12:58:54 2023-05-03 12:58:53,878 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-556/.semver/PR-556 12:58:54 2023-05-03 12:58:53,882 [execute] INFO git cat-file --batch-check 12:58:54 2023-05-03 12:58:53,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-556/.semver, universal_newlines=False, shell=None, istream=) 12:58:54 2023-05-03 12:58:53,889 [execute] INFO git cat-file --batch 12:58:54 2023-05-03 12:58:53,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-556/.semver, universal_newlines=False, shell=None, istream=) 12:58:54 2023-05-03 12:58:53,894 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-556/.semver/PR-556 12:58:54 0.0.0 [Pipeline] } 12:58:54 $ docker exec --env ******** --env ******** 620e3345c520320b4355ece693aba5cc488994573328ac3fe246d69ee1f98ce7 ssh-agent -k 12:58:54 unset SSH_AUTH_SOCK; 12:58:54 unset SSH_AGENT_PID; 12:58:54 echo Agent pid 76 killed; 12:58:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:58:54 + git semver [Pipeline] } 12:58:55 $ docker stop --time=1 620e3345c520320b4355ece693aba5cc488994573328ac3fe246d69ee1f98ce7 12:58:56 $ docker rm -f --volumes 620e3345c520320b4355ece693aba5cc488994573328ac3fe246d69ee1f98ce7 [Pipeline] // withDockerContainer [Pipeline] sh 12:58:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:58:57 Stashed 1 file(s) [Pipeline] echo 12:58:57 [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:58:57 provisioning config files... 12:58:57 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-556@tmp/config7568228133972437020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:58:58 ---> docker-login.sh 12:58:58 nexus3.edgexfoundry.org:10001 12:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:58 Configure a credential helper to remove this warning. See 12:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:58 12:58:58 Login Succeeded 12:58:58 nexus3.edgexfoundry.org:10002 12:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:58 Configure a credential helper to remove this warning. See 12:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:58 12:58:58 Login Succeeded 12:58:58 nexus3.edgexfoundry.org:10003 12:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:58 Configure a credential helper to remove this warning. See 12:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:58 12:58:58 Login Succeeded 12:58:58 nexus3.edgexfoundry.org:10004 12:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:58 Configure a credential helper to remove this warning. See 12:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:58 12:58:58 Login Succeeded 12:58:58 docker.io 12:58:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:58:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:58:58 Configure a credential helper to remove this warning. See 12:58:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:58:58 12:58:58 Login Succeeded 12:58:58 ---> docker-login.sh ends [Pipeline] } 12:58:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:58:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:58:58 ========================================================= 12:58:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:58:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:58:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:58:59 Sending build context to Docker daemon 3.311MB 12:58:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:58:59 Step 2/12 : FROM ${BASE} AS builder 12:58:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:58:59 f56be85fc22e: Pulling fs layer 12:58:59 85791d961cd3: Pulling fs layer 12:58:59 d694b5ae8c79: Pulling fs layer 12:58:59 9f32a84ed3da: Pulling fs layer 12:58:59 4d19c01a9841: Pulling fs layer 12:58:59 9325e15d5711: Pulling fs layer 12:58:59 556b6ee489ea: Pulling fs layer 12:58:59 c5a4b2cf53e6: Pulling fs layer 12:58:59 9f32a84ed3da: Waiting 12:58:59 4d19c01a9841: Waiting 12:58:59 9325e15d5711: Waiting 12:58:59 556b6ee489ea: Waiting 12:58:59 c5a4b2cf53e6: Waiting 12:58:59 85791d961cd3: Download complete 12:58:59 9f32a84ed3da: Verifying Checksum 12:58:59 9f32a84ed3da: Download complete 12:58:59 4d19c01a9841: Verifying Checksum 12:58:59 4d19c01a9841: Download complete 12:58:59 f56be85fc22e: Download complete 12:58:59 9325e15d5711: Verifying Checksum 12:58:59 9325e15d5711: Download complete 12:58:59 f56be85fc22e: Pull complete 12:58:59 85791d961cd3: Pull complete 12:59:00 c5a4b2cf53e6: Verifying Checksum 12:59:00 c5a4b2cf53e6: Download complete 12:59:00 d694b5ae8c79: Verifying Checksum 12:59:00 d694b5ae8c79: Download complete 12:59:00 556b6ee489ea: Verifying Checksum 12:59:00 556b6ee489ea: Download complete 12:59:03 d694b5ae8c79: Pull complete 12:59:03 9f32a84ed3da: Pull complete 12:59:03 4d19c01a9841: Pull complete 12:59:03 9325e15d5711: Pull complete 12:59:06 556b6ee489ea: Pull complete 12:59:07 c5a4b2cf53e6: Pull complete 12:59:07 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 12:59:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:59:07 ---> c4be618373d6 12:59:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:59:12 Still waiting to schedule task 12:59:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:59:13 ---> Running in b068f24d7a5d 12:59:13 Removing intermediate container b068f24d7a5d 12:59:13 ---> 978a303593c4 12:59:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:59:13 ---> Running in 916c9dde7ef9 12:59:13 Removing intermediate container 916c9dde7ef9 12:59:13 ---> f9d612821de6 12:59:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:59:13 ---> Running in cf17bab58007 12:59:13 Removing intermediate container cf17bab58007 12:59:13 ---> 390f7b8b7ef5 12:59:13 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:13 ---> Running in eab1833d2bfb 12:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:59:14 OK: 265 MiB in 53 packages 12:59:15 Removing intermediate container eab1833d2bfb 12:59:15 ---> ac51b6d76293 12:59:15 Step 7/12 : WORKDIR /app 12:59:15 ---> Running in e4935a08de89 12:59:15 Removing intermediate container e4935a08de89 12:59:15 ---> c5428b95746d 12:59:15 Step 8/12 : COPY go.mod vendor* ./ 12:59:15 ---> 30394f7fec3f 12:59:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:15 ---> Running in cd9f94da038e 12:59:53 Removing intermediate container cd9f94da038e 12:59:53 ---> f63a0ad862a7 12:59:53 Step 10/12 : COPY . . 12:59:53 ---> d4a0cecc938c 12:59:53 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:53 ---> Running in 0d774876ff05 12:59:53 Removing intermediate container 0d774876ff05 12:59:53 ---> 51bf64594d47 12:59:53 Step 12/12 : RUN $MAKE 12:59:53 ---> Running in 53917576e1cc 12:59:53 noop 12:59:53 Removing intermediate container 53917576e1cc 12:59:53 ---> f80a6b834030 12:59:53 Successfully built f80a6b834030 12:59:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:54 + docker inspect -f . ci-base-image-x86_64 12:59:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:54 prd-ubuntu20.04-docker-8c-8g-12581 does not seem to be running inside a container 12:59:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-556 -v /w/workspace/_app-service-configurable_PR-556:/w/workspace/_app-service-configurable_PR-556:rw,z -v /w/workspace/_app-service-configurable_PR-556@tmp:/w/workspace/_app-service-configurable_PR-556@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-x86_64 cat 12:59:54 $ docker top 70b2a9f4e37c1ff1045fd613a900ecd5bfff38e310c82fb677217ceb776c437d -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:55 + go version 12:59:55 go version go1.20.2 linux/amd64 [Pipeline] } 12:59:55 $ docker stop --time=1 70b2a9f4e37c1ff1045fd613a900ecd5bfff38e310c82fb677217ceb776c437d 12:59:56 $ docker rm -f --volumes 70b2a9f4e37c1ff1045fd613a900ecd5bfff38e310c82fb677217ceb776c437d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:57 + docker inspect -f . ci-base-image-x86_64 12:59:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:59:57 prd-ubuntu20.04-docker-8c-8g-12581 does not seem to be running inside a container 12:59:57 $ 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-556 -v /w/workspace/_app-service-configurable_PR-556:/w/workspace/_app-service-configurable_PR-556:rw,z -v /w/workspace/_app-service-configurable_PR-556@tmp:/w/workspace/_app-service-configurable_PR-556@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-x86_64 cat 12:59:57 $ docker top ba4f438ea453b4c32711a2cccedf0ad63a81926e8c1edeed5cfb17332fa2bdf7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:59:57 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-556 [Pipeline] fileExists [Pipeline] sh 12:59:58 + make test 12:59:58 go test -race -coverprofile=coverage.out ./... 13:00:17 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:00:35 go vet ./... 13:00:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:00:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:00:36 ./bin/test-attribution-txt.sh 13:00:36 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:00:36 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:00:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:00:36 $ docker stop --time=1 ba4f438ea453b4c32711a2cccedf0ad63a81926e8c1edeed5cfb17332fa2bdf7 13:00:42 $ docker rm -f --volumes ba4f438ea453b4c32711a2cccedf0ad63a81926e8c1edeed5cfb17332fa2bdf7 [Pipeline] // withDockerContainer [Pipeline] sh 13:00:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:00:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:00:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:00:43 + ls -al . 13:00:43 total 176 13:00:43 drwxrwxr-x 8 jenkins jenkins 4096 May 3 12:59 . 13:00:43 drwxrwxr-x 4 jenkins jenkins 4096 May 3 12:58 .. 13:00:43 -rw-rw-r-- 1 jenkins jenkins 119 May 3 12:58 .dockerignore 13:00:43 drwxrwxr-x 8 jenkins jenkins 4096 May 3 12:58 .git 13:00:43 drwxrwxr-x 3 jenkins jenkins 4096 May 3 12:58 .github 13:00:43 -rw-rw-r-- 1 jenkins jenkins 171 May 3 12:58 .gitignore 13:00:43 -rw-rw-r-- 1 jenkins jenkins 41 May 3 12:58 .golangci.yml 13:00:43 drwxr-xr-x 3 jenkins jenkins 4096 May 3 12:58 .semver 13:00:43 -rw-rw-r-- 1 jenkins jenkins 9088 May 3 12:58 Attribution.txt 13:00:43 -rw-rw-r-- 1 jenkins jenkins 29118 May 3 12:58 CHANGELOG.md 13:00:43 -rw-rw-r-- 1 jenkins jenkins 1898 May 3 12:58 Dockerfile 13:00:43 -rw-rw-r-- 1 jenkins jenkins 677 May 3 12:58 GOVERNANCE.md 13:00:43 -rw-rw-r-- 1 jenkins jenkins 688 May 3 12:58 Jenkinsfile 13:00:43 -rw-rw-r-- 1 jenkins jenkins 10174 May 3 12:58 LICENSE 13:00:43 -rw-rw-r-- 1 jenkins jenkins 618 May 3 12:58 OWNERS.md 13:00:43 -rw-rw-r-- 1 jenkins jenkins 4369 May 3 12:58 README.md 13:00:43 -rw-rw-r-- 1 jenkins jenkins 5 May 3 12:58 VERSION 13:00:43 drwxrwxr-x 2 jenkins jenkins 4096 May 3 12:58 bin 13:00:43 -rw-r--r-- 1 jenkins jenkins 13 May 3 12:59 coverage.out 13:00:43 -rw-rw-r-- 1 jenkins jenkins 3302 May 3 12:58 go.mod 13:00:43 -rw-rw-r-- 1 jenkins jenkins 31536 May 3 12:58 go.sum 13:00:43 -rw-rw-r-- 1 jenkins jenkins 1949 May 3 12:58 main.go 13:00:43 -rw-rw-r-- 1 jenkins jenkins 2569 May 3 12:58 makefile 13:00:43 drwxrwxr-x 9 jenkins jenkins 4096 May 3 12:58 res 13:00:43 drwxrwxr-x 4 jenkins jenkins 4096 May 3 12:58 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:00:44 + 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=ab4307e0efaac96c1b60d6caa6dda957920450a3 --label arch=amd64 --label version=0.0.0 . 13:00:44 Sending build context to Docker daemon 3.312MB 13:00:44 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:00:44 Step 2/26 : FROM ${BASE} AS builder 13:00:44 ---> f80a6b834030 13:00:44 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:00:44 ---> Running in 14dfe507692d 13:00:44 Removing intermediate container 14dfe507692d 13:00:44 ---> 39ba1ad13b63 13:00:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:00:44 ---> Running in 6b6977dc873d 13:00:44 Removing intermediate container 6b6977dc873d 13:00:44 ---> 3e7239e41dbf 13:00:44 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:00:44 ---> Running in dd05acc8c83e 13:00:44 Removing intermediate container dd05acc8c83e 13:00:44 ---> d36c478e6587 13:00:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:00:44 ---> Running in ee0169b6fc93 13:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:00:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:00:45 OK: 265 MiB in 53 packages 13:00:45 Removing intermediate container ee0169b6fc93 13:00:45 ---> 6ef2ae4b7d19 13:00:45 Step 7/26 : WORKDIR /app 13:00:45 ---> Running in e0f8a0d36aad 13:00:45 Removing intermediate container e0f8a0d36aad 13:00:45 ---> 2c1d7210ac0a 13:00:45 Step 8/26 : COPY go.mod vendor* ./ 13:00:45 ---> 5c8083d2cc8a 13:00:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:00:45 ---> Running in 972945bff93d 13:00:46 Removing intermediate container 972945bff93d 13:00:46 ---> 556c600edbd0 13:00:46 Step 10/26 : COPY . . 13:00:46 ---> f04ea4f02433 13:00:46 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:00:46 ---> Running in f105241ff7fd 13:00:47 Removing intermediate container f105241ff7fd 13:00:47 ---> aecb15d4e06b 13:00:47 Step 12/26 : RUN $MAKE 13:00:47 ---> Running in ff9e498d851b 13:00:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.58 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:00:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12582 in /w/workspace/_app-service-configurable_PR-556 [Pipeline] { [Pipeline] ws 13:00:51 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 13:00:51 Selected Git installation does not exist. Using Default 13:00:51 The recommended git tool is: NONE 13:00:56 using credential edgex-jenkins-ssh 13:00:56 Cloning the remote Git repository 13:00:56 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 13:00:56 > git init /w/workspace/app-service-configurable/1 # timeout=10 13:00:56 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:56 > git --version # timeout=10 13:00:56 > git --version # 'git version 2.25.1' 13:00:56 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:58 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:00:59 Merging remotes/origin/main commit f6c79abbbe137ac8802e525be2bea65aaac7fbd6 into PR head commit ab4307e0efaac96c1b60d6caa6dda957920450a3 13:00:59 Merge succeeded, producing ab4307e0efaac96c1b60d6caa6dda957920450a3 13:00:59 Checking out Revision ab4307e0efaac96c1b60d6caa6dda957920450a3 (PR-556) 13:00:59 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 13:00:59 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 13:00:59 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/556/head:refs/remotes/origin/PR-556 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:00:59 > git config core.sparsecheckout # timeout=10 13:00:59 > git checkout -f ab4307e0efaac96c1b60d6caa6dda957920450a3 # timeout=10 13:00:59 > git remote # timeout=10 13:00:59 > git config --get remote.origin.url # timeout=10 13:00:59 using GIT_SSH to set credentials SSH Credentials for GitHub 13:00:59 > git merge f6c79abbbe137ac8802e525be2bea65aaac7fbd6 # timeout=10 13:00:59 > git rev-parse HEAD^{commit} # timeout=10 13:00:59 > git config core.sparsecheckout # timeout=10 13:00:59 > git checkout -f ab4307e0efaac96c1b60d6caa6dda957920450a3 # timeout=10 13:01:00 Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" 13:01:00 > git --version # timeout=10 13:01:00 > git --version # 'git version 2.25.1' 13:01:00 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:01:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:01:01 % Total % Received % Xferd Average Speed Time Time Time Current 13:01:01 Dload Upload Total Spent Left Speed 13:01:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 63123 0 --:--:-- --:--:-- --:--:-- 63123 [Pipeline] sh 13:01:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:01:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:01:02 + sudo tee /etc/docker/daemon.new 13:01:02 { 13:01:02 "registry-mirrors": [ 13:01:02 "https://nexus3.edgexfoundry.org:10001" 13:01:02 ], 13:01:02 "bip": "10.250.0.254/24", 13:01:02 "hosts": [ 13:01:02 "tcp://0.0.0.0:5555", 13:01:02 "unix:///var/run/docker.sock" 13:01:02 ], 13:01:02 "mtu": 1458, 13:01:02 "selinux-enabled": true, 13:01:02 "seccomp-profile": "/etc/docker/seccomp.json" 13:01:02 } [Pipeline] sh 13:01:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:01:03 + sudo service docker restart 13:01:09 Removing intermediate container ff9e498d851b 13:01:09 ---> a4a94cce70c4 13:01:09 Step 13/26 : FROM alpine:3.17 13:01:09 3.17: Pulling from library/alpine 13:01:09 f56be85fc22e: Already exists 13:01:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:01:09 Status: Downloaded newer image for alpine:3.17 13:01:09 ---> 9ed4aefc74f6 13:01:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:01:09 ---> Running in 4867b6520c71 13:01:09 Removing intermediate container 4867b6520c71 13:01:09 ---> 54f88eeba651 13:01:09 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:01:09 ---> Running in e2f7caf4f738 13:01:09 Removing intermediate container e2f7caf4f738 13:01:09 ---> dbd93a428ca8 13:01:09 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:01:09 ---> Running in 8022b2a9fb4f 13:01:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:01:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:01:09 (1/2) Installing ca-certificates (20220614-r4) 13:01:09 (2/2) Installing dumb-init (1.2.5-r2) 13:01:09 Executing busybox-1.35.0-r29.trigger 13:01:09 Executing ca-certificates-20220614-r4.trigger 13:01:09 OK: 8 MiB in 17 packages 13:01:09 Removing intermediate container 8022b2a9fb4f 13:01:09 ---> 8bfea2266e7d 13:01:09 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:01:09 ---> b566037c983c 13:01:09 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:01:09 ---> b147c835c61d 13:01:09 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:01:09 ---> 9e57504185ac 13:01:09 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:01:09 ---> a8c4e1342589 13:01:09 Step 21/26 : EXPOSE 48095 13:01:09 ---> Running in 3689f37c3d01 13:01:09 Removing intermediate container 3689f37c3d01 13:01:09 ---> e137b0189c7d 13:01:09 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:01:09 ---> Running in 9c4dd6ff21df 13:01:09 Removing intermediate container 9c4dd6ff21df 13:01:09 ---> adf3cd9f3c9f 13:01:09 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:01:09 ---> Running in bfcb05d0eec0 13:01:09 Removing intermediate container bfcb05d0eec0 13:01:09 ---> 7d91a65b7cc5 13:01:09 Step 24/26 : LABEL arch=amd64 13:01:09 ---> Running in f686faf8dcb0 13:01:09 Removing intermediate container f686faf8dcb0 13:01:09 ---> 33199dbbfa7d 13:01:09 Step 25/26 : LABEL git_sha=ab4307e0efaac96c1b60d6caa6dda957920450a3 13:01:09 ---> Running in 2d5992fb96f6 13:01:09 Removing intermediate container 2d5992fb96f6 13:01:09 ---> ef76ab41a45e 13:01:09 Step 26/26 : LABEL version=0.0.0 13:01:09 ---> Running in 0283cc91f59b 13:01:09 Removing intermediate container 0283cc91f59b 13:01:09 ---> 48b50252b3ee 13:01:09 [Warning] One or more build-args [ARCH] were not consumed 13:01:09 Successfully built 48b50252b3ee 13:01:09 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 13:01:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:10 13:01:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:11 latest: Pulling from edgex-lftools-log-publisher 13:01:11 5eb5b503b376: Pulling fs layer 13:01:11 5c69ac0246d0: Pulling fs layer 13:01:11 ec43610c2a17: Pulling fs layer 13:01:11 3a2ae6a8a46f: Pulling fs layer 13:01:11 33b1e0a273af: Pulling fs layer 13:01:11 5d3b04190fa2: Pulling fs layer 13:01:11 2f39f015ded8: Pulling fs layer 13:01:11 33b1e0a273af: Waiting 13:01:11 5d3b04190fa2: Waiting 13:01:11 3a2ae6a8a46f: Waiting 13:01:11 2f39f015ded8: Waiting 13:01:11 5c69ac0246d0: Verifying Checksum 13:01:11 5c69ac0246d0: Download complete 13:01:11 3a2ae6a8a46f: Verifying Checksum 13:01:11 3a2ae6a8a46f: Download complete 13:01:11 33b1e0a273af: Verifying Checksum 13:01:11 33b1e0a273af: Download complete 13:01:11 ec43610c2a17: Verifying Checksum 13:01:11 ec43610c2a17: Download complete 13:01:11 5d3b04190fa2: Download complete 13:01:11 5eb5b503b376: Download complete 13:01:11 2f39f015ded8: Verifying Checksum 13:01:11 2f39f015ded8: Download complete 13:01:12 5eb5b503b376: Pull complete 13:01:12 5c69ac0246d0: Pull complete 13:01:12 ec43610c2a17: Pull complete 13:01:12 3a2ae6a8a46f: Pull complete 13:01:12 33b1e0a273af: Pull complete 13:01:12 5d3b04190fa2: Pull complete 13:01:17 2f39f015ded8: Pull complete 13:01:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:01:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:01:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:01:17 prd-ubuntu20.04-docker-8c-8g-12581 does not seem to be running inside a container 13:01:17 $ 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-556 -v /w/workspace/_app-service-configurable_PR-556:/w/workspace/_app-service-configurable_PR-556:rw,z -v /w/workspace/_app-service-configurable_PR-556@tmp:/w/workspace/_app-service-configurable_PR-556@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 13:01:21 $ docker top 7e17203e52d7e6bb95eba05b47a056d895ed2119c6c9300bfaabb0ea8346aaed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:22 ---> job-cost.sh 13:01:22 lf-activate-venv: SKIPPING 13:01:22 INFO: No Stack... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:01:22 provisioning config files... 13:01:22 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config7310351768243732275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:01:22 ---> docker-login.sh 13:01:22 nexus3.edgexfoundry.org:10001 13:01:22 INFO: Retrieving Pricing Info for: v3-standard-8 13:01:22 INFO: Archiving Costs [Pipeline] sh 13:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:23 Configure a credential helper to remove this warning. See 13:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:23 13:01:23 Login Succeeded 13:01:23 nexus3.edgexfoundry.org:10002 13:01:23 + cat /w/workspace/_app-service-configurable_PR-556/archives/cost.csv 13:01:23 + cut -d, -f6 [Pipeline] lock 13:01:23 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-556-1-stack-cost] 13:01:23 Resource [jenkins-edgexfoundry-app-service-configurable-PR-556-1-stack-cost] did not exist. Created. 13:01:23 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-556-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:23 Configure a credential helper to remove this warning. See 13:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:23 13:01:23 Login Succeeded 13:01:23 nexus3.edgexfoundry.org:10003 13:01:23 + echo total: 0.2199999988079071 [Pipeline] stash 13:01:23 Stashed 1 file(s) [Pipeline] } 13:01:23 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-556-1-stack-cost] 13:01:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // lock [Pipeline] } 13:01:23 $ docker stop --time=1 7e17203e52d7e6bb95eba05b47a056d895ed2119c6c9300bfaabb0ea8346aaed 13:01:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:23 Configure a credential helper to remove this warning. See 13:01:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:23 13:01:23 Login Succeeded 13:01:23 nexus3.edgexfoundry.org:10004 13:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:24 Configure a credential helper to remove this warning. See 13:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:24 13:01:24 Login Succeeded 13:01:24 docker.io 13:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:01:24 Configure a credential helper to remove this warning. See 13:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:01:24 13:01:24 Login Succeeded 13:01:24 ---> docker-login.sh ends 13:01:24 $ docker rm -f --volumes 7e17203e52d7e6bb95eba05b47a056d895ed2119c6c9300bfaabb0ea8346aaed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 13:01:25 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 13:01:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:01:25 ========================================================= 13:01:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:01:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:01:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 13:01:26 Sending build context to Docker daemon 168.4kB 13:01:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:01:26 Step 2/12 : FROM ${BASE} AS builder 13:01:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:01:26 c41833b44d91: Pulling fs layer 13:01:26 ed15518f5707: Pulling fs layer 13:01:26 feae8fd75edb: Pulling fs layer 13:01:26 242c74f7c9fa: Pulling fs layer 13:01:26 3cdef696dda3: Pulling fs layer 13:01:26 2ced38df9373: Pulling fs layer 13:01:26 58f1dce35555: Pulling fs layer 13:01:26 242c74f7c9fa: Waiting 13:01:26 3cdef696dda3: Waiting 13:01:26 2ced38df9373: Waiting 13:01:26 58f1dce35555: Waiting 13:01:26 ed15518f5707: Verifying Checksum 13:01:26 ed15518f5707: Download complete 13:01:26 242c74f7c9fa: Verifying Checksum 13:01:26 242c74f7c9fa: Download complete 13:01:26 3cdef696dda3: Verifying Checksum 13:01:26 3cdef696dda3: Download complete 13:01:26 c41833b44d91: Verifying Checksum 13:01:26 c41833b44d91: Download complete 13:01:28 c41833b44d91: Pull complete 13:01:28 58f1dce35555: Verifying Checksum 13:01:28 58f1dce35555: Download complete 13:01:28 ed15518f5707: Pull complete 13:01:29 feae8fd75edb: Verifying Checksum 13:01:29 feae8fd75edb: Download complete 13:01:29 2ced38df9373: Verifying Checksum 13:01:29 2ced38df9373: Download complete 13:01:41 feae8fd75edb: Pull complete 13:01:41 242c74f7c9fa: Pull complete 13:01:41 3cdef696dda3: Pull complete 13:01:50 2ced38df9373: Pull complete 13:01:52 58f1dce35555: Pull complete 13:01:52 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 13:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:01:52 ---> fadd8f120f05 13:01:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 13:01:53 ---> Running in aca6c88d642b 13:01:54 Removing intermediate container aca6c88d642b 13:01:54 ---> d2385764a929 13:01:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:01:54 ---> Running in cd768179057a 13:01:54 Removing intermediate container cd768179057a 13:01:54 ---> cce669a5a5a6 13:01:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:01:54 ---> Running in 6a6d170bb04d 13:01:54 Removing intermediate container 6a6d170bb04d 13:01:54 ---> 349379b82fe9 13:01:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:01:54 ---> Running in f14c00d0e9a4 13:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:01:57 OK: 263 MiB in 53 packages 13:01:58 Removing intermediate container f14c00d0e9a4 13:01:58 ---> 163a54dd7d5c 13:01:58 Step 7/12 : WORKDIR /app 13:01:58 ---> Running in a90ceb223484 13:01:58 Removing intermediate container a90ceb223484 13:01:58 ---> dc7e478f227a 13:01:58 Step 8/12 : COPY go.mod vendor* ./ 13:01:59 ---> d0b7687b35c9 13:01:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:01:59 ---> Running in 2393b10c0f64 13:03:07 Removing intermediate container 2393b10c0f64 13:03:07 ---> 3a37e1932ecb 13:03:07 Step 10/12 : COPY . . 13:03:07 ---> 32edcb4fffd4 13:03:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:03:07 ---> Running in bd1fd18d3c3d 13:03:07 Removing intermediate container bd1fd18d3c3d 13:03:07 ---> 6ede11283914 13:03:07 Step 12/12 : RUN $MAKE 13:03:07 ---> Running in ab38d91e0b27 13:03:07 noop 13:03:07 Removing intermediate container ab38d91e0b27 13:03:07 ---> 18b029c31d93 13:03:07 Successfully built 18b029c31d93 13:03:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:07 + docker inspect -f . ci-base-image-arm64 13:03:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:07 prd-ubuntu20.04-docker-arm64-4c-16g-12582 does not seem to be running inside a container 13:03:07 $ 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 13:03:09 $ docker top b8a6d2d9d7e7ebd42a7376a7017e72886443902d906e974b80eb80f0f4314e96 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:09 + go version 13:03:09 go version go1.20.2 linux/arm64 [Pipeline] } 13:03:10 $ docker stop --time=1 b8a6d2d9d7e7ebd42a7376a7017e72886443902d906e974b80eb80f0f4314e96 13:03:11 $ docker rm -f --volumes b8a6d2d9d7e7ebd42a7376a7017e72886443902d906e974b80eb80f0f4314e96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:12 + docker inspect -f . ci-base-image-arm64 13:03:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:12 prd-ubuntu20.04-docker-arm64-4c-16g-12582 does not seem to be running inside a container 13:03:12 $ 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 13:03:13 $ docker top 1733ff2d91eff940c19ef39cd20e00ae060bb6a56bccdb987fd69996b7008357 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:14 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 13:03:15 + make test 13:03:15 go test -race -coverprofile=coverage.out ./... 13:05:52 ? github.com/edgexfoundry/app-service-configurable [no test files] 13:05:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:05:52 go vet ./... 13:07:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:07:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:07:58 ./bin/test-attribution-txt.sh 13:07:58 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 13:07:58 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 13:07:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:07:58 $ docker stop --time=1 1733ff2d91eff940c19ef39cd20e00ae060bb6a56bccdb987fd69996b7008357 13:08:02 $ docker rm -f --volumes 1733ff2d91eff940c19ef39cd20e00ae060bb6a56bccdb987fd69996b7008357 [Pipeline] // withDockerContainer [Pipeline] sh 13:08:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:08:03 Warning: overwriting stash ‘coverage-report’ 13:08:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:08:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:08:05 + ls -al . 13:08:05 total 172 13:08:05 drwxrwxr-x 7 jenkins jenkins 4096 May 3 13:03 . 13:08:05 drwxrwxr-x 4 jenkins jenkins 4096 May 3 13:00 .. 13:08:05 -rw-rw-r-- 1 jenkins jenkins 119 May 3 13:00 .dockerignore 13:08:05 drwxrwxr-x 8 jenkins jenkins 4096 May 3 13:00 .git 13:08:05 drwxrwxr-x 3 jenkins jenkins 4096 May 3 13:00 .github 13:08:05 -rw-rw-r-- 1 jenkins jenkins 171 May 3 13:00 .gitignore 13:08:05 -rw-rw-r-- 1 jenkins jenkins 41 May 3 13:00 .golangci.yml 13:08:05 -rw-rw-r-- 1 jenkins jenkins 9088 May 3 13:00 Attribution.txt 13:08:05 -rw-rw-r-- 1 jenkins jenkins 29118 May 3 13:00 CHANGELOG.md 13:08:05 -rw-rw-r-- 1 jenkins jenkins 1898 May 3 13:00 Dockerfile 13:08:05 -rw-rw-r-- 1 jenkins jenkins 677 May 3 13:00 GOVERNANCE.md 13:08:05 -rw-rw-r-- 1 jenkins jenkins 688 May 3 13:00 Jenkinsfile 13:08:05 -rw-rw-r-- 1 jenkins jenkins 10174 May 3 13:00 LICENSE 13:08:05 -rw-rw-r-- 1 jenkins jenkins 618 May 3 13:00 OWNERS.md 13:08:05 -rw-rw-r-- 1 jenkins jenkins 4369 May 3 13:00 README.md 13:08:05 -rw-rw-r-- 1 jenkins jenkins 5 May 3 12:58 VERSION 13:08:05 drwxrwxr-x 2 jenkins jenkins 4096 May 3 13:00 bin 13:08:05 -rw-r--r-- 1 jenkins jenkins 13 May 3 13:03 coverage.out 13:08:05 -rw-rw-r-- 1 jenkins jenkins 3302 May 3 13:00 go.mod 13:08:05 -rw-rw-r-- 1 jenkins jenkins 31536 May 3 13:00 go.sum 13:08:05 -rw-rw-r-- 1 jenkins jenkins 1949 May 3 13:00 main.go 13:08:05 -rw-rw-r-- 1 jenkins jenkins 2569 May 3 13:00 makefile 13:08:05 drwxrwxr-x 9 jenkins jenkins 4096 May 3 13:00 res 13:08:05 drwxrwxr-x 4 jenkins jenkins 4096 May 3 13:00 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:08:05 + 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=ab4307e0efaac96c1b60d6caa6dda957920450a3 --label arch=arm64 --label version=0.0.0 . 13:08:05 Sending build context to Docker daemon 169.5kB 13:08:05 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 13:08:05 Step 2/26 : FROM ${BASE} AS builder 13:08:05 ---> 18b029c31d93 13:08:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 13:08:05 ---> Running in 550061252f0b 13:08:06 Removing intermediate container 550061252f0b 13:08:06 ---> 093860cf5aeb 13:08:06 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:08:06 ---> Running in 031b42368e61 13:08:06 Removing intermediate container 031b42368e61 13:08:06 ---> 7e575fe4b845 13:08:06 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:08:06 ---> Running in ba412e6c571b 13:08:06 Removing intermediate container ba412e6c571b 13:08:06 ---> c11070ea41cb 13:08:06 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:08:06 ---> Running in b31a41702a5e 13:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:08:10 OK: 263 MiB in 53 packages 13:08:10 Removing intermediate container b31a41702a5e 13:08:10 ---> 3fca6dcfc975 13:08:10 Step 7/26 : WORKDIR /app 13:08:10 ---> Running in f6d39a1dfa6c 13:08:11 Removing intermediate container f6d39a1dfa6c 13:08:11 ---> 9f9821df4f34 13:08:11 Step 8/26 : COPY go.mod vendor* ./ 13:08:11 ---> 1fcdb61a1ca0 13:08:11 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:08:11 ---> Running in 893e2f31bc0b 13:08:14 Removing intermediate container 893e2f31bc0b 13:08:14 ---> 1608358e6173 13:08:14 Step 10/26 : COPY . . 13:08:14 ---> 9bcfad336acb 13:08:14 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:08:14 ---> Running in e4768f3c2857 13:08:14 Removing intermediate container e4768f3c2857 13:08:14 ---> f80e157bda8e 13:08:14 Step 12/26 : RUN $MAKE 13:08:15 ---> Running in 8ca75ac96adc 13:08:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.58 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 13:10:22 Removing intermediate container 8ca75ac96adc 13:10:22 ---> 82f61fe0aaa6 13:10:22 Step 13/26 : FROM alpine:3.17 13:10:22 3.17: Pulling from library/alpine 13:10:22 c41833b44d91: Already exists 13:10:22 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 13:10:22 Status: Downloaded newer image for alpine:3.17 13:10:22 ---> 51e60588ff2c 13:10:22 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:10:22 ---> Running in a51fc93ca6fd 13:10:22 Removing intermediate container a51fc93ca6fd 13:10:22 ---> 0a3ab684f7b4 13:10:22 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 13:10:22 ---> Running in 73cdc34ed388 13:10:22 Removing intermediate container 73cdc34ed388 13:10:22 ---> d0e4715cd0e9 13:10:22 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 13:10:22 ---> Running in 82851182a450 13:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:10:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:10:24 (1/2) Installing ca-certificates (20220614-r4) 13:10:24 (2/2) Installing dumb-init (1.2.5-r2) 13:10:24 Executing busybox-1.35.0-r29.trigger 13:10:24 Executing ca-certificates-20220614-r4.trigger 13:10:24 OK: 8 MiB in 17 packages 13:10:26 Removing intermediate container 82851182a450 13:10:26 ---> 807bb61a490c 13:10:26 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 13:10:26 ---> 9ad25f535412 13:10:26 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 13:10:27 ---> e64ad83ef320 13:10:27 Step 19/26 : COPY --from=builder /app/res/ /res/ 13:10:28 ---> 3513a755459a 13:10:28 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 13:10:29 ---> 12aa0b8f7e22 13:10:29 Step 21/26 : EXPOSE 48095 13:10:29 ---> Running in a0fcc25a0aa5 13:10:29 Removing intermediate container a0fcc25a0aa5 13:10:29 ---> 09f62c865e15 13:10:29 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 13:10:29 ---> Running in c351d2e43c12 13:10:29 Removing intermediate container c351d2e43c12 13:10:29 ---> 8db2d793c8fb 13:10:29 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:10:30 ---> Running in 1230a89225fb 13:10:30 Removing intermediate container 1230a89225fb 13:10:30 ---> faae906efc58 13:10:30 Step 24/26 : LABEL arch=arm64 13:10:30 ---> Running in 12ccb8b7fdbd 13:10:30 Removing intermediate container 12ccb8b7fdbd 13:10:30 ---> 5fe8114d1639 13:10:30 Step 25/26 : LABEL git_sha=ab4307e0efaac96c1b60d6caa6dda957920450a3 13:10:30 ---> Running in a4d76571b430 13:10:31 Removing intermediate container a4d76571b430 13:10:31 ---> 195a259b2841 13:10:31 Step 26/26 : LABEL version=0.0.0 13:10:31 ---> Running in c6e154c919a9 13:10:31 Removing intermediate container c6e154c919a9 13:10:31 ---> e4e88695f56f 13:10:31 [Warning] One or more build-args [ARCH] were not consumed 13:10:31 Successfully built e4e88695f56f 13:10:31 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 13:10:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:32 13:10:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:32 arm64: Pulling from edgex-lftools-log-publisher 13:10:32 8998bd30e6a1: Pulling fs layer 13:10:32 04944245beec: Pulling fs layer 13:10:32 699f458cf7ca: Pulling fs layer 13:10:32 765212b225bb: Pulling fs layer 13:10:32 f23df028b6ca: Pulling fs layer 13:10:32 d65c8cfc05b1: Pulling fs layer 13:10:32 2437ff75d9bd: Pulling fs layer 13:10:32 765212b225bb: Waiting 13:10:32 f23df028b6ca: Waiting 13:10:32 d65c8cfc05b1: Waiting 13:10:32 2437ff75d9bd: Waiting 13:10:32 04944245beec: Verifying Checksum 13:10:32 04944245beec: Download complete 13:10:32 765212b225bb: Download complete 13:10:32 f23df028b6ca: Verifying Checksum 13:10:32 f23df028b6ca: Download complete 13:10:32 d65c8cfc05b1: Verifying Checksum 13:10:32 d65c8cfc05b1: Download complete 13:10:32 699f458cf7ca: Verifying Checksum 13:10:32 699f458cf7ca: Download complete 13:10:33 8998bd30e6a1: Verifying Checksum 13:10:33 8998bd30e6a1: Download complete 13:10:35 2437ff75d9bd: Verifying Checksum 13:10:36 8998bd30e6a1: Pull complete 13:10:37 04944245beec: Pull complete 13:10:38 699f458cf7ca: Pull complete 13:10:38 765212b225bb: Pull complete 13:10:40 f23df028b6ca: Pull complete 13:10:40 d65c8cfc05b1: Pull complete 13:10:56 2437ff75d9bd: Pull complete 13:10:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:10:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:10:56 prd-ubuntu20.04-docker-arm64-4c-16g-12582 does not seem to be running inside a container 13:10:56 $ 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 13:10:58 $ docker top 08835c3da50106761e448b2d4a681dec1c0a19d7742858c7002714c8a0f9fea5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:59 ---> job-cost.sh 13:10:59 lf-activate-venv: SKIPPING 13:10:59 INFO: No Stack... 13:10:59 INFO: Retrieving Pricing Info for: v3-standard-4 13:11:00 INFO: Archiving Costs [Pipeline] sh 13:11:01 + cut -d, -f6 13:11:01 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 13:11:01 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-556-1-stack-cost] 13:11:01 Resource [jenkins-edgexfoundry-app-service-configurable-PR-556-1-stack-cost] did not exist. Created. 13:11:01 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-556-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:01 /w/workspace/app-service-configurable/1@tmp/durable-bf890b68/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:11:01 + echo total: 0.10999999940395355 [Pipeline] stash 13:11:02 Warning: overwriting stash ‘stack-cost’ 13:11:02 Stashed 1 file(s) [Pipeline] } 13:11:02 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-556-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:02 $ docker stop --time=1 08835c3da50106761e448b2d4a681dec1c0a19d7742858c7002714c8a0f9fea5 13:11:03 $ docker rm -f --volumes 08835c3da50106761e448b2d4a681dec1c0a19d7742858c7002714c8a0f9fea5 [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 13:11:04 provisioning config files... 13:11:04 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-556@tmp/config18352729274810040165tmp [Pipeline] { [Pipeline] sh 13:11:04 + set +x 13:11:04 + curl -s https://codecov.io/bash 13:11:04 + bash -s -- 13:11:05 13:11:05 _____ _ 13:11:05 / ____| | | 13:11:05 | | ___ __| | ___ ___ _____ __ 13:11:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:11:05 | |___| (_) | (_| | __/ (_| (_) \ V / 13:11:05 \_____\___/ \__,_|\___|\___\___/ \_/ 13:11:05 Bash-1.0.6 13:11:05 13:11:05 13:11:05 ==> git version 2.25.1 found 13:11:05 ==> 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 13:11:05 Release-Date: 2020-01-08 13:11:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:11:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:11:05 ==> Jenkins CI detected. 13:11:05 current dir:  /w/workspace/_app-service-configurable_PR-556 13:11:05 project root: . 13:11:05 --> token set from env 13:11:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:11:05 ==> Running gcov in . (disable via -X gcov) 13:11:05 ==> Python coveragepy not found 13:11:05 ==> Searching for coverage reports in: 13:11:05 + . 13:11:05 -> Found 1 reports 13:11:05 ==> Detecting git/mercurial file structure 13:11:05 ==> Reading reports 13:11:05 + ./coverage.out bytes=13 13:11:05 ==> Appending adjustments 13:11:05 https://docs.codecov.io/docs/fixing-reports 13:11:05 + Found adjustments 13:11:05 ==> Gzipping contents 13:11:05 4.0K /tmp/codecov.s8Q3t0.gz 13:11:05 ==> Uploading reports 13:11:05 url: https://codecov.io 13:11:05 query: branch=PR-556&commit=ab4307e0efaac96c1b60d6caa6dda957920450a3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-556%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=556&job=&cmd_args= 13:11:05 -> Pinging Codecov 13:11:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-556&commit=ab4307e0efaac96c1b60d6caa6dda957920450a3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-556%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=556&job=&cmd_args= 13:11:05 -> Uploading to 13:11:05 https://storage.googleapis.com/codecov/v4/raw/2023-05-03/A97CA9966030D2A3747ED39772930CCE/ab4307e0efaac96c1b60d6caa6dda957920450a3/124cc208-4b91-4798-97ec-09cf26219f07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T131105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e638418e703aded1c395604f10d34558f154a8c88115b366db940b8bdd12469 13:11:05 % Total % Received % Xferd Average Speed Time Time Time Current 13:11:05 Dload Upload Total Spent Left Speed 13:11:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1841 --:--:-- --:--:-- --:--:-- 1841 13:11:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/ab4307e0efaac96c1b60d6caa6dda957920450a3 [Pipeline] } 13:11:05 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 13:11:07 + [ -d /w/workspace/_app-service-configurable_PR-556/archives ] 13:11:07 + ls -al /w/workspace/_app-service-configurable_PR-556/archives 13:11:07 total 16 13:11:07 drwxr-xr-x 3 root root 4096 May 3 13:01 . 13:11:07 drwxrwxr-x 9 jenkins jenkins 4096 May 3 13:01 .. 13:11:07 drwxr-xr-x 2 root root 4096 May 3 13:01 cost 13:11:07 -rw-r--r-- 1 root root 96 May 3 13:01 cost.csv 13:11:07 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-556/archives 13:11:07 + ls -al /w/workspace/_app-service-configurable_PR-556/archives 13:11:07 total 16 13:11:07 drwxr-xr-x 3 jenkins jenkins 4096 May 3 13:01 . 13:11:07 drwxrwxr-x 9 jenkins jenkins 4096 May 3 13:01 .. 13:11:07 drwxr-xr-x 2 jenkins jenkins 4096 May 3 13:01 cost 13:11:07 -rw-r--r-- 1 jenkins jenkins 96 May 3 13:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:11:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:11:08 ---> package-listing.sh 13:11:08 ++ tr '[:upper:]' '[:lower:]' 13:11:08 ++ facter osfamily 13:11:08 + OS_FAMILY=debian 13:11:08 + workspace=/w/workspace/_app-service-configurable_PR-556 13:11:08 + START_PACKAGES=/tmp/packages_start.txt 13:11:08 + END_PACKAGES=/tmp/packages_end.txt 13:11:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:11:08 + PACKAGES=/tmp/packages_start.txt 13:11:08 + '[' /w/workspace/_app-service-configurable_PR-556 ']' 13:11:08 + PACKAGES=/tmp/packages_end.txt 13:11:08 + case "${OS_FAMILY}" in 13:11:08 + dpkg -l 13:11:08 + grep '^ii' 13:11:08 + '[' -f /tmp/packages_start.txt ']' 13:11:08 + '[' -f /tmp/packages_end.txt ']' 13:11:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:11:08 + '[' /w/workspace/_app-service-configurable_PR-556 ']' 13:11:08 + mkdir -p /w/workspace/_app-service-configurable_PR-556/archives/ 13:11:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-556/archives/ [Pipeline] echo 13:11:08 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-556/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:11:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:11:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:10 prd-ubuntu20.04-docker-8c-8g-12581 does not seem to be running inside a container 13:11:10 $ 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-556/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-556 -v /w/workspace/_app-service-configurable_PR-556:/w/workspace/_app-service-configurable_PR-556:rw,z -v /w/workspace/_app-service-configurable_PR-556@tmp:/w/workspace/_app-service-configurable_PR-556@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:11:10 $ docker top 70143b412f57693473c12a78d36e94b6b8b4bb49dc3535d1e1b63933a83665da -eo pid,comm [Pipeline] { [Pipeline] sh 13:11:10 + touch /tmp/pre-build-complete [Pipeline] sh 13:11:11 + mkdir -p /var/log/sysstat [Pipeline] sh 13:11:11 + ls /var/log/sa-host 13:11:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:11:11 provisioning config files... 13:11:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-556@tmp/config12289714600253637588tmp [Pipeline] { [Pipeline] echo 13:11:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:11:11 ---> create-netrc.sh [Pipeline] } 13:11:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:11:12 ---> python-tools-install.sh [Pipeline] echo 13:11:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:11:12 ---> sudo-logs.sh 13:11:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:11:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:11:13 ---> job-cost.sh 13:11:13 lf-activate-venv: SKIPPING 13:11:13 DEBUG: total: 0.2199999988079071 13:11:13 INFO: Retrieving Stack Cost... 13:11:13 INFO: Retrieving Pricing Info for: v3-standard-8 13:11:14 INFO: Archiving Costs [Pipeline] echo 13:11:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:11:14 ---> logs-deploy.sh 13:11:14 lf-activate-venv: SKIPPING 13:11:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-556/1 13:11:14 INFO: archiving workspace using pattern(s): 13:11:15 Archives upload complete. 13:11:15 INFO: archiving logs to Nexus