Pull request #615 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ee8d60b12dd726231d6b0ba9dab21f33a5852e08+c583aa4fb078343a3c888109ea4df2cf2137b3df (399ce38f34577774ee8e6e9361d59e50747fc8cd) 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-ssh4289856597606413436.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-ssh12003884669601905003.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-615/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-615/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17508409569838441871.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-615/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5650871817383144313.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-ssh15641420309377999900.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-615/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-615/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10647265177427107496.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12589 in /w/workspace/_app-service-configurable_PR-615 [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-615 # 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/615/head:refs/remotes/origin/PR-615 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c583aa4fb078343a3c888109ea4df2cf2137b3df into PR head commit ee8d60b12dd726231d6b0ba9dab21f33a5852e08 Merge succeeded, producing ee8d60b12dd726231d6b0ba9dab21f33a5852e08 Checking out Revision ee8d60b12dd726231d6b0ba9dab21f33a5852e08 (PR-615) 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 12:15:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:15:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:15:53 ========================================================= 12:15:53 EdgeX Global Pipelines Version Info 12:15:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ee8d60b12dd726231d6b0ba9dab21f33a5852e08 # 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 c583aa4fb078343a3c888109ea4df2cf2137b3df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee8d60b12dd726231d6b0ba9dab21f33a5852e08 # timeout=10 12:15:54 ------------------- 12:15:54 stable info: 12:15:54 ------------------- 12:15:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:15:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:15:54 Message: update stable to v1.0.254 12:15:54 ------------------- 12:15:54 experimental info: 12:15:54 ------------------- 12:15:54 Commited By: **** collab-it+edgex@linuxfoundation.org 12:15:54 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 12:15:54 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:15:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 12:15:54 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 12:15:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:15:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-615 [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-615 [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-615 [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee8d60b12dd726231d6b0ba9dab21f33a5852e08 [Pipeline] echo 12:15:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee8d60b [Pipeline] echo 12:15:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:56 provisioning config files... 12:15:56 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-615@tmp/config5462328918749968051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:15:56 ---> docker-login.sh 12:15:56 nexus3.edgexfoundry.org:10001 12:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:57 Configure a credential helper to remove this warning. See 12:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:57 12:15:57 Login Succeeded 12:15:57 nexus3.edgexfoundry.org:10002 12:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:57 Configure a credential helper to remove this warning. See 12:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:57 12:15:57 Login Succeeded 12:15:57 nexus3.edgexfoundry.org:10003 12:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:57 Configure a credential helper to remove this warning. See 12:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:57 12:15:57 Login Succeeded 12:15:57 nexus3.edgexfoundry.org:10004 12:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:57 Configure a credential helper to remove this warning. See 12:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:57 12:15:57 Login Succeeded 12:15:57 docker.io 12:15:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:57 Configure a credential helper to remove this warning. See 12:15:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:57 12:15:57 Login Succeeded 12:15:57 ---> docker-login.sh ends [Pipeline] } 12:15:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:15:58 + git rev-list -1 --merges ee8d60b12dd726231d6b0ba9dab21f33a5852e08~1..ee8d60b12dd726231d6b0ba9dab21f33a5852e08 [Pipeline] echo 12:15:58 -----------> git rev-list -1 --merges ee8d60b12dd726231d6b0ba9dab21f33a5852e08~1..ee8d60b12dd726231d6b0ba9dab21f33a5852e08 ee8d60b12dd726231d6b0ba9dab21f33a5852e08 [false] [Pipeline] sh 12:15:58 + git log --format=format:%s -1 ee8d60b12dd726231d6b0ba9dab21f33a5852e08 [Pipeline] echo 12:15:58 ========================================================= 12:15:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:15:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:15:59 + git log --format=format:%s -1 ee8d60b12dd726231d6b0ba9dab21f33a5852e08 [Pipeline] echo 12:15:59 [semverPrep] GIT_COMMIT: ee8d60b12dd726231d6b0ba9dab21f33a5852e08, Commit Message: build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo 12:15:59 [semverPrep] This is not a build commit. [Pipeline] sh 12:15:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:15:59 + grep -v github /etc/ssh/ssh_known_hosts 12:15:59 + [ -e /tmp/ssh_known_hosts ] 12:15:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:15:59 + sudo tee -a /etc/ssh/ssh_known_hosts 12:15:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:15:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:16:00 12:16:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:16:00 0.1.4: Pulling from edgex-devops/py-git-semver 12:16:00 b85a868b505f: Pulling fs layer 12:16:00 e2be974225ed: Pulling fs layer 12:16:00 339a4e72a1f5: Pulling fs layer 12:16:00 988bab9f4d93: Pulling fs layer 12:16:00 1469e6f7b9e6: Pulling fs layer 12:16:00 988bab9f4d93: Waiting 12:16:00 eaf3925da568: Pulling fs layer 12:16:00 bab4dde63d76: Pulling fs layer 12:16:00 eaf3925da568: Waiting 12:16:00 1469e6f7b9e6: Waiting 12:16:00 bde34c3a00c8: Pulling fs layer 12:16:00 bab4dde63d76: Waiting 12:16:00 bde34c3a00c8: Waiting 12:16:00 b352a97aabf1: Pulling fs layer 12:16:00 4872d77fe225: Pulling fs layer 12:16:00 5851b861e8e6: Pulling fs layer 12:16:00 b352a97aabf1: Waiting 12:16:00 4872d77fe225: Waiting 12:16:00 5851b861e8e6: Waiting 12:16:00 e2be974225ed: Download complete 12:16:00 988bab9f4d93: Verifying Checksum 12:16:00 988bab9f4d93: Download complete 12:16:00 1469e6f7b9e6: Verifying Checksum 12:16:00 1469e6f7b9e6: Download complete 12:16:00 339a4e72a1f5: Verifying Checksum 12:16:00 339a4e72a1f5: Download complete 12:16:00 eaf3925da568: Verifying Checksum 12:16:00 eaf3925da568: Download complete 12:16:00 bde34c3a00c8: Verifying Checksum 12:16:00 bde34c3a00c8: Download complete 12:16:00 b352a97aabf1: Verifying Checksum 12:16:00 b352a97aabf1: Download complete 12:16:00 4872d77fe225: Verifying Checksum 12:16:00 4872d77fe225: Download complete 12:16:00 5851b861e8e6: Verifying Checksum 12:16:00 5851b861e8e6: Download complete 12:16:00 b85a868b505f: Verifying Checksum 12:16:00 b85a868b505f: Download complete 12:16:00 bab4dde63d76: Verifying Checksum 12:16:00 bab4dde63d76: Download complete 12:16:01 b85a868b505f: Pull complete 12:16:02 e2be974225ed: Pull complete 12:16:02 339a4e72a1f5: Pull complete 12:16:02 988bab9f4d93: Pull complete 12:16:02 1469e6f7b9e6: Pull complete 12:16:02 eaf3925da568: Pull complete 12:16:04 bab4dde63d76: Pull complete 12:16:04 bde34c3a00c8: Pull complete 12:16:04 b352a97aabf1: Pull complete 12:16:04 4872d77fe225: Pull complete 12:16:04 5851b861e8e6: Pull complete 12:16:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:16:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:16:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:05 prd-ubuntu20.04-docker-8c-8g-12589 does not seem to be running inside a container 12:16:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-615 -v /w/workspace/_app-service-configurable_PR-615:/w/workspace/_app-service-configurable_PR-615:rw,z -v /w/workspace/_app-service-configurable_PR-615@tmp:/w/workspace/_app-service-configurable_PR-615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:16:07 $ docker top 73a1ccd9a1b103ab92e44cfa403272bdb59dfb1ac10ad3a35f683c814e7dd47e -eo pid,comm 12:16:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:16:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:16:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:16:08 [ssh-agent] Looking for ssh-agent implementation... 12:16:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:16:08 $ docker exec 73a1ccd9a1b103ab92e44cfa403272bdb59dfb1ac10ad3a35f683c814e7dd47e ssh-agent 12:16:08 SSH_AUTH_SOCK=/tmp/ssh-WCRQkNBIRXxn/agent.32 12:16:08 SSH_AGENT_PID=38 12:16:08 Running ssh-add (command line suppressed) 12:16:08 Identity added: /w/workspace/_app-service-configurable_PR-615@tmp/private_key_7180559571881421494.key (/w/workspace/_app-service-configurable_PR-615@tmp/private_key_7180559571881421494.key) 12:16:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:16:08 + git tag --points-at HEAD [Pipeline] } 12:16:08 $ docker exec --env ******** --env ******** 73a1ccd9a1b103ab92e44cfa403272bdb59dfb1ac10ad3a35f683c814e7dd47e ssh-agent -k 12:16:08 unset SSH_AUTH_SOCK; 12:16:08 unset SSH_AGENT_PID; 12:16:08 echo Agent pid 38 killed; 12:16:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:16:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:16:09 [ssh-agent] Looking for ssh-agent implementation... 12:16:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:16:09 $ docker exec 73a1ccd9a1b103ab92e44cfa403272bdb59dfb1ac10ad3a35f683c814e7dd47e ssh-agent 12:16:09 SSH_AUTH_SOCK=/tmp/ssh-JDoJ0tMV3P97/agent.70 12:16:09 SSH_AGENT_PID=76 12:16:09 Running ssh-add (command line suppressed) 12:16:09 Identity added: /w/workspace/_app-service-configurable_PR-615@tmp/private_key_6459162664846701813.key (/w/workspace/_app-service-configurable_PR-615@tmp/private_key_6459162664846701813.key) 12:16:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:16:09 + git semver init 12:16:09 2023-10-27 12:16:09,869 [run_init] DEBUG init version:0.0.0 force:False 12:16:09 2023-10-27 12:16:09,870 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-615/.semver 12:16:09 2023-10-27 12:16:09,870 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-615/.semver 12:16:09 2023-10-27 12:16:09,870 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-615/.semver'], cwd=/w/workspace/_app-service-configurable_PR-615, universal_newlines=False, shell=None, istream=None) 12:16:10 2023-10-27 12:16:10,781 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-615/.git/info/exclude 12:16:10 2023-10-27 12:16:10,782 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-615/.semver/PR-615 with force:False 12:16:10 2023-10-27 12:16:10,782 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-615/.semver/PR-615 12:16:10 2023-10-27 12:16:10,786 [execute] INFO git cat-file --batch-check 12:16:10 2023-10-27 12:16:10,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-615/.semver, universal_newlines=False, shell=None, istream=) 12:16:10 2023-10-27 12:16:10,793 [execute] INFO git cat-file --batch 12:16:10 2023-10-27 12:16:10,793 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-615/.semver, universal_newlines=False, shell=None, istream=) 12:16:10 2023-10-27 12:16:10,797 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-615/.semver/PR-615 12:16:10 0.0.0 [Pipeline] } 12:16:10 $ docker exec --env ******** --env ******** 73a1ccd9a1b103ab92e44cfa403272bdb59dfb1ac10ad3a35f683c814e7dd47e ssh-agent -k 12:16:11 unset SSH_AUTH_SOCK; 12:16:11 unset SSH_AGENT_PID; 12:16:11 echo Agent pid 76 killed; 12:16:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:16:11 + git semver [Pipeline] } 12:16:11 $ docker stop --time=1 73a1ccd9a1b103ab92e44cfa403272bdb59dfb1ac10ad3a35f683c814e7dd47e 12:16:13 $ docker rm -f --volumes 73a1ccd9a1b103ab92e44cfa403272bdb59dfb1ac10ad3a35f683c814e7dd47e [Pipeline] // withDockerContainer [Pipeline] sh 12:16:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:16:13 Stashed 1 file(s) [Pipeline] echo 12:16:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:16:14 provisioning config files... 12:16:14 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-615@tmp/config17262873808512959707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:16:14 ---> docker-login.sh 12:16:14 nexus3.edgexfoundry.org:10001 12:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:14 Configure a credential helper to remove this warning. See 12:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:14 12:16:14 Login Succeeded 12:16:14 nexus3.edgexfoundry.org:10002 12:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:14 Configure a credential helper to remove this warning. See 12:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:14 12:16:14 Login Succeeded 12:16:14 nexus3.edgexfoundry.org:10003 12:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:14 Configure a credential helper to remove this warning. See 12:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:14 12:16:14 Login Succeeded 12:16:14 nexus3.edgexfoundry.org:10004 12:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:14 Configure a credential helper to remove this warning. See 12:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:14 12:16:14 Login Succeeded 12:16:14 docker.io 12:16:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:16:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:16:15 Configure a credential helper to remove this warning. See 12:16:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:16:15 12:16:15 Login Succeeded 12:16:15 ---> docker-login.sh ends [Pipeline] } 12:16:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:16:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:16:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:16:15 ========================================================= 12:16:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:16:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:16 + 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 . 12:16:16 Sending build context to Docker daemon 3.369MB 12:16:16 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:16:16 Step 2/12 : FROM ${BASE} AS builder 12:16:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:16:16 7264a8db6415: Pulling fs layer 12:16:16 c4d48a809fc2: Pulling fs layer 12:16:16 4f1c88b9dad5: Pulling fs layer 12:16:16 ad3a456e5733: Pulling fs layer 12:16:16 33e27b845d1e: Pulling fs layer 12:16:16 ad3a456e5733: Waiting 12:16:16 c68163c4e522: Pulling fs layer 12:16:16 50da416c3ac9: Pulling fs layer 12:16:16 33e27b845d1e: Waiting 12:16:16 c68163c4e522: Waiting 12:16:16 50da416c3ac9: Waiting 12:16:16 23d2d4c4bb30: Pulling fs layer 12:16:16 23d2d4c4bb30: Waiting 12:16:16 c4d48a809fc2: Download complete 12:16:16 ad3a456e5733: Verifying Checksum 12:16:16 ad3a456e5733: Download complete 12:16:16 33e27b845d1e: Verifying Checksum 12:16:16 33e27b845d1e: Download complete 12:16:16 7264a8db6415: Verifying Checksum 12:16:16 7264a8db6415: Download complete 12:16:16 c68163c4e522: Verifying Checksum 12:16:16 c68163c4e522: Download complete 12:16:16 7264a8db6415: Pull complete 12:16:16 c4d48a809fc2: Pull complete 12:16:16 23d2d4c4bb30: Verifying Checksum 12:16:16 23d2d4c4bb30: Download complete 12:16:16 4f1c88b9dad5: Verifying Checksum 12:16:16 4f1c88b9dad5: Download complete 12:16:17 50da416c3ac9: Download complete 12:16:20 4f1c88b9dad5: Pull complete 12:16:20 ad3a456e5733: Pull complete 12:16:20 33e27b845d1e: Pull complete 12:16:20 c68163c4e522: Pull complete 12:16:22 50da416c3ac9: Pull complete 12:16:22 23d2d4c4bb30: Pull complete 12:16:22 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 12:16:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:16:22 ---> 0786185ac409 12:16:22 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:16:26 ---> Running in aaf9c723060c 12:16:26 Removing intermediate container aaf9c723060c 12:16:26 ---> b07514543246 12:16:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:16:26 ---> Running in 3916b4940656 12:16:26 Removing intermediate container 3916b4940656 12:16:26 ---> ce3e509a202c 12:16:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:16:26 ---> Running in 8bec73e48537 12:16:27 Removing intermediate container 8bec73e48537 12:16:27 ---> b6d1640e83c1 12:16:27 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:16:27 ---> Running in c1153628bb06 12:16:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:16:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:16:28 OK: 264 MiB in 52 packages 12:16:28 Removing intermediate container c1153628bb06 12:16:28 ---> ae66faa52d00 12:16:28 Step 7/12 : WORKDIR /app 12:16:28 ---> Running in e3df87a1243b 12:16:28 Removing intermediate container e3df87a1243b 12:16:28 ---> 9b4c05c42853 12:16:28 Step 8/12 : COPY go.mod vendor* ./ 12:16:28 ---> 6fcf6a6582fe 12:16:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:16:28 ---> Running in 939c2ace4478 12:16:29 Still waiting to schedule task 12:16:29 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:17:24 Removing intermediate container 939c2ace4478 12:17:24 ---> 9d8c96b8195d 12:17:24 Step 10/12 : COPY . . 12:17:25 ---> 5c28bf6369ce 12:17:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:17:25 ---> Running in 19a02b7ab053 12:17:25 Removing intermediate container 19a02b7ab053 12:17:25 ---> 18e53321096d 12:17:25 Step 12/12 : RUN $MAKE 12:17:25 ---> Running in 70401422d02b 12:17:25 noop 12:17:25 Removing intermediate container 70401422d02b 12:17:25 ---> 262376617121 12:17:25 Successfully built 262376617121 12:17:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:26 + docker inspect -f . ci-base-image-x86_64 12:17:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:17:26 prd-ubuntu20.04-docker-8c-8g-12589 does not seem to be running inside a container 12:17:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-615 -v /w/workspace/_app-service-configurable_PR-615:/w/workspace/_app-service-configurable_PR-615:rw,z -v /w/workspace/_app-service-configurable_PR-615@tmp:/w/workspace/_app-service-configurable_PR-615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:17:26 $ docker top a28b200a802310c3541065c26e787cd5cea6ffebf4e34006542f19c65b221a41 -eo pid,comm [Pipeline] { [Pipeline] sh 12:17:26 + go version 12:17:26 go version go1.21.0 linux/amd64 [Pipeline] } 12:17:26 $ docker stop --time=1 a28b200a802310c3541065c26e787cd5cea6ffebf4e34006542f19c65b221a41 12:17:28 $ docker rm -f --volumes a28b200a802310c3541065c26e787cd5cea6ffebf4e34006542f19c65b221a41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:28 + docker inspect -f . ci-base-image-x86_64 12:17:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:17:29 prd-ubuntu20.04-docker-8c-8g-12589 does not seem to be running inside a container 12:17:29 $ 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-615 -v /w/workspace/_app-service-configurable_PR-615:/w/workspace/_app-service-configurable_PR-615:rw,z -v /w/workspace/_app-service-configurable_PR-615@tmp:/w/workspace/_app-service-configurable_PR-615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:17:29 $ docker top 40a8111ffb67f0f8b12ca870f999ff8a137182b80ba0b7480f311ccc075d2f8b -eo pid,comm [Pipeline] { [Pipeline] sh 12:17:29 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-615 [Pipeline] fileExists [Pipeline] sh 12:17:30 + make test 12:17:30 go test -race -coverprofile=coverage.out ./... 12:17:48 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:18:06 go vet ./... 12:18:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:18:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:18:06 ./bin/test-attribution-txt.sh [Pipeline] echo 12:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:18:06 $ docker stop --time=1 40a8111ffb67f0f8b12ca870f999ff8a137182b80ba0b7480f311ccc075d2f8b 12:18:11 $ docker rm -f --volumes 40a8111ffb67f0f8b12ca870f999ff8a137182b80ba0b7480f311ccc075d2f8b [Pipeline] // withDockerContainer [Pipeline] sh 12:18:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:18:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:18:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:18:12 + ls -al . 12:18:12 total 180 12:18:12 drwxrwxr-x 7 jenkins jenkins 4096 Oct 27 12:17 . 12:18:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 12:15 .. 12:18:12 -rw-rw-r-- 1 jenkins jenkins 119 Oct 27 12:15 .dockerignore 12:18:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 12:17 .git 12:18:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 12:15 .github 12:18:12 -rw-rw-r-- 1 jenkins jenkins 106 Oct 27 12:15 .gitignore 12:18:12 -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 12:15 .golangci.yml 12:18:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 12:16 .semver 12:18:12 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 27 12:15 Attribution.txt 12:18:12 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 27 12:15 CHANGELOG.md 12:18:12 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 27 12:15 Dockerfile 12:18:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 12:15 GOVERNANCE.md 12:18:12 -rw-rw-r-- 1 jenkins jenkins 666 Oct 27 12:15 Jenkinsfile 12:18:12 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 27 12:15 LICENSE 12:18:12 -rw-rw-r-- 1 jenkins jenkins 618 Oct 27 12:15 OWNERS.md 12:18:12 -rw-rw-r-- 1 jenkins jenkins 4550 Oct 27 12:15 README.md 12:18:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 12:16 VERSION 12:18:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 12:15 bin 12:18:12 -rw-r--r-- 1 jenkins jenkins 13 Oct 27 12:17 coverage.out 12:18:12 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 27 12:15 go.mod 12:18:12 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 27 12:15 go.sum 12:18:12 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 27 12:15 main.go 12:18:12 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 27 12:15 makefile 12:18:12 drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 12:15 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:13 + 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=ee8d60b12dd726231d6b0ba9dab21f33a5852e08 --label arch=amd64 --label version=0.0.0 . 12:18:13 Sending build context to Docker daemon 3.37MB 12:18:13 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:18:13 Step 2/26 : FROM ${BASE} AS builder 12:18:13 ---> 262376617121 12:18:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:18:13 ---> Running in 2b5039748b06 12:18:13 Removing intermediate container 2b5039748b06 12:18:13 ---> eadd9e83d0bc 12:18:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:18:13 ---> Running in 7a735b2b779e 12:18:13 Removing intermediate container 7a735b2b779e 12:18:13 ---> 3ded3a62a059 12:18:13 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:18:13 ---> Running in ecb42d82ed3f 12:18:13 Removing intermediate container ecb42d82ed3f 12:18:13 ---> 7e6dbd8f5ca0 12:18:13 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:18:13 ---> Running in 77f89afc4cff 12:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:18:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:18:14 OK: 264 MiB in 52 packages 12:18:14 Removing intermediate container 77f89afc4cff 12:18:14 ---> 09a7e144bbbb 12:18:14 Step 7/26 : WORKDIR /app 12:18:14 ---> Running in 831d489d6b51 12:18:14 Removing intermediate container 831d489d6b51 12:18:14 ---> 85575f0c8da8 12:18:14 Step 8/26 : COPY go.mod vendor* ./ 12:18:14 ---> c3aeb76450dc 12:18:14 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:18:14 ---> Running in 09c8b5d889ad 12:18:15 Removing intermediate container 09c8b5d889ad 12:18:15 ---> 3fb50347cc06 12:18:15 Step 10/26 : COPY . . 12:18:15 ---> 99050b3c3904 12:18:15 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:18:15 ---> Running in fc33fae4f6a0 12:18:16 Removing intermediate container fc33fae4f6a0 12:18:16 ---> 6187a0a74220 12:18:16 Step 12/26 : RUN $MAKE 12:18:16 ---> Running in 31d8db85e5d2 12:18:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.48 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:18:38 Removing intermediate container 31d8db85e5d2 12:18:38 ---> a1ee3647a485 12:18:38 Step 13/26 : FROM alpine:3.18 12:18:38 3.18: Pulling from library/alpine 12:18:38 96526aa774ef: Pulling fs layer 12:18:38 96526aa774ef: Verifying Checksum 12:18:38 96526aa774ef: Download complete 12:18:38 96526aa774ef: Pull complete 12:18:38 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:18:38 Status: Downloaded newer image for alpine:3.18 12:18:38 ---> 8ca4688f4f35 12:18:38 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:18:38 ---> Running in ccc19f46efd2 12:18:38 Removing intermediate container ccc19f46efd2 12:18:38 ---> c9622ec57cc4 12:18:38 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:18:38 ---> Running in eaeeb891f77a 12:18:38 Removing intermediate container eaeeb891f77a 12:18:38 ---> e998ba2c47d4 12:18:38 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:18:38 ---> Running in 45a9c84f5e32 12:18:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:18:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:18:38 (1/2) Installing ca-certificates (20230506-r0) 12:18:38 (2/2) Installing dumb-init (1.2.5-r2) 12:18:38 Executing busybox-1.36.1-r2.trigger 12:18:38 Executing ca-certificates-20230506-r0.trigger 12:18:38 OK: 8 MiB in 17 packages 12:18:38 Removing intermediate container 45a9c84f5e32 12:18:38 ---> 9d663c06350d 12:18:38 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:18:38 ---> 71b3da7df12a 12:18:38 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:18:38 ---> 368d0e1a62b3 12:18:38 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:18:38 ---> f3b785d5aa13 12:18:38 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:18:38 ---> 5f70bf88d829 12:18:38 Step 21/26 : EXPOSE 48095 12:18:38 ---> Running in e70320af9699 12:18:38 Removing intermediate container e70320af9699 12:18:38 ---> 2102317fe574 12:18:38 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:18:38 ---> Running in 0f67f72b2328 12:18:38 Removing intermediate container 0f67f72b2328 12:18:38 ---> 2cd57a359b79 12:18:38 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:18:38 ---> Running in 6ceb65b80524 12:18:39 Removing intermediate container 6ceb65b80524 12:18:39 ---> 6a78e014a893 12:18:39 Step 24/26 : LABEL arch=amd64 12:18:39 ---> Running in f924151f330b 12:18:39 Removing intermediate container f924151f330b 12:18:39 ---> 12b0ac2478bd 12:18:39 Step 25/26 : LABEL git_sha=ee8d60b12dd726231d6b0ba9dab21f33a5852e08 12:18:39 ---> Running in 834d2ee9b3fb 12:18:39 Removing intermediate container 834d2ee9b3fb 12:18:39 ---> 5a518ad8de10 12:18:39 Step 26/26 : LABEL version=0.0.0 12:18:39 ---> Running in 5d1399f2d967 12:18:39 Removing intermediate container 5d1399f2d967 12:18:39 ---> 314cb56831cf 12:18:39 [Warning] One or more build-args [ARCH] were not consumed 12:18:39 Successfully built 314cb56831cf 12:18:39 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:18:40 12:18:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:18:40 latest: Pulling from edgex-lftools-log-publisher 12:18:40 5eb5b503b376: Pulling fs layer 12:18:40 5c69ac0246d0: Pulling fs layer 12:18:40 ec43610c2a17: Pulling fs layer 12:18:40 3a2ae6a8a46f: Pulling fs layer 12:18:40 33b1e0a273af: Pulling fs layer 12:18:40 5d3b04190fa2: Pulling fs layer 12:18:40 2f39f015ded8: Pulling fs layer 12:18:40 3a2ae6a8a46f: Waiting 12:18:40 33b1e0a273af: Waiting 12:18:40 5d3b04190fa2: Waiting 12:18:40 2f39f015ded8: Waiting 12:18:40 5c69ac0246d0: Download complete 12:18:40 3a2ae6a8a46f: Verifying Checksum 12:18:40 3a2ae6a8a46f: Download complete 12:18:40 33b1e0a273af: Verifying Checksum 12:18:40 33b1e0a273af: Download complete 12:18:40 ec43610c2a17: Verifying Checksum 12:18:40 ec43610c2a17: Download complete 12:18:40 5d3b04190fa2: Verifying Checksum 12:18:40 5d3b04190fa2: Download complete 12:18:40 5eb5b503b376: Download complete 12:18:41 2f39f015ded8: Download complete 12:18:42 5eb5b503b376: Pull complete 12:18:42 5c69ac0246d0: Pull complete 12:18:42 ec43610c2a17: Pull complete 12:18:42 3a2ae6a8a46f: Pull complete 12:18:42 33b1e0a273af: Pull complete 12:18:42 5d3b04190fa2: Pull complete 12:18:46 2f39f015ded8: Pull complete 12:18:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:18:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:18:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:18:47 prd-ubuntu20.04-docker-8c-8g-12589 does not seem to be running inside a container 12:18:47 $ 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-615 -v /w/workspace/_app-service-configurable_PR-615:/w/workspace/_app-service-configurable_PR-615:rw,z -v /w/workspace/_app-service-configurable_PR-615@tmp:/w/workspace/_app-service-configurable_PR-615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:18:50 $ docker top 75eb96b69e9a966183906a8bd7ca5414b11a597625ced0e9b822bd618c59b4a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:18:50 ---> job-cost.sh 12:18:50 lf-activate-venv: SKIPPING 12:18:50 INFO: No Stack... 12:18:50 INFO: Retrieving Pricing Info for: v3-standard-8 12:18:51 INFO: Archiving Costs [Pipeline] sh 12:18:51 + cat /w/workspace/_app-service-configurable_PR-615/archives/cost.csv 12:18:51 + cut -d, -f6 [Pipeline] lock 12:18:51 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-615-1-stack-cost] 12:18:51 Resource [jenkins-edgexfoundry-app-service-configurable-PR-615-1-stack-cost] did not exist. Created. 12:18:51 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-615-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:18:51 + echo total: 0.2199999988079071 [Pipeline] stash 12:18:52 Stashed 1 file(s) [Pipeline] } 12:18:52 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-615-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:18:52 $ docker stop --time=1 75eb96b69e9a966183906a8bd7ca5414b11a597625ced0e9b822bd618c59b4a1 12:18:53 $ docker rm -f --volumes 75eb96b69e9a966183906a8bd7ca5414b11a597625ced0e9b822bd618c59b4a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:19:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12599 in /w/workspace/_app-service-configurable_PR-615 [Pipeline] { [Pipeline] ws 12:19:39 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 12:19:39 Selected Git installation does not exist. Using Default 12:19:39 The recommended git tool is: NONE 12:19:45 using credential edgex-jenkins-ssh 12:19:45 Cloning the remote Git repository 12:19:45 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 12:19:45 > git init /w/workspace/app-service-configurable/1 # timeout=10 12:19:46 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:19:46 > git --version # timeout=10 12:19:46 > git --version # 'git version 2.25.1' 12:19:46 using GIT_SSH to set credentials SSH Credentials for GitHub 12:19:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:19:47 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:19:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:19:48 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 12:19:48 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 12:19:48 using GIT_SSH to set credentials SSH Credentials for GitHub 12:19:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/615/head:refs/remotes/origin/PR-615 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:19:48 Merging remotes/origin/main commit c583aa4fb078343a3c888109ea4df2cf2137b3df into PR head commit ee8d60b12dd726231d6b0ba9dab21f33a5852e08 12:19:49 Merge succeeded, producing ee8d60b12dd726231d6b0ba9dab21f33a5852e08 12:19:49 Checking out Revision ee8d60b12dd726231d6b0ba9dab21f33a5852e08 (PR-615) 12:19:49 Commit message: "build(deps): Bump github.com/edgexfoundry/app-functions-sdk-go/v3" 12:19:49 > git --version # timeout=10 12:19:49 > git --version # 'git version 2.25.1' 12:19:49 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 12:19:48 > git config core.sparsecheckout # timeout=10 12:19:48 > git checkout -f ee8d60b12dd726231d6b0ba9dab21f33a5852e08 # timeout=10 12:19:49 > git remote # timeout=10 12:19:49 > git config --get remote.origin.url # timeout=10 12:19:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:19:49 > git merge c583aa4fb078343a3c888109ea4df2cf2137b3df # timeout=10 12:19:49 > git rev-parse HEAD^{commit} # timeout=10 12:19:49 > git config core.sparsecheckout # timeout=10 12:19:49 > git checkout -f ee8d60b12dd726231d6b0ba9dab21f33a5852e08 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:19:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:19:51 % Total % Received % Xferd Average Speed Time Time Time Current 12:19:51 Dload Upload Total Spent Left Speed 12:19:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98084 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 12:19:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:19:51 + sudo tee /etc/docker/daemon.new 12:19:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:19:51 { 12:19:51 "registry-mirrors": [ 12:19:51 "https://nexus3.edgexfoundry.org:10001" 12:19:51 ], 12:19:51 "bip": "10.250.0.254/24", 12:19:51 "hosts": [ 12:19:51 "tcp://0.0.0.0:5555", 12:19:51 "unix:///var/run/docker.sock" 12:19:51 ], 12:19:51 "mtu": 1458, 12:19:51 "selinux-enabled": true, 12:19:51 "seccomp-profile": "/etc/docker/seccomp.json" 12:19:51 } [Pipeline] sh 12:19:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:19:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:20:11 provisioning config files... 12:20:11 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config15353765127846808189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:20:11 ---> docker-login.sh 12:20:11 nexus3.edgexfoundry.org:10001 12:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:12 Configure a credential helper to remove this warning. See 12:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:12 12:20:12 Login Succeeded 12:20:12 nexus3.edgexfoundry.org:10002 12:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:12 Configure a credential helper to remove this warning. See 12:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:12 12:20:12 Login Succeeded 12:20:12 nexus3.edgexfoundry.org:10003 12:20:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:13 Configure a credential helper to remove this warning. See 12:20:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:13 12:20:13 Login Succeeded 12:20:13 nexus3.edgexfoundry.org:10004 12:20:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:13 Configure a credential helper to remove this warning. See 12:20:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:13 12:20:13 Login Succeeded 12:20:13 docker.io 12:20:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:20:14 Configure a credential helper to remove this warning. See 12:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:20:14 12:20:14 Login Succeeded 12:20:14 ---> docker-login.sh ends [Pipeline] } 12:20:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:20:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:20:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:20:14 ========================================================= 12:20:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:20:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:20:15 + 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 . 12:20:15 Sending build context to Docker daemon 157.7kB 12:20:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:20:15 Step 2/12 : FROM ${BASE} AS builder 12:20:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:20:15 9fda8d8052c6: Pulling fs layer 12:20:15 5d54e960e981: Pulling fs layer 12:20:15 c4a7e357bf2a: Pulling fs layer 12:20:15 f0e02332f6b5: Pulling fs layer 12:20:15 cefa15bbcfad: Pulling fs layer 12:20:15 17808c966233: Pulling fs layer 12:20:15 f4c1fc716caa: Pulling fs layer 12:20:15 17808c966233: Waiting 12:20:15 f0e02332f6b5: Waiting 12:20:15 f4c1fc716caa: Waiting 12:20:15 cefa15bbcfad: Waiting 12:20:15 5d54e960e981: Download complete 12:20:15 f0e02332f6b5: Download complete 12:20:15 cefa15bbcfad: Verifying Checksum 12:20:15 cefa15bbcfad: Download complete 12:20:15 9fda8d8052c6: Download complete 12:20:16 f4c1fc716caa: Verifying Checksum 12:20:16 f4c1fc716caa: Download complete 12:20:16 9fda8d8052c6: Pull complete 12:20:17 5d54e960e981: Pull complete 12:20:17 c4a7e357bf2a: Verifying Checksum 12:20:17 c4a7e357bf2a: Download complete 12:20:18 17808c966233: Verifying Checksum 12:20:18 17808c966233: Download complete 12:20:31 c4a7e357bf2a: Pull complete 12:20:31 f0e02332f6b5: Pull complete 12:20:31 cefa15bbcfad: Pull complete 12:20:39 17808c966233: Pull complete 12:20:40 f4c1fc716caa: Pull complete 12:20:40 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 12:20:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:20:40 ---> ea914061e18c 12:20:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 12:20:42 ---> Running in 2c34da736579 12:20:42 Removing intermediate container 2c34da736579 12:20:42 ---> 6cfbf2791bb7 12:20:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:20:42 ---> Running in 8743a591e51a 12:20:42 Removing intermediate container 8743a591e51a 12:20:42 ---> 499a240176a9 12:20:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:20:42 ---> Running in 1f734a99a94d 12:20:43 Removing intermediate container 1f734a99a94d 12:20:43 ---> cdb6616cc067 12:20:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:20:43 ---> Running in 8fad6b61e424 12:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:20:46 OK: 266 MiB in 52 packages 12:20:47 Removing intermediate container 8fad6b61e424 12:20:47 ---> 18c3b6920b29 12:20:47 Step 7/12 : WORKDIR /app 12:20:47 ---> Running in d0a8deac8c66 12:20:48 Removing intermediate container d0a8deac8c66 12:20:48 ---> 3343f7be480a 12:20:48 Step 8/12 : COPY go.mod vendor* ./ 12:20:48 ---> 5110daeef4be 12:20:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:20:48 ---> Running in 5440593e4963 12:22:25 Removing intermediate container 5440593e4963 12:22:25 ---> c2703d09112e 12:22:25 Step 10/12 : COPY . . 12:22:25 ---> 9aee203ede8a 12:22:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:22:25 ---> Running in 33fe1248e50c 12:22:25 Removing intermediate container 33fe1248e50c 12:22:25 ---> 5836210c629f 12:22:25 Step 12/12 : RUN $MAKE 12:22:25 ---> Running in 6f5881bf5228 12:22:25 noop 12:22:25 Removing intermediate container 6f5881bf5228 12:22:25 ---> 0f57549c7933 12:22:25 Successfully built 0f57549c7933 12:22:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:25 + docker inspect -f . ci-base-image-arm64 12:22:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:25 prd-ubuntu20.04-docker-arm64-4c-16g-12599 does not seem to be running inside a container 12:22:26 $ 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 12:22:27 $ docker top 8aeb399d6bbb58d751c5bb2210b8dfccbac68ece8227dd9b0b0b9317a163961c -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:28 + go version 12:22:28 go version go1.21.0 linux/arm64 [Pipeline] } 12:22:28 $ docker stop --time=1 8aeb399d6bbb58d751c5bb2210b8dfccbac68ece8227dd9b0b0b9317a163961c 12:22:30 $ docker rm -f --volumes 8aeb399d6bbb58d751c5bb2210b8dfccbac68ece8227dd9b0b0b9317a163961c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:22:30 + docker inspect -f . ci-base-image-arm64 12:22:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:22:31 prd-ubuntu20.04-docker-arm64-4c-16g-12599 does not seem to be running inside a container 12:22:31 $ 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 12:22:32 $ docker top 97956c09e129e7ebc62183648ad123ec591a67af500f95b9bde5f5cfc9eb193c -eo pid,comm [Pipeline] { [Pipeline] sh 12:22:33 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 12:22:33 + make test 12:22:33 go test -race -coverprofile=coverage.out ./... 12:24:55 ? github.com/edgexfoundry/app-service-configurable [no test files] 12:24:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:24:55 go vet ./... 12:26:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:26:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:26:47 ./bin/test-attribution-txt.sh [Pipeline] echo 12:26:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:26:47 $ docker stop --time=1 97956c09e129e7ebc62183648ad123ec591a67af500f95b9bde5f5cfc9eb193c 12:26:49 $ docker rm -f --volumes 97956c09e129e7ebc62183648ad123ec591a67af500f95b9bde5f5cfc9eb193c [Pipeline] // withDockerContainer [Pipeline] sh 12:26:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:26:51 Warning: overwriting stash ‘coverage-report’ 12:26:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:26:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:26:52 + ls -al . 12:26:52 total 176 12:26:52 drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 12:22 . 12:26:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 12:19 .. 12:26:52 -rw-rw-r-- 1 jenkins jenkins 119 Oct 27 12:19 .dockerignore 12:26:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 12:19 .git 12:26:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 12:19 .github 12:26:52 -rw-rw-r-- 1 jenkins jenkins 106 Oct 27 12:19 .gitignore 12:26:52 -rw-rw-r-- 1 jenkins jenkins 41 Oct 27 12:19 .golangci.yml 12:26:52 -rw-rw-r-- 1 jenkins jenkins 10394 Oct 27 12:19 Attribution.txt 12:26:52 -rw-rw-r-- 1 jenkins jenkins 35039 Oct 27 12:19 CHANGELOG.md 12:26:52 -rw-rw-r-- 1 jenkins jenkins 1898 Oct 27 12:19 Dockerfile 12:26:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 12:19 GOVERNANCE.md 12:26:52 -rw-rw-r-- 1 jenkins jenkins 666 Oct 27 12:19 Jenkinsfile 12:26:52 -rw-rw-r-- 1 jenkins jenkins 10174 Oct 27 12:19 LICENSE 12:26:52 -rw-rw-r-- 1 jenkins jenkins 618 Oct 27 12:19 OWNERS.md 12:26:52 -rw-rw-r-- 1 jenkins jenkins 4550 Oct 27 12:19 README.md 12:26:52 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 12:16 VERSION 12:26:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 12:19 bin 12:26:52 -rw-r--r-- 1 jenkins jenkins 13 Oct 27 12:22 coverage.out 12:26:52 -rw-rw-r-- 1 jenkins jenkins 3731 Oct 27 12:19 go.mod 12:26:52 -rw-rw-r-- 1 jenkins jenkins 34917 Oct 27 12:19 go.sum 12:26:52 -rw-rw-r-- 1 jenkins jenkins 1937 Oct 27 12:19 main.go 12:26:52 -rw-rw-r-- 1 jenkins jenkins 2569 Oct 27 12:19 makefile 12:26:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 27 12:19 res [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:52 + 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=ee8d60b12dd726231d6b0ba9dab21f33a5852e08 --label arch=arm64 --label version=0.0.0 . 12:26:52 Sending build context to Docker daemon 158.7kB 12:26:53 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:26:53 Step 2/26 : FROM ${BASE} AS builder 12:26:53 ---> 0f57549c7933 12:26:53 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 12:26:54 ---> Running in 00759aeae80c 12:26:54 Removing intermediate container 00759aeae80c 12:26:54 ---> d06c31726898 12:26:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:26:54 ---> Running in 8f46dcc5030a 12:26:54 Removing intermediate container 8f46dcc5030a 12:26:54 ---> 3b4fc7098b8b 12:26:54 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:26:54 ---> Running in 52984a6095d4 12:26:55 Removing intermediate container 52984a6095d4 12:26:55 ---> e4deb49ed90a 12:26:55 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:26:55 ---> Running in c1d6672e724e 12:26:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:26:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:26:58 OK: 266 MiB in 52 packages 12:26:58 Removing intermediate container c1d6672e724e 12:26:58 ---> a7a7c50b5eb7 12:26:58 Step 7/26 : WORKDIR /app 12:26:58 ---> Running in d1bcf177ce12 12:26:59 Removing intermediate container d1bcf177ce12 12:26:59 ---> dcee4818276b 12:26:59 Step 8/26 : COPY go.mod vendor* ./ 12:26:59 ---> e2bdf5b69757 12:26:59 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:26:59 ---> Running in eb60d35d64a3 12:27:02 Removing intermediate container eb60d35d64a3 12:27:02 ---> e1f8a46b209d 12:27:02 Step 10/26 : COPY . . 12:27:02 ---> 3c90c65bd6fe 12:27:02 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:27:02 ---> Running in a0087c362c0b 12:27:03 Removing intermediate container a0087c362c0b 12:27:03 ---> e437be1e4530 12:27:03 Step 12/26 : RUN $MAKE 12:27:03 ---> Running in 601a8f1da386 12:27:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.1.0-dev.48 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 12:29:10 Removing intermediate container 601a8f1da386 12:29:10 ---> 2cb12224599c 12:29:10 Step 13/26 : FROM alpine:3.18 12:29:10 3.18: Pulling from library/alpine 12:29:10 579b34f0a95b: Pulling fs layer 12:29:10 579b34f0a95b: Verifying Checksum 12:29:10 579b34f0a95b: Download complete 12:29:10 579b34f0a95b: Pull complete 12:29:10 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 12:29:10 Status: Downloaded newer image for alpine:3.18 12:29:10 ---> 3cc203321400 12:29:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 12:29:10 ---> Running in 6471946c332d 12:29:10 Removing intermediate container 6471946c332d 12:29:10 ---> d4a08010cd7b 12:29:10 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 12:29:10 ---> Running in ea7980759471 12:29:10 Removing intermediate container ea7980759471 12:29:10 ---> 45c148b746d5 12:29:10 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 12:29:10 ---> Running in 598958fe0445 12:29:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:29:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:29:10 (1/2) Installing ca-certificates (20230506-r0) 12:29:10 (2/2) Installing dumb-init (1.2.5-r2) 12:29:10 Executing busybox-1.36.1-r2.trigger 12:29:10 Executing ca-certificates-20230506-r0.trigger 12:29:10 OK: 9 MiB in 17 packages 12:29:10 Removing intermediate container 598958fe0445 12:29:10 ---> a2b4beea3d4b 12:29:10 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 12:29:10 ---> e42a6f243c39 12:29:10 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 12:29:10 ---> dde41351fdc1 12:29:10 Step 19/26 : COPY --from=builder /app/res/ /res/ 12:29:10 ---> 903837562178 12:29:10 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 12:29:10 ---> 42a94ccac642 12:29:10 Step 21/26 : EXPOSE 48095 12:29:10 ---> Running in 7eae4b9f2bf6 12:29:10 Removing intermediate container 7eae4b9f2bf6 12:29:10 ---> 0832f377e40c 12:29:10 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 12:29:10 ---> Running in 202b127531ce 12:29:10 Removing intermediate container 202b127531ce 12:29:10 ---> 2fb2eaf9f70e 12:29:10 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:29:10 ---> Running in 1cd99e891a03 12:29:10 Removing intermediate container 1cd99e891a03 12:29:10 ---> 8d8891c22b6c 12:29:10 Step 24/26 : LABEL arch=arm64 12:29:10 ---> Running in f8fea736aef6 12:29:10 Removing intermediate container f8fea736aef6 12:29:10 ---> 98a9a71696bb 12:29:10 Step 25/26 : LABEL git_sha=ee8d60b12dd726231d6b0ba9dab21f33a5852e08 12:29:10 ---> Running in 2ab4c159d6bb 12:29:10 Removing intermediate container 2ab4c159d6bb 12:29:10 ---> 04521489d0e6 12:29:10 Step 26/26 : LABEL version=0.0.0 12:29:10 ---> Running in 1650491f4d56 12:29:10 Removing intermediate container 1650491f4d56 12:29:10 ---> ca5f76ef9083 12:29:10 [Warning] One or more build-args [ARCH] were not consumed 12:29:10 Successfully built ca5f76ef9083 12:29:10 Successfully tagged app-service-configurable-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:29:11 12:29:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:29:12 arm64: Pulling from edgex-lftools-log-publisher 12:29:12 8998bd30e6a1: Pulling fs layer 12:29:12 04944245beec: Pulling fs layer 12:29:12 699f458cf7ca: Pulling fs layer 12:29:12 765212b225bb: Pulling fs layer 12:29:12 f23df028b6ca: Pulling fs layer 12:29:12 d65c8cfc05b1: Pulling fs layer 12:29:12 2437ff75d9bd: Pulling fs layer 12:29:12 f23df028b6ca: Waiting 12:29:12 d65c8cfc05b1: Waiting 12:29:12 2437ff75d9bd: Waiting 12:29:12 765212b225bb: Waiting 12:29:12 04944245beec: Verifying Checksum 12:29:12 04944245beec: Download complete 12:29:12 765212b225bb: Verifying Checksum 12:29:12 765212b225bb: Download complete 12:29:12 f23df028b6ca: Download complete 12:29:12 d65c8cfc05b1: Verifying Checksum 12:29:12 d65c8cfc05b1: Download complete 12:29:12 699f458cf7ca: Verifying Checksum 12:29:12 699f458cf7ca: Download complete 12:29:12 8998bd30e6a1: Verifying Checksum 12:29:12 8998bd30e6a1: Download complete 12:29:15 2437ff75d9bd: Verifying Checksum 12:29:15 2437ff75d9bd: Download complete 12:29:17 8998bd30e6a1: Pull complete 12:29:18 04944245beec: Pull complete 12:29:19 699f458cf7ca: Pull complete 12:29:19 765212b225bb: Pull complete 12:29:20 f23df028b6ca: Pull complete 12:29:20 d65c8cfc05b1: Pull complete 12:29:38 2437ff75d9bd: Pull complete 12:29:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:29:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:29:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:29:39 prd-ubuntu20.04-docker-arm64-4c-16g-12599 does not seem to be running inside a container 12:29:39 $ 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 12:29:42 $ docker top 8d5df07051fdb71fed81653a5c2129ffe541ea43f6ca29b5de8ba0f4cca7ccc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:29:43 ---> job-cost.sh 12:29:43 lf-activate-venv: SKIPPING 12:29:43 INFO: No Stack... 12:29:44 INFO: Retrieving Pricing Info for: v3-standard-4 12:29:45 INFO: Archiving Costs [Pipeline] sh 12:29:45 + cat /w/workspace/app-service-configurable/1/archives/cost.csv 12:29:45 + cut -d, -f6 [Pipeline] lock 12:29:45 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-615-1-stack-cost] 12:29:45 Resource [jenkins-edgexfoundry-app-service-configurable-PR-615-1-stack-cost] did not exist. Created. 12:29:45 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-615-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:29:46 /w/workspace/app-service-configurable/1@tmp/durable-2118bef8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:29:47 + echo total: 0.10999999940395355 [Pipeline] stash 12:29:47 Warning: overwriting stash ‘stack-cost’ 12:29:47 Stashed 1 file(s) [Pipeline] } 12:29:47 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-615-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:29:47 $ docker stop --time=1 8d5df07051fdb71fed81653a5c2129ffe541ea43f6ca29b5de8ba0f4cca7ccc5 12:29:49 $ docker rm -f --volumes 8d5df07051fdb71fed81653a5c2129ffe541ea43f6ca29b5de8ba0f4cca7ccc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:29:50 provisioning config files... 12:29:50 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-615@tmp/config16983042328697365459tmp [Pipeline] { [Pipeline] sh 12:29:50 + set +x 12:29:50 + + curl -s https://codecov.io/bash 12:29:50 bash -s -- 12:29:50 12:29:50 _____ _ 12:29:50 / ____| | | 12:29:50 | | ___ __| | ___ ___ _____ __ 12:29:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:29:50 | |___| (_) | (_| | __/ (_| (_) \ V / 12:29:50 \_____\___/ \__,_|\___|\___\___/ \_/ 12:29:50 Bash-1.0.6 12:29:50 12:29:50 12:29:50 ==> git version 2.25.1 found 12:29:50 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:29:50 Release-Date: 2020-01-08 12:29:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:29:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:29:50 ==> Jenkins CI detected. 12:29:50 current dir:  /w/workspace/_app-service-configurable_PR-615 12:29:50 project root: . 12:29:50 --> token set from env 12:29:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:29:50 ==> Running gcov in . (disable via -X gcov) 12:29:50 ==> Python coveragepy not found 12:29:50 ==> Searching for coverage reports in: 12:29:50 + . 12:29:50 -> Found 1 reports 12:29:50 ==> Detecting git/mercurial file structure 12:29:50 ==> Reading reports 12:29:50 + ./coverage.out bytes=13 12:29:50 ==> Appending adjustments 12:29:50 https://docs.codecov.io/docs/fixing-reports 12:29:50 + Found adjustments 12:29:50 ==> Gzipping contents 12:29:50 4.0K /tmp/codecov.GWtYcM.gz 12:29:50 ==> Uploading reports 12:29:50 url: https://codecov.io 12:29:50 query: branch=PR-615&commit=ee8d60b12dd726231d6b0ba9dab21f33a5852e08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-615%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=615&job=&cmd_args= 12:29:50 -> Pinging Codecov 12:29:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-615&commit=ee8d60b12dd726231d6b0ba9dab21f33a5852e08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-615%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=615&job=&cmd_args= 12:29:50 -> Uploading to 12:29:50 https://storage.googleapis.com/codecov/v4/raw/2023-10-27/A97CA9966030D2A3747ED39772930CCE/ee8d60b12dd726231d6b0ba9dab21f33a5852e08/ab5b66a0-bf16-43c3-a100-be62bd10168b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231027T122950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93386f554156983060e0e75c2704adf21e787b326fded66372d8f44d6f6df920 12:29:50 % Total % Received % Xferd Average Speed Time Time Time Current 12:29:50 Dload Upload Total Spent Left Speed 12:29:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 234 0 0 100 234 0 795 --:--:-- --:--:-- --:--:-- 795 12:29:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/ee8d60b12dd726231d6b0ba9dab21f33a5852e08 [Pipeline] } 12:29:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:29:53 + [ -d /w/workspace/_app-service-configurable_PR-615/archives ] 12:29:53 + ls -al /w/workspace/_app-service-configurable_PR-615/archives 12:29:53 total 16 12:29:53 drwxr-xr-x 3 root root 4096 Oct 27 12:18 . 12:29:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 12:18 .. 12:29:53 drwxr-xr-x 2 root root 4096 Oct 27 12:18 cost 12:29:53 -rw-r--r-- 1 root root 96 Oct 27 12:18 cost.csv 12:29:53 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-615/archives 12:29:53 + ls -al /w/workspace/_app-service-configurable_PR-615/archives 12:29:53 total 16 12:29:53 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 12:18 . 12:29:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 12:18 .. 12:29:53 drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 12:18 cost 12:29:53 -rw-r--r-- 1 jenkins jenkins 96 Oct 27 12:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:29:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:29:54 ---> package-listing.sh 12:29:54 ++ facter osfamily 12:29:54 ++ tr '[:upper:]' '[:lower:]' 12:29:54 + OS_FAMILY=debian 12:29:54 + workspace=/w/workspace/_app-service-configurable_PR-615 12:29:54 + START_PACKAGES=/tmp/packages_start.txt 12:29:54 + END_PACKAGES=/tmp/packages_end.txt 12:29:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:29:54 + PACKAGES=/tmp/packages_start.txt 12:29:54 + '[' /w/workspace/_app-service-configurable_PR-615 ']' 12:29:54 + PACKAGES=/tmp/packages_end.txt 12:29:54 + case "${OS_FAMILY}" in 12:29:54 + grep '^ii' 12:29:54 + dpkg -l 12:29:54 + '[' -f /tmp/packages_start.txt ']' 12:29:54 + '[' -f /tmp/packages_end.txt ']' 12:29:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:29:54 + '[' /w/workspace/_app-service-configurable_PR-615 ']' 12:29:54 + mkdir -p /w/workspace/_app-service-configurable_PR-615/archives/ 12:29:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-615/archives/ [Pipeline] echo 12:29:54 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-615/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:29:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:29:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:29:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:29:55 prd-ubuntu20.04-docker-8c-8g-12589 does not seem to be running inside a container 12:29:55 $ 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-615/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-615 -v /w/workspace/_app-service-configurable_PR-615:/w/workspace/_app-service-configurable_PR-615:rw,z -v /w/workspace/_app-service-configurable_PR-615@tmp:/w/workspace/_app-service-configurable_PR-615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:29:55 $ docker top 976e760a2637892bf7f7179502107589517a7355125500d85876285badf052e9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:29:56 + touch /tmp/pre-build-complete [Pipeline] sh 12:29:56 + mkdir -p /var/log/sysstat [Pipeline] sh 12:29:56 + ls /var/log/sa-host 12:29:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:29:56 provisioning config files... 12:29:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-615@tmp/config17258720357765969282tmp [Pipeline] { [Pipeline] echo 12:29:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:29:57 ---> create-netrc.sh [Pipeline] } 12:29:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:29:57 ---> python-tools-install.sh [Pipeline] echo 12:29:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:29:58 ---> sudo-logs.sh 12:29:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:29:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:29:58 ---> job-cost.sh 12:29:58 lf-activate-venv: SKIPPING 12:29:58 DEBUG: total: 0.2199999988079071 12:29:58 INFO: Retrieving Stack Cost... 12:29:58 INFO: Retrieving Pricing Info for: v3-standard-8 12:29:59 INFO: Archiving Costs [Pipeline] echo 12:29:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:29:59 ---> logs-deploy.sh 12:29:59 lf-activate-venv: SKIPPING 12:29:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-615/1 12:29:59 INFO: archiving workspace using pattern(s): 12:30:00 Archives upload complete. 12:30:00 INFO: archiving logs to Nexus