Pull request #613 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 00254f67f08f92f564baa3038d9ed79fc19185d0+52199917436ecc7613ed2233e2d3644ee65f7bdc (ac188eadc13d356a13fe388dbffe2a0658f6590b) 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-ssh5145639341565438748.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3237391527619199115.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-613/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-613/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1031855736137554355.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-613/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13139499004401881037.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh10187279959225299555.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-613/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-613/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1862240530993453029.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9979’ Running on prd-ubuntu20.04-docker-8c-8g-9984 in /w/workspace/_app-service-configurable_PR-613 [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-613 # 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/613/head:refs/remotes/origin/PR-613 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 52199917436ecc7613ed2233e2d3644ee65f7bdc into PR head commit 00254f67f08f92f564baa3038d9ed79fc19185d0 Merge succeeded, producing 00254f67f08f92f564baa3038d9ed79fc19185d0 Checking out Revision 00254f67f08f92f564baa3038d9ed79fc19185d0 (PR-613) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:10:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 00254f67f08f92f564baa3038d9ed79fc19185d0 # 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 52199917436ecc7613ed2233e2d3644ee65f7bdc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 00254f67f08f92f564baa3038d9ed79fc19185d0 # timeout=10 [Pipeline] withCredentials 18:10:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:10:00 ========================================================= 18:10:00 EdgeX Global Pipelines Version Info 18:10:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:10:01 ------------------- 18:10:01 stable info: 18:10:01 ------------------- 18:10:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:10:01 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:10:01 Message: update stable to v1.0.254 18:10:01 ------------------- 18:10:01 experimental info: 18:10:01 ------------------- 18:10:01 Commited By: **** collab-it+edgex@linuxfoundation.org 18:10:01 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:10:01 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:10:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-613 [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-613 [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-613 [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 00254f67f08f92f564baa3038d9ed79fc19185d0 [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 00254f6 [Pipeline] echo 18:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:10:03 provisioning config files... 18:10:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-613@tmp/config11815505857298078798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:04 ---> docker-login.sh 18:10:04 nexus3.edgexfoundry.org:10001 18:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:04 Configure a credential helper to remove this warning. See 18:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:04 18:10:04 Login Succeeded 18:10:04 nexus3.edgexfoundry.org:10002 18:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:04 Configure a credential helper to remove this warning. See 18:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:04 18:10:04 Login Succeeded 18:10:04 nexus3.edgexfoundry.org:10003 18:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:04 Configure a credential helper to remove this warning. See 18:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:04 18:10:04 Login Succeeded 18:10:04 nexus3.edgexfoundry.org:10004 18:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:04 Configure a credential helper to remove this warning. See 18:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:04 18:10:04 Login Succeeded 18:10:04 docker.io 18:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:04 Configure a credential helper to remove this warning. See 18:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:04 18:10:04 Login Succeeded 18:10:04 ---> docker-login.sh ends [Pipeline] } 18:10:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:10:05 + git rev-list -1 --merges 00254f67f08f92f564baa3038d9ed79fc19185d0~1..00254f67f08f92f564baa3038d9ed79fc19185d0 [Pipeline] echo 18:10:05 -----------> git rev-list -1 --merges 00254f67f08f92f564baa3038d9ed79fc19185d0~1..00254f67f08f92f564baa3038d9ed79fc19185d0 00254f67f08f92f564baa3038d9ed79fc19185d0 [false] [Pipeline] sh 18:10:05 + git log --format=format:%s -1 00254f67f08f92f564baa3038d9ed79fc19185d0 [Pipeline] echo 18:10:05 ========================================================= 18:10:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:10:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:10:06 + git log --format=format:%s -1 00254f67f08f92f564baa3038d9ed79fc19185d0 [Pipeline] echo 18:10:06 [semverPrep] GIT_COMMIT: 00254f67f08f92f564baa3038d9ed79fc19185d0, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 18:10:06 [semverPrep] This is not a build commit. [Pipeline] sh 18:10:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:10:06 + grep -v github /etc/ssh/ssh_known_hosts 18:10:06 + [ -e /tmp/ssh_known_hosts ] 18:10:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:10:06 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 18:10:06 -a /etc/ssh/ssh_known_hosts 18:10:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:10:07 18:10:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:10:07 0.1.4: Pulling from edgex-devops/py-git-semver 18:10:07 b85a868b505f: Pulling fs layer 18:10:07 e2be974225ed: Pulling fs layer 18:10:07 339a4e72a1f5: Pulling fs layer 18:10:07 988bab9f4d93: Pulling fs layer 18:10:07 1469e6f7b9e6: Pulling fs layer 18:10:07 eaf3925da568: Pulling fs layer 18:10:07 bab4dde63d76: Pulling fs layer 18:10:07 bde34c3a00c8: Pulling fs layer 18:10:07 b352a97aabf1: Pulling fs layer 18:10:07 4872d77fe225: Pulling fs layer 18:10:07 5851b861e8e6: Pulling fs layer 18:10:07 bab4dde63d76: Waiting 18:10:07 bde34c3a00c8: Waiting 18:10:07 b352a97aabf1: Waiting 18:10:07 988bab9f4d93: Waiting 18:10:07 4872d77fe225: Waiting 18:10:07 5851b861e8e6: Waiting 18:10:07 1469e6f7b9e6: Waiting 18:10:07 eaf3925da568: Waiting 18:10:07 e2be974225ed: Verifying Checksum 18:10:07 e2be974225ed: Download complete 18:10:07 988bab9f4d93: Verifying Checksum 18:10:07 988bab9f4d93: Download complete 18:10:07 339a4e72a1f5: Verifying Checksum 18:10:07 339a4e72a1f5: Download complete 18:10:07 1469e6f7b9e6: Verifying Checksum 18:10:07 1469e6f7b9e6: Download complete 18:10:07 eaf3925da568: Verifying Checksum 18:10:07 eaf3925da568: Download complete 18:10:07 bde34c3a00c8: Download complete 18:10:07 b352a97aabf1: Verifying Checksum 18:10:07 b352a97aabf1: Download complete 18:10:07 4872d77fe225: Verifying Checksum 18:10:07 4872d77fe225: Download complete 18:10:07 5851b861e8e6: Verifying Checksum 18:10:07 5851b861e8e6: Download complete 18:10:07 b85a868b505f: Verifying Checksum 18:10:07 b85a868b505f: Download complete 18:10:08 bab4dde63d76: Verifying Checksum 18:10:08 bab4dde63d76: Download complete 18:10:09 b85a868b505f: Pull complete 18:10:09 e2be974225ed: Pull complete 18:10:09 339a4e72a1f5: Pull complete 18:10:09 988bab9f4d93: Pull complete 18:10:09 1469e6f7b9e6: Pull complete 18:10:10 eaf3925da568: Pull complete 18:10:12 bab4dde63d76: Pull complete 18:10:12 bde34c3a00c8: Pull complete 18:10:12 b352a97aabf1: Pull complete 18:10:12 4872d77fe225: Pull complete 18:10:13 5851b861e8e6: Pull complete 18:10:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:10:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:10:13 prd-ubuntu20.04-docker-8c-8g-9984 does not seem to be running inside a container 18:10:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-613 -v /w/workspace/_app-service-configurable_PR-613:/w/workspace/_app-service-configurable_PR-613:rw,z -v /w/workspace/_app-service-configurable_PR-613@tmp:/w/workspace/_app-service-configurable_PR-613@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:10:17 $ docker top fb221a349f469fdd4b83c0d72bbaa75c9c0fd2df5a88904e006a85c9b8d39aaa -eo pid,comm 18:10:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:10:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:10:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:10:18 [ssh-agent] Looking for ssh-agent implementation... 18:10:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:10:18 $ docker exec fb221a349f469fdd4b83c0d72bbaa75c9c0fd2df5a88904e006a85c9b8d39aaa ssh-agent 18:10:18 SSH_AUTH_SOCK=/tmp/ssh-JDnTWpAZHqoQ/agent.32 18:10:18 SSH_AGENT_PID=38 18:10:18 Running ssh-add (command line suppressed) 18:10:18 Identity added: /w/workspace/_app-service-configurable_PR-613@tmp/private_key_810705056919830484.key (/w/workspace/_app-service-configurable_PR-613@tmp/private_key_810705056919830484.key) 18:10:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:10:18 + git tag --points-at HEAD [Pipeline] } 18:10:18 $ docker exec --env ******** --env ******** fb221a349f469fdd4b83c0d72bbaa75c9c0fd2df5a88904e006a85c9b8d39aaa ssh-agent -k 18:10:18 unset SSH_AUTH_SOCK; 18:10:18 unset SSH_AGENT_PID; 18:10:18 echo Agent pid 38 killed; 18:10:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:10:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:10:18 [ssh-agent] Looking for ssh-agent implementation... 18:10:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:10:19 $ docker exec fb221a349f469fdd4b83c0d72bbaa75c9c0fd2df5a88904e006a85c9b8d39aaa ssh-agent 18:10:19 SSH_AUTH_SOCK=/tmp/ssh-o9f32W2qgDYh/agent.70 18:10:19 SSH_AGENT_PID=76 18:10:19 Running ssh-add (command line suppressed) 18:10:19 Identity added: /w/workspace/_app-service-configurable_PR-613@tmp/private_key_6012130952694114552.key (/w/workspace/_app-service-configurable_PR-613@tmp/private_key_6012130952694114552.key) 18:10:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:10:19 + git semver init 18:10:19 2023-10-24 18:10:19,731 [run_init] DEBUG init version:0.0.0 force:False 18:10:19 2023-10-24 18:10:19,732 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-613/.semver 18:10:19 2023-10-24 18:10:19,732 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-613/.semver 18:10:19 2023-10-24 18:10:19,732 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-613/.semver'], cwd=/w/workspace/_app-service-configurable_PR-613, universal_newlines=False, shell=None, istream=None) 18:10:20 2023-10-24 18:10:20,594 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-613/.git/info/exclude 18:10:20 2023-10-24 18:10:20,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-613/.semver/PR-613 with force:False 18:10:20 2023-10-24 18:10:20,594 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-613/.semver/PR-613 18:10:20 2023-10-24 18:10:20,598 [execute] INFO git cat-file --batch-check 18:10:20 2023-10-24 18:10:20,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-613/.semver, universal_newlines=False, shell=None, istream=) 18:10:20 2023-10-24 18:10:20,603 [execute] INFO git cat-file --batch 18:10:20 2023-10-24 18:10:20,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-613/.semver, universal_newlines=False, shell=None, istream=) 18:10:20 2023-10-24 18:10:20,608 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-613/.semver/PR-613 18:10:20 0.0.0 [Pipeline] } 18:10:20 $ docker exec --env ******** --env ******** fb221a349f469fdd4b83c0d72bbaa75c9c0fd2df5a88904e006a85c9b8d39aaa ssh-agent -k 18:10:20 unset SSH_AUTH_SOCK; 18:10:20 unset SSH_AGENT_PID; 18:10:20 echo Agent pid 76 killed; 18:10:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:10:21 + git semver [Pipeline] } 18:10:21 $ docker stop --time=1 fb221a349f469fdd4b83c0d72bbaa75c9c0fd2df5a88904e006a85c9b8d39aaa 18:10:22 $ docker rm -f --volumes fb221a349f469fdd4b83c0d72bbaa75c9c0fd2df5a88904e006a85c9b8d39aaa [Pipeline] // withDockerContainer [Pipeline] sh 18:10:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:10:23 Stashed 1 file(s) [Pipeline] echo 18:10:23 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:10:24 provisioning config files... 18:10:24 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-613@tmp/config1967516006705561036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:24 ---> docker-login.sh 18:10:24 nexus3.edgexfoundry.org:10001 18:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:24 Configure a credential helper to remove this warning. See 18:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:24 18:10:24 Login Succeeded 18:10:24 nexus3.edgexfoundry.org:10002 18:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:24 Configure a credential helper to remove this warning. See 18:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:24 18:10:24 Login Succeeded 18:10:24 nexus3.edgexfoundry.org:10003 18:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:24 Configure a credential helper to remove this warning. See 18:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:24 18:10:24 Login Succeeded 18:10:24 nexus3.edgexfoundry.org:10004 18:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:24 Configure a credential helper to remove this warning. See 18:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:24 18:10:24 Login Succeeded 18:10:24 docker.io 18:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:25 Configure a credential helper to remove this warning. See 18:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:25 18:10:25 Login Succeeded 18:10:25 ---> docker-login.sh ends [Pipeline] } 18:10:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:10:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:10:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:10:25 ========================================================= 18:10:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:10:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:10:25 Sending build context to Docker daemon 3.366MB 18:10:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:10:25 Step 2/12 : FROM ${BASE} AS builder 18:10:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:10:25 7264a8db6415: Pulling fs layer 18:10:25 c4d48a809fc2: Pulling fs layer 18:10:25 4f1c88b9dad5: Pulling fs layer 18:10:25 ad3a456e5733: Pulling fs layer 18:10:25 33e27b845d1e: Pulling fs layer 18:10:25 c68163c4e522: Pulling fs layer 18:10:25 50da416c3ac9: Pulling fs layer 18:10:25 23d2d4c4bb30: Pulling fs layer 18:10:25 ad3a456e5733: Waiting 18:10:25 33e27b845d1e: Waiting 18:10:25 c68163c4e522: Waiting 18:10:25 50da416c3ac9: Waiting 18:10:25 23d2d4c4bb30: Waiting 18:10:25 c4d48a809fc2: Verifying Checksum 18:10:25 c4d48a809fc2: Download complete 18:10:25 ad3a456e5733: Verifying Checksum 18:10:25 ad3a456e5733: Download complete 18:10:25 33e27b845d1e: Verifying Checksum 18:10:25 33e27b845d1e: Download complete 18:10:25 7264a8db6415: Verifying Checksum 18:10:25 7264a8db6415: Download complete 18:10:26 c68163c4e522: Verifying Checksum 18:10:26 c68163c4e522: Download complete 18:10:26 7264a8db6415: Pull complete 18:10:26 c4d48a809fc2: Pull complete 18:10:26 23d2d4c4bb30: Verifying Checksum 18:10:26 23d2d4c4bb30: Download complete 18:10:26 4f1c88b9dad5: Verifying Checksum 18:10:26 4f1c88b9dad5: Download complete 18:10:26 50da416c3ac9: Verifying Checksum 18:10:26 50da416c3ac9: Download complete 18:10:30 4f1c88b9dad5: Pull complete 18:10:30 ad3a456e5733: Pull complete 18:10:30 33e27b845d1e: Pull complete 18:10:30 c68163c4e522: Pull complete 18:10:33 50da416c3ac9: Pull complete 18:10:33 23d2d4c4bb30: Pull complete 18:10:33 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:10:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:10:33 ---> 0786185ac409 18:10:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:10:39 Still waiting to schedule task 18:10:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9983’ 18:10:39 ---> Running in b4697a00ad11 18:10:40 Removing intermediate container b4697a00ad11 18:10:40 ---> ef41534fd3f2 18:10:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:10:40 ---> Running in e9340f16d8db 18:10:40 Removing intermediate container e9340f16d8db 18:10:40 ---> f839d99d5bbe 18:10:40 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:10:40 ---> Running in 543f405b299a 18:10:40 Removing intermediate container 543f405b299a 18:10:40 ---> c1664193a33c 18:10:40 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:10:40 ---> Running in eab35de5811d 18:10:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:10:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:10:41 OK: 264 MiB in 52 packages 18:10:41 Removing intermediate container eab35de5811d 18:10:41 ---> c7aa5911b46e 18:10:41 Step 7/12 : WORKDIR /app 18:10:41 ---> Running in 958793ca51e8 18:10:41 Removing intermediate container 958793ca51e8 18:10:41 ---> ec761fd31931 18:10:41 Step 8/12 : COPY go.mod vendor* ./ 18:10:41 ---> 0931b49cbfef 18:10:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:10:41 ---> Running in a40b65e46ca4 18:11:49 Removing intermediate container a40b65e46ca4 18:11:49 ---> 570903de89dd 18:11:49 Step 10/12 : COPY . . 18:11:49 ---> edc016f8e5f2 18:11:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:11:49 ---> Running in 4b367620b4ba 18:11:49 Removing intermediate container 4b367620b4ba 18:11:49 ---> 793a94a85f5f 18:11:49 Step 12/12 : RUN $MAKE 18:11:49 ---> Running in 22fb2522c7eb 18:11:49 noop 18:11:49 Removing intermediate container 22fb2522c7eb 18:11:49 ---> d09c76a051b7 18:11:49 Successfully built d09c76a051b7 18:11:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:50 + docker inspect -f . ci-base-image-x86_64 18:11:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:50 prd-ubuntu20.04-docker-8c-8g-9984 does not seem to be running inside a container 18:11:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-613 -v /w/workspace/_app-service-configurable_PR-613:/w/workspace/_app-service-configurable_PR-613:rw,z -v /w/workspace/_app-service-configurable_PR-613@tmp:/w/workspace/_app-service-configurable_PR-613@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:11:50 $ docker top 621c53d7cd332be1bff93114715bd75afd1c9971b26e3be74654adda1c736c57 -eo pid,comm [Pipeline] { [Pipeline] sh 18:11:51 + go version 18:11:51 go version go1.21.0 linux/amd64 [Pipeline] } 18:11:51 $ docker stop --time=1 621c53d7cd332be1bff93114715bd75afd1c9971b26e3be74654adda1c736c57 18:11:52 $ docker rm -f --volumes 621c53d7cd332be1bff93114715bd75afd1c9971b26e3be74654adda1c736c57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:53 + docker inspect -f . ci-base-image-x86_64 18:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:53 prd-ubuntu20.04-docker-8c-8g-9984 does not seem to be running inside a container 18:11:53 $ 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-613 -v /w/workspace/_app-service-configurable_PR-613:/w/workspace/_app-service-configurable_PR-613:rw,z -v /w/workspace/_app-service-configurable_PR-613@tmp:/w/workspace/_app-service-configurable_PR-613@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:11:53 $ docker top 7ee8d8964e979b82304164f51c18bdcd7ce4013eb5d09098ea7a9a3a3a3c6fe2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:11:54 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-613 [Pipeline] fileExists [Pipeline] sh 18:11:54 + make test 18:11:54 go test -race -coverprofile=coverage.out ./... 18:12:16 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:12:34 go vet ./... 18:12:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:12:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:12:35 ./bin/test-attribution-txt.sh [Pipeline] echo 18:12:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:12:35 $ docker stop --time=1 7ee8d8964e979b82304164f51c18bdcd7ce4013eb5d09098ea7a9a3a3a3c6fe2 18:12:41 $ docker rm -f --volumes 7ee8d8964e979b82304164f51c18bdcd7ce4013eb5d09098ea7a9a3a3a3c6fe2 [Pipeline] // withDockerContainer [Pipeline] sh 18:12:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:12:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:12:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:12:43 + ls -al . 18:12:43 total 180 18:12:43 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 18:11 . 18:12:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:09 .. 18:12:43 -rw-rw-r-- 1 jenkins jenkins 119 Oct 24 18:09 .dockerignore 18:12:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:12 .git 18:12:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:09 .github 18:12:43 -rw-rw-r-- 1 jenkins jenkins 106 Oct 24 18:09 .gitignore 18:12:43 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:09 .golangci.yml 18:12:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:10 .semver 18:12:43 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 24 18:09 Attribution.txt 18:12:43 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 24 18:09 CHANGELOG.md 18:12:43 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 24 18:09 Dockerfile 18:12:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:09 GOVERNANCE.md 18:12:43 -rw-rw-r-- 1 jenkins jenkins 666 Oct 24 18:09 Jenkinsfile 18:12:43 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 18:09 LICENSE 18:12:43 -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 18:09 OWNERS.md 18:12:43 -rw-rw-r-- 1 jenkins jenkins 4550 Oct 24 18:09 README.md 18:12:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:10 VERSION 18:12:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:09 bin 18:12:43 -rw-r--r-- 1 jenkins jenkins 13 Oct 24 18:11 coverage.out 18:12:43 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 24 18:09 go.mod 18:12:43 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 24 18:09 go.sum 18:12:43 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 24 18:09 main.go 18:12:43 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 24 18:09 makefile 18:12:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:09 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:43 + 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=00254f67f08f92f564baa3038d9ed79fc19185d0 --label arch=amd64 --label version=0.0.0 . 18:12:43 Sending build context to Docker daemon 3.367MB 18:12:43 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:12:43 Step 2/26 : FROM ${BASE} AS builder 18:12:43 ---> d09c76a051b7 18:12:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:12:43 ---> Running in da84f07af154 18:12:43 Removing intermediate container da84f07af154 18:12:43 ---> 7afbce8fd7a5 18:12:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:12:43 ---> Running in e659cd74a4de 18:12:43 Removing intermediate container e659cd74a4de 18:12:43 ---> 5ce2350328b0 18:12:43 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:12:43 ---> Running in 2eafd5530f6c 18:12:44 Removing intermediate container 2eafd5530f6c 18:12:44 ---> 0b1dfd69e282 18:12:44 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:12:44 ---> Running in 477e11416a7b 18:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:12:44 OK: 264 MiB in 52 packages 18:12:44 Removing intermediate container 477e11416a7b 18:12:44 ---> 67503e527dc9 18:12:44 Step 7/26 : WORKDIR /app 18:12:44 ---> Running in 1cbad43d9e75 18:12:45 Removing intermediate container 1cbad43d9e75 18:12:45 ---> f3766fb05b54 18:12:45 Step 8/26 : COPY go.mod vendor* ./ 18:12:45 ---> e2c5ffe448f9 18:12:45 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:12:45 ---> Running in cbce75a3cb6c 18:12:46 Removing intermediate container cbce75a3cb6c 18:12:46 ---> 6337a52837ae 18:12:46 Step 10/26 : COPY . . 18:12:46 ---> cfdba12135c9 18:12:46 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:12:46 ---> Running in 6ab93778c638 18:12:46 Removing intermediate container 6ab93778c638 18:12:46 ---> f9f106c488ae 18:12:46 Step 12/26 : RUN $MAKE 18:12:46 ---> Running in 1f5e64b8cd83 18:12:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:13:13 Removing intermediate container 1f5e64b8cd83 18:13:13 ---> 24578ad5167e 18:13:13 Step 13/26 : FROM alpine:3.18 18:13:13 3.18: Pulling from library/alpine 18:13:13 96526aa774ef: Pulling fs layer 18:13:13 96526aa774ef: Verifying Checksum 18:13:13 96526aa774ef: Download complete 18:13:13 96526aa774ef: Pull complete 18:13:13 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:13:13 Status: Downloaded newer image for alpine:3.18 18:13:13 ---> 8ca4688f4f35 18:13:13 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:13:13 ---> Running in 3123f50fd6f6 18:13:13 Removing intermediate container 3123f50fd6f6 18:13:13 ---> 3d9fce261f07 18:13:13 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:13:13 ---> Running in 39498c137ac1 18:13:13 Removing intermediate container 39498c137ac1 18:13:13 ---> b470f764cf0e 18:13:13 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:13:13 ---> Running in 8ad949ec7b99 18:13:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:13:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:13:13 (1/2) Installing ca-certificates (20230506-r0) 18:13:13 (2/2) Installing dumb-init (1.2.5-r2) 18:13:13 Executing busybox-1.36.1-r2.trigger 18:13:13 Executing ca-certificates-20230506-r0.trigger 18:13:13 OK: 8 MiB in 17 packages 18:13:13 Removing intermediate container 8ad949ec7b99 18:13:13 ---> a17b0aee69fd 18:13:13 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:13:13 ---> 184126c6d7ff 18:13:13 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:13:13 ---> 14f9b4e70560 18:13:13 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:13:13 ---> 8a6b9c49175e 18:13:13 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:13:13 ---> 972d6600bbb3 18:13:13 Step 21/26 : EXPOSE 48095 18:13:13 ---> Running in f181782c8e09 18:13:13 Removing intermediate container f181782c8e09 18:13:13 ---> eb2485e4f000 18:13:13 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:13:13 ---> Running in e2d9809dd482 18:13:13 Removing intermediate container e2d9809dd482 18:13:13 ---> c4a8d4895c14 18:13:13 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:13:13 ---> Running in 523a690b57cd 18:13:13 Removing intermediate container 523a690b57cd 18:13:13 ---> 5d5649d2466e 18:13:13 Step 24/26 : LABEL arch=amd64 18:13:13 ---> Running in 68230dd4b794 18:13:13 Removing intermediate container 68230dd4b794 18:13:13 ---> 7b766edd30d1 18:13:13 Step 25/26 : LABEL git_sha=00254f67f08f92f564baa3038d9ed79fc19185d0 18:13:13 ---> Running in 750cf8f233d0 18:13:13 Removing intermediate container 750cf8f233d0 18:13:13 ---> c0b12e6ab41e 18:13:13 Step 26/26 : LABEL version=0.0.0 18:13:13 ---> Running in 0c53da75a7f6 18:13:13 Removing intermediate container 0c53da75a7f6 18:13:13 ---> 49808f0208f7 18:13:13 [Warning] One or more build-args [ARCH] were not consumed 18:13:13 Successfully built 49808f0208f7 18:13:13 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:14 18:13:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:14 latest: Pulling from edgex-lftools-log-publisher 18:13:14 5eb5b503b376: Pulling fs layer 18:13:14 5c69ac0246d0: Pulling fs layer 18:13:14 ec43610c2a17: Pulling fs layer 18:13:14 3a2ae6a8a46f: Pulling fs layer 18:13:14 33b1e0a273af: Pulling fs layer 18:13:14 5d3b04190fa2: Pulling fs layer 18:13:14 2f39f015ded8: Pulling fs layer 18:13:14 33b1e0a273af: Waiting 18:13:14 3a2ae6a8a46f: Waiting 18:13:14 5d3b04190fa2: Waiting 18:13:14 5c69ac0246d0: Download complete 18:13:15 3a2ae6a8a46f: Verifying Checksum 18:13:15 3a2ae6a8a46f: Download complete 18:13:15 33b1e0a273af: Verifying Checksum 18:13:15 33b1e0a273af: Download complete 18:13:15 5d3b04190fa2: Download complete 18:13:15 5eb5b503b376: Verifying Checksum 18:13:15 5eb5b503b376: Download complete 18:13:15 ec43610c2a17: Verifying Checksum 18:13:15 ec43610c2a17: Download complete 18:13:16 2f39f015ded8: Download complete 18:13:16 5eb5b503b376: Pull complete 18:13:16 5c69ac0246d0: Pull complete 18:13:17 ec43610c2a17: Pull complete 18:13:17 3a2ae6a8a46f: Pull complete 18:13:17 33b1e0a273af: Pull complete 18:13:17 5d3b04190fa2: Pull complete 18:13:21 2f39f015ded8: Pull complete 18:13:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:13:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:13:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:22 prd-ubuntu20.04-docker-8c-8g-9984 does not seem to be running inside a container 18:13:22 $ 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-613 -v /w/workspace/_app-service-configurable_PR-613:/w/workspace/_app-service-configurable_PR-613:rw,z -v /w/workspace/_app-service-configurable_PR-613@tmp:/w/workspace/_app-service-configurable_PR-613@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:13:26 $ docker top 9f789cf790907f4f547fbbb219d39f66930c30b87a93c9aeabcf690cf6ee3331 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:27 ---> job-cost.sh 18:13:27 lf-activate-venv: SKIPPING 18:13:27 INFO: No Stack... 18:13:27 INFO: Retrieving Pricing Info for: v3-standard-8 18:13:27 INFO: Archiving Costs [Pipeline] sh 18:13:28 + cat /w/workspace/_app-service-configurable_PR-613/archives/cost.csv 18:13:28 + cut -d, -f6 [Pipeline] lock 18:13:28 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-613-1-stack-cost] 18:13:28 Resource [jenkins-edgexfoundry-app-service-configurable-PR-613-1-stack-cost] did not exist. Created. 18:13:28 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-613-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:13:28 + echo total: 0.2199999988079071 [Pipeline] stash 18:13:28 Stashed 1 file(s) [Pipeline] } 18:13:28 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-613-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:13:28 $ docker stop --time=1 9f789cf790907f4f547fbbb219d39f66930c30b87a93c9aeabcf690cf6ee3331 18:13:30 $ docker rm -f --volumes 9f789cf790907f4f547fbbb219d39f66930c30b87a93c9aeabcf690cf6ee3331 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:13:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9997 in /w/workspace/_app-service-configurable_PR-613 [Pipeline] { [Pipeline] ws 18:13:38 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 18:13:39 Selected Git installation does not exist. Using Default 18:13:39 The recommended git tool is: NONE 18:13:48 using credential edgex-jenkins-ssh 18:13:48 Cloning the remote Git repository 18:13:48 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 18:13:48 > git init /w/workspace/app-service-configurable/1 # timeout=10 18:13:49 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:13:49 > git --version # timeout=10 18:13:49 > git --version # 'git version 2.25.1' 18:13:49 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:13:51 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:13:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:13:54 Merging remotes/origin/main commit 52199917436ecc7613ed2233e2d3644ee65f7bdc into PR head commit 00254f67f08f92f564baa3038d9ed79fc19185d0 18:13:53 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 18:13:53 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 18:13:53 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/613/head:refs/remotes/origin/PR-613 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:13:54 > git config core.sparsecheckout # timeout=10 18:13:55 Merge succeeded, producing 00254f67f08f92f564baa3038d9ed79fc19185d0 18:13:55 Checking out Revision 00254f67f08f92f564baa3038d9ed79fc19185d0 (PR-613) 18:13:54 > git checkout -f 00254f67f08f92f564baa3038d9ed79fc19185d0 # timeout=10 18:13:54 > git remote # timeout=10 18:13:55 > git config --get remote.origin.url # timeout=10 18:13:55 using GIT_SSH to set credentials SSH Credentials for GitHub 18:13:55 > git merge 52199917436ecc7613ed2233e2d3644ee65f7bdc # timeout=10 18:13:55 > git rev-parse HEAD^{commit} # timeout=10 18:13:55 > git config core.sparsecheckout # timeout=10 18:13:55 > git checkout -f 00254f67f08f92f564baa3038d9ed79fc19185d0 # timeout=10 18:13:56 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 18:13:56 > git --version # timeout=10 18:13:56 > git --version # 'git version 2.25.1' 18:13:56 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:13:58 % Total % Received % Xferd Average Speed Time Time Time Current 18:13:58 Dload Upload Total Spent Left Speed 18:13:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh 18:13:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:13:59 + sudo tee /etc/docker/daemon.new 18:13:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:13:59 { 18:13:59 "registry-mirrors": [ 18:13:59 "https://nexus3.edgexfoundry.org:10001" 18:13:59 ], 18:13:59 "bip": "10.250.0.254/24", 18:13:59 "hosts": [ 18:13:59 "tcp://0.0.0.0:5555", 18:13:59 "unix:///var/run/docker.sock" 18:13:59 ], 18:13:59 "mtu": 1458, 18:13:59 "selinux-enabled": true, 18:13:59 "seccomp-profile": "/etc/docker/seccomp.json" 18:13:59 } [Pipeline] sh 18:14:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:14:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:19 provisioning config files... 18:14:19 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config6419769521666474045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:19 ---> docker-login.sh 18:14:19 nexus3.edgexfoundry.org:10001 18:14:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:20 Configure a credential helper to remove this warning. See 18:14:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:20 18:14:20 Login Succeeded 18:14:20 nexus3.edgexfoundry.org:10002 18:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:21 Configure a credential helper to remove this warning. See 18:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:21 18:14:21 Login Succeeded 18:14:21 nexus3.edgexfoundry.org:10003 18:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:21 Configure a credential helper to remove this warning. See 18:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:21 18:14:21 Login Succeeded 18:14:21 nexus3.edgexfoundry.org:10004 18:14:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:21 Configure a credential helper to remove this warning. See 18:14:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:21 18:14:21 Login Succeeded 18:14:21 docker.io 18:14:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:22 Configure a credential helper to remove this warning. See 18:14:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:22 18:14:22 Login Succeeded 18:14:22 ---> docker-login.sh ends [Pipeline] } 18:14:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:14:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:14:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:14:23 ========================================================= 18:14:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:14:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:14:23 Sending build context to Docker daemon 157.7kB 18:14:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:14:23 Step 2/12 : FROM ${BASE} AS builder 18:14:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:14:24 9fda8d8052c6: Pulling fs layer 18:14:24 5d54e960e981: Pulling fs layer 18:14:24 c4a7e357bf2a: Pulling fs layer 18:14:24 f0e02332f6b5: Pulling fs layer 18:14:24 cefa15bbcfad: Pulling fs layer 18:14:24 17808c966233: Pulling fs layer 18:14:24 f4c1fc716caa: Pulling fs layer 18:14:24 cefa15bbcfad: Waiting 18:14:24 f4c1fc716caa: Waiting 18:14:24 17808c966233: Waiting 18:14:24 f0e02332f6b5: Waiting 18:14:24 5d54e960e981: Verifying Checksum 18:14:24 5d54e960e981: Download complete 18:14:24 f0e02332f6b5: Verifying Checksum 18:14:24 f0e02332f6b5: Download complete 18:14:24 cefa15bbcfad: Download complete 18:14:24 9fda8d8052c6: Verifying Checksum 18:14:24 9fda8d8052c6: Download complete 18:14:24 f4c1fc716caa: Verifying Checksum 18:14:24 f4c1fc716caa: Download complete 18:14:25 9fda8d8052c6: Pull complete 18:14:25 5d54e960e981: Pull complete 18:14:26 c4a7e357bf2a: Verifying Checksum 18:14:26 c4a7e357bf2a: Download complete 18:14:27 17808c966233: Verifying Checksum 18:14:27 17808c966233: Download complete 18:14:42 c4a7e357bf2a: Pull complete 18:14:42 f0e02332f6b5: Pull complete 18:14:42 cefa15bbcfad: Pull complete 18:14:49 17808c966233: Pull complete 18:14:51 f4c1fc716caa: Pull complete 18:14:51 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:14:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:14:51 ---> ea914061e18c 18:14:51 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 18:14:52 ---> Running in bb561208762e 18:14:52 Removing intermediate container bb561208762e 18:14:52 ---> eb93a50bc2dd 18:14:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:14:53 ---> Running in 9ce8abad351e 18:14:53 Removing intermediate container 9ce8abad351e 18:14:53 ---> 635140d5f7c0 18:14:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:14:53 ---> Running in 0f67f2e4ecdd 18:14:53 Removing intermediate container 0f67f2e4ecdd 18:14:53 ---> e4b671c915a2 18:14:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:14:53 ---> Running in 841caaf4adc5 18:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:14:57 OK: 266 MiB in 52 packages 18:14:58 Removing intermediate container 841caaf4adc5 18:14:58 ---> 0a927a09bf9a 18:14:58 Step 7/12 : WORKDIR /app 18:14:58 ---> Running in 7a6578047cd4 18:14:58 Removing intermediate container 7a6578047cd4 18:14:58 ---> 73c89061fca2 18:14:58 Step 8/12 : COPY go.mod vendor* ./ 18:14:59 ---> 463323718aa3 18:14:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:59 ---> Running in eaef4fbe6b49 18:16:36 Removing intermediate container eaef4fbe6b49 18:16:36 ---> 5481ede4fed5 18:16:36 Step 10/12 : COPY . . 18:16:36 ---> 39ddd5dfba2f 18:16:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:16:36 ---> Running in bb6b7bee720f 18:16:36 Removing intermediate container bb6b7bee720f 18:16:36 ---> 54f4e456aa9a 18:16:36 Step 12/12 : RUN $MAKE 18:16:36 ---> Running in 6b79847f17e3 18:16:37 noop 18:16:38 Removing intermediate container 6b79847f17e3 18:16:38 ---> 0ceb33a9ecf0 18:16:38 Successfully built 0ceb33a9ecf0 18:16:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:39 + docker inspect -f . ci-base-image-arm64 18:16:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:39 prd-ubuntu20.04-docker-arm64-4c-16g-9997 does not seem to be running inside a container 18:16:39 $ 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 ******** -e ******** ci-base-image-arm64 cat 18:16:41 $ docker top 37fbfb54fd4e64833a8f7dd3f18afe7103e852878be82c33bafc1ad7498458e0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:41 + go version 18:16:41 go version go1.21.0 linux/arm64 [Pipeline] } 18:16:42 $ docker stop --time=1 37fbfb54fd4e64833a8f7dd3f18afe7103e852878be82c33bafc1ad7498458e0 18:16:43 $ docker rm -f --volumes 37fbfb54fd4e64833a8f7dd3f18afe7103e852878be82c33bafc1ad7498458e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:44 + docker inspect -f . ci-base-image-arm64 18:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:45 prd-ubuntu20.04-docker-arm64-4c-16g-9997 does not seem to be running inside a container 18:16:45 $ 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 ******** -e ******** ci-base-image-arm64 cat 18:16:46 $ docker top 31a019751fe8b24cdeeffa134bc9b979577eec2601992f25f5ec6e8f9fd45f83 -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:47 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 18:16:48 + make test 18:16:48 go test -race -coverprofile=coverage.out ./... 18:19:55 ? github.com/edgexfoundry/app-service-configurable [no test files] 18:19:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:19:55 go vet ./... 18:22:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:22:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:22:32 ./bin/test-attribution-txt.sh [Pipeline] echo 18:22:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:22:32 $ docker stop --time=1 31a019751fe8b24cdeeffa134bc9b979577eec2601992f25f5ec6e8f9fd45f83 18:22:34 $ docker rm -f --volumes 31a019751fe8b24cdeeffa134bc9b979577eec2601992f25f5ec6e8f9fd45f83 [Pipeline] // withDockerContainer [Pipeline] sh 18:22:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:22:42 Warning: overwriting stash ‘coverage-report’ 18:22:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:22:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:22:43 + ls -al . 18:22:43 total 176 18:22:43 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 18:16 . 18:22:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:13 .. 18:22:43 -rw-rw-r-- 1 jenkins jenkins 119 Oct 24 18:13 .dockerignore 18:22:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:13 .git 18:22:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:13 .github 18:22:43 -rw-rw-r-- 1 jenkins jenkins 106 Oct 24 18:13 .gitignore 18:22:43 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:13 .golangci.yml 18:22:43 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 24 18:13 Attribution.txt 18:22:43 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 24 18:13 CHANGELOG.md 18:22:43 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 24 18:13 Dockerfile 18:22:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:13 GOVERNANCE.md 18:22:43 -rw-rw-r-- 1 jenkins jenkins 666 Oct 24 18:13 Jenkinsfile 18:22:43 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 18:13 LICENSE 18:22:43 -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 18:13 OWNERS.md 18:22:43 -rw-rw-r-- 1 jenkins jenkins 4550 Oct 24 18:13 README.md 18:22:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:10 VERSION 18:22:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:13 bin 18:22:43 -rw-r--r-- 1 jenkins jenkins 13 Oct 24 18:16 coverage.out 18:22:43 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 24 18:13 go.mod 18:22:43 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 24 18:13 go.sum 18:22:43 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 24 18:13 main.go 18:22:43 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 24 18:13 makefile 18:22:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:13 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:44 + 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=00254f67f08f92f564baa3038d9ed79fc19185d0 --label arch=arm64 --label version=0.0.0 . 18:22:44 Sending build context to Docker daemon 158.7kB 18:22:44 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:22:44 Step 2/26 : FROM ${BASE} AS builder 18:22:44 ---> 0ceb33a9ecf0 18:22:44 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 18:22:45 ---> Running in 2abd4b4b45b3 18:22:45 Removing intermediate container 2abd4b4b45b3 18:22:45 ---> 3c69a59fc07f 18:22:45 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:22:45 ---> Running in 4a0c9c31c002 18:22:45 Removing intermediate container 4a0c9c31c002 18:22:45 ---> c03c5dc3f9e9 18:22:45 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:22:45 ---> Running in 224121c04397 18:22:46 Removing intermediate container 224121c04397 18:22:46 ---> f1b8d7e18be4 18:22:46 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:22:46 ---> Running in eaac7128d09e 18:22:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:22:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:22:49 OK: 266 MiB in 52 packages 18:22:52 Removing intermediate container eaac7128d09e 18:22:52 ---> 6c78f90d7741 18:22:52 Step 7/26 : WORKDIR /app 18:22:52 ---> Running in 96a4f53eee5f 18:22:52 Removing intermediate container 96a4f53eee5f 18:22:52 ---> 7f6305fa5e31 18:22:52 Step 8/26 : COPY go.mod vendor* ./ 18:22:53 ---> 9e68f706f8e6 18:22:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:22:53 ---> Running in 990f677fbd30 18:22:56 Removing intermediate container 990f677fbd30 18:22:56 ---> dc52b599b85e 18:22:56 Step 10/26 : COPY . . 18:22:57 ---> 01f5f73f69b5 18:22:57 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:22:57 ---> Running in 47591f81d3da 18:22:57 Removing intermediate container 47591f81d3da 18:22:57 ---> 0d09c56afbf5 18:22:57 Step 12/26 : RUN $MAKE 18:22:58 ---> Running in 154dc9ec0137 18:22:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 18:25:35 Removing intermediate container 154dc9ec0137 18:25:35 ---> 4f2fe51a1dc3 18:25:35 Step 13/26 : FROM alpine:3.18 18:25:35 3.18: Pulling from library/alpine 18:25:35 579b34f0a95b: Pulling fs layer 18:25:35 579b34f0a95b: Verifying Checksum 18:25:35 579b34f0a95b: Download complete 18:25:35 579b34f0a95b: Pull complete 18:25:35 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:25:35 Status: Downloaded newer image for alpine:3.18 18:25:35 ---> 3cc203321400 18:25:35 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:25:35 ---> Running in 98eba261f797 18:25:35 Removing intermediate container 98eba261f797 18:25:35 ---> 697404d53b44 18:25:35 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 18:25:35 ---> Running in 23b528a03257 18:25:35 Removing intermediate container 23b528a03257 18:25:35 ---> 163aef2aac00 18:25:35 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 18:25:35 ---> Running in 3ab89b8595a2 18:25:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:25:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:25:35 (1/2) Installing ca-certificates (20230506-r0) 18:25:35 (2/2) Installing dumb-init (1.2.5-r2) 18:25:35 Executing busybox-1.36.1-r2.trigger 18:25:35 Executing ca-certificates-20230506-r0.trigger 18:25:35 OK: 9 MiB in 17 packages 18:25:35 Removing intermediate container 3ab89b8595a2 18:25:35 ---> 453616661d16 18:25:35 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 18:25:35 ---> ff27068eea7d 18:25:35 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 18:25:35 ---> 9b30f68f7af1 18:25:35 Step 19/26 : COPY --from=builder /app/res/ /res/ 18:25:35 ---> 7195a9aa1a6f 18:25:35 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 18:25:35 ---> 1ef87e11ba20 18:25:35 Step 21/26 : EXPOSE 48095 18:25:35 ---> Running in 341a69decfa3 18:25:35 Removing intermediate container 341a69decfa3 18:25:35 ---> 440c2a22cfc9 18:25:35 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 18:25:35 ---> Running in 89d57ed81ebf 18:25:35 Removing intermediate container 89d57ed81ebf 18:25:35 ---> 51f2d6799baf 18:25:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:25:35 ---> Running in 969cbe82a7f2 18:25:35 Removing intermediate container 969cbe82a7f2 18:25:35 ---> 5e2240c3f570 18:25:35 Step 24/26 : LABEL arch=arm64 18:25:35 ---> Running in d8d1ab767159 18:25:35 Removing intermediate container d8d1ab767159 18:25:35 ---> 1078bcf71c34 18:25:35 Step 25/26 : LABEL git_sha=00254f67f08f92f564baa3038d9ed79fc19185d0 18:25:35 ---> Running in 5d11e8dd247e 18:25:35 Removing intermediate container 5d11e8dd247e 18:25:35 ---> 5ffaa3e2b84a 18:25:35 Step 26/26 : LABEL version=0.0.0 18:25:35 ---> Running in 70340655e244 18:25:35 Removing intermediate container 70340655e244 18:25:35 ---> 8f61ee53fd54 18:25:35 [Warning] One or more build-args [ARCH] were not consumed 18:25:35 Successfully built 8f61ee53fd54 18:25:35 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:25:36 18:25:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:25:37 arm64: Pulling from edgex-lftools-log-publisher 18:25:37 8998bd30e6a1: Pulling fs layer 18:25:37 04944245beec: Pulling fs layer 18:25:37 699f458cf7ca: Pulling fs layer 18:25:37 765212b225bb: Pulling fs layer 18:25:37 f23df028b6ca: Pulling fs layer 18:25:37 d65c8cfc05b1: Pulling fs layer 18:25:37 2437ff75d9bd: Pulling fs layer 18:25:37 765212b225bb: Waiting 18:25:37 f23df028b6ca: Waiting 18:25:37 d65c8cfc05b1: Waiting 18:25:37 2437ff75d9bd: Waiting 18:25:37 04944245beec: Verifying Checksum 18:25:37 04944245beec: Download complete 18:25:37 765212b225bb: Verifying Checksum 18:25:37 765212b225bb: Download complete 18:25:37 f23df028b6ca: Verifying Checksum 18:25:37 f23df028b6ca: Download complete 18:25:37 d65c8cfc05b1: Verifying Checksum 18:25:37 d65c8cfc05b1: Download complete 18:25:37 699f458cf7ca: Verifying Checksum 18:25:37 699f458cf7ca: Download complete 18:25:38 8998bd30e6a1: Verifying Checksum 18:25:38 8998bd30e6a1: Download complete 18:25:40 2437ff75d9bd: Verifying Checksum 18:25:40 2437ff75d9bd: Download complete 18:25:42 8998bd30e6a1: Pull complete 18:25:43 04944245beec: Pull complete 18:25:45 699f458cf7ca: Pull complete 18:25:45 765212b225bb: Pull complete 18:25:46 f23df028b6ca: Pull complete 18:25:46 d65c8cfc05b1: Pull complete 18:26:04 2437ff75d9bd: Pull complete 18:26:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:26:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:26:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:04 prd-ubuntu20.04-docker-arm64-4c-16g-9997 does not seem to be running inside a container 18:26:04 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:26:07 $ docker top faa8f89fda71e255e091100283ec22f0f9a96936b773c63785254ca8f743b310 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:08 ---> job-cost.sh 18:26:08 lf-activate-venv: SKIPPING 18:26:08 INFO: No Stack... 18:26:08 INFO: Retrieving Pricing Info for: v3-standard-4 18:26:09 INFO: Archiving Costs [Pipeline] sh 18:26:10 + + cat /w/workspace/app-service-configurable/1/archives/cost.csvcut 18:26:10 -d, -f6 [Pipeline] lock 18:26:10 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-613-1-stack-cost] 18:26:10 Resource [jenkins-edgexfoundry-app-service-configurable-PR-613-1-stack-cost] did not exist. Created. 18:26:10 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-613-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:26:11 /w/workspace/app-service-configurable/1@tmp/durable-01b64635/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:26:12 + echo total: 0.10999999940395355 [Pipeline] stash 18:26:12 Warning: overwriting stash ‘stack-cost’ 18:26:12 Stashed 1 file(s) [Pipeline] } 18:26:12 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-613-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:26:12 $ docker stop --time=1 faa8f89fda71e255e091100283ec22f0f9a96936b773c63785254ca8f743b310 18:26:13 $ docker rm -f --volumes faa8f89fda71e255e091100283ec22f0f9a96936b773c63785254ca8f743b310 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:26:14 provisioning config files... 18:26:14 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-613@tmp/config13935801426734613668tmp [Pipeline] { [Pipeline] sh 18:26:15 + set +x 18:26:15 + curl -s https://codecov.io/bash 18:26:15 + bash -s -- 18:26:15 18:26:15 _____ _ 18:26:15 / ____| | | 18:26:15 | | ___ __| | ___ ___ _____ __ 18:26:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:26:15 | |___| (_) | (_| | __/ (_| (_) \ V / 18:26:15 \_____\___/ \__,_|\___|\___\___/ \_/ 18:26:15 Bash-1.0.6 18:26:15 18:26:15 18:26:15 ==> git version 2.25.1 found 18:26:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:26:15 Release-Date: 2020-01-08 18:26:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:26:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:26:15 ==> Jenkins CI detected. 18:26:15 current dir:  /w/workspace/_app-service-configurable_PR-613 18:26:15 project root: . 18:26:15 --> token set from env 18:26:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:26:15 ==> Running gcov in . (disable via -X gcov) 18:26:15 ==> Python coveragepy not found 18:26:15 ==> Searching for coverage reports in: 18:26:15 + . 18:26:15 -> Found 1 reports 18:26:15 ==> Detecting git/mercurial file structure 18:26:15 ==> Reading reports 18:26:15 + ./coverage.out bytes=13 18:26:15 ==> Appending adjustments 18:26:15 https://docs.codecov.io/docs/fixing-reports 18:26:15 + Found adjustments 18:26:15 ==> Gzipping contents 18:26:15 4.0K /tmp/codecov.S8BOvo.gz 18:26:15 ==> Uploading reports 18:26:15 url: https://codecov.io 18:26:15 query: branch=PR-613&commit=00254f67f08f92f564baa3038d9ed79fc19185d0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-613%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=613&job=&cmd_args= 18:26:15 -> Pinging Codecov 18:26:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-613&commit=00254f67f08f92f564baa3038d9ed79fc19185d0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-613%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=613&job=&cmd_args= 18:26:15 -> Uploading to 18:26:15 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/A97CA9966030D2A3747ED39772930CCE/00254f67f08f92f564baa3038d9ed79fc19185d0/c2332a41-a373-48cf-be30-b9e01908c3e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T182615Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7df478e71796e1cbdc8503b383d92bb30e9ba16e1b0f1ddb9d1fc3f8e37cc100 18:26:15 % Total % Received % Xferd Average Speed Time Time Time Current 18:26:15 Dload Upload Total Spent Left Speed 18:26:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 847 --:--:-- --:--:-- --:--:-- 847 18:26:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/00254f67f08f92f564baa3038d9ed79fc19185d0 [Pipeline] } 18:26:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:26:17 + [ -d /w/workspace/_app-service-configurable_PR-613/archives ] 18:26:17 + ls -al /w/workspace/_app-service-configurable_PR-613/archives 18:26:17 total 16 18:26:17 drwxr-xr-x 3 root root 4096 Oct 24 18:13 . 18:26:17 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:13 .. 18:26:17 drwxr-xr-x 2 root root 4096 Oct 24 18:13 cost 18:26:17 -rw-r--r-- 1 root root 96 Oct 24 18:13 cost.csv 18:26:17 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-613/archives 18:26:17 + ls -al /w/workspace/_app-service-configurable_PR-613/archives 18:26:17 total 16 18:26:17 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:13 . 18:26:17 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:13 .. 18:26:17 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:13 cost 18:26:17 -rw-r--r-- 1 jenkins jenkins 96 Oct 24 18:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:26:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:26:18 ---> package-listing.sh 18:26:18 ++ facter osfamily 18:26:18 ++ tr '[:upper:]' '[:lower:]' 18:26:18 + OS_FAMILY=debian 18:26:18 + workspace=/w/workspace/_app-service-configurable_PR-613 18:26:18 + START_PACKAGES=/tmp/packages_start.txt 18:26:18 + END_PACKAGES=/tmp/packages_end.txt 18:26:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:26:18 + PACKAGES=/tmp/packages_start.txt 18:26:18 + '[' /w/workspace/_app-service-configurable_PR-613 ']' 18:26:18 + PACKAGES=/tmp/packages_end.txt 18:26:18 + case "${OS_FAMILY}" in 18:26:18 + dpkg -l 18:26:18 + grep '^ii' 18:26:18 + '[' -f /tmp/packages_start.txt ']' 18:26:18 + '[' -f /tmp/packages_end.txt ']' 18:26:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:26:18 + '[' /w/workspace/_app-service-configurable_PR-613 ']' 18:26:18 + mkdir -p /w/workspace/_app-service-configurable_PR-613/archives/ 18:26:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-613/archives/ [Pipeline] echo 18:26:18 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-613/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:26:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:19 prd-ubuntu20.04-docker-8c-8g-9984 does not seem to be running inside a container 18:26:20 $ 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-613/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-613 -v /w/workspace/_app-service-configurable_PR-613:/w/workspace/_app-service-configurable_PR-613:rw,z -v /w/workspace/_app-service-configurable_PR-613@tmp:/w/workspace/_app-service-configurable_PR-613@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 18:26:20 $ docker top 755707629a78e4fc4ddab3633fda902552ab3877ecc45dc48cab8a88c26add2e -eo pid,comm [Pipeline] { [Pipeline] sh 18:26:21 + touch /tmp/pre-build-complete [Pipeline] sh 18:26:21 + mkdir -p /var/log/sysstat [Pipeline] sh 18:26:21 + ls /var/log/sa-host 18:26:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:26:21 provisioning config files... 18:26:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-613@tmp/config15611015139647054478tmp [Pipeline] { [Pipeline] echo 18:26:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:26:22 ---> create-netrc.sh [Pipeline] } 18:26:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:26:22 ---> python-tools-install.sh [Pipeline] echo 18:26:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:26:22 ---> sudo-logs.sh 18:26:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:26:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:26:23 ---> job-cost.sh 18:26:23 lf-activate-venv: SKIPPING 18:26:23 DEBUG: total: 0.2199999988079071 18:26:23 INFO: Retrieving Stack Cost... 18:26:23 INFO: Retrieving Pricing Info for: v3-standard-8 18:26:24 INFO: Archiving Costs [Pipeline] echo 18:26:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:26:24 ---> logs-deploy.sh 18:26:24 lf-activate-venv: SKIPPING 18:26:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-613/1 18:26:24 INFO: archiving workspace using pattern(s): 18:26:25 Archives upload complete. 18:26:25 INFO: archiving logs to Nexus