Pull request #539 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-service-configurable Loading trusted files from base branch main at 726c7bac779ae455276856dfdf2d144874947dc5 rather than eb3b31bb04336f6c3816329e20b1ed50958d098f Obtained Jenkinsfile from 726c7bac779ae455276856dfdf2d144874947dc5 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-ssh4488262886448033642.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh12734611760066249229.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-539/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-539/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7007578057784916786.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-539/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13603578702482595451.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh13865834139000524422.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-539/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-539/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh546514960705227721.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-service-configurable, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-service-configurable-settings PROJECT: app-service-configurable USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-service-configurable DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6234 in /w/workspace/_app-service-configurable_PR-539 [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-539 # 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 Merging remotes/origin/main commit 726c7bac779ae455276856dfdf2d144874947dc5 into PR head commit eb3b31bb04336f6c3816329e20b1ed50958d098f Merge succeeded, producing eb3b31bb04336f6c3816329e20b1ed50958d098f Checking out Revision eb3b31bb04336f6c3816329e20b1ed50958d098f (PR-539) > 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/539/head:refs/remotes/origin/PR-539 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb3b31bb04336f6c3816329e20b1ed50958d098f # 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 726c7bac779ae455276856dfdf2d144874947dc5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb3b31bb04336f6c3816329e20b1ed50958d098f # timeout=10 Commit message: "fix: Store and Forward Enabled missing from profiles" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:30:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:30:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:30:15 ========================================================= 19:30:15 EdgeX Global Pipelines Version Info 19:30:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:30:16 ------------------- 19:30:16 stable info: 19:30:16 ------------------- 19:30:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:30:16 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 19:30:16 Message: update stable to v1.0.245 19:30:17 ------------------- 19:30:17 experimental info: 19:30:17 ------------------- 19:30:17 Commited By: **** collab-it+edgex@linuxfoundation.org 19:30:17 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 19:30:17 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-service-configurable-settings [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar PROJECT = app-service-configurable [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-service-configurable [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:30:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-539 [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-539 [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-539 [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb3b31bb04336f6c3816329e20b1ed50958d098f [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb3b31b [Pipeline] echo 19:30:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:30:18 provisioning config files... 19:30:18 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-539@tmp/config12261802532082251246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:30:19 ---> docker-login.sh 19:30:19 nexus3.edgexfoundry.org:10001 19:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:19 Configure a credential helper to remove this warning. See 19:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:19 19:30:19 Login Succeeded 19:30:19 nexus3.edgexfoundry.org:10002 19:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:19 Configure a credential helper to remove this warning. See 19:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:19 19:30:19 Login Succeeded 19:30:19 nexus3.edgexfoundry.org:10003 19:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:19 Configure a credential helper to remove this warning. See 19:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:19 19:30:19 Login Succeeded 19:30:19 nexus3.edgexfoundry.org:10004 19:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:19 Configure a credential helper to remove this warning. See 19:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:19 19:30:19 Login Succeeded 19:30:19 docker.io 19:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:20 Configure a credential helper to remove this warning. See 19:30:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:20 19:30:20 Login Succeeded 19:30:20 ---> docker-login.sh ends [Pipeline] } 19:30:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:30:20 + git rev-list -1 --merges eb3b31bb04336f6c3816329e20b1ed50958d098f~1..eb3b31bb04336f6c3816329e20b1ed50958d098f [Pipeline] echo 19:30:20 -----------> git rev-list -1 --merges eb3b31bb04336f6c3816329e20b1ed50958d098f~1..eb3b31bb04336f6c3816329e20b1ed50958d098f eb3b31bb04336f6c3816329e20b1ed50958d098f [false] [Pipeline] sh 19:30:21 + git log --format=format:%s -1 eb3b31bb04336f6c3816329e20b1ed50958d098f [Pipeline] echo 19:30:21 ========================================================= 19:30:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:30:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:30:21 + git log --format=format:%s -1 eb3b31bb04336f6c3816329e20b1ed50958d098f [Pipeline] echo 19:30:21 [semverPrep] GIT_COMMIT: eb3b31bb04336f6c3816329e20b1ed50958d098f, Commit Message: fix: Store and Forward Enabled missing from profiles [Pipeline] echo 19:30:21 [semverPrep] This is not a build commit. [Pipeline] sh 19:30:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:30:22 + grep -v github /etc/ssh/ssh_known_hosts 19:30:22 + [ -e /tmp/ssh_known_hosts ] 19:30:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:30:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:30:22 + sudo tee -a /etc/ssh/ssh_known_hosts 19:30:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:30:22 19:30:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:30:23 0.1.4: Pulling from edgex-devops/py-git-semver 19:30:23 b85a868b505f: Pulling fs layer 19:30:23 e2be974225ed: Pulling fs layer 19:30:23 339a4e72a1f5: Pulling fs layer 19:30:23 988bab9f4d93: Pulling fs layer 19:30:23 1469e6f7b9e6: Pulling fs layer 19:30:23 eaf3925da568: Pulling fs layer 19:30:23 bab4dde63d76: Pulling fs layer 19:30:23 bde34c3a00c8: Pulling fs layer 19:30:23 b352a97aabf1: Pulling fs layer 19:30:23 4872d77fe225: Pulling fs layer 19:30:23 5851b861e8e6: Pulling fs layer 19:30:23 1469e6f7b9e6: Waiting 19:30:23 988bab9f4d93: Waiting 19:30:23 bab4dde63d76: Waiting 19:30:23 bde34c3a00c8: Waiting 19:30:23 b352a97aabf1: Waiting 19:30:23 4872d77fe225: Waiting 19:30:23 eaf3925da568: Waiting 19:30:23 e2be974225ed: Download complete 19:30:23 988bab9f4d93: Verifying Checksum 19:30:23 988bab9f4d93: Download complete 19:30:23 1469e6f7b9e6: Verifying Checksum 19:30:23 1469e6f7b9e6: Download complete 19:30:23 339a4e72a1f5: Verifying Checksum 19:30:23 339a4e72a1f5: Download complete 19:30:23 eaf3925da568: Verifying Checksum 19:30:23 bde34c3a00c8: Download complete 19:30:23 b352a97aabf1: Verifying Checksum 19:30:23 b352a97aabf1: Download complete 19:30:23 4872d77fe225: Download complete 19:30:23 5851b861e8e6: Verifying Checksum 19:30:23 5851b861e8e6: Download complete 19:30:23 b85a868b505f: Verifying Checksum 19:30:23 b85a868b505f: Download complete 19:30:23 bab4dde63d76: Verifying Checksum 19:30:23 bab4dde63d76: Download complete 19:30:24 b85a868b505f: Pull complete 19:30:24 e2be974225ed: Pull complete 19:30:25 339a4e72a1f5: Pull complete 19:30:25 988bab9f4d93: Pull complete 19:30:25 1469e6f7b9e6: Pull complete 19:30:25 eaf3925da568: Pull complete 19:30:27 bab4dde63d76: Pull complete 19:30:27 bde34c3a00c8: Pull complete 19:30:27 b352a97aabf1: Pull complete 19:30:27 4872d77fe225: Pull complete 19:30:28 5851b861e8e6: Pull complete 19:30:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:30:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:30:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:30:28 prd-ubuntu20.04-docker-8c-8g-6234 does not seem to be running inside a container 19:30:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_app-service-configurable_PR-539 -v /w/workspace/_app-service-configurable_PR-539:/w/workspace/_app-service-configurable_PR-539:rw,z -v /w/workspace/_app-service-configurable_PR-539@tmp:/w/workspace/_app-service-configurable_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:30:30 $ docker top 5b91c4640668b84f3b5bdca7c581db39932a3512e82debbdd65a3508e1c823f1 -eo pid,comm 19:30:30 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). 19:30:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:30:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:30:31 [ssh-agent] Looking for ssh-agent implementation... 19:30:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:30:31 $ docker exec 5b91c4640668b84f3b5bdca7c581db39932a3512e82debbdd65a3508e1c823f1 ssh-agent 19:30:31 SSH_AUTH_SOCK=/tmp/ssh-WmWfw8r8ViWz/agent.32 19:30:31 SSH_AGENT_PID=38 19:30:31 Running ssh-add (command line suppressed) 19:30:31 Identity added: /w/workspace/_app-service-configurable_PR-539@tmp/private_key_12774861769099563040.key (/w/workspace/_app-service-configurable_PR-539@tmp/private_key_12774861769099563040.key) 19:30:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:30:31 + git tag --points-at HEAD [Pipeline] } 19:30:31 $ docker exec --env ******** --env ******** 5b91c4640668b84f3b5bdca7c581db39932a3512e82debbdd65a3508e1c823f1 ssh-agent -k 19:30:31 unset SSH_AUTH_SOCK; 19:30:31 unset SSH_AGENT_PID; 19:30:31 echo Agent pid 38 killed; 19:30:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:30:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:30:32 [ssh-agent] Looking for ssh-agent implementation... 19:30:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:30:32 $ docker exec 5b91c4640668b84f3b5bdca7c581db39932a3512e82debbdd65a3508e1c823f1 ssh-agent 19:30:32 SSH_AUTH_SOCK=/tmp/ssh-RAiqJtVIarLz/agent.70 19:30:32 SSH_AGENT_PID=76 19:30:32 Running ssh-add (command line suppressed) 19:30:32 Identity added: /w/workspace/_app-service-configurable_PR-539@tmp/private_key_14084064513129727312.key (/w/workspace/_app-service-configurable_PR-539@tmp/private_key_14084064513129727312.key) 19:30:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:30:32 + git semver init 19:30:32 2023-03-29 19:30:32,965 [run_init] DEBUG init version:0.0.0 force:False 19:30:32 2023-03-29 19:30:32,966 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_app-service-configurable_PR-539/.semver 19:30:32 2023-03-29 19:30:32,966 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-service-configurable.git /w/workspace/_app-service-configurable_PR-539/.semver 19:30:32 2023-03-29 19:30:32,966 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-service-configurable.git', '/w/workspace/_app-service-configurable_PR-539/.semver'], cwd=/w/workspace/_app-service-configurable_PR-539, universal_newlines=False, shell=None, istream=None) 19:30:33 2023-03-29 19:30:33,885 [append_file] DEBUG append to file:/w/workspace/_app-service-configurable_PR-539/.git/info/exclude 19:30:33 2023-03-29 19:30:33,885 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_app-service-configurable_PR-539/.semver/PR-539 with force:False 19:30:33 2023-03-29 19:30:33,885 [write_file] DEBUG write to file:/w/workspace/_app-service-configurable_PR-539/.semver/PR-539 19:30:33 2023-03-29 19:30:33,889 [execute] INFO git cat-file --batch-check 19:30:33 2023-03-29 19:30:33,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_app-service-configurable_PR-539/.semver, universal_newlines=False, shell=None, istream=) 19:30:33 2023-03-29 19:30:33,896 [execute] INFO git cat-file --batch 19:30:33 2023-03-29 19:30:33,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_app-service-configurable_PR-539/.semver, universal_newlines=False, shell=None, istream=) 19:30:33 2023-03-29 19:30:33,902 [read_version] DEBUG read version from /w/workspace/_app-service-configurable_PR-539/.semver/PR-539 19:30:33 0.0.0 [Pipeline] } 19:30:33 $ docker exec --env ******** --env ******** 5b91c4640668b84f3b5bdca7c581db39932a3512e82debbdd65a3508e1c823f1 ssh-agent -k 19:30:34 unset SSH_AUTH_SOCK; 19:30:34 unset SSH_AGENT_PID; 19:30:34 echo Agent pid 76 killed; 19:30:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:30:34 + git semver [Pipeline] } 19:30:34 $ docker stop --time=1 5b91c4640668b84f3b5bdca7c581db39932a3512e82debbdd65a3508e1c823f1 19:30:36 $ docker rm -f --volumes 5b91c4640668b84f3b5bdca7c581db39932a3512e82debbdd65a3508e1c823f1 [Pipeline] // withDockerContainer [Pipeline] sh 19:30:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:30:36 Stashed 1 file(s) [Pipeline] echo 19:30:36 [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 19:30:37 provisioning config files... 19:30:37 copy managed file [app-service-configurable-settings] to file:/w/workspace/_app-service-configurable_PR-539@tmp/config12777720469916576645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:30:37 ---> docker-login.sh 19:30:37 nexus3.edgexfoundry.org:10001 19:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:37 Configure a credential helper to remove this warning. See 19:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:37 19:30:37 Login Succeeded 19:30:37 nexus3.edgexfoundry.org:10002 19:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:37 Configure a credential helper to remove this warning. See 19:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:37 19:30:37 Login Succeeded 19:30:37 nexus3.edgexfoundry.org:10003 19:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:37 Configure a credential helper to remove this warning. See 19:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:37 19:30:37 Login Succeeded 19:30:37 nexus3.edgexfoundry.org:10004 19:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:37 Configure a credential helper to remove this warning. See 19:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:37 19:30:37 Login Succeeded 19:30:37 docker.io 19:30:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:38 Configure a credential helper to remove this warning. See 19:30:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:38 19:30:38 Login Succeeded 19:30:38 ---> docker-login.sh ends [Pipeline] } 19:30:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:30:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:30:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:30:38 ========================================================= 19:30:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:30:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:30:39 Sending build context to Docker daemon 3.253MB 19:30:39 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:30:39 Step 2/12 : FROM ${BASE} AS builder 19:30:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:30:39 63b65145d645: Pulling fs layer 19:30:39 a2d21d5440eb: Pulling fs layer 19:30:39 935e6c44a52c: Pulling fs layer 19:30:39 94cc34f8dd06: Pulling fs layer 19:30:39 30dea6a524f1: Pulling fs layer 19:30:39 a2aff8979fd8: Pulling fs layer 19:30:39 6808be2612f2: Pulling fs layer 19:30:39 f25807f1079a: Pulling fs layer 19:30:39 6808be2612f2: Waiting 19:30:39 a2aff8979fd8: Waiting 19:30:39 94cc34f8dd06: Waiting 19:30:39 30dea6a524f1: Waiting 19:30:39 f25807f1079a: Waiting 19:30:39 a2d21d5440eb: Verifying Checksum 19:30:39 a2d21d5440eb: Download complete 19:30:39 94cc34f8dd06: Verifying Checksum 19:30:39 94cc34f8dd06: Download complete 19:30:39 30dea6a524f1: Verifying Checksum 19:30:39 30dea6a524f1: Download complete 19:30:39 63b65145d645: Download complete 19:30:39 a2aff8979fd8: Verifying Checksum 19:30:39 a2aff8979fd8: Download complete 19:30:39 63b65145d645: Pull complete 19:30:39 a2d21d5440eb: Pull complete 19:30:39 f25807f1079a: Verifying Checksum 19:30:39 f25807f1079a: Download complete 19:30:40 935e6c44a52c: Verifying Checksum 19:30:40 935e6c44a52c: Download complete 19:30:40 6808be2612f2: Verifying Checksum 19:30:40 6808be2612f2: Download complete 19:30:43 935e6c44a52c: Pull complete 19:30:43 94cc34f8dd06: Pull complete 19:30:43 30dea6a524f1: Pull complete 19:30:43 a2aff8979fd8: Pull complete 19:30:46 6808be2612f2: Pull complete 19:30:47 f25807f1079a: Pull complete 19:30:47 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 19:30:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:30:47 ---> 3b553350e43f 19:30:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 19:30:50 ---> Running in 92688bab0a35 19:30:50 Removing intermediate container 92688bab0a35 19:30:50 ---> 5b6a7c74a63f 19:30:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:30:50 ---> Running in e4b54ba5aea3 19:30:50 Removing intermediate container e4b54ba5aea3 19:30:50 ---> 41fb5a3c22ac 19:30:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:30:50 ---> Running in d5d54e655ef1 19:30:50 Removing intermediate container d5d54e655ef1 19:30:50 ---> c7ed06c1864a 19:30:50 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:30:50 ---> Running in 8cd1db6995a9 19:30:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:30:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:30:51 OK: 265 MiB in 53 packages 19:30:52 Still waiting to schedule task 19:30:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:30:52 Removing intermediate container 8cd1db6995a9 19:30:52 ---> 1670975aa03e 19:30:52 Step 7/12 : WORKDIR /app 19:30:52 ---> Running in 1219f571b0eb 19:30:52 Removing intermediate container 1219f571b0eb 19:30:52 ---> 17d72a90af7e 19:30:52 Step 8/12 : COPY go.mod vendor* ./ 19:30:52 ---> c3bbb043ed19 19:30:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:30:52 ---> Running in 1f5e24044796 19:31:48 Removing intermediate container 1f5e24044796 19:31:48 ---> 00d545f04fa0 19:31:48 Step 10/12 : COPY . . 19:31:48 ---> 9a1a65a2b363 19:31:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:31:48 ---> Running in 91156e14fdaa 19:31:48 Removing intermediate container 91156e14fdaa 19:31:48 ---> cf9800bfb0cd 19:31:48 Step 12/12 : RUN $MAKE 19:31:48 ---> Running in dbf70ca91601 19:31:48 noop 19:31:48 Removing intermediate container dbf70ca91601 19:31:48 ---> 3d9b4747d138 19:31:48 Successfully built 3d9b4747d138 19:31:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:49 + docker inspect -f . ci-base-image-x86_64 19:31:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:31:49 prd-ubuntu20.04-docker-8c-8g-6234 does not seem to be running inside a container 19:31:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_app-service-configurable_PR-539 -v /w/workspace/_app-service-configurable_PR-539:/w/workspace/_app-service-configurable_PR-539:rw,z -v /w/workspace/_app-service-configurable_PR-539@tmp:/w/workspace/_app-service-configurable_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:31:49 $ docker top b0ebbcb6f0dc8d92e99483dc8796e011be465da02f6a3c26b9f2997302c34e4b -eo pid,comm [Pipeline] { [Pipeline] sh 19:31:50 + go version 19:31:50 go version go1.20.2 linux/amd64 [Pipeline] } 19:31:50 $ docker stop --time=1 b0ebbcb6f0dc8d92e99483dc8796e011be465da02f6a3c26b9f2997302c34e4b 19:31:51 $ docker rm -f --volumes b0ebbcb6f0dc8d92e99483dc8796e011be465da02f6a3c26b9f2997302c34e4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:52 + docker inspect -f . ci-base-image-x86_64 19:31:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:31:52 prd-ubuntu20.04-docker-8c-8g-6234 does not seem to be running inside a container 19:31:52 $ 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-539 -v /w/workspace/_app-service-configurable_PR-539:/w/workspace/_app-service-configurable_PR-539:rw,z -v /w/workspace/_app-service-configurable_PR-539@tmp:/w/workspace/_app-service-configurable_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:31:52 $ docker top a0bd76b0a9a913c831a6ce3558145007236ee838102a0b6c20e8b9c0e14d49e5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:31:53 + git config --global --add safe.directory /w/workspace/_app-service-configurable_PR-539 [Pipeline] fileExists [Pipeline] sh 19:31:53 + make test 19:31:53 go test -race -coverprofile=coverage.out ./... 19:32:15 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:32:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6235 in /w/workspace/_app-service-configurable_PR-539 [Pipeline] { [Pipeline] ws 19:32:29 Running in /w/workspace/app-service-configurable/1 [Pipeline] { [Pipeline] checkout 19:32:29 Selected Git installation does not exist. Using Default 19:32:29 The recommended git tool is: NONE 19:32:33 go vet ./... 19:32:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:32:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:32:34 ./bin/test-attribution-txt.sh 19:32:34 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 19:32:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:32:34 $ docker stop --time=1 a0bd76b0a9a913c831a6ce3558145007236ee838102a0b6c20e8b9c0e14d49e5 19:32:34 using credential edgex-jenkins-ssh 19:32:34 Cloning the remote Git repository 19:32:34 Cloning repository git@github.com:edgexfoundry/app-service-configurable.git 19:32:34 > git init /w/workspace/app-service-configurable/1 # timeout=10 19:32:35 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:32:35 > git --version # timeout=10 19:32:35 > git --version # 'git version 2.25.1' 19:32:35 using GIT_SSH to set credentials SSH Credentials for GitHub 19:32:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:32:36 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:32:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:32:37 $ docker rm -f --volumes a0bd76b0a9a913c831a6ce3558145007236ee838102a0b6c20e8b9c0e14d49e5 19:32:37 Merging remotes/origin/main commit 726c7bac779ae455276856dfdf2d144874947dc5 into PR head commit eb3b31bb04336f6c3816329e20b1ed50958d098f [Pipeline] // withDockerContainer [Pipeline] sh 19:32:38 Merge succeeded, producing eb3b31bb04336f6c3816329e20b1ed50958d098f 19:32:38 Checking out Revision eb3b31bb04336f6c3816329e20b1ed50958d098f (PR-539) 19:32:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:32:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 19:32:37 > git config remote.origin.url git@github.com:edgexfoundry/app-service-configurable.git # timeout=10 19:32:37 Fetching upstream changes from git@github.com:edgexfoundry/app-service-configurable.git 19:32:37 using GIT_SSH to set credentials SSH Credentials for GitHub 19:32:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-service-configurable.git +refs/pull/539/head:refs/remotes/origin/PR-539 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:32:37 > git config core.sparsecheckout # timeout=10 19:32:37 > git checkout -f eb3b31bb04336f6c3816329e20b1ed50958d098f # timeout=10 19:32:38 > git remote # timeout=10 19:32:38 > git config --get remote.origin.url # timeout=10 19:32:38 using GIT_SSH to set credentials SSH Credentials for GitHub 19:32:38 > git merge 726c7bac779ae455276856dfdf2d144874947dc5 # timeout=10 19:32:38 > git rev-parse HEAD^{commit} # timeout=10 19:32:38 > git config core.sparsecheckout # timeout=10 19:32:38 > git checkout -f eb3b31bb04336f6c3816329e20b1ed50958d098f # timeout=10 [Pipeline] sh 19:32:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:32:39 + ls -al . 19:32:39 total 176 19:32:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:31 . 19:32:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:30 .. 19:32:39 -rw-rw-r-- 1 jenkins jenkins 119 Mar 29 19:30 .dockerignore 19:32:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:30 .git 19:32:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:30 .github 19:32:39 -rw-rw-r-- 1 jenkins jenkins 171 Mar 29 19:30 .gitignore 19:32:39 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 19:30 .golangci.yml 19:32:39 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:30 .semver 19:32:39 -rw-rw-r-- 1 jenkins jenkins 9088 Mar 29 19:30 Attribution.txt 19:32:39 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 29 19:30 CHANGELOG.md 19:32:39 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 29 19:30 Dockerfile 19:32:39 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 19:30 GOVERNANCE.md 19:32:39 -rw-rw-r-- 1 jenkins jenkins 688 Mar 29 19:30 Jenkinsfile 19:32:39 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 29 19:30 LICENSE 19:32:39 -rw-rw-r-- 1 jenkins jenkins 618 Mar 29 19:30 OWNERS.md 19:32:39 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 29 19:30 README.md 19:32:39 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 19:30 VERSION 19:32:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 19:30 bin 19:32:39 -rw-r--r-- 1 jenkins jenkins 13 Mar 29 19:31 coverage.out 19:32:39 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 29 19:30 go.mod 19:32:39 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 29 19:30 go.sum 19:32:39 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 29 19:30 main.go 19:32:39 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 29 19:30 makefile 19:32:39 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 19:30 res 19:32:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:30 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:39 + 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=eb3b31bb04336f6c3816329e20b1ed50958d098f --label arch=amd64 --label version=0.0.0 . 19:32:39 Sending build context to Docker daemon 3.254MB 19:32:39 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:32:39 Step 2/26 : FROM ${BASE} AS builder 19:32:39 ---> 3d9b4747d138 19:32:39 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 19:32:39 ---> Running in a39e4ebc228e 19:32:39 Removing intermediate container a39e4ebc228e 19:32:39 ---> 5efe47532a92 19:32:39 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:32:39 ---> Running in 9b4f91daa624 19:32:39 Removing intermediate container 9b4f91daa624 19:32:39 ---> 21bbd0f1486f 19:32:39 Step 5/26 : ARG ADD_BUILD_TAGS="" 19:32:39 ---> Running in e2e8a54f40d4 19:32:39 Removing intermediate container e2e8a54f40d4 19:32:39 ---> 500bce7bd4b9 19:32:39 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:32:39 ---> Running in 332d65df920b 19:32:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:32:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:32:40 OK: 265 MiB in 53 packages 19:32:40 Removing intermediate container 332d65df920b 19:32:40 ---> d64e134e8203 19:32:40 Step 7/26 : WORKDIR /app 19:32:40 ---> Running in 2873c8e3950f 19:32:40 Removing intermediate container 2873c8e3950f 19:32:40 ---> 7c2dfba30425 19:32:40 Step 8/26 : COPY go.mod vendor* ./ 19:32:41 ---> a31234b8a70e 19:32:41 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:32:41 ---> Running in 88bec9baa499 19:32:41 Commit message: "fix: Store and Forward Enabled missing from profiles" 19:32:41 > git --version # timeout=10 19:32:41 > git --version # 'git version 2.25.1' 19:32:41 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 19:32:42 Removing intermediate container 88bec9baa499 19:32:42 ---> 77f76aa73900 19:32:42 Step 10/26 : COPY . . 19:32:42 ---> 03476e54d093 19:32:42 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:32:42 ---> Running in c88d751ba28c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:32:42 Removing intermediate container c88d751ba28c 19:32:42 ---> fc1a5ee23210 19:32:42 Step 12/26 : RUN $MAKE 19:32:42 ---> Running in 5a88a2642a55 19:32:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 19:32:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:32:42 % Total % Received % Xferd Average Speed Time Time Time Current 19:32:42 Dload Upload Total Spent Left Speed 19:32:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh 19:32:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:32:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:32:43 + sudo tee /etc/docker/daemon.new 19:32:43 { 19:32:43 "registry-mirrors": [ 19:32:43 "https://nexus3.edgexfoundry.org:10001" 19:32:43 ], 19:32:43 "bip": "10.250.0.254/24", 19:32:43 "hosts": [ 19:32:43 "tcp://0.0.0.0:5555", 19:32:43 "unix:///var/run/docker.sock" 19:32:43 ], 19:32:43 "mtu": 1458, 19:32:43 "selinux-enabled": true, 19:32:43 "seccomp-profile": "/etc/docker/seccomp.json" 19:32:43 } [Pipeline] sh 19:32:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:32:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:33:02 provisioning config files... 19:33:03 copy managed file [app-service-configurable-settings] to file:/w/workspace/app-service-configurable/1@tmp/config12370405112117709070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:33:03 ---> docker-login.sh 19:33:03 nexus3.edgexfoundry.org:10001 19:33:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:33:03 Configure a credential helper to remove this warning. See 19:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:33:03 19:33:03 Login Succeeded 19:33:03 nexus3.edgexfoundry.org:10002 19:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:33:04 Configure a credential helper to remove this warning. See 19:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:33:04 19:33:04 Login Succeeded 19:33:04 nexus3.edgexfoundry.org:10003 19:33:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:33:04 Removing intermediate container 5a88a2642a55 19:33:04 ---> fefff26baa78 19:33:04 Step 13/26 : FROM alpine:3.17 19:33:04 3.17: Pulling from library/alpine 19:33:04 f56be85fc22e: Pulling fs layer 19:33:04 f56be85fc22e: Verifying Checksum 19:33:04 f56be85fc22e: Download complete 19:33:04 f56be85fc22e: Pull complete 19:33:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:33:04 Status: Downloaded newer image for alpine:3.17 19:33:04 ---> 9ed4aefc74f6 19:33:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:33:04 ---> Running in 5452e5cb7ef3 19:33:04 Removing intermediate container 5452e5cb7ef3 19:33:04 ---> be0d76744311 19:33:04 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 19:33:04 ---> Running in 421f8a1526df 19:33:04 Removing intermediate container 421f8a1526df 19:33:04 ---> 298fd8b28b7b 19:33:04 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 19:33:04 ---> Running in 058bbc70ba93 19:33:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:33:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:33:04 (1/2) Installing ca-certificates (20220614-r4) 19:33:04 (2/2) Installing dumb-init (1.2.5-r2) 19:33:04 Executing busybox-1.35.0-r29.trigger 19:33:04 Executing ca-certificates-20220614-r4.trigger 19:33:04 OK: 8 MiB in 17 packages 19:33:04 Removing intermediate container 058bbc70ba93 19:33:04 ---> 9cacbbe580bf 19:33:04 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:33:04 ---> 3573a2b7ba88 19:33:04 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 19:33:04 ---> b5cfdc81b53c 19:33:04 Step 19/26 : COPY --from=builder /app/res/ /res/ 19:33:04 ---> 70af954e7f88 19:33:04 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:33:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:33:04 Configure a credential helper to remove this warning. See 19:33:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:33:04 19:33:04 Login Succeeded 19:33:04 nexus3.edgexfoundry.org:10004 19:33:04 ---> 737c2f81ec2f 19:33:04 Step 21/26 : EXPOSE 48095 19:33:04 ---> Running in aa9dd3e15d3c 19:33:04 Removing intermediate container aa9dd3e15d3c 19:33:04 ---> 422ca6c7bb8b 19:33:04 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 19:33:04 ---> Running in 84c40543df52 19:33:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:33:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:33:05 Configure a credential helper to remove this warning. See 19:33:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:33:05 19:33:05 Login Succeeded 19:33:05 docker.io 19:33:05 Removing intermediate container 84c40543df52 19:33:05 ---> f4748aeb5fa2 19:33:05 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:33:05 ---> Running in d2ced5ff43f5 19:33:05 Removing intermediate container d2ced5ff43f5 19:33:05 ---> a21148adce90 19:33:05 Step 24/26 : LABEL arch=amd64 19:33:05 ---> Running in af86fd428dc6 19:33:05 Removing intermediate container af86fd428dc6 19:33:05 ---> ebad166919bd 19:33:05 Step 25/26 : LABEL git_sha=eb3b31bb04336f6c3816329e20b1ed50958d098f 19:33:05 ---> Running in f33d0bfbeff1 19:33:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:33:05 Removing intermediate container f33d0bfbeff1 19:33:05 ---> 19ac2c2e7e95 19:33:05 Step 26/26 : LABEL version=0.0.0 19:33:05 ---> Running in f5abfa66a7f7 19:33:05 Removing intermediate container f5abfa66a7f7 19:33:05 ---> c2a595038376 19:33:05 [Warning] One or more build-args [ARCH] were not consumed 19:33:05 Successfully built c2a595038376 19:33:05 Successfully tagged app-service-configurable:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 19:33:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:33:05 Configure a credential helper to remove this warning. See 19:33:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:33:05 19:33:05 Login Succeeded 19:33:05 ---> docker-login.sh ends [Pipeline] } 19:33:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 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] echo 19:33:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] script [Pipeline] { [Pipeline] echo 19:33:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:33:06 ========================================================= 19:33:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:33:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:33:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:33:06 19:33:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:33:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:33:06 Sending build context to Docker daemon 168.4kB 19:33:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:33:06 latest: Pulling from edgex-lftools-log-publisher 19:33:06 5eb5b503b376: Pulling fs layer 19:33:06 5c69ac0246d0: Pulling fs layer 19:33:06 ec43610c2a17: Pulling fs layer 19:33:06 3a2ae6a8a46f: Pulling fs layer 19:33:06 33b1e0a273af: Pulling fs layer 19:33:06 5d3b04190fa2: Pulling fs layer 19:33:06 2f39f015ded8: Pulling fs layer 19:33:06 3a2ae6a8a46f: Waiting 19:33:06 33b1e0a273af: Waiting 19:33:06 5d3b04190fa2: Waiting 19:33:06 2f39f015ded8: Waiting 19:33:06 5c69ac0246d0: Verifying Checksum 19:33:06 5c69ac0246d0: Download complete 19:33:06 3a2ae6a8a46f: Download complete 19:33:06 33b1e0a273af: Verifying Checksum 19:33:06 33b1e0a273af: Download complete 19:33:06 5d3b04190fa2: Verifying Checksum 19:33:06 5d3b04190fa2: Download complete 19:33:06 ec43610c2a17: Download complete 19:33:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:33:06 Step 2/12 : FROM ${BASE} AS builder 19:33:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:33:06 af6eaf76a39c: Pulling fs layer 19:33:06 55522c791124: Pulling fs layer 19:33:06 ce5c4a1c91eb: Pulling fs layer 19:33:06 169dfbe0d373: Pulling fs layer 19:33:06 e1ff8fa3b103: Pulling fs layer 19:33:06 52ebb69f0ebf: Pulling fs layer 19:33:06 5abe8eddf0d5: Pulling fs layer 19:33:06 169dfbe0d373: Waiting 19:33:06 e1ff8fa3b103: Waiting 19:33:06 52ebb69f0ebf: Waiting 19:33:06 5abe8eddf0d5: Waiting 19:33:06 55522c791124: Verifying Checksum 19:33:07 5eb5b503b376: Download complete 19:33:07 55522c791124: Download complete 19:33:07 169dfbe0d373: Verifying Checksum 19:33:07 169dfbe0d373: Download complete 19:33:07 e1ff8fa3b103: Verifying Checksum 19:33:07 e1ff8fa3b103: Download complete 19:33:07 af6eaf76a39c: Verifying Checksum 19:33:07 af6eaf76a39c: Download complete 19:33:07 2f39f015ded8: Download complete 19:33:08 5abe8eddf0d5: Verifying Checksum 19:33:08 5abe8eddf0d5: Download complete 19:33:08 5eb5b503b376: Pull complete 19:33:08 5c69ac0246d0: Pull complete 19:33:08 af6eaf76a39c: Pull complete 19:33:09 ec43610c2a17: Pull complete 19:33:09 3a2ae6a8a46f: Pull complete 19:33:09 33b1e0a273af: Pull complete 19:33:09 55522c791124: Pull complete 19:33:09 5d3b04190fa2: Pull complete 19:33:09 ce5c4a1c91eb: Verifying Checksum 19:33:09 ce5c4a1c91eb: Download complete 19:33:09 52ebb69f0ebf: Download complete 19:33:13 2f39f015ded8: Pull complete 19:33:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:33:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:33:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:33:13 prd-ubuntu20.04-docker-8c-8g-6234 does not seem to be running inside a container 19:33:13 $ 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-539 -v /w/workspace/_app-service-configurable_PR-539:/w/workspace/_app-service-configurable_PR-539:rw,z -v /w/workspace/_app-service-configurable_PR-539@tmp:/w/workspace/_app-service-configurable_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:33:16 $ docker top d17e695cd49f20dc8030eedbdc4292230b760ab96453c0823ee0c23841fcf387 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:33:17 ---> job-cost.sh 19:33:17 lf-activate-venv: SKIPPING 19:33:17 INFO: No Stack... 19:33:17 INFO: Retrieving Pricing Info for: v3-standard-8 19:33:17 INFO: Archiving Costs [Pipeline] sh 19:33:18 + cat /w/workspace/_app-service-configurable_PR-539/archives/cost.csv 19:33:18 + cut -d, -f6 [Pipeline] lock 19:33:18 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-539-1-stack-cost] 19:33:18 Resource [jenkins-edgexfoundry-app-service-configurable-PR-539-1-stack-cost] did not exist. Created. 19:33:18 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-539-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:33:18 + echo total: 0.2199999988079071 [Pipeline] stash 19:33:18 Stashed 1 file(s) [Pipeline] } 19:33:19 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-539-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:33:19 $ docker stop --time=1 d17e695cd49f20dc8030eedbdc4292230b760ab96453c0823ee0c23841fcf387 19:33:19 ce5c4a1c91eb: Pull complete 19:33:19 169dfbe0d373: Pull complete 19:33:20 e1ff8fa3b103: Pull complete 19:33:20 $ docker rm -f --volumes d17e695cd49f20dc8030eedbdc4292230b760ab96453c0823ee0c23841fcf387 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:33:26 52ebb69f0ebf: Pull complete 19:33:28 5abe8eddf0d5: Pull complete 19:33:28 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 19:33:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:33:28 ---> 6cb57ee374ae 19:33:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git" 19:33:30 ---> Running in 8064053ca343 19:33:30 Removing intermediate container 8064053ca343 19:33:30 ---> af93ec655554 19:33:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:33:30 ---> Running in 1c1d2d18f5d9 19:33:30 Removing intermediate container 1c1d2d18f5d9 19:33:30 ---> ea9203855fd7 19:33:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:33:31 ---> Running in efdc092cb660 19:33:31 Removing intermediate container efdc092cb660 19:33:31 ---> 94699769fce2 19:33:31 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:33:31 ---> Running in 06d8e8017964 19:33:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:33:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:33:34 OK: 263 MiB in 53 packages 19:33:36 Removing intermediate container 06d8e8017964 19:33:36 ---> f5acf7c36f87 19:33:36 Step 7/12 : WORKDIR /app 19:33:36 ---> Running in 3ca7d3fb0448 19:33:36 Removing intermediate container 3ca7d3fb0448 19:33:36 ---> aef99170d327 19:33:36 Step 8/12 : COPY go.mod vendor* ./ 19:33:36 ---> 57d7a2c15803 19:33:36 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:33:36 ---> Running in 505e3e9cfe9a 19:34:44 Removing intermediate container 505e3e9cfe9a 19:34:44 ---> 2807fb676088 19:34:44 Step 10/12 : COPY . . 19:34:44 ---> 8650604a6814 19:34:44 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:34:44 ---> Running in f62d56c72da3 19:34:44 Removing intermediate container f62d56c72da3 19:34:44 ---> 44edc401265e 19:34:44 Step 12/12 : RUN $MAKE 19:34:44 ---> Running in d3d790c50941 19:34:44 noop 19:34:44 Removing intermediate container d3d790c50941 19:34:44 ---> 6dcaff03a3c7 19:34:44 Successfully built 6dcaff03a3c7 19:34:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:45 + docker inspect -f . ci-base-image-arm64 19:34:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:34:45 prd-ubuntu20.04-docker-arm64-4c-16g-6235 does not seem to be running inside a container 19:34:45 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:34:46 $ docker top f4c5b8ae6e483be74cf8c2fa2a6326ea5b10df70a9ba9d3514349bc9ff9fe184 -eo pid,comm [Pipeline] { [Pipeline] sh 19:34:47 + go version 19:34:47 go version go1.20.2 linux/arm64 [Pipeline] } 19:34:47 $ docker stop --time=1 f4c5b8ae6e483be74cf8c2fa2a6326ea5b10df70a9ba9d3514349bc9ff9fe184 19:34:49 $ docker rm -f --volumes f4c5b8ae6e483be74cf8c2fa2a6326ea5b10df70a9ba9d3514349bc9ff9fe184 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:50 + docker inspect -f . ci-base-image-arm64 19:34:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:34:50 prd-ubuntu20.04-docker-arm64-4c-16g-6235 does not seem to be running inside a container 19:34:50 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:34:51 $ docker top 3fc3f6952411f2b79c91d3fdcd35d81e543a2a829da5be236e336e0f9dd0198b -eo pid,comm [Pipeline] { [Pipeline] sh 19:34:52 + git config --global --add safe.directory /w/workspace/app-service-configurable/1 [Pipeline] fileExists [Pipeline] sh 19:34:53 + make test 19:34:53 go test -race -coverprofile=coverage.out ./... 19:37:30 ? github.com/edgexfoundry/app-service-configurable [no test files] 19:37:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:37:30 go vet ./... 19:39:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:39:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:39:51 ./bin/test-attribution-txt.sh 19:39:51 An attribution for gopkg.in/yaml.v3 is missing from Attribution.txt, please add [Pipeline] echo 19:39:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:39:51 $ docker stop --time=1 3fc3f6952411f2b79c91d3fdcd35d81e543a2a829da5be236e336e0f9dd0198b 19:39:53 $ docker rm -f --volumes 3fc3f6952411f2b79c91d3fdcd35d81e543a2a829da5be236e336e0f9dd0198b [Pipeline] // withDockerContainer [Pipeline] sh 19:39:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:39:55 Warning: overwriting stash ‘coverage-report’ 19:39:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:39:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:39:56 + ls -al . 19:39:56 total 172 19:39:56 drwxrwxr-x 7 jenkins jenkins 4096 Mar 29 19:34 . 19:39:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:32 .. 19:39:56 -rw-rw-r-- 1 jenkins jenkins 119 Mar 29 19:32 .dockerignore 19:39:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 19:32 .git 19:39:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 19:32 .github 19:39:56 -rw-rw-r-- 1 jenkins jenkins 171 Mar 29 19:32 .gitignore 19:39:56 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 19:32 .golangci.yml 19:39:56 -rw-rw-r-- 1 jenkins jenkins 9088 Mar 29 19:32 Attribution.txt 19:39:56 -rw-rw-r-- 1 jenkins jenkins 29118 Mar 29 19:32 CHANGELOG.md 19:39:56 -rw-rw-r-- 1 jenkins jenkins 1898 Mar 29 19:32 Dockerfile 19:39:56 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 19:32 GOVERNANCE.md 19:39:56 -rw-rw-r-- 1 jenkins jenkins 688 Mar 29 19:32 Jenkinsfile 19:39:56 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 29 19:32 LICENSE 19:39:56 -rw-rw-r-- 1 jenkins jenkins 618 Mar 29 19:32 OWNERS.md 19:39:56 -rw-rw-r-- 1 jenkins jenkins 4369 Mar 29 19:32 README.md 19:39:56 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 19:30 VERSION 19:39:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 19:32 bin 19:39:56 -rw-r--r-- 1 jenkins jenkins 13 Mar 29 19:34 coverage.out 19:39:56 -rw-rw-r-- 1 jenkins jenkins 3299 Mar 29 19:32 go.mod 19:39:56 -rw-rw-r-- 1 jenkins jenkins 30864 Mar 29 19:32 go.sum 19:39:56 -rw-rw-r-- 1 jenkins jenkins 1949 Mar 29 19:32 main.go 19:39:56 -rw-rw-r-- 1 jenkins jenkins 2569 Mar 29 19:32 makefile 19:39:56 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 19:32 res 19:39:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 19:32 snap [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:39:56 + 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=eb3b31bb04336f6c3816329e20b1ed50958d098f --label arch=arm64 --label version=0.0.0 . 19:39:56 Sending build context to Docker daemon 169.5kB 19:39:57 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 19:39:57 Step 2/26 : FROM ${BASE} AS builder 19:39:57 ---> 6dcaff03a3c7 19:39:57 Step 3/26 : ARG ALPINE_PKG_BASE="make git" 19:39:58 ---> Running in a36ffc646151 19:39:58 Removing intermediate container a36ffc646151 19:39:58 ---> b66e7e4ea0e2 19:39:58 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:39:58 ---> Running in 82e14c76ca53 19:39:59 Removing intermediate container 82e14c76ca53 19:39:59 ---> 04f1f3ebbe58 19:39:59 Step 5/26 : ARG ADD_BUILD_TAGS="" 19:39:59 ---> Running in 94753391b25a 19:39:59 Removing intermediate container 94753391b25a 19:39:59 ---> bd506d38364b 19:39:59 Step 6/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:39:59 ---> Running in 0ac9f7bea196 19:40:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:40:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:40:01 OK: 263 MiB in 53 packages 19:40:02 Removing intermediate container 0ac9f7bea196 19:40:02 ---> 36fd0294c226 19:40:02 Step 7/26 : WORKDIR /app 19:40:02 ---> Running in 2de1407fe8d2 19:40:02 Removing intermediate container 2de1407fe8d2 19:40:02 ---> df20df6b13bd 19:40:02 Step 8/26 : COPY go.mod vendor* ./ 19:40:03 ---> 5bbcfbcda6f1 19:40:03 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:40:03 ---> Running in f5c023d8fa6c 19:40:06 Removing intermediate container f5c023d8fa6c 19:40:06 ---> 105d113567b4 19:40:06 Step 10/26 : COPY . . 19:40:06 ---> 3db93a907191 19:40:06 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:40:06 ---> Running in 5e4d24bdf362 19:40:06 Removing intermediate container 5e4d24bdf362 19:40:06 ---> a199699a1839 19:40:06 Step 12/26 : RUN $MAKE 19:40:06 ---> Running in 982e50f345d4 19:40:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.45 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0" -trimpath -mod=readonly -o app-service-configurable 19:42:14 Removing intermediate container 982e50f345d4 19:42:14 ---> b0c3c6b31979 19:42:14 Step 13/26 : FROM alpine:3.17 19:42:14 3.17: Pulling from library/alpine 19:42:14 c41833b44d91: Pulling fs layer 19:42:14 c41833b44d91: Verifying Checksum 19:42:14 c41833b44d91: Download complete 19:42:14 c41833b44d91: Pull complete 19:42:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:42:14 Status: Downloaded newer image for alpine:3.17 19:42:14 ---> 51e60588ff2c 19:42:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:42:14 ---> Running in 6506c1177f54 19:42:14 Removing intermediate container 6506c1177f54 19:42:14 ---> ac08c70ca3fc 19:42:14 Step 15/26 : LABEL Name=app-service-configurable Version=${VERSION} 19:42:14 ---> Running in 13aca4afc70e 19:42:14 Removing intermediate container 13aca4afc70e 19:42:14 ---> ccc345d73000 19:42:14 Step 16/26 : RUN apk add --update --no-cache ca-certificates dumb-init 19:42:14 ---> Running in 06f43d8211db 19:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:42:14 (1/2) Installing ca-certificates (20220614-r4) 19:42:14 (2/2) Installing dumb-init (1.2.5-r2) 19:42:14 Executing busybox-1.35.0-r29.trigger 19:42:14 Executing ca-certificates-20220614-r4.trigger 19:42:14 OK: 8 MiB in 17 packages 19:42:14 Removing intermediate container 06f43d8211db 19:42:14 ---> 9e6b7bced523 19:42:14 Step 17/26 : COPY --from=builder /app/Attribution.txt /Attribution.txt 19:42:15 ---> 7fdd45be6f10 19:42:15 Step 18/26 : COPY --from=builder /app/LICENSE /LICENSE 19:42:16 ---> 3c30042a888f 19:42:16 Step 19/26 : COPY --from=builder /app/res/ /res/ 19:42:16 ---> 125bfed032ca 19:42:16 Step 20/26 : COPY --from=builder /app/app-service-configurable /app-service-configurable 19:42:17 ---> 282c783c7bb4 19:42:17 Step 21/26 : EXPOSE 48095 19:42:17 ---> Running in d1a1d0178997 19:42:18 Removing intermediate container d1a1d0178997 19:42:18 ---> a2832f08d387 19:42:18 Step 22/26 : ENTRYPOINT ["/app-service-configurable"] 19:42:18 ---> Running in 1988b548110a 19:42:18 Removing intermediate container 1988b548110a 19:42:18 ---> 5258229b19a6 19:42:18 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:42:18 ---> Running in 3d45822e354d 19:42:18 Removing intermediate container 3d45822e354d 19:42:18 ---> 679070d955fb 19:42:18 Step 24/26 : LABEL arch=arm64 19:42:18 ---> Running in e47ebfb471fe 19:42:19 Removing intermediate container e47ebfb471fe 19:42:19 ---> 860d4702136d 19:42:19 Step 25/26 : LABEL git_sha=eb3b31bb04336f6c3816329e20b1ed50958d098f 19:42:19 ---> Running in 457b7de2daf6 19:42:19 Removing intermediate container 457b7de2daf6 19:42:19 ---> 47cbdca35a76 19:42:19 Step 26/26 : LABEL version=0.0.0 19:42:19 ---> Running in 64b4f79b7641 19:42:19 Removing intermediate container 64b4f79b7641 19:42:19 ---> 1a41dec16e6d 19:42:19 [Warning] One or more build-args [ARCH] were not consumed 19:42:19 Successfully built 1a41dec16e6d 19:42:19 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 19:42:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:42:20 19:42:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:42:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:42:21 arm64: Pulling from edgex-lftools-log-publisher 19:42:21 8998bd30e6a1: Pulling fs layer 19:42:21 04944245beec: Pulling fs layer 19:42:21 699f458cf7ca: Pulling fs layer 19:42:21 765212b225bb: Pulling fs layer 19:42:21 f23df028b6ca: Pulling fs layer 19:42:21 d65c8cfc05b1: Pulling fs layer 19:42:21 2437ff75d9bd: Pulling fs layer 19:42:21 765212b225bb: Waiting 19:42:21 f23df028b6ca: Waiting 19:42:21 2437ff75d9bd: Waiting 19:42:21 d65c8cfc05b1: Waiting 19:42:21 04944245beec: Verifying Checksum 19:42:21 04944245beec: Download complete 19:42:21 765212b225bb: Verifying Checksum 19:42:21 765212b225bb: Download complete 19:42:21 f23df028b6ca: Verifying Checksum 19:42:21 f23df028b6ca: Download complete 19:42:21 d65c8cfc05b1: Verifying Checksum 19:42:21 d65c8cfc05b1: Download complete 19:42:21 699f458cf7ca: Verifying Checksum 19:42:21 699f458cf7ca: Download complete 19:42:21 8998bd30e6a1: Verifying Checksum 19:42:21 8998bd30e6a1: Download complete 19:42:24 2437ff75d9bd: Verifying Checksum 19:42:24 2437ff75d9bd: Download complete 19:42:25 8998bd30e6a1: Pull complete 19:42:26 04944245beec: Pull complete 19:42:27 699f458cf7ca: Pull complete 19:42:27 765212b225bb: Pull complete 19:42:28 f23df028b6ca: Pull complete 19:42:28 d65c8cfc05b1: Pull complete 19:42:43 2437ff75d9bd: Pull complete 19:42:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:42:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:42:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:42:44 prd-ubuntu20.04-docker-arm64-4c-16g-6235 does not seem to be running inside a container 19:42:44 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:42:46 $ docker top a30e8c265dba388ac6a07e9c6511a51620da2bf3ac1ef97c9b8d8d2480966ced -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:42:47 ---> job-cost.sh 19:42:47 lf-activate-venv: SKIPPING 19:42:47 INFO: No Stack... 19:42:48 INFO: Retrieving Pricing Info for: v3-standard-4 19:42:49 INFO: Archiving Costs [Pipeline] sh 19:42:49 + cut -d, -f6 19:42:49 + cat /w/workspace/app-service-configurable/1/archives/cost.csv [Pipeline] lock 19:42:49 Trying to acquire lock on [jenkins-edgexfoundry-app-service-configurable-PR-539-1-stack-cost] 19:42:49 Resource [jenkins-edgexfoundry-app-service-configurable-PR-539-1-stack-cost] did not exist. Created. 19:42:49 Lock acquired on [jenkins-edgexfoundry-app-service-configurable-PR-539-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:42:49 /w/workspace/app-service-configurable/1@tmp/durable-a82b5f92/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:42:50 + echo total: 0.10999999940395355 [Pipeline] stash 19:42:50 Warning: overwriting stash ‘stack-cost’ 19:42:50 Stashed 1 file(s) [Pipeline] } 19:42:50 Lock released on resource [jenkins-edgexfoundry-app-service-configurable-PR-539-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:42:50 $ docker stop --time=1 a30e8c265dba388ac6a07e9c6511a51620da2bf3ac1ef97c9b8d8d2480966ced 19:42:52 $ docker rm -f --volumes a30e8c265dba388ac6a07e9c6511a51620da2bf3ac1ef97c9b8d8d2480966ced [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 19:42:53 provisioning config files... 19:42:53 copy managed file [app-service-configurable-codecov-token] to file:/w/workspace/_app-service-configurable_PR-539@tmp/config3059462113861625628tmp [Pipeline] { [Pipeline] sh 19:42:53 + set +x 19:42:53 + curl -s https://codecov.io/bash 19:42:53 + bash -s -- 19:42:53 19:42:53 _____ _ 19:42:53 / ____| | | 19:42:53 | | ___ __| | ___ ___ _____ __ 19:42:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:42:53 | |___| (_) | (_| | __/ (_| (_) \ V / 19:42:53 \_____\___/ \__,_|\___|\___\___/ \_/ 19:42:53 Bash-1.0.6 19:42:53 19:42:53 19:42:53 ==> git version 2.25.1 found 19:42:53 ==> 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 19:42:53 Release-Date: 2020-01-08 19:42:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:42:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:42:53 ==> Jenkins CI detected. 19:42:53 current dir:  /w/workspace/_app-service-configurable_PR-539 19:42:53 project root: . 19:42:53 --> token set from env 19:42:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:42:53 ==> Running gcov in . (disable via -X gcov) 19:42:53 ==> Python coveragepy not found 19:42:53 ==> Searching for coverage reports in: 19:42:53 + . 19:42:53 -> Found 1 reports 19:42:53 ==> Detecting git/mercurial file structure 19:42:53 ==> Reading reports 19:42:53 + ./coverage.out bytes=13 19:42:53 ==> Appending adjustments 19:42:53 https://docs.codecov.io/docs/fixing-reports 19:42:53 + Found adjustments 19:42:53 ==> Gzipping contents 19:42:53 4.0K /tmp/codecov.XhxAlK.gz 19:42:53 ==> Uploading reports 19:42:53 url: https://codecov.io 19:42:53 query: branch=PR-539&commit=eb3b31bb04336f6c3816329e20b1ed50958d098f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-539%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=539&job=&cmd_args= 19:42:53 -> Pinging Codecov 19:42:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=06d844e6-9d8b-4dd4-8e5a-bb28e4cf5bd2&branch=PR-539&commit=eb3b31bb04336f6c3816329e20b1ed50958d098f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-service-configurable%2Fjob%2FPR-539%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-service-configurable&service=jenkins&flags=&pr=539&job=&cmd_args= 19:42:54 -> Uploading to 19:42:54 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/A97CA9966030D2A3747ED39772930CCE/eb3b31bb04336f6c3816329e20b1ed50958d098f/2b870d89-4759-49c1-b3c0-7d1b52f1e43a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T194254Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c10cbfe7aa7437818bf2a1420e3f60a1d2f049412b05b620fca1a655b096647 19:42:54 % Total % Received % Xferd Average Speed Time Time Time Current 19:42:54 Dload Upload Total Spent Left Speed 19:42:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 429 0 0 100 429 0 1159 --:--:-- --:--:-- --:--:-- 1159 19:42:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/app-service-configurable/commit/eb3b31bb04336f6c3816329e20b1ed50958d098f [Pipeline] } 19:42:54 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 19:42:56 + [ -d /w/workspace/_app-service-configurable_PR-539/archives ] 19:42:56 + ls -al /w/workspace/_app-service-configurable_PR-539/archives 19:42:56 total 16 19:42:56 drwxr-xr-x 3 root root 4096 Mar 29 19:33 . 19:42:56 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 19:33 .. 19:42:56 drwxr-xr-x 2 root root 4096 Mar 29 19:33 cost 19:42:56 -rw-r--r-- 1 root root 96 Mar 29 19:33 cost.csv 19:42:56 + sudo chown -R jenkins:jenkins /w/workspace/_app-service-configurable_PR-539/archives 19:42:56 + ls -al /w/workspace/_app-service-configurable_PR-539/archives 19:42:56 total 16 19:42:56 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 19:33 . 19:42:56 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 19:33 .. 19:42:56 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 19:33 cost 19:42:56 -rw-r--r-- 1 jenkins jenkins 96 Mar 29 19:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:42:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:42:57 ---> package-listing.sh 19:42:57 ++ facter osfamily 19:42:57 ++ tr '[:upper:]' '[:lower:]' 19:42:57 + OS_FAMILY=debian 19:42:57 + workspace=/w/workspace/_app-service-configurable_PR-539 19:42:57 + START_PACKAGES=/tmp/packages_start.txt 19:42:57 + END_PACKAGES=/tmp/packages_end.txt 19:42:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:42:57 + PACKAGES=/tmp/packages_start.txt 19:42:57 + '[' /w/workspace/_app-service-configurable_PR-539 ']' 19:42:57 + PACKAGES=/tmp/packages_end.txt 19:42:57 + case "${OS_FAMILY}" in 19:42:57 + grep '^ii' 19:42:57 + dpkg -l 19:42:57 + '[' -f /tmp/packages_start.txt ']' 19:42:57 + '[' -f /tmp/packages_end.txt ']' 19:42:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:42:57 + '[' /w/workspace/_app-service-configurable_PR-539 ']' 19:42:57 + mkdir -p /w/workspace/_app-service-configurable_PR-539/archives/ 19:42:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_app-service-configurable_PR-539/archives/ [Pipeline] echo 19:42:58 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-539/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:42:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:42:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:42:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:42:59 prd-ubuntu20.04-docker-8c-8g-6234 does not seem to be running inside a container 19:42:59 $ 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-539/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-539 -v /w/workspace/_app-service-configurable_PR-539:/w/workspace/_app-service-configurable_PR-539:rw,z -v /w/workspace/_app-service-configurable_PR-539@tmp:/w/workspace/_app-service-configurable_PR-539@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:42:59 $ docker top 0d2eb8ba9a9e1a3efb25f9288c835df3f3296cc27de264b4d53f9beff935f7e8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:42:59 + touch /tmp/pre-build-complete [Pipeline] sh 19:42:59 + mkdir -p /var/log/sysstat [Pipeline] sh 19:43:00 + ls /var/log/sa-host 19:43:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:43:00 provisioning config files... 19:43:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_app-service-configurable_PR-539@tmp/config16137610471571437845tmp [Pipeline] { [Pipeline] echo 19:43:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:43:00 ---> create-netrc.sh [Pipeline] } 19:43:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:43:01 ---> python-tools-install.sh [Pipeline] echo 19:43:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:43:01 ---> sudo-logs.sh 19:43:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:43:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:43:02 ---> job-cost.sh 19:43:02 lf-activate-venv: SKIPPING 19:43:02 DEBUG: total: 0.2199999988079071 19:43:02 INFO: Retrieving Stack Cost... 19:43:02 INFO: Retrieving Pricing Info for: v3-standard-8 19:43:02 INFO: Archiving Costs [Pipeline] echo 19:43:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:43:03 ---> logs-deploy.sh 19:43:03 lf-activate-venv: SKIPPING 19:43:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-service-configurable/PR-539/1 19:43:03 INFO: archiving workspace using pattern(s): 19:43:04 Archives upload complete. 19:43:04 INFO: archiving logs to Nexus